-
Notifications
You must be signed in to change notification settings - Fork 323
feat: Tiered agent memory — hot/cold/wiki layers for context management #600
Copy link
Copy link
Open
Labels
go:needs-researchNeeds investigationNeeds investigationsquadSquad triage inbox — Lead will assign to a memberSquad triage inbox — Lead will assign to a membersquad:fidoAssigned to FIDO (Quality Owner)Assigned to FIDO (Quality Owner)squad:proceduresAssigned to Procedures (Prompt Engineer)Assigned to Procedures (Prompt Engineer)status:contributor-invitedA specific contributor has been invited to work on thisA specific contributor has been invited to work on thistype:featureNew capabilityNew capability
Metadata
Metadata
Assignees
Labels
go:needs-researchNeeds investigationNeeds investigationsquadSquad triage inbox — Lead will assign to a memberSquad triage inbox — Lead will assign to a membersquad:fidoAssigned to FIDO (Quality Owner)Assigned to FIDO (Quality Owner)squad:proceduresAssigned to Procedures (Prompt Engineer)Assigned to Procedures (Prompt Engineer)status:contributor-invitedA specific contributor has been invited to work on thisA specific contributor has been invited to work on thistype:featureNew capabilityNew capability
Problem
Agent history.md files grow to 70KB+ (18K tokens). Agents load everything at spawn, burning context window on old noise. Current summarization (>12KB threshold) helps but doesn't distinguish between recent actionable context and archived knowledge.
Proposal
Three-tier memory architecture:
Scribe maintains the split: During regular maintenance, move old unstructured work reports to archive first (biggest bloat source). Keep issue-tagged entries in hot layer until issue closes.
Spawn template change: Agents read hot by default. Only read cold when task explicitly references historical context.
Measurements
Deliverables
.squad/skills/tiered-history/SKILL.md