Archiving Agent Notes
Reduce the active decision corpus without erasing history that can still guide work. Judge every note semantically; word count and age are discovery aids, never archive criteria.
Read the contracts
Read the repository's Agent Note rules, archive instructions, and the applicable lifecycle instructions before classifying. Use current skills, docs, newer notes, and inbound links to establish whether a rationale still owns or constrains anything.
Check supersession when adding a note
Every new note triggers a scoped audit of active notes covering the same decision or mechanism. Classify each full or partial supersession while writing the new note: archive qualifying implemented triplets in the same PR, retain and cross-link partial supersessions, reject obsolete proposals, and delete rejected notes that no longer prevent a plausible mistake. Apply the consolidation rule when the new owner absorbs every unique proposition, deleting the absorbed triplet whole; do not defer a known match.
Classify by future value
- Implemented — keep active: retain a note when its rationale, alternatives, negative guarantee, ownership boundary, or reintroduction condition is likely to guide a future change.
- Implemented — archive: archive a note when the shipped decision is complete and its body is unlikely to guide future work.
- Proposed — never archive: keep a live proposal active; if it is no longer worth pursuing, reject it with an honest reason.
- Rejected — keep only as a guardrail: retain a rejection only when the losing proposal remains a tempting, meaningful mistake.
- Rejected — delete: delete the whole triplet when the rejected idea is obsolete or unlikely to prevent re-litigation. Repair or delete inbound links.
Do not archive toward a quota. Inspect every note in scope, classify analogous groups under one principle, and record genuinely borderline decisions.
Archive one implemented triplet
- Make no body edits. Insert only immediately below in both language files, using the same date on both sides.
- Re-record the consistency record mechanically for the two metadata-only edits, with the repository's pairing recorder in write mode. Do not translate, reformat, update facts, or repair links inside the note.
- Move the complete , , and triplet from to ; is deliberately absent from the archive path.
- Search for inbound links from active prose. Redirect them to current authority, retarget them to the archived path only when the historical snapshot is intentionally cited, or delete them. Never verify or repair links out of the archived note.
When inbound-link repair edited an active bilingual doc, hand the counterpart update to
so both sides stay in sync before the pairing gate.
After the triplet is sealed, never edit, move, translate, reformat, or delete it. Archived notes remain valid inbound-link targets but are historical snapshots, not authority for current behavior.
Validate and report
Run the repository's archive seal gate in write mode first: it proves every existing seal still matches, then appends only the newly archived artifacts. Run the gate again normally, then the documentation gates and
. Report active implemented notes kept, implemented notes archived, rejected notes kept/deleted, proposed notes rejected if any, and every genuinely borderline case with its chosen outcome.