Skip to content

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

Closed

Description

@dan-petty

Problem

The roadmap jobs do not have a model setting of their own. Each job reads a shared task slot of ai.tasks, so a model change for one job also changes other jobs:

Slot Jobs that read it (origin/main)
analysis refine (refine/refine.py:3325, :3424), alternatives (alternatives.py:1239), consolidate judge (consolidate_judge.py:282), refine investigation window (refine/refine_investigation.py:104)
verification refine review (refine/refine.py:3429), stage review (run.py:812, stage/stage.py:3155), fix-plan (steps/fix_plan.py:1360)
triage intake (intake/intake_model.py:235), retitle (retitle.py:172)
stage stage planner (run.py:811, stage/stage.py:3080), and through _TASK_PARENTS = {"stage": "analysis"} (config/settings.py:737) it takes each field it leaves unset from analysis

Evidence: on 2026-11-16 the owner asked to try refine and alternatives on local/qwen3.8:27b. The only setting for this is ai.tasks.analysis.model, so the change also moved the consolidate judge, and it would change the stage planner if the ConfigMap did not set ai.tasks.stage.model. A trial of one job on one model is not possible.

The owner direction of 2026-11-16 needs a setting for each job: each new job that is split out of the plan or implement job runs on openrouter/deepseek/deepseek-v4.1-flash-1017 until its grade reaches 80%, and then gets a trial on local/qwen3.8:27b.

Expected behavior

  • Each roadmap job reads a model setting of its own (for example ai.tasks.<job> or roadmap.<job>.model; the plan decides). A job reads no setting of another job.
  • No job takes a field from the slot of another job (_TASK_PARENTS goes away, or holds no roadmap job).
  • A job with no setting uses ai.model.
  • A new step job adds its own setting.

Constraints

  • AITasksConfig is extra="forbid", so the old image refuses a ConfigMap key that it does not know. Plan the order: the image that reads the new keys rolls out first, and the live ConfigMap gets the new keys right after, so the live model of each job (refine, alternatives, intake and retitle on local/qwen3.8:27b now) does not change for long.
  • Update k8s/devops/configmap.example.yaml and the generated docs/ENV_VARS.md.

Test first: a settings fixture that sets a model only for refine gives that model to refine and ai.model to alternatives and the consolidate judge.

Related

Activity

  1. added
    type/bug
    source/agent
    scope/roadmap
    status/new
    effort/medium
    value/high
    on Nov 16, 2026
  2. dan-petty commented on Nov 16, 2026

    @dan-petty
    OwnerAuthor
  3. added
    priority/p2-medium
    owner/agent
    status/in-progress
    and removed
    status/new
    on Nov 16, 2026
  4. added
    status/in-review
    and removed
    status/in-progress
    on Nov 16, 2026
  5. removed
    status/in-review
    owner/agent
    on Nov 16, 2026
  6. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor
  7. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-16 03:02 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p2-mediumscope/roadmapsource/agenttype/bugvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions