Skip to content

feat(roadmap): the Service runs the stage job on the model lane for the items its label filter names, with OpenSpec in the Service image #2659

Description

@dan-petty

Problem or Motivation

Parent: #2653. Sub-issue 1 (#2654) gives the command. The Service does not run it, and the Service image cannot run openspec validate: it holds no Node and no OpenSpec. #1848 was not planned because the release cut no longer archives, and that reason does not apply to a job that writes a change.

Proposed Solution & Architectural Design

  • A row stage in MODEL_LANE_ROWS after refine: interval DEFAULT_ROADMAP_STAGE_INTERVAL_MINUTES (60), first_run_due, and a cross-job predicate that makes it due in a round where refine set an item Ready. The row calls the model, so it runs on the model lane. devops roadmap run runs it in its round.
  • Settings in RoadmapConfig: roadmap.stage.filter (a list of family=value, default status=ready, priority=p0-critical, priority=p1-high, type=bug), roadmap.stage.limit (3) and roadmap.stage.step_tokens (40000), each with its variable, so that a repository's ConfigMap sets the filter.
  • The Service image carries the pinned OpenSpec: a Node runtime and the lockfile of src/devops_cli/tools_lock/openspec, installed as devops install-tools installs it (feat(install-tools): install OpenSpec from a pinned npm lockfile with telemetry off #1842), with telemetry off. The stage job then validates every change before it pushes.
  • The metric devops_cli_roadmap_stage_total{result} with staged, skipped, needs_split and failed.
  • CONTEXT.md ("Lane"), k8s/README.md ("Roadmap service") and k8s/devops/configmap.example.yaml name the row and the settings.

Target Subsystem

src/devops_cli/roadmap/run.py, src/devops_cli/config/settings.py, Dockerfile (the service stage), src/devops_cli/telemetry/instruments.py, k8s/devops/.

Existing Tool Considered

The due table of roadmap/run.py, the settings declarations, and OpenSpec's pinned npm lockfile (#1842). Nothing new is built.

Acceptance criteria

  • A Service round runs the row by its interval, on a first run, and in a round where refine set an item Ready. devops roadmap run --dry-run lists it.
  • The settings load from the config file and their variables, and an invalid filter entry is refused naming it.
  • The service image test asserts, offline against the Dockerfile, that the service stage installs OpenSpec from the lockfile and puts openspec on PATH.
  • The metric is emitted once per item with its result.
  • uv run devops ci passes.

Depends on: #2654.

Source: #2653

Activity

  1. added
    source/agent
    type/feature
    status/new
    value/medium
    effort/medium
    on Oct 29, 2026
  2. dan-petty commented on Oct 29, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/feature. The item adds a new job row, new settings, a new metric, and a new image capability.
    • Priority: P2-Medium. It is a planned sub-issue in a roadmap, not a blocking defect or security fix.
    • Value: Medium. It enables the stage job to validate changes before push, which supports the roadmap automation workflow.
    • Effort: Medium. It touches run.py, settings.py, the Dockerfile, instruments.py, and k8s config, but the building blocks exist.
    • Related: feat(roadmap): the Service runs the alternatives job once a day, and refine reads the recorded tool verdict #2652, which asks for a different change. Both are sub-issues of #2653 that add a row to MODEL_LANE_ROWS after refine, but #2652 adds an alternatives row and the candidate adds a stage row with different settings and a metric.
  3. added
    priority/p2-medium
    on Oct 29, 2026
  4. removed
    status/new
    on Oct 30, 2026
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-mediumsource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions