Repository navigation
Description
Friction
devops roadmap refine --confirm reports a long list of skipped items, and none of them ever reaches Ready. Each is an item refine already worked on and left New: open questions, a suspected block, or "needs splitting". Refine records the body and section hashes and skips the item as "unchanged" on every later run. Nothing tells a person what the item needs, nothing acts on a split, and answering the questions in a comment doesn't change the body, so refine never looks again.
Evidence (2026-10-20, read-only select_candidates over the board after the owner's refine --confirm)
- Skipped: 43 items, all for the reason "unchanged", all with Status New. Among them:
- backlog P1s fix(k8s): grafana moves to the grafana-community chart on a grafana 13 release that fixes cve-2026-76154, and provisioning prunes removed datasources #1624, fix(argocd): every application pins automated sync enabled in git, so the devops application syncs again and a ui pause is reverted #1626, fix(k8s): the in-cluster image registry requires authentication behind a perimeter before nodes mirror it, or leaves with its mirrors #1630, fix(ai): the spend series exists at $0, a gateway call counts as local or hosted by the backend that served it, and the ledger exposition stops reusing the OTLP names #1631, fix(k8s): stateful local-path volumes bind on nodes with disk headroom instead of the control-plane node's 84%-full root disk #1634, feat(k8s): the LiteLLM gateway keeps virtual keys in an in-cluster Postgres, so devops-cli can mint scoped, expiring gateway keys #1635, fix(docker): the service image ships a checksum-pinned kubectl, so the Service's cut passes the Argo CD gate #1638, docs(agents): the roadmap service's suspension holds its deployment, not its development, so service items are built and tested while it stays at 0 replicas #1645, feat(service): the roadmap jobs act as a github app installation on an organization-owned board, so the service runs again without the suspended machine account #1647, feat(ci): a pull request builds the pages site and renders the argo cd overlay read-only, so a site or deploy break fails before the merge #1651, fix(k8s): qdrant requires its api key, and open webui sends it #1670 and fix(ai): local savings use one reference price per request kind for every process, and an unknown model or reference warns instead of pricing at $0 #1672;
- docs(adr): decide required checks, a merge queue and what the local gate runs before a push #1752, filed that day;
- planned-release items in v0.2.40 and v0.2.41.
- docs(adr): decide required checks, a merge queue and what the local gate runs before a push #1752's record holds
refine.needs_split: true, and its section says "Needs splitting into 3 items". No split issues exist. - fix(k8s): grafana moves to the grafana-community chart on a grafana 13 release that fixes cve-2026-76154, and provisioning prunes removed datasources #1624's section lists open questions and a suspected block. It stays New with no question asked of a person.
- Design: refine's module docstring and
select_candidatesinsrc/devops_cli/roadmap/refine.pyskip an item whose body and section hashes match its job record. fix(roadmap): refine records an item whose model call failed or whose body would exceed the size limit, so it waits for a body change instead of being retried every poll #1526 made a failed model call wait for a body change in the same way.
Remedy
An item refine cannot ready gets a next step instead of a silent skip:
- Waiting on a person: questions only a person can answer go to the person. They are posted as one comment that asks them, and refine reports the item as waiting on a person, not skipped. A person's reply re-opens it to refine, whether by comment or by body edit.
- Needs a split: the split happens or is handed off. Either refine proposes the child items through intake, or it marks the item for a person with the split it proposed, and reports it as such.
- Waiting on a block or dependency: the item is re-refined when the blocking item closes or the code it cites changes, not only when its own text changes.
- Report:
refine --confirmgroups its report by next step (refined to Ready; waiting on a person, with the question; split proposed; blocked by #N; unchanged and nothing to do). Unexplained skips disappear.
Acceptance criteria
- Tests first: with the in-memory roadmap store, an item refine leaves New is reported with its next step, not as "unchanged". A reply from a person makes it eligible again. Closing its blocking item makes it eligible again.
- An item whose record holds
needs_splitgets its split proposed or handed to a person, and is not skipped silently. - The report groups items by next step and lists no item without one.
-
uv run devops cipasses.
Proposed design
Problem statement
The devops roadmap refine --confirm command skips items that it cannot ready instead of providing a next step. Items with open questions, suspected blocks, or needing splitting are silently skipped as 'unchanged' and never progress to Ready. This leaves users without guidance on what action is needed to advance these items.
Acceptance criteria
- Criterion 1: An item that refine cannot ready gets a next step instead of being skipped silently
Verification: Test with in-memory roadmap store where an item left New is reported with its next step (waiting on person, split proposed, blocked) rather than as 'unchanged' - Criterion 2: A reply from a person makes a previously skipped item eligible again for refinement
Verification: After an item is marked as waiting on a person, reprioritization or another refine run should re-evaluate the item when the person replies - Criterion 3: Items with
needs_splitin their record get their split proposed or handed to a person
Verification: Verify that items withrefine.needs_split=trueare either split into child issues or marked for human action with the proposed split - Criterion 4: The report groups items by next step and lists no item without one
Verification: Runrefine --confirmand observe output grouped by next steps: refined to Ready, waiting on person, split proposed, blocked by #N, unchanged and nothing to do - Criterion 5: The command passes all tests in the CI pipeline
Verification: Runuv run devops ciand ensure all tests pass
Key questions
- What constitutes an item that cannot be refined?: An item cannot be refined if it has open questions, a suspected block, or needs splitting. These items are currently skipped as 'unchanged' in the refine process. [sources: src/devops_cli/roadmap/refine.py:select_candidates]
- How does the current code determine if an item is unchanged?: The code checks if the body and section hashes match the job record. If they do, the item is skipped as 'unchanged'. [sources: src/devops_cli/roadmap/refine.py:_select_single_candidate, src/devops_cli/roadmap/refine.py:select_candidates]
- What should happen to items that cannot be refined?: Items that cannot be refined should get a next step instead of being silently skipped. This includes: waiting on a person for questions, proposing splits, or handling blocked dependencies. (proposed) [sources: src/devops_cli/roadmap/refine.py]
- How will the report be structured to show next steps?: The report should group items by their next step: refined to Ready; waiting on a person with question; split proposed; blocked by #N; unchanged and nothing to do. (proposed) [sources: src/devops_cli/roadmap/refine.py:render_refine_plan]
Fit
Needs splitting into 4 items:
- Create a mechanism for items with open questions to post comments asking people for answers
- Implement handling for items that need splitting by proposing child issues or marking for human action
- Update the refinement process to detect and handle blocked dependencies properly
- Modify the report output to group items by next step instead of just showing 'unchanged'
Suspected block
None.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Oct 20, 2026
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
The candidate describes a defect in the refine behavior where items are silently skipped instead of being given a next step.The issue affects the core functionality of the roadmap refinement process, causing items to be stuck and not progress.This change improves the usability and reliability of the roadmap tool for all users by ensuring items are properly handled instead of being silently skipped.The fix requires modifying the refine logic to detect and handle different states (waiting on person, needs split, blocked) and updating the reporting mechanism.dan-petty commentedon Oct 20, 2026
The owner's run on 2026-10-20,
uv run devops roadmap refine --confirm --limit 16, refined nothing. It listed 36 items as skipped "unchanged" and no item refined.There are two causes, both in
select_candidates(src/devops_cli/roadmap/refine.py):ready_count + selected < release_cap. Hereready_countcounts Ready items across the next planned release and the whole backlog. On the board today that is 64 against arelease_capof 16, so the pass never starts, and no P2 or P3 backlog item is refined at all.Add to the acceptance criteria: a run with candidates left in any place refines up to
--limitof them. A full backlog of Ready items does not stop refine from readying the next planned release's items or the backlog's New items, or the cap is counted per release, as it is meant to be.Also seen in the same output, not in this item's scope: the secret redaction masked part of #598's title,
ms/token=<masked-token>. That is a false positive on ordinary text.dan-petty commentedon Oct 20, 2026
Proposal needs splitting into 4 items at 79eaacb (see proposed design in issue body).
fix(roadmap): refine gives every item it cannot ready a next step ins…
fix(roadmap): a backlog full of ready items does not stop refine befo…
feat(roadmap): refine looks at a blocked item again when the code its…