From 76e907e542ce88c85c90db15cc17e2198d27eb6b Mon Sep 17 00:00:00 2001 From: Alex Ivantsov Date: Wed, 18 Nov 2026 00:07:37 -0500 Subject: [PATCH] docs(core): memory saves only a trap with no other home --- CHANGELOG.md | 9 +++++++++ CONTEXT/core.md | 3 ++- SKILLS/harness/SKILL.md | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60cce3d..91df22d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,15 @@ Notable changes to OPS, newest first. Format: the date, then what changed and wh matters. This file starts fresh at the public release; the harness's private prehistory is deliberately not part of it. +## 2026-11-18: memory saves only what has no other home + +The save rule changes from "write memory as you learn" to "memory holds only a trap with no +other home". A measurement of the memory pools found most entries repeated a doctrine line, +a repo doc or a client fact that already had a home, and pools on several boxes grew past +their caps with nobody pruning. Rulings, repo facts and client facts now go to their homes +at write time; the pool keeps the traps nothing else records. `CONTEXT/core.md` (Memory and +where knowledge goes) and the `harness` skill's closing steps say so. + ## 2026-11-17: one `harness` skill replaces six `active-minutes` bills to the nearest hundredth of an hour again (40 minutes shows 0.67 h), the owner's ruling the same day; the truncation added earlier today is reverted, so every copy reads the same. diff --git a/CONTEXT/core.md b/CONTEXT/core.md index 107846e..f50b3f9 100644 --- a/CONTEXT/core.md +++ b/CONTEXT/core.md @@ -167,7 +167,8 @@ foreman's session id, so a close run from a lane settles the foreman's session. ## Memory and where knowledge goes -Write memory as you learn; rediscovery costs more. Route by who needs it +Memory holds only a trap with no other home: route a ruling, a repo fact or a +client fact to its home at write time. Route by who needs it next: a gotcha that spans projects to the cross-project memory pool; a project lesson to its repo's docs by PR when the team reads that tree, otherwise to `CONTEXT/projects/-lessons.md`, with a one-line pointer diff --git a/SKILLS/harness/SKILL.md b/SKILLS/harness/SKILL.md index e24556b..dbdf8f8 100644 --- a/SKILLS/harness/SKILL.md +++ b/SKILLS/harness/SKILL.md @@ -17,7 +17,7 @@ Three endings. Pause: the same thread continues after a compact. Move: the work - Every ending starts with `session-end `. It snapshots git, runs the merged-branch and worktree cleanup (`branch-gc`) on the thread's repos, rebuilds the memory index, lints, and prints what is left for you to decide. - What only you can do, every time: - - Save the lessons worth keeping: one fact per file in the memory pool. A session with none saves none. + - Save to the memory pool only a trap with no other home, one fact per file; a ruling, a repo fact or a client fact goes to its home instead. A session with none saves none. - Leave the memory pool better than you found it: correct an entry this thread proved wrong, merge duplicates you touched, move a lesson that belongs in a repo's docs. The closing thread owns this; nothing else tidies the pool (`verify-ops.sh` only warns when one outgrows its budget). - Put knowledge where the next person will look. A client or technical fact goes to its page in the documentation system, a repo fact to that repo's docs, a decision to the changelog. Fix any document this thread made untrue. - Write the resume note at the top of the anchor or baton: NEXT ACTION (one step), VERIFY FIRST, DO NOT (with who said so), DEAD ENDS, ASK THE OWNER.