Repository navigation
fix(roadmap): fix-plan keeps the citations that the run of the head read - #5400
Conversation
Checks on the branch
EvidenceThe Loki line of pod Render diffThe branch changes no After the mergeA release is necessary: the fix-plan Job runs the code of the runner image. The |
|
Pull request #5400 has merge conflicts with |
PR #5387 and PR #5401 merged two minutes apart, and each added `GitHubClient.get_compare_diff` to `src/devops_cli/github/client.py` with the same body. Git merged both with no conflict, so `main` defines the method twice: ruff F811 and mypy `no-redef` fail, the Static Analysis check of `main` fails, and the pre-push hook refuses every branch that holds this `main` (#5389 and #5400 wait for this fix). This change keeps one method and names both callers (#5346, #5388) in its docstring. The body does not change, so no behavior changes. Closes #5404 Change: `openspec/changes/archive/2026-11-13-5404-main-defines-get-compare-diff-twice/`
The step fix-plan failed at the trace gate on #5390 (3 gate returns, 2.4M tokens). Two defects caused it: - The repair had no trace of the run that wrote the head, so the gate judged each kept Feasibility sentence with the reads of the repair only. The gate now gets the sentences of the head as judged and does not judge them again. A sentence that a reply adds or changes is judged with the reads of the repair, so a citation of a file that no run read stays refused. - The gate took `read_file <path> <start> <end>` as one path, so it refused the claim also when the run read the file. The gate now removes the line numbers after the path of a toolbox tool span. Refs #5391.
The Job log of #5390 holds no tool arguments, so the tests do not say that the run read no file. The docstring of _citation names the forms in the order that the code reads them.
The specs roadmap-stage/trace-gate and roadmap-stage/fix-plan get the requirements of the change. Refs #5391.
c561383 to
003a389
Compare
🤖 I have created a release *beep* *boop* --- ## [0.128.0](v0.127.1...v0.128.0) (2026-11-13) ### Features * **roadmap:** extend stage gate returns while the plan improves ([#5389](#5389)) ([6d3f954](6d3f954)) ### Bug Fixes * **roadmap:** fix-plan keeps the citations that the run of the head read ([#5400](#5400)) ([7f4054f](7f4054f)), closes [#5391](#5391) --- 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>
The fix-plan Job on #5390 failed at the trace gate after 3 gate returns and 2.4M tokens, before the review of the head. Two defects caused it.
The trace gate of a repair judged each Feasibility sentence of each reply with the reads of the repair only, because no trace of the run that wrote the head is in the process. Now
revisegives the sentences of the head to the gate asjudged. The gate of the run that wrote the head passed them, so the gate does not judge them again. A sentence that the repair adds or changes is judged with the reads of the repair, so a citation of a file that no run read stays refused.The gate took the path of a span
read_file <path> <start> <end>as all the text after the tool name, so it refused the claim also when the run read the file. Now_citationremoves the start and end line after the path of a toolbox tool span.Closes #5391
Change:
openspec/changes/archive/2026-11-13-5391-fix-plan-stage-reads/