From 933af344c2e3c0932dc525b66ee297ebe420571d Mon Sep 17 00:00:00 2001 From: Godopu Date: Sun, 4 Oct 2026 10:32:49 +0000 Subject: [PATCH] test(issue-45): S11 compares the shim heredoc with the Issue #45 bootstrap commit S11 keeps the generated .mam/shim/herdr from changing by accident; #45 changes it on purpose, so its base moves to ed73f67. Co-Authored-By: Claude Opus 5.5 --- tests/test_issue23_24_startup_path.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_issue23_24_startup_path.py b/tests/test_issue23_24_startup_path.py index ddcdac6..71addd3 100644 --- a/tests/test_issue23_24_startup_path.py +++ b/tests/test_issue23_24_startup_path.py @@ -296,9 +296,10 @@ def test_s11_this_branch_does_not_change_the_generated_shim(mam_sandbox): lib.sh materialises into $WORKSPACE_ROOT/.mam/shim/herdr. That file is shared by every checkout bound to one control plane, so keeping it byte-identical to base is what makes "the control plane is not modified" - true at runtime.""" + true at runtime. Issue #45 changed the heredoc on purpose (the bootstrap + starts the server with restore-on-restart off), so the base is that commit.""" repo = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) - base = os.environ.get("MAM_BASE_SHA", "1e78dae") + base = os.environ.get("MAM_BASE_SHA", "ed73f67") show = subprocess.run(["git", "show", "%s:.agents/skills/lib.sh" % base], capture_output=True, text=True, cwd=repo) if show.returncode != 0: