Periodic memory maintenance — archive session files, convert recurring knowledge into summaries, update the memory index. Activate at end of a major phase (Discovery complete, sprint done) or when memory spans many sessions. For emergency context-window pressure mid-task, use memory-compact instead.
Activate:
This skill governs and optimizes existing memory only — it does not create new knowledge.
contexts/memory/archive/> SUPERSEDED by DEC-XX, > RETRACTED, > OBSOLETE — {reason}) may be archived. All other entries are ACTIVE and MUST NOT be archived. Decisions are already individual ADR files (decisions/DEC-{N}.md) — no compaction needed. For other oversized durable files → domain-split, not archive.decisions-90-145.summary.md → decisions-90-155.summary.md):
a. Write the new summary file with updated frontmatter (id, updated_at, source range).
b. Update index.md Summaries section: replace the old filename with the new one.
c. Delete the old summary file from disk (it is now superseded; do not leave orphan files).
d. Verify: confirm old filename is gone from disk AND index.md pointer is updated before proceeding.
Also check decisions/_log.md for any ⚠️ PENDING: extend summary range notes — process them and remove the notes once handled.index.md frontmatter updated_at to reflect this refresh run.This skill must NOT:
memory-ingest or decision-extraction)Governs existing memory. Keeps it clean, cheap, and precise.