forgeplan gaps
forgeplan gaps checks each artifact against its declared depth and reports what
the pipeline expects versus what actually exists. A Deep PRD is supposed to have
at least one linked Spec and one ADR; a Critical Epic is supposed to fan out into
multiple PRDs, RFCs, and ADRs. When those downstream artifacts are missing, you have
a pipeline gap — the depth is making a promise the evidence chain doesn’t keep.
This is not a validation failure (the artifact itself may be fine) — it’s a methodology compliance check: did you stop halfway?
When to use
Section titled “When to use”- Mid-sprint: “I said this was Deep, did I actually build out Spec + ADR?”
- After escalating depth via
calibrate— see what’s now missing. - Pre-release health pass: “is the project aligned with its own methodology?”
- Brownfield cleanup: imported artifacts often have depth without downstream chain.
When NOT to use
Section titled “When NOT to use”- On a workspace with only Tactical artifacts — gaps don’t apply.
- As a blocker for activation — gaps are advisory,
validateis the gate.
forgeplan gapsOptions
Section titled “Options” -h, --help Print help -V, --version Print versionExamples
Section titled “Examples”See all pipeline gaps
Section titled “See all pipeline gaps”forgeplan gapsOutput:
Pipeline compliance gaps─────────────────────────Deep PRDs without linked Spec: PRD-004 Search Intelligence (depth=Deep, 0 Specs, 1 ADR) PRD-011 FPF KB vector search (depth=Deep, 0 Specs, 0 ADRs)
Critical Epics without linked RFCs: EPIC-003 Search, Discovery, Intelligence (depth=Critical, 4 PRDs, 1 RFC) ← expected ≥3 RFCs
Standard PRDs with missing parent Epic: PRD-018 OpenSpec DAG integration (orphan)Fix gaps
Section titled “Fix gaps”For each line:
- Missing Spec on Deep PRD →
forgeplan new spec "API for PRD-004"and link. - Missing ADR on Deep decision → run
forgeplan reasonthenforgeplan new adr. - Critical Epic under-fanned → reassess depth (maybe it’s Deep, not Critical) or add the missing RFCs.
- Orphan → link to parent or demote depth.
Output interpretation
Section titled “Output interpretation”| Expected downstream by depth | |
|---|---|
| Tactical | optional Note |
| Standard | PRD → RFC (ADI recommended) |
| Deep | PRD → Spec → RFC → ADR (ADI required) |
| Critical | Epic → PRD[] → Spec[] → RFC[] → ADR[] |
A gap means the depth label is stronger than the evidence chain. Either create the
missing downstream artifact or downgrade depth via calibrate.
How it fits the workflow
Section titled “How it fits the workflow”calibrate → (depth may change) → gaps → create missing downstream → validate → activatecalibrate tells you the right depth. gaps tells you whether your existing depth
is backed by the expected downstream chain. Together they keep the methodology honest.
See also
Section titled “See also”forgeplan calibrate— recalibrate depth when gaps appearforgeplan health— project-level aggregateforgeplan blocked— dependency graph view- Artifact Model — depth-to-pipeline mapping
- CLI overview