Skip to content

refactor(roadmap): rename the row groups that keep lane names #5560

Open

Description

@dan-petty

Problem or Motivation

Since #5553, each row of the due table runs in a lane of its own in the Service, and the setting service.lanes groups rows. The status lane, the triage lane and the model lane are gone. But the row groups of the table keep their lane names: STATUS_LANE_ROWS, TRIAGE_LANE_ROWS and MODEL_LANE_ROWS in src/devops_cli/roadmap/run.py, with docstrings that tell about those lanes. Some specs also name the status lane or the model lane for the order of rows: roadmap-retitle, roadmap-stage/round, roadmap-stage/fix-plan, roadmap-stage/ready, roadmap-pr-conflicts, and examples in roadmap-service-counters. A reader can think that these lanes still exist.

#5553 kept the names because the branch of #4559 part 2 changes the same tuples and two of those specs.

Proposed Solution & Architectural Design

  • After feat(roadmap): run each stage item in its own Job #4559 part 2 merges, rename the row groups to names that tell what they hold, for example NO_MODEL_ROWS, INTAKE_ROWS and MODEL_ROWS, and change their docstrings.
  • Change the specs and the tests that name the status lane or the model lane for the order of rows, so they name the order of the due table.

Target Subsystem

Roadmap Service: src/devops_cli/roadmap/run.py, src/devops_cli/server/counter_series.py, the specs above and their tests.

Existing Tool Considered

None needed: a rename in the project code. Cost: about 80,000 tokens and 1 hour.

Acceptance Criteria

  • git grep -n "_LANE_ROWS" -- src tests finds nothing.
  • git grep -n -i -e "status lane" -e "model lane" -e "triage lane" -- openspec/specs docs finds no text that tells about a lane of the Service that does not exist.

Dependencies

Alternatives check of 2026-11-17: not-applicable.
Class: refactor, no search.
Tool: none found.

Proposed design

Problem statement

The row groups of the roadmap due table still carry the names of the status, triage and model lanes. Those lanes no longer exist: since #5553 each row runs in a lane of its own, and service.lanes groups rows. The names and the specs that use them can make a reader think that the lanes still exist. The change renames the row groups and updates the specs, tests and examples.

Acceptance criteria

Requirement: No lane-named row groups

The roadmap module and its tests SHALL name each row group after the rows it holds, not after a lane.

Scenario: Grep finds no _LANE_ROWS name

  • WHEN the test runs git grep -n "_LANE_ROWS" -- src tests
  • THEN the command exits 1 and prints no match

Requirement: Source text names no removed lane

The roadmap source SHALL describe the due table order and SHALL NOT name the status lane, the triage lane or the model lane.

Scenario: Grep finds no removed lane in the roadmap source

  • WHEN the test runs git grep -n -i -e "status lane" -e "model lane" -e "triage lane" -- src/devops_cli/roadmap/run.py src/devops_cli/server/counter_series.py
  • THEN the command finds no text that names a lane of the Service that does not exist

Requirement: Specs and docs name the due table order

The OpenSpec specs and the docs SHALL name the order of the due table for the row order and SHALL NOT name the status lane, the model lane or the triage lane for it.

Scenario: Grep finds no removed lane in the specs and docs

  • WHEN the test runs git grep -n -i -e "status lane" -e "model lane" -e "triage lane" -- openspec/specs docs
  • THEN the command finds no text that tells about a lane of the Service that does not exist

Requirement: Prometheus fixture uses row lanes

The Prometheus test fixture SHALL label each example series with the row name that the Service emits.

Scenario: Fixture labels are row names

  • WHEN the test parses tests/fixtures/prometheus_rules/roadmap_service_tests.yaml
  • THEN the series use lane="refine" and lane="metrics", and no series uses lane="model" or lane="status"

Requirement: Roadmap tests pass

The roadmap tests SHALL pass with the new row group names.

Scenario: Roadmap test suite passes

  • WHEN the test runs uv run pytest tests/roadmap
  • THEN the command exits 0

Existing Tool Considered

The alternatives check in the issue body (2026-11-17) records not-applicable: this is a refactor with no search, and it names no tool. The change uses the project code. The written cost is about 80,000 tokens and 1 hour.

Key questions

  • Which names replace the three lane-named row groups?: Rename STATUS_LANE_ROWS to NO_MODEL_ROWS, TRIAGE_LANE_ROWS to INTAKE_ROWS and MODEL_LANE_ROWS to MODEL_ROWS. NO_MODEL_ROWS holds the rows that call no model, INTAKE_ROWS holds intake, and MODEL_ROWS holds the rows that call a model. (best practice) [sources: src/devops_cli/roadmap/run.py:1067, src/devops_cli/roadmap/run.py:1152, CONTEXT.md]
    • Rejected: Keep the lane names. The names name lanes that feat(service): each roadmap job runs in its own lane #5553 removed, so a reader can think the lanes still exist.
    • Chosen: Use NO_MODEL_ROWS, INTAKE_ROWS and MODEL_ROWS. The names state what each group holds and match the due table order that the module docstring describes.
    • Rejected: Use one DUE_ROWS tuple. The due table runs the no-model rows before the model rows, and the module and tests read the groups separately.
  • Should the specs describe the order of the due table instead of a lane?: Yes. Replace each reference to the status lane or the model lane for row order with the due table order. The spec names the row and its position in the due table. (best practice) [sources: openspec/specs/roadmap-stage/round/spec.md, openspec/specs/roadmap-stage/fix-plan/spec.md, src/devops_cli/roadmap/run.py]
    • Rejected: Keep the lane wording. The status lane and the model lane no longer exist, so the specs state a false premise.
    • Chosen: Name the due table order. The due table is the source of row order, and service.lanes groups rows without changing the table order.
    • Rejected: Name the group only. The specs need the row order that the due table gives, and the group alone does not state the order.
  • Should the change include the example ConfigMap comment?: No. Defer it. The file needs devops k8s deploy-stack before the merge, which is a person deployment step. File a new issue for the comment. (best practice) [sources: k8s/devops/configmap.example.yaml]
    • Rejected: Change the ConfigMap comment in this item. The change adds a deploy-stack gate to a rename pull request and holds the rename.
    • Chosen: Defer it to a new k8s issue. The rename stays one pull request, and the k8s issue carries the deploy-stack gate.
    • Rejected: Leave the comment unchanged. The comment would keep a false lane name.
  • Should the Prometheus fixture use lane="refine" and lane="metrics"?: Yes. With one lane for each row, the example series must use the row names that the Service emits. (best practice) [sources: tests/fixtures/prometheus_rules/roadmap_service_tests.yaml, CONTEXT.md]
    • Rejected: Keep lane="model" and lane="status". Those lanes no longer exist, so the example series show labels that the Service does not emit.
    • Chosen: Use lane="refine" and lane="metrics". The row names are the lane names that the Service emits after feat(service): each roadmap job runs in its own lane #5553.
    • Rejected: Remove the lane label from the examples. The label is part of the series identity, and the Service emits it.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

#5553, #4559

Moved to new items

#6498

Activity

  1. added
    type/refactor
    source/agent
    scope/roadmap
    status/new
    value/low
    effort/low
    on Nov 13, 2026
  2. dan-petty commented on Nov 13, 2026

    @dan-petty
    OwnerAuthor
    • Priority: P3-Low. A naming cleanup with no user-facing defect; it improves readability but blocks nothing.
    • Related: feat(service): each roadmap job runs in its own lane #5553, which asks for a different change. Both concern the lane structure in the roadmap Service; #5553 removes the lanes, this candidate renames the constants and docstrings that still reference them.
  3. added
    priority/p3-low
    on Nov 13, 2026
  4. dan-petty commented on Nov 13, 2026

    @dan-petty
    OwnerAuthor

    More text that names the earlier lanes, found in the review of PR #5563 (after #5559 merged):

    • openspec/specs/roadmap-stage/round/spec.md: "The stage row runs on the status lane and plans no item" (added by feat(roadmap): run each stage item in its own Job #5559).
    • openspec/specs/roadmap-stage/fix-plan/spec.md: "The model lane SHALL hold the row fix_plan after retitle".
    • openspec/specs/roadmap-service-limits/spec.md ("a row of the status lane or the model lane is suspended"), roadmap-service-worker-startup ("The model lane runs the stage job"), github-session-answers ("the status lane's round") and roadmap-release-comments ("the status lane runs the row").
    • k8s/devops/configmap.example.yaml: the comment "The model lane (stage, refine, alternatives) plans with DeepSeek". PR feat(service): each roadmap job runs in its own lane #5563 left it, because a change of that file needs devops k8s deploy-stack before the merge.
    • tests/fixtures/prometheus_rules/roadmap_service_tests.yaml: the example series use lane="model" and lane="status". With one lane for each row, lane="refine" and lane="metrics" are the real values.
  5. devops-cli-service commented on Nov 17, 2026

    @devops-cli-service
    Contributor

    Alternatives check: not-applicable (refactor item; no search).

  6. added
    status/ready
    and removed
    status/new
    on Nov 20, 2026
  7. devops-cli-service commented on Nov 20, 2026

    @devops-cli-service
    Contributor

    Next step: the stage job writes the plan of the item. See Moved to new items in the section Proposed design of the body.

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/lowpriority/p3-lowscope/roadmapsource/agentstatus/readytype/refactorvalue/low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions