Repository navigation
Description
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.filterisstatus=readyalone. The job plans every Ready item, of any type, priority, value and effort.limit(3 a round) andstep_tokensstay. - The default of the implement filter is
status=readyandeffort=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_FILTERinconfig/defaults.py, the implement default inroadmap/implement.py, the example ConfigMapk8s/devops/configmap.example.yaml, the help texts,docs/CONFIGURATION.md, and the specsroadmap-stageandroadmap-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 thefixtype of the branch and of the pull request title, the failing-test-first rule, theClosesrule, 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
- Jobs
devops-cli-runner-20261031-181251-c648(fix(security): the subprocess environment guard accepts LESS, which makes less run a program #2735) and…183805-c36f(fix(security): the subprocess environment guard accepts GH_TELEMETRY_ENDPOINT_URL, which sends gh telemetry to a caller URL #2739): ready pull requests, no stops. devops roadmap implement --planon 2026-10-31: "No item to implement" with fix(k8s): the volumes of grafana, the prometheus server and loki move off the control-plane node, and their placement exemptions go #2147 and fix(security): the subprocess environment guard accepts the pytest and npm keys that make a child write a file #2747 Ready and planned, botheffort/medium.
Acceptance criteria
-
devops roadmap stage --planlists Ready items of any type and priority. -
devops roadmap implement --planlists 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...), notfix. -
uv run devops cipasses.
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 --planlists 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 --planlists 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_FILTERequals('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 withfeat:
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
fixtype?: The branch pattern in.pre-commit-config.yamlallows any Conventional Commit type as a prefix.AGENTS.mdstates the title is a Conventional Commit. The branch type and title type SHALL follow the issue's type label, not a hardcodedfix. (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
dan-petty commentedon Oct 31, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(roadmap)scope of the title gives the scope.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.It removes the P0/P1 bug-only restriction so the pipeline can deliver features, docs, test, and security items automatically.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.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.devops-cli-service commentedon Oct 31, 2026
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.
chore(main): release 0.33.0 (#2907)