Repository navigation
fix(roadmap): tell the agent the step runs a bang command - #3275
Conversation
The agent shell refused `!` with the list of allowed programs only, and the prompt told the agent to run every verification command, so the agent spent refusals on a check it cannot run. The refusal now names the git grep form and says the step runs the command itself. Also cap the words of a negative search (E2BIG crashed the step), show words in a reason escaped and cut, pin the ASCII-only patterns with tests, and make the step call the one reader that the gate calls. Refs #3263 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
🤖 I have created a release *beep* *boop* --- ## [0.48.2](v0.48.1...v0.48.2) (2026-11-02) ### Bug Fixes * **roadmap:** never cut the plan title, count its summary once ([#3272](#3272)) ([0e0e017](0e0e017)) * **roadmap:** tell the agent the step runs a bang command ([#3275](#3275)) ([a88f9c8](a88f9c8)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
|
Adversarial review of #3275 (round 2). Verdict: BLOCK (1 blocker, 1 major, 5 minor). Head 54c14a1. CI is green (22 checks). Locally: 348 tests of the 6 touched modules pass, ruff and mypy are clean, Round 1 (#3269) check: finding 1 is fixed (finding 6 here covers the unpinned parts). Finding 2 is accepted, but its stated reason is false (finding 3). Finding 3 is deferred to #3276, which is safe but incomplete (finding 5). Finding 4 is fixed for
Attacks tried that did not break it:
Not verified:
Generated by Claude Code |
The shell of the agent refuses
!, and the refusal gave only the list of allowed programs. Step 5 of the prompt told the agent to run every verification command, so the agent could spend refusals on a negative search that it cannot run. The refusal and the prompt now givegit grep -n <literal> -- <paths>, say that no output is a pass, and say that the step runs a command that starts with!itself.The words of a negative search hold at most 2000 characters in all (a word of 300000 characters crashed the step with E2BIG). A word in a refusal reason is escaped and cut. A test pins that a fullwidth or accented literal and path are refused. The step calls the one reader that the stage gate calls, and its three refusal messages are one.
A path that matches no file still passes: a group that deletes a directory needs it, and the stage job checks the paths of
verifyat plan time. Several names in one search (-e, repeated) are not part of this change.Refs #3263
Change:
openspec/changes/archive/2026-11-02-3263-negative-search-followup/Generated by Claude Code