Skip to content

feat(roadmap): fix simple stage gate problems with no model call - #5902

Merged
dan-petty merged 1 commit into
mainfrom
feat/4853-fix-mechanical-stage-gate-problems
Nov 16, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/4853-fix-mechanical-stage-gate-problems

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Some stage gate problems have one correct edit that needs no model call. The dependencies gate names the other open plan item whose files overlap. The module-test gate names a module whose known test is not in the reads. A criterion text or a registry task can be missing. Each refusal costs a return of prompt tokens or fails the item.

Closes #4853

Change: openspec/changes/archive/2026-11-15-4853-fix-mechanical-stage-gate-problems/

@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 15, 2026
@dan-petty
dan-petty force-pushed the feat/4853-fix-mechanical-stage-gate-problems branch 2 times, most recently from 8c9ccb7 to 4d44a07 Compare November 16, 2026 00:30
…4853)

Fix mechanical stage gate problems without a model call.

- Add apply_mechanical_rewrites in stage_rewrite.py for mechanical gate findings.
- Reclassify stage_problem_registry as mechanical.
- Bound mechanical rewrite passes to at most 2 before returning to model.
- Record ROADMAP_FIX_CHECKS_TOTAL metric when a mechanical rewrite succeeds.
- Log rewrite actions with ASD-STE100 active voice messages.

Closes #4853

Change: `openspec/changes/archive/2026-11-15-4853-fix-mechanical-stage-gate-problems/`
@dan-petty
dan-petty force-pushed the feat/4853-fix-mechanical-stage-gate-problems branch from 4d44a07 to 5f302a7 Compare November 16, 2026 00:43
@dan-petty
dan-petty marked this pull request as ready for review November 16, 2026 00:53
@dan-petty
dan-petty merged commit 7d0b38d into main Nov 16, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/4853-fix-mechanical-stage-gate-problems branch November 16, 2026 00:55
dan-petty pushed a commit that referenced this pull request Nov 16, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.160.0](v0.159.0...v0.160.0)
(2026-11-16)


### Features

* **roadmap:** add toolset comparison to the stage eval
([#5786](#5786))
([27b6d39](27b6d39))
* **roadmap:** fix simple stage gate problems with no model call
([#5902](#5902))
([7d0b38d](7d0b38d))
* **roadmap:** Give each attempt its own strategy
([#5898](#5898))
([a4390b2](a4390b2))
* **roadmap:** name the test module for a changed function
([#5912](#5912))
([7bd61b3](7bd61b3))
* **roadmap:** one watch row for plan and delivery PRs
([#5906](#5906))
([85b15fa](85b15fa)),
closes [#5024](#5024)
* **roadmap:** rebase staged branch onto main before implement
([#5921](#5921))
([42fbc79](42fbc79))


### Bug Fixes

* **k8s:** the config template holds the job limits
([#5913](#5913))
([c1f3259](c1f3259)),
closes [#5583](#5583)
* **roadmap:** each job reads a model setting of its own
([#5909](#5909))
([11390b4](11390b4))
* **roadmap:** Measure and bound the repair return request
([#5883](#5883))
([c5b21a3](c5b21a3))
* **roadmap:** return unbuildable premise items during stage
([#5917](#5917))
([0a7e45c](0a7e45c))
* **tests:** deselect only tests that carry k8s marker
([#5915](#5915))
([e6904f5](e6904f5)),
closes [#5910](#5910)


### Performance Improvements

* **cli:** Cut the shared import cost of a CLI start
([#5890](#5890))
([836cec5](836cec5))

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

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): fix mechanical stage gate problems with no model call

1 participant