Skip to content

fix(roadmap): each job reads a model setting of its own - #5909

Merged
dan-petty merged 5 commits into
mainfrom
fix/5903-own-model-setting-per-job
Nov 16, 2026
Merged

dan-petty merged 5 commits into
mainfrom
fix/5903-own-model-setting-per-job

Conversation

@dan-petty

@dan-petty dan-petty commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Each model role of a roadmap job reads a task of its own in ai.tasks, so a model trial moves exactly one job: intake, retitle, refine, refine_review, alternatives, consolidate, stage, stage_review, fix_plan, fix_plan_review, implement and implement_split. A field that a task does not set takes the value of ai. _TASK_PARENTS is gone, so stage takes nothing from analysis. No job reads analysis, verification or triage; they stay valid for devops review and old config files. The ConfigMap template names local/qwen3.8:27b for intake, retitle and alternatives, and DeepSeek for each other job. Refine returns to DeepSeek: 2 of its first 8 local runs ended with no structured reply.

The old image refuses the new job tasks. After the merge, run no deploy-stack until the release image runs; then run it at once.

Closes #5903

Change: openspec/changes/archive/2026-11-16-5903-own-model-setting-per-job/

@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 16, 2026
@dan-petty
dan-petty force-pushed the fix/5903-own-model-setting-per-job branch from 724f959 to e41f9df Compare November 16, 2026 01:17
@dan-petty
dan-petty marked this pull request as ready for review November 16, 2026 01:27
@dan-petty

Copy link
Copy Markdown
Owner Author

Vet: SAFE for code, tests and docs. Each job reads only ai.tasks.<job>, for_task copies fields from the task and ai only, and the template keeps each 256000 window. 30 new tests fail on the base for the right reason; tests/config/test_stage_task_setting.py (3 tests) is deleted because it tested the parent rule that this PR removes.

Rollout order. The old image refuses the new keys: every Service round fails, a restart crash-loops, and an active Job with an old digest fails at its next settings read (the Jobs mount the ConfigMap without subPath).

  1. Merge fix(k8s): the config template holds the job limits #5913 first and run deploy-stack. Then rebase this PR (6 files conflict): take its ai.tasks block and keep the roadmap.* limits of fix(k8s): the config template holds the job limits #5913.
  2. After this PR merges, run no deploy-stack until the release image runs in roadmap-service and no stage or implement Job with an older digest is active.
  3. Then run devops k8s deploy-stack --stack devops from main at once: until then the job tasks use ai.model and a 32768 window, and stage_review can fail items (fix(k8s): set the verification window in the example ConfigMap #3911).

Minor: _AI_TASKS in commands/ai.py:185 does not list the job tasks, so devops ai config --task refine refuses the task.

@devops-cli-service

Copy link
Copy Markdown
Contributor

Pull request #5909 has merge conflicts with main at commit e41f9df026f8. GitHub cannot merge it. Rebase the branch onto the current main, resolve the conflicts and push the branch.

Each model role of a roadmap job reads a task of its own in ai.tasks:
intake, retitle, refine, refine_review, alternatives, consolidate,
stage, stage_review, fix_plan, fix_plan_review, implement and
implement_split. A field that a task does not set takes the value of
ai, and _TASK_PARENTS is gone, so stage takes nothing from analysis.
No job reads analysis, verification or triage; they stay for devops
review and old config files.
Two of the first eight refine runs on local/qwen3.8:27b ended with no
structured reply. The alternatives check stays in the trial.
@dan-petty
dan-petty force-pushed the fix/5903-own-model-setting-per-job branch from e41f9df to f1d2451 Compare November 16, 2026 02:34
@dan-petty
dan-petty enabled auto-merge (squash) November 16, 2026 02:36
@dan-petty
dan-petty merged commit 11390b4 into main Nov 16, 2026
28 checks passed
@dan-petty
dan-petty deleted the fix/5903-own-model-setting-per-job branch November 16, 2026 02:41
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/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): each job reads a model setting of its own

1 participant