- Add central context index at .opencode/context/index.md (120 tokens) - Add compact metadata to all 9 context files (10 tokens each) - Update OpenAgent prompt to reference index system (73% token reduction) - Update context-guide.md with index usage documentation Benefits: - Single index file for context discovery - Human-readable and machine-parseable format - Clear dependency tracking (tests→code, review→code+patterns, etc.) - Priority levels (critical/high/medium) for all contexts - Reduced prompt overhead from ~200 to ~53 tokens Context files updated: - standards/code.md, docs.md, tests.md, patterns.md, analysis.md - workflows/delegation.md, review.md, task-breakdown.md, sessions.md This implements a scalable, maintainable context system with efficient token usage and clear navigation structure. |
||
|---|---|---|
| .. | ||
| core | ||
| project | ||
| system-builder-templates | ||
| index.md | ||