Files
clawmates/scripts
Omar SobhandClaude Opus 5 162506cd53
deploy / test (push) Successful in 5m1s
deploy / build (push) Successful in 1m2s
harness(memory): ask the brain, not the DB — they do not share a lifetime
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 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WZb5A2kfVfjpdwSochkuHz
2026-09-22 13:58:50 -05:00
..