Version: 1.0.0
Purpose: Protocol for managing context window limits during game sessions. When to warn, when to save, how to resume.
| Context Usage | Action |
|---|---|
| < 80% | Continue normally |
| ≥ 80% | Warn. Prepare handoff. |
| ≥ 90% | Save handoff state immediately. Reduce new context. |
| Near limit | Save and stop. Resume in fresh session. |
Save to: memory/YYYY-MM-DD-HHMM-context-handoff.md
# Context Handoff — YYYY-MM-DD HH:MM
## Objective
[Primary goal for this session. What were you trying to achieve?]
## Completed
[What you finished. Actions taken, structs built, raids done, etc.]
## Pending
[What remains. Next build, next raid, next exploration, etc.]
## Resume Command
[Exact instruction for fresh session to continue]
Example: "Resume Structs session. Read memory/2026-02-22-1430-context-handoff.md. Continue with: build Ore Refinery on planet 2-1, then refine stored ore."
## Blockers
[What's blocking progress. Waiting for build? Need resources? Under attack?]
## Current Game State Snapshot
- Player ID:
- Planet ID:
- Power: capacity / load / available
- Alpha Matter:
- Stored Ore:
- Fleet: onStation / away
- Guild:
- Next planned action:
memory/ directory if it doesn’t existstructs_query_player, structs_query_planet, etc.)memory/When resuming:
memory/YYYY-MM-DD-HHMM-context-handoff.mdSOUL.md, IDENTITY.md, COMMANDER.md, TOOLS.mdHandoff files are snapshots. Game state may have changed. Always re-query before acting on old data.