Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
go:needs-researchNeeds investigationNeeds investigationsquadSquad triage inbox — Lead will assign to a memberSquad triage inbox — Lead will assign to a membersquad:state-storage-devAssigned to state-storage-dev (State & Storage Engineer)Assigned to state-storage-dev (State & Storage Engineer)status:contributor-invitedA specific contributor has been invited to work on thisA specific contributor has been invited to work on thistriagedIssue has been triagedIssue has been triagedtype:featureNew capabilityNew capabilitywave:3-laterWave 3 — backlog, futureWave 3 — backlog, future
Description
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:
| Layer | File | Loaded | Content |
|---|---|---|---|
| Hot | history.md | Always at spawn | Core Context + last ~20 entries + active-issue-tagged entries |
| Cold | history-archive.md | On demand | Summarized old entries, preserved for reference |
| Durable | GitHub Wiki | Searchable by all agents | Major findings, architecture patterns, test results |
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
- Top agents: 34-74KB history files (8.8K-18.5K tokens)
- 82-96% is old learnings/work reports
- Realistic savings: 20-55% token reduction per spawn
- Wiki provides cross-agent knowledge sharing without loading into each agent's context
Deliverables
- Skill template:
.squad/skills/tiered-history/SKILL.md - Scribe charter update: hot/cold maintenance rules
- Wiki-write skill for durable knowledge
- Spawn template: conditional cold-layer loading
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:state-storage-devAssigned to state-storage-dev (State & Storage Engineer)Assigned to state-storage-dev (State & Storage Engineer)status:contributor-invitedA specific contributor has been invited to work on thisA specific contributor has been invited to work on thistriagedIssue has been triagedIssue has been triagedtype:featureNew capabilityNew capabilitywave:3-laterWave 3 — backlog, futureWave 3 — backlog, future
Activity
github-actions commentedon Sep 10, 2026
🔄 Ralph — Auto-Triage
Assigned to: Flight
Reason: No module, routing, or role keyword match — routed to Lead/Architect
Source: lead-fallback
github-actions commentedon Sep 10, 2026
🔄 Ralph — Auto-Triage
Assigned to: Flight
Reason: No module, routing, or role keyword match — routed to Lead/Architect
Source: lead-fallback
github-actions commentedon Sep 11, 2026
🔄 Ralph — Auto-Triage
Assigned to: Flight
Reason: No module, routing, or role keyword match — routed to Lead/Architect
Source: lead-fallback
github-actions commentedon Sep 11, 2026
🔄 Ralph — Auto-Triage
Assigned to: Flight
Reason: No module, routing, or role keyword match — routed to Lead/Architect
Source: lead-fallback
github-actions commentedon Sep 11, 2026
🔄 Ralph — Auto-Triage
Assigned to: Flight
Reason: No module, routing, or role keyword match — routed to Lead/Architect
Source: lead-fallback
github-actions commentedon Sep 11, 2026
🔄 Ralph — Auto-Triage
Assigned to: Flight
Reason: No module, routing, or role keyword match — routed to Lead/Architect
Source: lead-fallback
github-actions commentedon Sep 13, 2026
🔄 Ralph — Auto-Triage
Assigned to: architect
Reason: No module, routing, or role keyword match — routed to Lead/Architect
Source: lead-fallback
github-actions commentedon Sep 24, 2026
📋 Assigned to state-storage-dev (State & Storage Engineer)
Issue: #600 — feat: Tiered agent memory — hot/cold/wiki layers for context management
state-storage-dev will pick this up in the next Copilot session.
bradygaster commentedon Nov 5, 2026
Closing during 2.0 board triage (owner decision). The idea is evaluated, with prior art and an opinion, in the roll-up issue #2390. Original text remains here for reference.