Skip to content

feat(roadmap): the stage job plans every Ready item and the implement job takes every Ready item of low effort #2906

Description

@dan-petty

What happened

The default filters of the stage and implement jobs limit them to Ready P0 and P1 bugs (implement: low effort too). After today's runs, the stage job staged every Ready P0/P1 bug, and the implement job delivered two of them (#2735 and #2739). The two that remain, #2147 and #2747, are effort/medium and wait because the implement filter asks for low effort. All other Ready items wait because the filters name bugs of P0 and P1 only.

The owner decision of 2026-10-31: the stage job plans every Ready issue, and the implement job implements every Ready issue of low effort.

What should happen

  • The default of roadmap.stage.filter is status=ready alone. The job plans every Ready item, of any type, priority, value and effort. limit (3 a round) and step_tokens stay.
  • The default of the implement filter is status=ready and effort=low. The job implements every Ready item of low effort, of any type, priority and value.
  • The two defaults are changed at their source: DEFAULT_ROADMAP_STAGE_FILTER in config/defaults.py, the implement default in roadmap/implement.py, the example ConfigMap k8s/devops/configmap.example.yaml, the help texts, docs/CONFIGURATION.md, and the specs roadmap-stage and roadmap-implement-job. Generated documents are regenerated.
  • The order in which the jobs take items stays the order they use now. State in the proposal what it is, and check that a P0 item is still taken before a P3 item when many items match.
  • State in the proposal what the wider filter makes the jobs touch that they did not touch before (features, docs, security items, type/test), and check that nothing in the stage or implement prompts, the change shape or the checks assumes a bug (for example the fix type of the branch and of the pull request title, the failing-test-first rule, the Closes rule, the label rules of fix(ci): allow only declared scopes in pull request titles #2846).
  • The live ConfigMap changes when the owner syncs it (devops k8s deploy-stack --stack devops, or Argo CD). The pull request does not touch the cluster.

Evidence

Acceptance criteria

  • devops roadmap stage --plan lists Ready items of any type and priority.
  • devops roadmap implement --plan lists Ready items of low effort of any type and priority, and none of medium or high effort.
  • A test holds each default, and the example ConfigMap matches the defaults (an existing test or a new one).
  • A staged feature item gets a branch and a pull request title with the right type (feat, docs, test...), not fix.
  • uv run devops ci passes.

Proposed design

Problem statement

The stage and implement jobs default to Ready P0 and P1 bugs only. The owner decided on 2026-10-31 that the stage job plans every Ready issue and the implement job implements every Ready issue of low effort, of any type, priority, and value.

Acceptance criteria

Requirement: stage-filter-default

The default of roadmap.stage.filter SHALL be status=ready alone.

Scenario: stage plan lists all ready items

  • WHEN a repository has Ready items of type feature, priority P2, and effort medium
  • THEN devops roadmap stage --plan lists them

Requirement: implement-filter-default

The default of the implement filter SHALL be status=ready and effort=low.

Scenario: implement plan lists low-effort ready items

  • WHEN a repository has Ready items of type feature, priority P3, and effort low
  • THEN devops roadmap implement --plan lists them and excludes medium and high effort items

Requirement: defaults-test

A test SHALL hold each default filter value, and the example ConfigMap SHALL match the defaults.

Scenario: configmap matches defaults

  • WHEN the test suite runs
  • THEN the test asserts DEFAULT_ROADMAP_STAGE_FILTER equals ('status=ready',) and the example ConfigMap filter matches

Requirement: branch-type-follows-issue

A staged item's branch and pull request title SHALL use the type of the issue, not a hardcoded fix.

Scenario: feature item gets feat branch

  • WHEN a Ready item of type feature is staged
  • THEN its branch is feat/- and its pull request title starts with feat:

Requirement: ci-passes

uv run devops ci SHALL pass.

Scenario: ci gate passes

  • WHEN the pull request runs CI
  • THEN all checks pass

Existing Tool Considered

No check has run. This change modifies the project's own code: the default filter values in config/defaults.py and roadmap/implement.py, the example ConfigMap, the generated documentation, and the tests. The written cost is the tokens to change two tuple defaults, update one YAML file, regenerate one document, update help texts, and adjust or add tests, plus the elapsed time for the CI gate.

Key questions

  • Does the branch and pull request title logic assume the fix type?: The branch pattern in .pre-commit-config.yaml allows any Conventional Commit type as a prefix. AGENTS.md states the title is a Conventional Commit. The branch type and title type SHALL follow the issue's type label, not a hardcoded fix. (best practice) [sources: .pre-commit-config.yaml:19, AGENTS.md:9]
    • Rejected: hardcode fix. Rejected: only works for bugs. The wider filter includes features, docs, and test items.
    • Rejected: derive from issue type. Chosen: the branch pattern allows any type prefix, and the Conventional Commit standard maps each type to a title prefix.

Open questions

  • What is the current ordering of items the stage and implement jobs take? (missing verified source)
  • Do the stage or implement prompts assume a bug? (missing verified source)
  • What item types does the wider filter add to the jobs' scope? (missing verified source)
  • Does the label rule of fix(ci): allow only declared scopes in pull request titles #2846 conflict with the wider filter? (missing verified source)

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    source/agent
    type/feature
    scope/roadmap
    status/new
    value/high
    effort/medium
    on Oct 31, 2026
  2. dan-petty commented on Oct 31, 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 feat prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. It is a deliberate owner decision to expand automation scope, not a defect or security issue, but it blocks the pipeline from handling most Ready items.
    • Value: High. It removes the P0/P1 bug-only restriction so the pipeline can deliver features, docs, test, and security items automatically.
    • Effort: Medium. It touches defaults in config/defaults.py, roadmap/implement.py, the example ConfigMap, help texts, docs, specs, and requires verifying that prompts and checks do not assume a bug type.
    • Related: feat(roadmap): devops roadmap stage writes the change of a Ready item in context-sized task groups and opens its draft pull request #2654, which asks for a different change. Both items concern the stage command's filter defaults, but #2654 created the command with its original filters and the candidate changes those defaults to cover all item types.
  3. added
    priority/p2-medium
    on Oct 31, 2026
  4. devops-cli-service commented on Oct 31, 2026

    @devops-cli-service
    Contributor

    Refine cannot set this item to Ready at a361419 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.

    • What is the current ordering of items the stage and implement jobs take? (missing verified source)
    • Do the stage or implement prompts assume a bug? (missing verified source)
    • What item types does the wider filter add to the jobs' scope? (missing verified source)
    • Does the label rule of fix(ci): allow only declared scopes in pull request titles #2846 conflict with the wider filter? (missing verified source)
  5. removed
    status/new
    on Oct 31, 2026
  6. added a commit that references this issue on Oct 31, 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-mediumscope/roadmapsource/agenttype/featurevalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions