Skip to content

fix: drop stale BashOutput reference and soften review stop rule - #799

Open
IamDejman wants to merge 1 commit into
openai:mainfrom
IamDejman:fix/review-prompt-wording
Open

IamDejman wants to merge 1 commit into
openai:mainfrom
IamDejman:fix/review-prompt-wording

Conversation

@IamDejman

Copy link
Copy Markdown

Summary

  • commands/review.md and commands/adversarial-review.md say "Do not call BashOutput". Claude Code no longer has a BashOutput tool (its tools reference has no such entry; background output is read from the task's output file). The line now states the intent directly: do not read the background command's output or wait for completion in this turn.
  • skills/codex-result-handling/SKILL.md stacks CRITICAL / STOP / MUST / "strictly forbidden" on the review-only rule. Current Claude models follow plain instructions closely, and stacked emphasis tends to over-apply. The rule is unchanged: present findings, ask which to fix, make no edits until the user picks.
  • tests/commands.test.mjs: the two assertions that matched the old BashOutput wording now match the new line.

Not included: the codex-rescue agent's "If the Bash call fails or Codex cannot be invoked, return nothing" line, which leaves the caller unable to tell a failed run from an empty one. #296 already changes it.

Testing

node --test tests/*.test.mjs: 87 pass, 4 fail. The same 4 tests fail on unmodified main in my environment (status shows phases..., status preserves adversarial review kind labels, result returns the stored output..., resolveStateDir uses a temp-backed per-workspace directory), so they are unrelated to this change. tests/commands.test.mjs passes 8/8.

The review and adversarial-review commands told Claude not to call
`BashOutput`, a tool Claude Code no longer has (background output is now
read from the task's output file). Say what the rule means instead: do
not read the background output or wait for it this turn.

The result-handling skill stacked CRITICAL, STOP, MUST and "strictly
forbidden" on the review-only rule. Current Claude models follow plain
instructions closely, and the stacked emphasis invites over-application.
The rule itself is unchanged: present findings, ask which to fix, make no
edits until the user picks.
@IamDejman
IamDejman requested a review from a team October 3, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant