From 14de31cca1303d693c4b6e656c91f2754b93a4e6 Mon Sep 17 00:00:00 2001 From: bchanot Date: Wed, 28 Oct 2026 17:54:26 +0100 Subject: [PATCH] =?UTF-8?q?chore(memory):=20contract=20proof=20for=20crite?= =?UTF-8?q?rion=2013=20=E2=80=94=2013/14=20copies=20upgraded,=20game=20ref?= =?UTF-8?q?used?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/tasks/contracts/2026-10-27-memory-v2-write-2030.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.claude/tasks/contracts/2026-10-27-memory-v2-write-2030.md b/.claude/tasks/contracts/2026-10-27-memory-v2-write-2030.md index 3d4220b..84bfaec 100644 --- a/.claude/tasks/contracts/2026-10-27-memory-v2-write-2030.md +++ b/.claude/tasks/contracts/2026-10-27-memory-v2-write-2030.md @@ -34,3 +34,6 @@ Q: EVAL Index "Action" column at upgrade? / A: the 2026-10-27 gate dropped the c ## FILE SCOPE lib/memory.sh (new), lib/tests/memory.test.sh (new), lib/tests/fixtures/* (new fixtures), lib/reconcile.sh, lib/tests/run-reconcile.sh, lib/memory-commit.sh, lib/capitalize-commit.md, lib/analyze-before-plan.md, skills/capitalize/SKILL.md, skills/close/SKILL.md, skills/prune-memory/SKILL.md (+ tests/run-deterministic.sh, test-prompts.json), skills/feat/SKILL.md, skills/bugfix/SKILL.md, skills/hotfix/SKILL.md, skills/ship-feature/SKILL.md, skills/commit-change/SKILL.md, agents/commit-changer.md, skills/init-project/SKILL.md, agents/onboarder.md, skills/onboard/SKILL.md, templates/memory/*.md, hooks/session-start.sh, CLAUDE.global.md (Memory registries), Makefile (suite glob already covers lib/tests/*.test.sh), .claude/memory/{decisions,learnings,blockers,evals}.md (Index removal + marker), mods/model-router/routing.json (only if a new row is needed), docs (CHANGELOG at STEP 8). + +## PROOF — criterion 13 (controller, 2026-10-28, after 28c5a42) +Fresh scratchpad copies of the 14 project memory dirs, `bash lib/memory.sh -C upgrade` (relative lib path), then `check`, then a second upgrade (cksum): 13 rc 0 + check 0 + idempotent (config 2, robin_petier 6, zenquality 15, angelscar356 32, bchanot-cv 3 added status lines; others 0); game rc 2 (`## BDR-027 ADDENDUM`, `## BDR-061 ADDENDUM` headings, duplicate BLK IDs: plan Deviation 6, user decision at the per-repo pass); `git -C status --short .claude/memory` empty on all 14. The first run of this proof (before 28c5a42) found the template path resolved after the `-C` cd (rc 2 on config, faunosteo, for_you, trucks_at_work): fixed in 28c5a42, test T15-relpath.