Skip to content

fix(roadmap): a fix step edits only the paths the plan names - #3944

Merged
dan-petty merged 7 commits into
mainfrom
fix/3824-fix-step-edits-planned-paths
Nov 7, 2026
Merged

dan-petty merged 7 commits into
mainfrom
fix/3824-fix-step-edits-planned-paths

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A fix step could edit paths that the plan does not name, and so weaken a check to pass it. After the step, the exit checks now compare each changed, added or deleted path with the paths that the plan names. A step that touches another path stops with the new class outside_plan (action wait), discards its work, runs no repair round, and leaves the stop comment with the check, its log, the paths and the diff. A file of the change folder is always allowed. A group step is not checked.

Closes #3824

Change: openspec/changes/archive/2026-11-07-3824-fix-step-edits-planned-paths/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 7, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Evidence for this pull request.

  • fail-to-pass: uv run devops ci fail-to-pass --base origin/main found 5 tests that fail on the base commit (new tests in tests/roadmap/implement/test_roadmap_implement_step_fix_paths.py: the class outside_plan and unplanned_paths do not exist there).
  • Full uv run devops ci on the rebased branch (before the last rebase onto 2 newer commits of main): exit 0. test and coverage pass, with the known test-time warning (slowest rows are tests/prometheus/test_k8s_monitoring_alerting.py and tests/commands/test_ai_local_dry_run.py, not part of this change).
  • After the last rebase: the three test files of this change (116 tests) pass.
  • Not done: the issue asks to set the item back to New. This change keeps the existing stop (Blocked, action wait), which keeps the branch and holds the same evidence. See Feasibility in the archived proposal.

@dan-petty
dan-petty marked this pull request as ready for review November 7, 2026 06:05
@dan-petty
dan-petty merged commit 7745fa8 into main Nov 7, 2026
24 checks passed
@dan-petty
dan-petty deleted the fix/3824-fix-step-edits-planned-paths branch November 7, 2026 11:45
dan-petty pushed a commit that referenced this pull request Nov 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.78.0](v0.77.2...v0.78.0)
(2026-11-07)


### Features

* **k8s:** add the Crawl4AI token to the cluster secrets
([#3937](#3937))
([5e6eb59](5e6eb59))
* **research:** list every pin of the project
([#3945](#3945))
([cb65daa](cb65daa)),
closes [#3896](#3896)


### Bug Fixes

* **roadmap:** a fix step edits only the paths the plan names
([#3944](#3944))
([7745fa8](7745fa8))
* **roadmap:** read only the marked code spans of a plan
([#3912](#3912))
([72c52c6](72c52c6))
* **service:** the request budget counts only what GitHub counts
([#3946](#3946))
([b3f8793](b3f8793))

---
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>
dan-petty added a commit that referenced this pull request Nov 11, 2026
A failed check of the pull request gets a fix turn only when its log
names a path of the repair scope: the paths that the plan names and the
change folder. If it names none, the job stops the item as Blocked with
no model request, and the reason names the check and the scope. Since
#3944 a turn that changes a path outside the plan stops, but only after
it spent its requests: in #3961 a failed Plan Check cost 217 requests
and 14.4 million tokens. The change reads the log only, not the check
annotations: the log holds the same paths and is already read.

Closes #4028

Change:
`openspec/changes/archive/2026-11-11-4028-confine-repair-fix-turns-to-the/`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): a fix step edits only the paths that the plan names

1 participant