From 103f542022709218246498f1690bb2618d03cc30 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 26 Apr 2026 15:42:12 +0100 Subject: [PATCH] Note compaction prep after major passes --- AGENTS.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index fd1d502..c728df6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -101,6 +101,15 @@ When the user says to prepare for imminent compaction: 4. commit the completed persistence pass unless the work is deliberately mid-surgery +After any major completed pass, assume compaction may be imminent even if the +user did not say so yet: + +1. run `tools/heimdall_prepare_compaction.py` +2. sync only the persistent state that genuinely changed +3. rerun the helper +4. commit the persistence pass before moving on unless the work is + deliberately mid-surgery + ## Operating Discipline - Before substantial edits, restate the current mechanism and intended change.