forgeplan_coverage
Show architectural-decision coverage across the codebase. For each code module (crate / directory / top-level package), it reports how many ADR / RFC / PRD artifacts reference it via affected_files, and highlights modules with zero decisions — the “decision blind spots” where the code is un-documented architecturally.
Category: Quality
When an agent calls it
Section titled “When an agent calls it”- Architecture audit — find modules nobody ever wrote an ADR for.
- Onboarding — new engineers can find the documented parts of the system quickly.
- Before a refactor — confirm the module you’re about to change has (or needs) an ADR.
- Release readiness — no high-traffic module should have zero decisions.
Coverage is the complement of forgeplan_drift: drift says “decisions exist but code moved on,” coverage says “code exists but no decision was ever recorded.”
Input parameters
Section titled “Input parameters”No input parameters. Call this tool with an empty object {}.
Returns
Section titled “Returns”{ "modules": [ { "path": "crates/forgeplan-core/src/scoring", "decisions": ["ADR-002", "RFC-004"], "count": 2 }, { "path": "crates/forgeplan-core/src/projection", "decisions": [], "count": 0, "blind_spot": true } ], "total_modules": 18, "covered": 12, "blind_spots": 6}Example invocation
Section titled “Example invocation”{}Typical sequence
Section titled “Typical sequence”forgeplan_coverage— list blind-spot modules.- For each: determine if it deserves an ADR (non-trivial design choices).
forgeplan_new adr→ document the decision.forgeplan_link→ attach to affected files.forgeplan_coverageagain — confirm the blind spot closed.
CLI equivalent
Section titled “CLI equivalent”forgeplan coverageSee also
Section titled “See also”forgeplan_drift— decisions whose files moved on.forgeplan_blindspots— artifact-level blind spots (no evidence).forgeplan_new— create a new ADR.- Methodology guide