fix(story-mode): a command whose last check finds nothing answered, it did not fail

From review round 9: "Claude tries a command, and it fails" made up a
problem. The command printed what Claude was after, then exited 1 only
because its last step (`git config user.name`) found nothing set.

A command whose LAST step is a lookup that answers "no" with exit code
1 (grep, `git config`, `test`, `which`), after printing something,
now reads "Claude checks a few things; the last check finds nothing.",
and does not make the turn "Nothing Claude tried worked". A real
failure (another exit code, nothing printed, or the lookup not last)
still fails.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Codeman maintainer committed 2026-10-18 16:19:07 +02:00
1 parent 79b37122df
commit 6a6c7c0949
5 files changed
+52 -15

No files matched your search

@@ -40,7 +40,7 @@
{
"kind": "run",
"ok": null,
"story": "Claude tries a command, and it fails.",
"story": "Claude checks a few things; the last check finds nothing.",
"director": "Bash · grep -oE '\"(permissions|env|allow|deny)\"|[A-Za-z_]*(TOKEN|K… · 1 error",
"balloon": null,
"tests": null,