From 162506cd532714c2eb33af19f09964134d7bcf16 Mon Sep 17 00:00:00 2001 From: Omar Sobh Date: Tue, 22 Sep 2026 13:58:50 -0500 Subject: [PATCH] =?UTF-8?q?harness(memory):=20ask=20the=20brain,=20not=20t?= =?UTF-8?q?he=20DB=20=E2=80=94=20they=20do=20not=20share=20a=20lifetime?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit assert_project_memory compared carried memory against mission_phase_evaluations, which is the wrong source: memory lives in the per-repo .brain, and wiping missions cascades the verdict rows while leaving the brain untouched. Measured after the full prod wipe — the scratch repo had 0 earlier verdicts and an 18,982-byte brain still holding them — so the assertion failed on correct behaviour. It now asks whether a repo brain exists, and only fails when memory appeared with neither a verdict nor a brain to have come from. Worth stating plainly because it changes what "clean slate" means: a mission wipe does NOT clear what agents remember about a repository. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01WZb5A2kfVfjpdwSochkuHz --- scripts/verify-mission-delivery.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/scripts/verify-mission-delivery.sh b/scripts/verify-mission-delivery.sh index 928ca4c..a0a8f23 100755 --- a/scripts/verify-mission-delivery.sh +++ b/scripts/verify-mission-delivery.sh @@ -930,7 +930,7 @@ assert_verifier_read_only() { #