AGENTS.ctx: Memory Files Detail

Level 3 (Detail) — Roles and boundaries of each memory root file.

Concept

Each file in AGENTS.ctx/memory/ has a single, enforced purpose. The file boundary hardening ensures that chronicle contains only chronology, system-state contains only current state, etc.

File Roles

chronicle.md

PropertyValue
PurposeActive-cycle chronology only
Append-onlyYes — never rewritten in normal operation
Size limit3,000 words (archive trigger)
ForbiddenHistorical compressed summary, archive metadata, decision-history tables

Each entry must include:

  • Date and project identifier
  • Context-rich wording (project/scope, trigger, action, consequence)
  • Report decision (extend existing, create new, or no report)

system-state.md

PropertyValue
PurposeCurrent verified state / doctrine
Append-onlyNo — surgical edits only
ForbiddenDecision-history table, archive bookkeeping
RuleWhen docs conflict with code, code is truth

debts.md

PropertyValue
PurposeActive structured debt register
FieldsID, Area, Debt, Impact, Status, Opened, Closed, Resolution, Next Action
ArchiveFull file preserved in history; regenerated root keeps only non-closed debts
Close semanticsClosed date + Resolution must be filled

past-summary.md

PropertyValue
PurposeCompressed historical memory for active root use
Regenerated after archiveYes — from past/past-summary.md + past/chronicle.md
SectionsHistorical Arc (deep past) → Mid Evolution → Recent Convergence → Latest Archived Cycle

reports-index.md

PropertyValue
PurposeStable human index for report artifacts
Never moved to past/Yes — excluded from archive rotation
ColumnsDate, Scope/Project, Chronicle, Report, Summary

See Also