|
| 1 | +{ |
| 2 | + "version": 1, |
| 3 | + "corpusRoot": "fixtures/minimal", |
| 4 | + "goldenScenariosFile": "fixtures/golden/scenarios.json", |
| 5 | + "goldenDir": "fixtures/golden/minimal", |
| 6 | + "capabilities": [ |
| 7 | + { |
| 8 | + "id": "index.schema", |
| 9 | + "description": "All indexed tables populated on full rebuild", |
| 10 | + "fixtureFiles": ["src/consumer.ts", "src/api/client.ts"], |
| 11 | + "goldenScenarios": ["index-table-stats", "index-summary"] |
| 12 | + }, |
| 13 | + { |
| 14 | + "id": "symbols.imports.exports", |
| 15 | + "description": "Tier 1 symbols, imports, exports, dependencies", |
| 16 | + "fixtureFiles": [ |
| 17 | + "src/consumer.ts", |
| 18 | + "src/api/client.ts", |
| 19 | + "src/utils/date.ts" |
| 20 | + ], |
| 21 | + "goldenScenarios": [ |
| 22 | + "symbol-usePermissions", |
| 23 | + "imports-consumer-alias", |
| 24 | + "dependencies-from-consumer", |
| 25 | + "exports-client" |
| 26 | + ] |
| 27 | + }, |
| 28 | + { |
| 29 | + "id": "substrate.references.bindings", |
| 30 | + "description": "Tier 2 references and bindings resolution", |
| 31 | + "fixtureFiles": [ |
| 32 | + "src/components/shop/ProductCard.tsx", |
| 33 | + "src/consumer.ts", |
| 34 | + "src/components/shop/index.ts" |
| 35 | + ], |
| 36 | + "goldenScenarios": [ |
| 37 | + "references-product-card-perms", |
| 38 | + "bindings-createClient", |
| 39 | + "find-symbol-references", |
| 40 | + "find-re-exported-bindings" |
| 41 | + ] |
| 42 | + }, |
| 43 | + { |
| 44 | + "id": "calls.graph", |
| 45 | + "description": "Call edges, paths, optional chains, constructors", |
| 46 | + "fixtureFiles": ["src/consumer.ts", "src/api/client.ts"], |
| 47 | + "goldenScenarios": [ |
| 48 | + "calls-consumer", |
| 49 | + "find-call-sites", |
| 50 | + "call-path", |
| 51 | + "calls-createClient-resolved" |
| 52 | + ] |
| 53 | + }, |
| 54 | + { |
| 55 | + "id": "calls.phase2", |
| 56 | + "description": "Two-phase call resolution and unresolved_calls queue", |
| 57 | + "fixtureFiles": [ |
| 58 | + "src/consumer.ts", |
| 59 | + "src/lib/complexity-fixture.ts", |
| 60 | + "src/bench/method-call-sites.ts" |
| 61 | + ], |
| 62 | + "goldenScenarios": [ |
| 63 | + "call-resolution-stats", |
| 64 | + "unresolved-call-sites", |
| 65 | + "calls-method-ping-unresolved" |
| 66 | + ], |
| 67 | + "knownGaps": [ |
| 68 | + "method-call callee_symbol_id deferred until namespace/member resolve" |
| 69 | + ] |
| 70 | + }, |
| 71 | + { |
| 72 | + "id": "types.heritage", |
| 73 | + "description": "type_members, type_heritage, ancestor/descendant recipes", |
| 74 | + "fixtureFiles": [ |
| 75 | + "src/types/hierarchy.ts", |
| 76 | + "src/types/heritage-qualified.ts", |
| 77 | + "src/types/homonym-mammal.ts" |
| 78 | + ], |
| 79 | + "goldenScenarios": [ |
| 80 | + "type-members-client-config", |
| 81 | + "type-ancestors-dog", |
| 82 | + "type-descendants-animal" |
| 83 | + ] |
| 84 | + }, |
| 85 | + { |
| 86 | + "id": "react.jsx", |
| 87 | + "description": "components, jsx_elements, jsx_attributes", |
| 88 | + "fixtureFiles": [ |
| 89 | + "src/components/shop/ProductCard.tsx", |
| 90 | + "src/components/shop/ShopButton.tsx" |
| 91 | + ], |
| 92 | + "goldenScenarios": [ |
| 93 | + "components-no-false-positives", |
| 94 | + "find-jsx-usages", |
| 95 | + "jsx-attributes-product-card", |
| 96 | + "scopes-product-card" |
| 97 | + ] |
| 98 | + }, |
| 99 | + { |
| 100 | + "id": "css", |
| 101 | + "description": "css_variables, css_classes, css_keyframes, css imports", |
| 102 | + "fixtureFiles": ["src/theme.css", "src/styles/button.module.css"], |
| 103 | + "goldenScenarios": [ |
| 104 | + "css-variables", |
| 105 | + "css-classes-module", |
| 106 | + "css-keyframes", |
| 107 | + "css-imports" |
| 108 | + ] |
| 109 | + }, |
| 110 | + { |
| 111 | + "id": "module.graph", |
| 112 | + "description": "barrels, cycles, dynamic imports, re_export_chains", |
| 113 | + "fixtureFiles": [ |
| 114 | + "src/components/shop/index.ts", |
| 115 | + "src/lib/cache.ts", |
| 116 | + "src/lib/store.ts", |
| 117 | + "src/consumer.ts" |
| 118 | + ], |
| 119 | + "goldenScenarios": [ |
| 120 | + "find-barrel-files", |
| 121 | + "circular-imports", |
| 122 | + "dynamic-imports-prefetch", |
| 123 | + "re-export-chains-product-card", |
| 124 | + "barrel-chains" |
| 125 | + ] |
| 126 | + }, |
| 127 | + { |
| 128 | + "id": "behavioral", |
| 129 | + "description": "async_calls, try_catch, decorators, runtime_markers", |
| 130 | + "fixtureFiles": [ |
| 131 | + "src/consumer.ts", |
| 132 | + "src/lib/cache.ts", |
| 133 | + "src/lib/complexity-fixture.ts", |
| 134 | + "src/api/decorated.ts", |
| 135 | + "src/env.ts" |
| 136 | + ], |
| 137 | + "goldenScenarios": [ |
| 138 | + "async-calls-prefetch", |
| 139 | + "find-swallowed-errors", |
| 140 | + "try-catch-rethrow-heuristics", |
| 141 | + "decorators-sealed", |
| 142 | + "runtime-markers-env", |
| 143 | + "find-leftover-console" |
| 144 | + ] |
| 145 | + }, |
| 146 | + { |
| 147 | + "id": "coverage.recipes", |
| 148 | + "description": "coverage ingest and killer / risk recipes", |
| 149 | + "fixtureFiles": ["coverage/coverage-final.json", "src/orphan.ts"], |
| 150 | + "goldenScenarios": [ |
| 151 | + "coverage-rows-after-ingest", |
| 152 | + "untested-and-dead", |
| 153 | + "refactor-risk-ranking", |
| 154 | + "files-by-coverage" |
| 155 | + ], |
| 156 | + "setup": ["ingest-coverage"] |
| 157 | + }, |
| 158 | + { |
| 159 | + "id": "boundaries.suppressions", |
| 160 | + "description": "boundary_rules, suppressions, config-driven violations", |
| 161 | + "fixtureFiles": [ |
| 162 | + ".codemap/config.json", |
| 163 | + "src/components/shop/ApiBridge.tsx", |
| 164 | + "src/orphan.ts" |
| 165 | + ], |
| 166 | + "goldenScenarios": [ |
| 167 | + "boundary-rules-ui-no-api", |
| 168 | + "boundary-violations", |
| 169 | + "suppressions-orphan" |
| 170 | + ] |
| 171 | + }, |
| 172 | + { |
| 173 | + "id": "fts5", |
| 174 | + "description": "source_fts when fts5 enabled in config", |
| 175 | + "fixtureFiles": [".codemap/config.json"], |
| 176 | + "goldenScenarios": [ |
| 177 | + "source-fts-row-count", |
| 178 | + "meta-fts5-enabled", |
| 179 | + "text-in-deprecated-functions" |
| 180 | + ] |
| 181 | + }, |
| 182 | + { |
| 183 | + "id": "tests.affected", |
| 184 | + "description": "test_suites and affected-tests recipe", |
| 185 | + "fixtureFiles": ["src/__tests__/smoke.test.ts"], |
| 186 | + "goldenScenarios": [ |
| 187 | + "find-skipped-tests", |
| 188 | + "tests-by-file", |
| 189 | + "affected-tests-direct" |
| 190 | + ] |
| 191 | + }, |
| 192 | + { |
| 193 | + "id": "recipes.bundled", |
| 194 | + "description": "Every templates/recipes/*.sql id has a golden scenario", |
| 195 | + "fixtureFiles": [], |
| 196 | + "goldenScenarios": [], |
| 197 | + "enforcedBy": "scripts/query-golden-coverage-matrix.test.mjs" |
| 198 | + }, |
| 199 | + { |
| 200 | + "id": "cli.mcp.http", |
| 201 | + "description": "Consumer surfaces (show, trace, audit, MCP, HTTP) — not golden-indexed", |
| 202 | + "fixtureFiles": [], |
| 203 | + "goldenScenarios": [], |
| 204 | + "unitTests": [ |
| 205 | + "src/cli/cmd-cli-parity-e2e.test.ts", |
| 206 | + "src/application/mcp-server.test.ts", |
| 207 | + "src/application/tool-handlers.test.ts" |
| 208 | + ], |
| 209 | + "knownGaps": ["No single spawned CLI matrix over full corpus yet"] |
| 210 | + } |
| 211 | + ] |
| 212 | +} |
0 commit comments