Summary
Compact the Spec Index by folding shipped specs older than a threshold into a single summary line, keeping only active/frozen + recently-shipped specs inline.
Motivation
The Spec Index in current_state.md grows one line per spec forever. Long-shipped specs come to dominate the index and inflate every SSoT read. Status (Shipped) plus age is enough signal to fold them safely.
Proposed Solution
- At
/ship, squash shipped specs older than N days (e.g. 30) into "M specs shipped before YYYY-MM — see archive".
- Keep active/frozen + recently-shipped specs inline.
- Move folded bodies to
.agentcortex/context/archive/specs/.
Files Affected
.agentcortex/context/current_state.md (Spec Index)
.agent/workflows/ship.md
.agentcortex/context/archive/specs/
Scope
Backlog: docs/specs/_product-backlog.md #11 (quick-win, depends on #1).
Summary
Compact the Spec Index by folding shipped specs older than a threshold into a single summary line, keeping only active/frozen + recently-shipped specs inline.
Motivation
The Spec Index in
current_state.mdgrows one line per spec forever. Long-shipped specs come to dominate the index and inflate every SSoT read. Status (Shipped) plus age is enough signal to fold them safely.Proposed Solution
/ship, squash shipped specs older than N days (e.g. 30) into"M specs shipped before YYYY-MM — see archive"..agentcortex/context/archive/specs/.Files Affected
.agentcortex/context/current_state.md(Spec Index).agent/workflows/ship.md.agentcortex/context/archive/specs/Scope
.agent/rules/)Backlog:
docs/specs/_product-backlog.md#11 (quick-win, depends on #1).