Repository navigation
Description
Problem
The trace gate takes a present-tense reads that describes code as a claim that the run read a file.
_READ_WORD in src/devops_cli/roadmap/stage/stage_change.py matches read, reads, reading, ran and read_file anywhere in a Feasibility sentence outside a negation. A sentence that says what the code does, such as "it reads .github/labels.yml of the default branch", then needs a tool call for that path. The run did not call one, and the plan is refused.
Evidence: a live stage run on item #3599 with the live stage model (deepseek-v4.1-flash-1017), 2026-11-10, with the fix of #4290 applied. The first reply was refused with: "The Feasibility section states that .github/labels.yml was read, but the run did not read it." The sentence of the reply was: "Precondition of declared_labels(self.store, ref=None): a client of the GitHub service, because it reads .github/labels.yml of the default branch." The subject of reads is the function. The item failed after the second reply.
Expected
- A sentence in which
readsorreadinghas a code span (a function, a class or a command) oritorwhichas its subject is no claim that the run read a path. - A claim in the first person, or of the run (
I read,the run read,read_file of), is still refused when the run holds no call for the path.
Acceptance criteria
- A test with the sentence above and a trace with no call passes the trace gate. It fails today.
- A test with "I read
src/x.py" and a trace with no call is refused. -
uv run devops roadmap eval stage --replaykeeps its result.
Existing tool considered
No library reads the subject of a sentence for a gate of this size. The change narrows _READ_WORD with a lookbehind on the words before the verb. Cost: about 20 000 tokens to build, 3 000 to keep, and 1 hour.
Activity
dan-petty commentedon Nov 10, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(roadmap)scope of the title gives the scope.Valid plans are refused when they describe code behaviour, but a rephrase works around it.It removes a false refusal that blocks plans that accurately describe what a function does.The body states about 1 hour and a narrow regex change with a lookbehind.Both concern the trace gate in stage_change.py, but #3266 created the gate and this candidate fixes a false positive in its _READ_WORD regex.devops-cli-service commentedon Nov 10, 2026
Released in v0.106.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.106.0
devops-cli-service commentedon Nov 10, 2026
Live since 2026-11-10 03:32 UTC