feat(analysis): Add structured dependency contract - #96
Conversation
Co-Authored-By: GPT-5.6 Sol <codex@openai.com>
c40bfc8 to
d16a372
Compare
|
Reviewed. Schema-versioning the deps output and sorting Three things: 1. 2. The inventory costs a second full filesystem walk. 3. Also: the Rust check is hardcoded into a generic constructor, so it'll need editing per language that gains partial coverage. Related to (1) — if the provenance vocabulary is shared, this could be data-driven instead. |
Consolidate the JordanCoin#93, JordanCoin#96, JordanCoin#97, and JordanCoin#99 maintainer corrections into one compatible scanner, graph, CLI, and MCP contract.\n\nPreserve provenance across recoverable scans and fallbacks, apply configured filters consistently, reuse one dependency graph inventory for coverage and rendering, and make unmatched Rust source coverage explicit.\n\nCo-Authored-By: GPT-5.6 Sol <codex@openai.com>
feat(analysis): Add structured dependency contract
What does this PR do?
Adds versioned, deterministic dependency JSON and MCP structured output for agentic coding in isolated worktrees and restricted sandboxes while preserving the existing text response. Coverage remains explicit, including known partial Rust analysis.
The contract lets CLI and MCP clients consume the same machine-readable dependency graph:
codemap --json --deps .Type of change
Checklist
go build && ./codemap .Additional notes
Also stabilizes the pre-existing Linux debounce test by making its write burst unambiguously shorter than the production debounce window.
Verification:
go test ./analysis ./scanner ./mcp . -count=1; Linux Go 1.25 race suite.Developed with carefully directed, manually reviewed AI assistance.
Co-Authored-By: GPT-5.6 Sol codex@openai.com