Repository navigation
Description
Problem Description
Refine, stage and implement count an open tracker as an open dependency. A tracker is an item with sub-issues or the label type/epic. It closes only after its sub-issues, and no job closes it. So an item that waits on its own parent tracker waits with no end. An item that waits on another tracker waits for that whole plan and for a person to close it.
Refine records (checked 2026-11-19): 172 open items have refine.blocked_by, and 22 of them name an open tracker. 3 name their own parent:
| Item | Parent | refine.blocked_by |
|---|---|---|
| #4671 | #4624 (16 sub-issues) | 4624, round of 2026-11-14T22:49Z |
| #4600 | #4517 (45 sub-issues) | 4517,4598 |
| #5230 | #5223 (5 sub-issues) | 5223,5229 |
Other examples:
- feat(roadmap): publish the project review and link it on GitHub #4733 (parent feat(roadmap): track the project review analysis #4679) has
refine.blocked_by4624,4720,4742,4759,4761. feat(roadmap): track the project brain #4624 and feat(k8s): track the cluster content store #4742 are trackers. The body names feat(roadmap): track the project brain #4624 only because feat(roadmap): publish the project review and link it on GitHub #4733 posts a comment on that issue ("brain decision 1"). feat(roadmap): report job grades and fix effects in the project review #5219 waits on feat(roadmap): publish the project review and link it on GitHub #4733, so tracker feat(roadmap): track the project brain #4624 also holds the path feat(roadmap): read project review facts through a catalog #4692 → feat(roadmap): the brain files project insights through intake #4693 → feat(monitoring): a project brain dashboard and alerts #4699. - feat(telemetry): rank CLI usage errors and propose fixes #4840, feat(gh): gh issue view, list and status run gh #4848, feat(pr): pr comment and gh issue comment run gh #4855, feat(gh): gh issue create, edit, close and reopen run gh #5226, feat(openspec): openspec validate, list and show run openspec #5227, feat(gh): gh status, label list and secret list run gh #5228, fix(cli): a short flag never means another tool option #5229, feat(argo): argo cd commands take the Argo CD route names #5230 and feat(gh): pass through gh repo, gh ruleset, gh variable and gh org #5323 wait on feat(cli): tool commands pass unknown arguments to the tool #5223, which has 5 sub-issues.
- feat(roadmap): run each alternatives check in its own pod #4573 (parent feat(roadmap): move Service work to Workflows and Valkey #4517): the round of 2026-11-11T15:25Z named feat(roadmap): move Service work to Workflows and Valkey #4517 as its only open blocker. The refine Dependencies of feat(roadmap): run each alternatives check in its own pod #4573 are still
#4517, #4566. The record now holdsrefine.next_steppersonandrefine.blocked_bynull, becausenext_step_ofgives a person step before the blockers (refine.py:1522-1527). When a person answers, the item goes back toblockedon its parent.
The stage job does the same. 13 Ready items name their own parent tracker in the Dependencies section, so the stage job never takes them:
| Parent tracker | Ready items | Text in the Dependencies section |
|---|---|---|
| #4893 | #4909, #4911 | "Child 5 of #4893.", "Child 6 of #4893." |
| #4989 | #4993, #5001, #5003, #5004, #5005, #5010, #5011 | "Source: #4989" |
| #5014 | #5026, #5028 | "Part of #5014 (track the Service step jobs)." |
| #5311 | #5316, #5318 | "Part of #5311." |
devops roadmap explain 5026 gives "Stage job: no. The item depends on the open issue #5014." #5026 is also a merge-first item of #4574.
These 13 items are also cases of the bug "read only blockers in a Dependencies section", because each mention is a parent link and not a blocker. A fix of either bug releases them. The refine records above (#4671, #4600, #5230, #4733) come from the proposal of refine, so only this bug covers them.
Cause, at origin/main 0d90de5:
_open_dependencies(src/devops_cli/roadmap/refine/refine.py:1498-1501) keeps each dependency for which_is_openis true. It does not look atItem.is_tracker.validate_proposal(refine.py:1418-1424) keeps each dependency of the proposal that is a known issue, also the parent of the item.open_issue_dependencies(src/devops_cli/roadmap/dependencies.py:17-27) gives the same rule to stage (stage.py:771-774) and implement (implement.py:379-382).Item.is_tracker(src/devops_cli/roadmap/stores/store.py:630-633) exists. fix(roadmap): Share one tracker rule with refine #5963 (closes fix(roadmap): refine leaves out a tracker, as stage does #3703, 2026-11-16) uses it only to leave a tracker out of a refine round (refine.py:2177,:2763).
Reproduction Steps
- Read the job record of feat(ai): give every agent brain tools through MCP, CLI and skill #4671:
refine.blocked_byis4624, andrefine.next_stepisblocked. - Read the parent of feat(ai): give every agent brain tools through MCP, CLI and skill #4671 with
devops gh api repos/<owner>/<repo>/issues/4671/parent --jq .number. It is 4624. - Read the acceptance of feat(roadmap): track the project brain #4624: each child merges or closes first.
- Run
devops roadmap explain 5026. The stage job leaves the Ready item out for its parent feat(roadmap): track the Service step jobs #5014.
Expected vs Actual Behavior
- Expected: the parent tracker of an item, or a tracker above it, is never a blocker of the item. A dependency on another tracker waits on the open sub-issues of that tracker, or refine asks for the numbers of the sub-issues that the item needs.
- Actual: the item waits for the tracker to close. The tracker waits for the item. The item never becomes Ready, or a Ready item never becomes Staged.
Environment Diagnostics
- DevOps CLI Version: 0.180.0 (origin/main 0d90de5).
- Execution Environment: roadmap Service rounds of 2026-11-11 to 2026-11-16. Read on 2026-11-19 through the GitHub REST API (
issues,issues/<n>/parent).
Logs, Traces, or Terminal Output
$ devops roadmap explain 5026
Refine job: no. The item is Ready. A round takes a Ready item only when no round refined it, or when it holds a covering tool that no round asked about.
Stage job: no. The item depends on the open issue #5014.
Implement job: no. The item depends on the open issue #5014.
$ devops roadmap explain 4993
Stage job: no. The item depends on the open issue #4989.Pre-Submission Checklist
- I have verified that no sensitive credentials, private keys, or internal tokens are contained in this issue report.
- I have checked existing issues and pull requests to ensure this is not a duplicate. Searches: "refine tracker", "tracker blocker", "parent tracker dependency", "blocked_by tracker", "tracker closes children refine". fix(roadmap): refine leaves out a tracker, as stage does #3703 and fix(roadmap): Share one tracker rule with refine #5963 (closed) leave a tracker out of a refine round only. feat(roadmap): a blocker inherits the priority of what it blocks #5510 changes priorities, not blockers.
Existing Tool Considered
The GitHub REST endpoints issues/<n>/parent and issues/<n>/sub_issues give the tree. The store already reads the sub-issue count (Item.sub_issues). No tool decides the blockers of a roadmap item. The change is a rule in the shared dependency check: about 40,000 tokens and 1 hour.
Acceptance Criteria
- Test first: an item whose proposal names its open parent tracker is not
blockedon it, and refine sets it Ready when nothing else holds it. The test fails on the base. - A test: the stage and implement check do not leave an item out for its open parent tracker.
- A test: a dependency on another open tracker waits on the open sub-issues of that tracker, not on the tracker.
- One function decides an open blocker for refine, stage and implement, so the three jobs agree.
- Live proof: after the release,
devops roadmap explain 5026gives no tracker as the reason, and the next refine round of feat(ai): give every agent brain tools through MCP, CLI and skill #4671 records no4624.
Dependencies
None.
Proposed design
Problem statement
Refine, stage and implement count an open tracker as an open dependency. A child item waits on its own parent tracker, and the tracker closes only after the child. The item never becomes Ready or Staged. One shared rule must ignore the parent and ancestor trackers and must expand another tracker to its open sub-issues.
Acceptance criteria
Requirement: Parent tracker is not a blocker
Refine MUST NOT record the open parent tracker of an item as an open blocker.
Scenario: Refine proposal names the parent tracker
- WHEN A refine proposal for an item names its open parent tracker and no other open dependency.
- THEN The shared open-blocker check returns an empty tuple, and the refine next step is ready.
Requirement: Ancestor tracker is not a blocker
The shared open-blocker check MUST NOT treat a tracker above the parent of the item as a blocker.
Scenario: Ancestor tracker in the parent chain
- WHEN The parent chain of an item holds an open tracker above its parent, and the proposal names that tracker.
- THEN The shared open-blocker check returns no number for that tracker.
Requirement: Stage and implement ignore the parent tracker
The stage and implement jobs MUST NOT leave an item out for its open parent tracker.
Scenario: Ready item names only its parent tracker
- WHEN The Dependencies section of a Ready item names only its open parent tracker.
- THEN The dependency reason is None, and the stage and implement selection keep the item.
Requirement: Another tracker waits on open sub-issues
The shared open-blocker check MUST replace a dependency on another open tracker with the open sub-issues of that tracker.
Scenario: Open tracker with open sub-issues
- WHEN An item names an open tracker that is not in its parent chain, and that tracker has open sub-issues 101 and 102.
- THEN The shared open-blocker check returns 101 and 102 and does not return the tracker number.
Requirement: Tracker with no open sub-issues holds nothing
The shared open-blocker check MUST add no blocker for an open tracker that has no open sub-issues.
Scenario: Open tracker with no open sub-issues
- WHEN An item names an open tracker that has no open sub-issues and is not in its parent chain.
- THEN The shared open-blocker check returns no number for that tracker.
Requirement: One function decides the blockers
Refine, stage and implement MUST use one shared function to decide an open blocker.
Scenario: The three jobs call the shared function
- WHEN A test replaces the shared open-blocker function with a stub and runs the dependency check of refine, stage and implement.
- THEN Each job uses the stub result, and no job has its own tracker rule.
Requirement: Live proof after release
The released command MUST show no tracker as the reason for item 5026, and the next refine round of item 4671 MUST record no 4624.
Scenario: Live check after release
- WHEN The release that contains the change is deployed, and the next refine round of item 4671 runs.
- THEN devops roadmap explain 5026 gives no tracker as the reason, and the refine record of item 4671 has no 4624 in refine.blocked_by.
Existing Tool Considered
No alternatives check has run. No open, maintained tool or library decides the blockers of a roadmap item. The GitHub REST endpoints issues/<n>/parent and issues/<n>/sub_issues give the tree, and the store already reads Item.sub_issues. The change builds a rule in the shared dependency check: about 40,000 tokens and 1 hour.
Key questions
- Where does the shared open-blocker rule live?: The rule lives in src/devops_cli/roadmap/dependencies.py. The stage and implement jobs already call open_issue_dependencies there. Refine calls the same function. (best practice) [sources: src/devops_cli/roadmap/dependencies.py:17, src/devops_cli/roadmap/stage/stage.py:771, src/devops_cli/roadmap/implement/implement.py:379, src/devops_cli/roadmap/refine/refine.py:1498]
- Chosen: src/devops_cli/roadmap/dependencies.py. One module already holds the dependency check for stage and implement. Refine can import it.
- Rejected: A copy in each job. Three copies drift, and the issue reports that the three jobs disagree.
- Rejected: src/devops_cli/roadmap/stores/store.py. The store reads items. It does not decide which open item holds a job back.
- How does the rule identify the parent tracker and a tracker above it?: The rule reads the parent link from GitHub through the store. It walks up the parent chain while each parent is a tracker. It treats each tracker in that chain as not a blocker. It uses Item.is_tracker to identify a tracker. (best practice) [sources: src/devops_cli/roadmap/stores/store.py:630, src/devops_cli/roadmap/stores/github_store.py, src/devops_cli/roadmap/dependencies.py:17]
- Chosen: Read the parent chain from the store. GitHub holds the parent link, and the store already reads GitHub issue data.
- Rejected: Treat every tracker as not a blocker. This loses a real dependency on the sub-issues of another tracker.
- Rejected: Ask a person for the parent number. GitHub supplies the parent link, so no person step is needed.
- What does the rule do with a dependency on another open tracker?: The rule replaces the tracker with the open sub-issues of that tracker. If the tracker has no open sub-issues, the rule adds no blocker. If the store cannot read the sub-issues, refine asks for the numbers that the item needs. (best practice) [sources: src/devops_cli/roadmap/dependencies.py:17, src/devops_cli/roadmap/stores/store.py:630, src/devops_cli/roadmap/stores/github_store.py]
- Chosen: Expand to open sub-issues. The item waits on the work that delivers the tracker, not on the tracker issue.
- Rejected: Keep the tracker as a blocker. This is the reported bug: the tracker closes only after its sub-issues.
- Rejected: Drop every tracker dependency. This loses a real dependency on the sub-issues of another tracker.
- Which tracker definition does the rule use?: The rule uses Item.is_tracker. That method returns true when the item has sub-issues or the type/epic label. [sources: src/devops_cli/roadmap/stores/store.py:630]
- Should the rule add a blocker for an open tracker with no open sub-issues?: No. A tracker closes only after its sub-issues, and no job closes it. An open tracker with no open sub-issues holds no work. The rule adds no blocker for it. (best practice) [sources: src/devops_cli/roadmap/stores/store.py:630, src/devops_cli/roadmap/refine/refine.py:1498]
- Chosen: Add no blocker. The tracker has no open work, and no job closes the tracker.
- Rejected: Keep the tracker as a blocker. This recreates the endless wait that the issue reports.
- Does validate_proposal need to drop the parent tracker?: No. validate_proposal keeps a known issue in the proposal. The shared open-blocker check filters the parent and ancestor trackers when it decides a blocker. (best practice) [sources: src/devops_cli/roadmap/refine/refine.py:1418, src/devops_cli/roadmap/refine/refine.py:1498]
- Chosen: Filter at the open-blocker check. The proposal can still name a related issue, and the blocker rule removes the tracker.
- Rejected: Change validate_proposal. It would hide a known issue from the proposal and does not fix stage or implement.
- What test shows that refine, stage and implement agree?: A test replaces the shared open-blocker function with a stub. It runs the dependency check of refine, stage and implement. Each job uses the stub result. (best practice) [sources: tests/roadmap/refine/test_roadmap_refine_blocked.py, tests/roadmap/stage/test_roadmap_stage_selection.py, tests/roadmap/implement/test_roadmap_implement_submit.py]
- Chosen: Patch the shared function in one test. The test shows one rule serves all three jobs.
- Rejected: Test each job with its own tracker rule. This does not show that the three jobs agree.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 19, 2026
The defect blocks 22 or more open items and 13 Ready items from progressing, creating deadlocks that no job resolves.Both deal with dependency blocking in refine/stage/implement, but #6449 detects and names cycles while the candidate excludes trackers from being valid blockers.devops-cli-service commentedon Nov 19, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.
test(roadmap): an open tracker holds back no item
docs(openspec): plan the change that an open tracker holds back no item
fix(roadmap): an open tracker holds back no item
test(roadmap): refine reads the ancestors of all items and no graph f…
fix(roadmap): refine reads the ancestors of all items, and a closed b…
docs(openspec): read the ancestors of all items in the plan of #6450
docs(openspec): archive the change that an open tracker holds back no…
devops-cli-service commentedon Nov 20, 2026
Released in v0.185.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.185.0
devops-cli-service commentedon Nov 20, 2026
Live since 2026-11-20 20:21 UTC
fix(roadmap): read old wait records again and keep each path of a run