Skip to content

fix(roadmap): keep the class of a refused command - #3359

Merged
dan-petty merged 5 commits into
mainfrom
fix/3263-negative-search-round4
Nov 3, 2026
Merged

dan-petty merged 5 commits into
mainfrom
fix/3263-negative-search-round4

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The rule for a refused verification command now runs first and only at the start of the text, so a word in the command (timed out, rate limit, out of memory) cannot change its class from refused_tool. The output of a failed command or of a matched negative search is escaped line by line in the stop reason. A trailing slash on a file is a problem at plan time, and a word with a NUL byte or a lone surrogate is refused with a reason instead of raising. The limit constant is now CONST_ROADMAP_IMPLEMENT_VERIFY_CHARS.

Refs #3263

Change: openspec/changes/archive/2026-11-03-3263-negative-search-round4/


Generated by Claude Code

The rule for a refused verification command now runs first and only at
the start of the text, so a word in the command (timed out, rate limit)
cannot change the class. The output of a command is escaped line by line
in the stop reason. A trailing slash on a file is a problem at plan time,
and a word with a NUL byte or a lone surrogate is refused, not raised.

Refs #3263

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
The merge of origin/main kept the conflict markers in implement_step.py.
Keep both sides: the named command and the trace of the check.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
Main added a use of the old name CONST_ROADMAP_IMPLEMENT_SEARCH_CHARS in
stage_form.py after this branch renamed the constant, so ruff and mypy
failed on the merge ref.

Refs #3263

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
@dan-petty
dan-petty marked this pull request as ready for review November 3, 2026 17:15
@dan-petty
dan-petty merged commit e5b8191 into main Nov 3, 2026
20 checks passed
@dan-petty
dan-petty deleted the fix/3263-negative-search-round4 branch November 3, 2026 17:15
dan-petty pushed a commit that referenced this pull request Nov 3, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.52.0](v0.51.0...v0.52.0)
(2026-11-03)


### Features

* **pr:** warn when a pull request body is over 1,000 characters
([#3362](#3362))
([6f3f292](6f3f292))
* **roadmap:** the implement agent can amend a defective plan
([#3361](#3361))
([bf1d8c6](bf1d8c6))


### Bug Fixes

* **roadmap:** check a split reply and the white space of openspec
([#3357](#3357))
([8613a2d](8613a2d))
* **roadmap:** keep the class of a refused command
([#3359](#3359))
([e5b8191](e5b8191))

---
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>
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.

2 participants