Skip to content

fix(roadmap): name a refused verification command safely - #3293

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

dan-petty merged 4 commits into
mainfrom
fix/3263-negative-search-round3

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A stop reason and a stage problem named the raw command, so an ESC, NEL or bidi override of a tasks.md line reached the comment on the item. One function now escapes and cuts every command and word that a reason names, for the step and for the gate.

A refused verification command is again a refused_tool stop that waits for a person: the rule of the classifier is built from the message of the step, because the new text lists mypy and ruff. The paths of a negative search are checked against the staged commit, src/ and tests/ included. The limit of 2000 characters now holds for every verification command, and the tool log no longer names the words after !. Tests pin the value 2000, the cuts at 60 and 2000 characters, and the sentence in step 5 of the prompt.

Several names in one search and the refused lines of #2610 are #3276 and a separate plan fix.

Refs #3263

Change: openspec/changes/archive/2026-11-02-3263-negative-search-round3/


Generated by Claude Code

The stop reason and the stage problem named the raw command, so a
control character or a bidi override of a tasks.md line reached the
comment. One function now escapes and cuts every command and word that
a reason names, for the step and the gate.

Also classify a refused verification command as refused_tool from the
message of the step, check the paths of a negative search at plan time,
put the 2000 character limit on every verification command, keep the
words after `!` out of the tool log, and pin the mutants of round 2.

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 2, 2026 21:48
@dan-petty
dan-petty enabled auto-merge (squash) November 2, 2026 21:48
…rch-round3

# Conflicts:
#	openspec/specs/roadmap-implement-step/spec.md
#	openspec/specs/roadmap-stage/spec.md
#	src/devops_cli/roadmap/stage_form.py
@dan-petty
dan-petty merged commit 252adc8 into main Nov 3, 2026
19 of 20 checks passed
@dan-petty
dan-petty deleted the fix/3263-negative-search-round3 branch November 3, 2026 01:43
dan-petty pushed a commit that referenced this pull request Nov 3, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.48.5](v0.48.4...v0.48.5)
(2026-11-03)


### Bug Fixes

* **pr:** judge a plan pull request by the rules of a plan
([#3310](#3310))
([fc16309](fc16309))
* **pr:** open a plan pull request with a Plans line
([#3315](#3315))
([eb2ab82](eb2ab82))
* **roadmap:** name a refused verification command safely
([#3293](#3293))
([252adc8](252adc8))

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