Context
CONTEXT.md currently grows unbounded. A session log with 30+ entries
becomes noise rather than signal, and eventually contributes to context
rot rather than preventing it. GSD's context isolation approach maintains
first-hour quality into the third hour — our current implementation doesn't
reach that bar for large projects.
Goal
CONTEXT.md should actively compress older session history so the file
stays useful rather than becoming a liability.
Proposed work
Success condition
A project with 20+ sessions maintains clean, usable context throughout
without the CONTEXT.md file becoming a token drain.
References
Context
CONTEXT.md currently grows unbounded. A session log with 30+ entries
becomes noise rather than signal, and eventually contributes to context
rot rather than preventing it. GSD's context isolation approach maintains
first-hour quality into the third hour — our current implementation doesn't
reach that bar for large projects.
Goal
CONTEXT.md should actively compress older session history so the file
stays useful rather than becoming a liability.
Proposed work
when session log exceeds 10 entries, summarise sessions 1-(N-5)
into a single
## Archived summaryparagraph and move them toCONTEXT_ARCHIVE.md
CONTEXT_ARCHIVE.mdtemplate to references/templates.md## Token budgetsection to CONTEXT.md template — estimatedtoken cost of current context so agents can self-regulate
compression before proceeding
Success condition
A project with 20+ sessions maintains clean, usable context throughout
without the CONTEXT.md file becoming a token drain.
References