Commit 6e50d77
authored
feat(index): unresolved calls staging (SCHEMA 36) (#162)
* feat(index): two-phase call resolution with unresolved_calls staging
Add SCHEMA_VERSION 36, call-resolver pass after bindings, incremental scoped
re-resolve, and unresolved-call-sites / call-resolution-stats recipes.
* fix(index): tighten call-resolve scope and meta semantics
Use expandHeritageResolveScope for incremental call resolve, include all
--files paths even when hash-unchanged, global unresolved_calls_residual meta,
skip method-call false binds, resolve after deletion-only incremental, add
changeset.
* test: enrich golden and integration coverage for index substrate
Add substrate pin-down goldens, index-table-stats aggregate, coverage-matrix
guard, run-index call/deletion integration tests, and expanded agent-eval probes.
Document the harness map in docs/testing-coverage.md.
* test: formalize in-repo test bench and capability manifest
Add fixtures/README.md, CAPABILITIES.json, and in-repo-test-bench plan so CI
validates Codemap without external CODEMAP_ROOT. Bench corpus stays at
fixtures/minimal; --corpus bench aliases minimal. Add method-call bench slice
and golden; extend coverage-matrix guard for manifest files.
* test(bench): Phase 2–3 shop-symbols golden and CLI smoke e2e
Add shop-symbols-recipe golden, cmd-test-bench-e2e for show/snippet/impact/
validate/SARIF on fixtures/minimal, and an agent-eval probe. Mark plan phases
2–3 largely complete in in-repo-test-bench.md.
* test(agent-eval): one probe per capability group on in-repo bench
Expand probes to 18 golden-backed scenarios, add capability-probes.test.mjs
guard, and fix live MCP smoke to assert find-call-sites by id not index.
* docs(plans): mark in-repo test bench Phases 1–3 shipped
* fix(index): align call resolve with binding kinds and restore comments
Treat re-exported/same-file without symbol_id as resolved; document method
calls in call-resolution-stats; restore bindings-engine comments moved to
loadBindingIndexContext.
* docs(roadmap): check off test bench and unresolved calls staging
Align P2 backlog with shipped plans (PR #162); Phase 4 bench scale stays in plan only.
* docs(plans): retire shipped unresolved-calls-staging plan
Delete plan file per docs-governance; point roadmap and callback-dispatch
deps at architecture.md (#162).
* docs: fact-check call resolution and bench coverage docs
Align architecture with deletion-only resolve scope and method-call NULL
kinds; fix testing-coverage paths and agent-eval probe wording; sync
CAPABILITIES.json substrate scenario ids with testing-coverage table.
* docs: drop rot-prone inventory counts; fix stale refs
Per docs/README Rule 6: remove hardcoded recipe/scenario/probe counts;
point schema version at src/db.ts; fix agent-eval and substrate-extraction
stale wording; label historical 3-probe benchmark sample.
* docs: address PR review — Rule 2 roadmap, glossary call resolve
Remove shipped P2 backlog lines; add unresolved_calls glossary entries;
testing-coverage cross-ref in docs/README; bench tier points at shipped docs.
* docs(test): align substrate matrix with coverage map
Add calls/coverage to SUBSTRATE_SCENARIO_BY_TABLE; fix glossary
architecture anchor; clarify CONTRIBUTING guard scope.1 parent 1d9c09e commit 6e50d77
67 files changed
Lines changed: 2339 additions & 145 deletions
File tree
- .changeset
- .github
- docs
- plans
- research
- fixtures
- golden
- minimal
- minimal
- src/bench
- scripts
- agent-eval
- src
- application
- cli
- templates/recipes
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
262 | 264 | | |
263 | 265 | | |
264 | 266 | | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
265 | 284 | | |
266 | 285 | | |
267 | 286 | | |
| |||
0 commit comments