From 0f4a527337e461cde6a66ada73d5cf431cee29a3 Mon Sep 17 00:00:00 2001 From: dank Date: Sat, 31 Oct 2026 19:27:56 -0700 Subject: [PATCH] test(scoping): stop pinning a purgeable trash archive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The seam asserted `[ -f scripts/.AGENTTRASH/chat-template.jinja.ik-llama-qwen-sharp ]` so that the planning assertion "could not pass by the file having vanished". That reasoning was wrong twice over: the planner's rule is a PATH rule, so it plans nothing for that path no matter where the bytes sit, and the trash is a purgeable hold — #111 untracked it, so a fresh worktree or CI checkout has no such file and the suite went red on a byte that carries no meaning. Measured: fresh worktree off origin/main, deployment_scoping.bats:39 fails. After the change: that file 28 ok / 0 fail, ./tests/run.sh 789 ok exit 0. --- tests/deployment_scoping.bats | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/deployment_scoping.bats b/tests/deployment_scoping.bats index f250030..02751c9 100644 --- a/tests/deployment_scoping.bats +++ b/tests/deployment_scoping.bats @@ -28,15 +28,16 @@ REMOTE_DEPLOY="$REPO_ROOT/scripts/deploy-remote.sh" ! grep -q 'frank_npu\|frank-npu' "$REMOTE_DEPLOY" } -@test "the retired ik chat template plans nothing, and its archive is still here" { +@test "the retired ik chat template plans nothing" { # scripts/chat-template.jinja existed only for the ik_llama.cpp runtime # (retired 2026-09-16 in favour of halogen-flash-server again). The # llama.cpp frank-zealot runtime serves the template the GGUF itself # carries, which is the one with reasoning_effort, preserve_thinking and - # the tool-call grammar. Editing the archive must deploy nothing -- and the - # archive must still be present, so this cannot pass by the file having - # vanished. - [ -f "$REPO_ROOT/scripts/.AGENTTRASH/chat-template.jinja.ik-llama-qwen-sharp" ] + # the tool-call grammar. The planner's rule is a PATH rule, so an edit at + # that path deploys nothing no matter where the bytes currently sit: the seam + # deliberately does not assert the archive exists. Trash is a purgeable hold + # (untracked in #111, and the deletion policy says the purger deletes it), so + # pinning it fails every fresh checkout and proves nothing about planning. run python3 "$PLANNER" --target dankclaw --paths scripts/chat-template.jinja [ "$status" -eq 0 ] [ -z "$output" ] -- 2.54.0