Skip to content

fix(roadmap): refine leaves out a tracker, as stage does #3703

Closed

Description

@dan-petty

Problem

The refine job has no tracker rule. _tracker in src/devops_cli/roadmap/stage.py leaves out an item with sub-issues or the label type/epic, because its sub-issues deliver it. src/devops_cli/roadmap/refine.py has no such check, and Item.sub_issues holds the count that it needs.

So refine reads a parent again each time its body changes. #2695 is one example: its split into #3694, #3700 and #3702 is complete, and the edit that records the split changes the hash that refine keeps. The next round can spend a model call on the parent and post the split comment again, or set the parent to a new status.

Expected

Refine does not propose, split or change the status of a tracker, by the same rule as stage. The rule has one definition that the two jobs share.

Acceptance criteria

  • An item with sub-issues or the label type/epic makes no model call in refine and gets no refine comment.
  • The two jobs use one definition of a tracker.
  • devops roadmap explain gives the reason for a tracker that refine leaves out.
  • A test covers an item with sub-issues and an item with the label.

Existing tool considered

No tool applies: this is a rule in a job of this repository, and the rule exists in stage.py. The cost is about 100,000 tokens and 30 minutes.

Related

#2695, #3631.

Proposed design

Problem statement

The refine job has no tracker rule. The stage job leaves out an item with sub-issues or the label type/epic, because its sub-issues deliver it, but refine reads such a parent again after each body edit: the edit that records a split moves the body hash, so the next round can spend a model call on the parent and post the split comment again (#2695). The change gives both jobs one tracker test on Item, makes a refine round leave a tracker out with a reason that devops roadmap explain prints, and keeps the reason in one message.

Acceptance criteria

Requirement: Refine leaves out a sub-issue tracker

The refine job SHALL take no item whose sub_issues count is above zero, and SHALL make no model call, comment or field write for it.

Scenario: An item with sub-issues in a round

  • WHEN a refine round selects an open New item with sub_issues 2
  • THEN the item is in the waiting list with the text of refine_left_tracker, and the round makes no model call, writes no comment and writes no field

Requirement: Refine leaves out an epic label

The refine job SHALL take no item that holds the label type/epic, and SHALL make no model call, comment or field write for it.

Scenario: An item with the epic label in a round

  • WHEN a refine round selects an open New item with the label type/epic and sub_issues 0
  • THEN the item is in the waiting list with the text of refine_left_tracker, and the round makes no model call, writes no comment and writes no field

Requirement: One tracker definition

The stage job and the refine job MUST read the tracker test from one Item.is_tracker property.

Scenario: Both jobs judge one tracker

  • WHEN an Item has sub_issues 2 or the label type/epic
  • THEN Item.is_tracker is true, and both stage._tracker and the refine selection leave the item out

Requirement: Explain gives the refine reason

devops roadmap explain SHALL print the text of refine_left_tracker for an open New tracker that a refine round leaves out.

Scenario: Explain on a New tracker

  • WHEN devops roadmap explain <number> reads an open New item with sub_issues 2 and no refine record
  • THEN the refine verdict is false with the text of refine_left_tracker, and the command writes nothing

Requirement: A named tracker is left out

devops roadmap refine --item SHALL leave out a tracker that it names.

Scenario: A person names a tracker

  • WHEN --item names an open New item with sub_issues 1
  • THEN the round takes no item, makes no model call, and lists the item as waiting with the text of refine_left_tracker

Requirement: Tests cover both tracker kinds

The test suite MUST hold a refine test for an item with sub-issues and a refine test for an item with the label type/epic.

Scenario: The refine tracker tests run

  • WHEN the roadmap refine tests run
  • THEN both tests pass, and each asserts that the round makes no model call

Requirement: A plain item still refines

The refine job SHALL refine an item that has no sub-issues and no type/epic label as it does today.

Scenario: A plain item in a round

  • WHEN a refine round selects an open New item with sub_issues 0 and no type/epic label
  • THEN the round makes one model call and posts its comment

Existing Tool Considered

No alternatives check has run. This need is a filter inside two jobs of this repository, and no open, maintained library covers it. The data it needs is open and already read: GitHub's issue listing gives the sub-issue count as sub_issues_summary.total, which src/devops_cli/roadmap/stores/github_store.py:169 already reads, and .github/labels.yml:37 declares type/epic. Neither decides what a job does with a tracker, and the rule already exists in src/devops_cli/roadmap/stage/stage.py:481. The change builds one property, Item.is_tracker, on the model, and reuses it in both jobs; the written cost of that code, its message and its tests is about 100,000 tokens and 30 minutes.

Key questions

  • What does the tracker check of the stage job test, and where does it run?: _tracker at src/devops_cli/roadmap/stage/stage.py:481 returns stage_left_tracker when item.sub_issues > 0 or the item holds type/epic (line 484), and None otherwise. It is one entry of the check list at line 451, after the status, claim and needs-split checks and before the author check. [sources: src/devops_cli/roadmap/stage/stage.py:481, src/devops_cli/roadmap/stage/stage.py:484, src/devops_cli/roadmap/stage/stage.py:451]
  • What does the Item model hold for the tracker check?: Item at src/devops_cli/roadmap/stores/store.py:311 holds labels (line 334) and sub_issues (line 338), the count that GitHub's listing gives as sub_issues_summary.total (src/devops_cli/roadmap/stores/github_store.py:169), open or closed (store.py:384). The archived task that added the field names the old path src/devops_cli/roadmap/store.py; the model lives at src/devops_cli/roadmap/stores/store.py now. [sources: src/devops_cli/roadmap/stores/store.py:311, src/devops_cli/roadmap/stores/store.py:334, src/devops_cli/roadmap/stores/store.py:338, src/devops_cli/roadmap/stores/github_store.py:169, src/devops_cli/roadmap/stores/store.py:384]
  • Which existing test pins the tracker rule?: tests/roadmap/stage/test_roadmap_stage_selection.py::test_a_tracker_is_left_out_under_the_wide_default_filter at line 216 pins it: it parametrizes the type/epic label, two sub-issues, and both, and asserts the tracker reason. The proposal's path tests/roadmap/test_roadmap_stage_selection.py is stale; the file is under tests/roadmap/stage/. [sources: tests/roadmap/stage/test_roadmap_stage_selection.py:216]
  • Which file holds the refine round and its model call?: Refine is a package now: src/devops_cli/roadmap/refine/refine.py. The round selects through select_candidates (line 2103), which takes the named item through _select_single_candidate (line 1666), else each item through _Selection.consider (line 2027). refine_one_item (line 2250) makes the proposal call client.chat_structured at line 2314. refine_left_out (line 2055) is the explain path, and src/devops_cli/roadmap/explain.py:95 calls it. [sources: src/devops_cli/roadmap/refine/refine.py:2103, src/devops_cli/roadmap/refine/refine.py:1666, src/devops_cli/roadmap/refine/refine.py:2027, src/devops_cli/roadmap/refine/refine.py:2314, src/devops_cli/roadmap/refine/refine.py:2055, src/devops_cli/roadmap/explain.py:95]
  • What does a refine round write for a waiting item?: _apply_waiting writes only the record of a comment-cap stop, the marks of the comments a selection read, and the notice to an author the jobs do not trust. _record_waits skips a waiting entry whose marks is None (line 2839), and _tell_outside_authors comments only on an entry whose notice is set (line 2848). A waiting entry with the defaults writes nothing. [sources: src/devops_cli/roadmap/refine/refine.py:2979, src/devops_cli/roadmap/refine/refine.py:2839, src/devops_cli/roadmap/refine/refine.py:2848, src/devops_cli/roadmap/refine/refine.py:433]
  • Where does the shared tracker definition live?: Add a property Item.is_tracker to src/devops_cli/roadmap/stores/store.py: sub_issues > 0 or CONST_ROADMAP_EPIC_LABEL in labels. Item already holds both inputs (lines 334 and 338) and a derived predicate (holds_service_stop, line 352), and store.py already imports the constants module (line 45), so the property adds no import cycle. stage._tracker and the refine selection both read it. (best practice) [sources: src/devops_cli/roadmap/stores/store.py:311, src/devops_cli/roadmap/stores/store.py:338, src/devops_cli/roadmap/stores/store.py:352, src/devops_cli/roadmap/stores/store.py:45, src/devops_cli/config/constants.py:3417]
    • Chosen: Item.is_tracker on the model. The model holds sub_issues and the labels, it already carries a derived predicate (holds_service_stop), and both jobs import it, so one property gives one definition with no import cycle.
    • Rejected: A function in stage.py that refine imports. Refine would import the stage job. That couples two lanes and risks an import cycle.
    • Rejected: A new module src/devops_cli/roadmap/tracker.py. One predicate does not need a module, and the model already holds its inputs.
    • Rejected: A copy of the check in refine. Two copies drift, and the issue asks for one definition.
  • Where in the refine round does the tracker check run?: As the first check of _Selection.consider, before the author check, the unchanged-body wait, the person-edit check and the comment cap. It appends WaitingItem(item, NextStep.NONE, (MESSAGES.roadmap.refine_left_tracker,)) and returns, so the item takes no place of the limit and reaches neither the body-hash comparison nor refine_one_item. Explain reaches the same check through refine_left_out (line 2055), which runs consider on the item. (best practice) [sources: src/devops_cli/roadmap/refine/refine.py:2027, src/devops_cli/roadmap/refine/refine.py:2031, src/devops_cli/roadmap/refine/refine.py:2055, src/devops_cli/roadmap/refine/refine.py:2064, src/devops_cli/roadmap/refine/refine.py:308]
    • Chosen: First check of _Selection.consider. No model call, comment, label or record write can happen for an item that the selection never takes, and explain runs the same check through refine_left_out.
    • Rejected: After the body-hash comparison. The edit that records a split moves the hash, so the parent still enters the round, which is the cost the issue removes.
    • Rejected: In refine_one_item only. Explain would not report the reason, and the round would still spend a place of its limit and plan the item.
    • Rejected: After the model call. The model call is the cost that the issue removes.
  • Does --item refine a tracker?: No. _select_single_candidate (line 1666) returns the same tracker waiting entry, and the module text at line 19 names the exception. Stage's --item does not overrule its tracker check either: the named flag skips only the recorded split and the three later checks (stage.py:444), and _tracker stays in the list (stage.py:451). (best practice) [sources: src/devops_cli/roadmap/refine/refine.py:1666, src/devops_cli/roadmap/refine/refine.py:19, src/devops_cli/roadmap/stage/stage.py:444, src/devops_cli/roadmap/stage/stage.py:451]
    • Chosen: Leave out a named tracker. The issue states the exclusion unconditionally, and stage's --item does not overrule its tracker rule, so the two jobs agree.
    • Rejected: Let --item overrule the tracker rule. A person's request would then spend a model call on a parent and could set it Ready, against the issue's statement that refine does not propose a tracker.
  • Which message does refine give for a tracker that it leaves out?: Add refine_left_tracker to src/devops_cli/lang/en/messages.py, next to refine_held_closed (line 2264): 'The item is a tracker: it has sub-issues or the label type/epic. Its sub-issues deliver it, so refine leaves it alone.' The none entry of refine_left_waits (line 2261) prints it as it is. (best practice) [sources: src/devops_cli/lang/en/messages.py:2261, src/devops_cli/lang/en/messages.py:2264, src/devops_cli/lang/en/messages.py:3132]
    • Chosen: New key refine_left_tracker. The text names the refine job, and stage_left_tracker already sets the pattern.
    • Rejected: Reuse stage_left_tracker. Its text names the stage job and says the item gets no plan of its own, which is the wrong reason for refine.
    • Rejected: No message. Explain needs a reason to print.
  • How does devops roadmap explain give the reason for a tracker that refine leaves out?: It recomputes the selection: explain.py:95 calls refine_left_out, which runs _Selection.consider and formats the waiting entry with the none text, so the tracker text comes out as it is. Explain writes nothing (README.md:387), and the tracker waiting entry carries marks=None and notice=False, so _record_waits (line 2839) and _tell_outside_authors (line 2848) write nothing for it. (best practice) [sources: src/devops_cli/roadmap/explain.py:95, src/devops_cli/roadmap/refine/refine.py:2055, src/devops_cli/roadmap/refine/refine.py:2839, src/devops_cli/roadmap/refine/refine.py:2848, src/devops_cli/lang/en/messages.py:2261, README.md:387]
    • Chosen: Report through the selection and refine_left_out. Explain and a round run the same rules, and the tracker entry writes no mark and no comment, so the tracker is left untouched.
    • Rejected: Write the reason to the job record of the item. Explain writes nothing and recomputes the verdict; the record write would change the body of a tracker that refine must leave alone.
    • Rejected: Log the reason only. Explain reads no log, so it would print no reason.
  • Does the rule skip a tracker whose sub-issues are all closed?: Yes, it skips it: the rule tests the count only, as stage does, and the count holds the sub-issues open or closed (store.py:384). A person closes the parent. (best practice) [sources: src/devops_cli/roadmap/stage/stage.py:484, src/devops_cli/roadmap/stores/store.py:384, src/devops_cli/roadmap/stores/store.py:338]
    • Chosen: Test the count only, as stage does. Stage tests sub_issues > 0 with no state filter, and one rule keeps the jobs in agreement.
    • Rejected: Test open sub-issues only. Stage does not, and two rules would drift and give different answers.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Alternatives check of 2026-11-08: none.
Tool: none found.

Activity

  1. added
    source/agent
    type/bug
    scope/roadmap
    status/new
    value/medium
    effort/medium
    on Nov 5, 2026
  2. dan-petty commented on Nov 5, 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/bug. The fix prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. The bug wastes about 100,000 tokens and 30 minutes per round and can post duplicate comments, but it does not break the pipeline.
    • Value: Medium. It stops repeated model calls and duplicate comments on tracker items, saving tokens and reducing noise.
    • Effort: Medium. The rule exists in stage.py; the work is to share one definition, apply it in refine.py, update explain, and add tests.
    • Related: fix(roadmap): refine holds back an item with an open dependency #3500, which asks for a different change. Both add a skip rule to refine, but #3500 skips items with open dependencies while the candidate skips tracker items with sub-issues or the type/epic label.
  3. added
    priority/p2-medium
    on Nov 5, 2026
  4. added
    status/ready
    and removed
    status/new
    on Nov 7, 2026
  5. devops-cli-service commented on Nov 7, 2026

    @devops-cli-service
    Contributor

    Status set to Ready at 72c52c6 (see proposed design in issue body).

  6. devops-cli-service commented on Nov 8, 2026

    @devops-cli-service
    Contributor

    Alternatives check: none

    Reason: The searches returned only generic issue-triage and GitHub/MDN documentation pages, with no open, maintained tool or library that classifies a GitHub issue as a tracker (sub-issues > 0 or the type/epic label) or that filters such items out of an LLM refinement job. The need is a rule inside two jobs of this repository, and the rule already exists in stage._tracker, so no external tool covers it.

    Tool: none found

    Lacks:

    • No tool supplies a shared tracker predicate (sub_issues > 0 or type/epic) for both jobs
    • No tool adds the refine-side skip, the waiting reason, or the explain output
    • No tool covers the tests for an item with sub-issues and an item with the epic label

    Searches run:

    • library to skip parent issues with sub-issues in automated issue triage bot, results: 5
    • open source tool detect epic tracker issues and exclude from automated LLM refinement, results: 5
    • python library classify GitHub issue as epic tracker by sub-issues count and label, results: 5

    Checked on 2026-11-08. A person decides what this means for the item. The check changes no label and closes no issue.

  7. added
    owner/service
    on Nov 15, 2026
  8. devops-cli-service commented on Nov 15, 2026

    @devops-cli-service
    Contributor

    Staged: branch fix/3703-refine-leaves-out-a-tracker-as, draft pull request #5901. The pull request plans the item and closes no issue.

    The task groups, with the tokens of the inputs of each step, for a budget of 64000 tokens:

    1. Add the shared tracker test to Item: 56465 tokens
    2. Leave a tracker out of a refine round: 55875 tokens
    3. Test the explain reason for a tracker: 17607 tokens

    The default branch changed these paths that the plan names, after the commit that the planner read. Read the commits before you judge the plan:

    A model review of the plan found these points. They stop no draft, and a person judges them:

    • major false_premise at proposal (feasibility): The plan says refine_one_item writes the comment of an item, but _apply_refined posts it in apply_refine (store.comment at refine.py:3801); a test that runs only plan_refine therefore sees no comment, so the group 2 test cannot assert the plain item's comment or a tracker's absent one. Evidence: "the model call and the comment of an item are written by refine_one_item, which a waiting item never reaches"
    • major contrived_test at tasks (2): Group 2's test runs only plan_refine, which writes nothing to GitHub, so the assertions that the trackers get no body write, no comment and no mark pass whatever the code does, and the plain item's comment cannot be observed; the test must also run apply_refine. Evidence: "runs plan_refine(store, repo=REPO, source=git_repo) with the scripted_gateway and git_repo fixtures, and asserts that the two trackers send no request, get no body write, no comment and no mark, that a plain item gets one call and its comment"
    • major other at tasks (1): Group 1 removes the only use of CONST_ROADMAP_EPIC_LABEL in stage.py but leaves the import at line 119, so ruff check reports F401 and the project's lint check fails; the plan must remove the import. Evidence: "Let _tracker in src/devops_cli/roadmap/stage/stage.py return MESSAGES.roadmap.stage_left_tracker when item.is_tracker is true and None otherwise, so the inline test goes and the stage answer does not change"
    • major spec_delta_wrong at spec roadmap-refine/selection (Refine leaves out a tracker): The added requirement says a tracker gets no comment, but the base requirement Refine tells the author of an item that the jobs do not trust one time requires one notice comment on an untrusted item, and the plan runs the tracker check before the author check; the delta must modify that requirement or keep the notice for an untrusted tracker. Evidence: "It SHALL make no model call, write no comment and write no field for the item."
    • minor spec_delta_wrong at spec roadmap-refine/selection (Refine leaves out a tracker): The tracker check runs before the title-type check, so a tracker whose title type is not in CONST_BRANCH_TYPES gets the tracker reason instead of the invalid-title-type detail that the base requirement Refine leaves an item with an unlisted title type requires; the delta leaves that requirement unchanged. Evidence: "Run the tracker check as the first check of _Selection.consider."

    The runs of the planner and the review made 148 model request(s), and used 10890446 input tokens and 226211 output tokens. The tool calls, in order:

    1. file_symbols({"path":"src/devops_cli/roadmap/refine/refine.py"})
    2. file_symbols({"path":"src/devops_cli/roadmap/stage/stage.py"})
    3. search_code({"text":"type/epic"})
    4. search_code({"text":"stage_left_tracker"})
    5. read_file({"path":"src/devops_cli/roadmap/stage/stage.py","start_line":650,"end_line":700})
    6. search_code({"text":"is_tracker"})
    7. search_code({"text":"refine_left_"})
    8. search_code({"text":"class _Selection"})
    9. search_code({"text":"def consider"})
    10. read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":4010,"end_line":4035})
    11. read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":2835,"end_line":2885})
    12. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2563,"end_line":2680})
    13. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2044,"end_line":2070})
    14. read_file({"end_line":2790,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2675})
    15. read_file({"end_line":560,"path":"src/devops_cli/roadmap/stores/store.py","start_line":495})
    16. read_file({"end_line":510,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":483})
    17. read_spec({"capability":"roadmap-refine/selection"})
    18. read_spec({"capability":"roadmap-stage/selection"})
    19. read_file({"path":"tests/roadmap/refine/test_roadmap_refine_selection.py","start_line":1,"end_line":120})
    20. read_spec({"capability":"roadmap-explain"})
    21. read_file({"end_line":500,"path":"tests/roadmap/test_roadmap_explain.py","start_line":420})
    22. search_code({"text":"def seed_new_items"})
    23. read_file({"end_line":120,"path":"tests/roadmap/test_roadmap_explain.py","start_line":1})
    24. read_file({"end_line":420,"path":"tests/support/roadmap_refine.py","start_line":330})
    25. search_code({"text":"no model call"})
    26. search_code({"text":"requests_per_item"})
    27. search_code({"text":"holds_service_stop"})
    28. read_file({"end_line":60,"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":1})
    29. read_file({"end_line":40,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":1})
    30. search_code({"text":"tracker"})
    31. search_code({"text":"refine leaves out"})
    32. read_file({"end_line":155,"path":"docs/adr/0021-the-roadmap-service-is-a-webhook-router-cluster-pods-run-the-roadmap-jobs-and-valkey-holds-their-shared-state.md","start_line":138})
    33. search_code({"text":"refine"})
    34. search_code({"text":"The refine row"})
    35. list_files({"directory":"docs/roadmap"})
    36. search_code({"text":"Placeholder text"})
    37. read_file({"path":"docs/roadmap/refine.md","start_line":1,"end_line":70})
    38. read_file({"end_line":230,"path":"tests/roadmap/refine/test_roadmap_refine_gateway_failures.py","start_line":180})
    39. read_file({"end_line":3700,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3660})
    40. read_file({"end_line":3860,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3820})
    41. read_spec({"capability":"roadmap-stage/selection","requirement":"The job leaves out a tracker"})
    42. read_file({"path":"tests/roadmap/test_roadmap_limit_classes.py","start_line":1,"end_line":80})
    43. search_code({"text":"CONST_ROADMAP_EPIC_LABEL"})
    44. read_file({"path":"tests/roadmap/test_roadmap_limit_classes.py","start_line":100,"end_line":260})
    45. search_code({"text":"CONST_ROADMAP_EPIC_LABEL"})
    46. search_code({"text":"EPIC_LABEL"})
    47. list_files({"directory":"tests/roadmap/stores"})
    48. list_files({"directory":"tests/roadmap/refine"})
    49. search_code({"text":"is_tracker"})
    50. read_file({"path":"src/devops_cli/roadmap/stage/stage.py","start_line":660,"end_line":690})
    51. file_symbols({"path":"src/devops_cli/roadmap/stores/store.py"})
    52. search_code({"text":"refine_left_waits"})
    53. read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":2840,"end_line":2870})
    54. search_code({"text":"stage_left_tracker"})
    55. search_code({"text":"def refine_left_out"})
    56. search_code({"text":"def consider"})
    57. read_file({"end_line":2680,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2530})
    58. read_file({"end_line":2120,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2040})
    59. read_file({"end_line":552,"path":"src/devops_cli/roadmap/stores/store.py","start_line":502})
    60. list_files({"directory":"tests/roadmap"})
    61. search_code({"text":"REGISTRY_COUNTS"})
    62. read_file({"path":"tests/roadmap/test_roadmap_limit_classes.py","start_line":330,"end_line":430})
    63. read_file({"end_line":560,"path":"tests/roadmap/test_roadmap_limit_classes.py","start_line":470})
    64. search_code({"text":"def test_"})
    65. read_file({"end_line":900,"path":"tests/roadmap/test_roadmap_limit_classes.py","start_line":700})
    66. list_files({"directory":"docs/roadmap"})
    67. search_code({"text":"refine_left_out"})
    68. list_files({"directory":"tests/support"})
    69. read_file({"end_line":70,"path":"tests/roadmap/refine/test_roadmap_refine_selection.py","start_line":1})
    70. search_code({"text":"scripted_gateway"})
    71. read_file({"end_line":300,"path":"tests/support/roadmap_refine.py","start_line":150})
    72. read_file({"end_line":375,"path":"tests/roadmap/refine/test_roadmap_refine_selection.py","start_line":290})
    73. read_file({"end_line":100,"path":"tests/roadmap/test_roadmap_explain.py","start_line":1})
    74. read_spec({"capability":"roadmap-stage/selection","requirement":"The job leaves out a tracker"})
    75. read_spec({"capability":"roadmap-refine/selection"})
    76. read_file({"end_line":2760,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2675})
    77. read_file({"end_line":175,"path":"src/devops_cli/roadmap/explein.py","start_line":60})
    78. read_file({"end_line":175,"path":"src/devops_cli/roadmap/explain.py","start_line":60})
    79. search_code({"text":"from devops_cli.config import constants"})
    80. read_file({"end_line":60,"path":"src/devops_cli/roadmap/stores/store.py","start_line":38})
    81. read_issue({"number":2695})
    82. read_issue({"number":3631})
    83. find_issues({"terms":"refine tracker"})
    84. list_files({"directory":"tests/roadmap"})
    85. list_files({"directory":"tests/roadmap/refine"})
    86. list_files({"directory":"docs/roadmap"})
    87. list_files({"directory":"src/devops_cli/roadmap"})
    88. list_files({"directory":"tests/roadmap"})
    89. search_code({"text":"_tracker"})
    90. search_code({"text":"is_tracker"})
    91. read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":495,"end_line":560})
    92. read_file({"path":"src/devops_cli/roadmap/stage/stage.py","start_line":590,"end_line":690})
    93. read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":36,"end_line":60})
    94. list_files({"directory":"tests/roadmap/stores"})
    95. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2560,"end_line":2680})
    96. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2030,"end_line":2085})
    97. search_code({"text":"CONST_ROADMAP_EPIC_LABEL"})
    98. read_spec({"capability":"roadmap-stage/selection"})
    99. read_spec({"capability":"roadmap-refine/selection"})
    100. read_spec({"capability":"roadmap-stage/selection","requirement":"The job leaves out a tracker"})
    101. read_spec({"capability":"roadmap-refine/selection","requirement":"Refine leaves an item with an unlisted title type"})
    102. read_file({"end_line":2880,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2810})
    103. read_file({"end_line":3030,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2960})
    104. read_file({"end_line":2780,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2675})
    105. search_code({"text":"def _apply_waiting"})
    106. search_code({"text":"def _record_waits"})
    107. search_code({"text":"class WaitingItem"})
    108. read_file({"end_line":3730,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3660})
    109. read_file({"end_line":3870,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3820})
    110. read_file({"end_line":520,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":475})
    111. read_file({"end_line":2875,"path":"src/devops_cli/lang/en/messages.py","start_line":2840})
    112. read_file({"end_line":160,"path":"src/devops_cli/roadmap/explain.py","start_line":130})
    113. read_file({"end_line":4100,"path":"src/devops_cli/lang/en/messages.py","start_line":4015})
    114. read_file({"end_line":590,"path":"src/devops_cli/roadmap/stage/stage.py","start_line":470})
    115. read_file({"end_line":290,"path":"tests/roadmap/stage/test_roadmap_stage_selection.py","start_line":245})
    116. read_file({"end_line":370,"path":"tests/roadmap/refine/test_roadmap_refine_selection.py","start_line":290})
    117. read_file({"end_line":350,"path":"tests/support/roadmap_refine.py","start_line":300})
    118. read_file({"end_line":800,"path":"tests/roadmap/test_roadmap_limit_classes.py","start_line":755})
    119. list_files({"directory":"docs/roadmap"})
    120. search_code({"text":"sub_issues > 0"})
    121. search_code({"text":"sub_issues"})
    122. read_file({"end_line":130,"path":"src/devops_cli/roadmap/stage/stage.py","start_line":105})
    123. search_code({"text":"def test"})
    124. search_code({"text":"ruff"})
    125. search_code({"text":"[tool.ruff]"})
    126. search_code({"text":"F401"})
    127. read_file({"end_line":230,"path":"pyproject.toml","start_line":144})
    128. search_code({"text":"sub_issues"})
    129. list_files({"directory":"tests/roadmap/refine"})
    130. search_code({"text":"type/epic"})
    131. search_code({"text":"def plan_refine"})
    132. read_file({"path":"tests/roadmap/refine/test_roadmap_refine_tracker.py"})
    133. read_file({"end_line":3420,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3350})
    134. find_issues({"terms":"refine tracker"})
    135. read_issue({"number":5878})
    136. read_issue({"number":5834})
    137. read_issue({"number":3631})
    138. read_issue({"number":2695})
    139. search_code({"text":"def store("})
    140. search_code({"text":"pytest_plugins"})
    141. search_code({"text":"tracker"})
    142. search_code({"text":"def _apply_result"})
    143. search_code({"text":"store.comment("})
    144. read_file({"end_line":3835,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3760})
    145. read_spec({"capability":"roadmap-refine/selection","requirement":"Only the limit stops a refine round"})
    146. read_spec({"capability":"roadmap-refine/selection","requirement":"Refine tells the author of an item that the jobs do not trust one time"})
    147. read_spec({"capability":"roadmap-refine/selection"})
    148. file_symbols({"path":"src/devops_cli/roadmap/refine/refine.py"})
    149. search_code({"text":"def apply_refine"})
    150. search_code({"text":"def _apply_refined"})
    151. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3760,"end_line":3900})
    152. read_spec({"capability":"roadmap-refine/selection","requirement":"Refine tells the author of an item that the jobs do not trust one time"})
    153. search_code({"text":"CONST_ROADMAP_EPIC_LABEL"})
    154. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3620,"end_line":3760})
    155. search_code({"text":"def consider"})
    156. search_code({"text":"def refine_left_out"})
    157. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2540,"end_line":2660})
    158. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2044,"end_line":2070})
    159. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":483,"end_line":512})
    160. read_file({"end_line":690,"path":"src/devops_cli/roadmap/stage/stage.py","start_line":655})
    161. read_file({"end_line":130,"path":"src/devops_cli/roadmap/stage/stage.py","start_line":112})
    162. read_file({"end_line":560,"path":"src/devops_cli/roadmap/stores/store.py","start_line":500})
    163. read_file({"end_line":70,"path":"src/devops_cli/roadmap/stores/store.py","start_line":40})
    164. search_code({"text":"apply_refine("})
    165. read_file({"end_line":360,"path":"tests/roadmap/refine/test_roadmap_refine_selection.py","start_line":296})
    166. search_code({"text":"def job_writes"})
    167. read_file({"end_line":200,"path":"tests/roadmap/refine/test_roadmap_refine_trust.py","start_line":150})
    168. read_file({"end_line":445,"path":"tests/support/fakes/roadmap_store.py","start_line":415})
    169. read_file({"end_line":120,"path":"tests/roadmap/test_roadmap_explain.py","start_line":1})
    170. search_code({"text":"refine_left_waits"})
    171. search_code({"text":"refine_held_closed"})
    172. read_file({"end_line":2875,"path":"src/devops_cli/lang/en/messages.py","start_line":2845})
    173. read_spec({"capability":"roadmap-stage/selection","requirement":"The job leaves out a tracker"})
    174. list_files({"directory":"docs/roadmap"})
    175. search_code({"text":"refine_left_out"})
    176. search_code({"text":"^## "})
    177. read_file({"end_line":60,"path":"docs/roadmap/refine.md","start_line":1})
    178. search_code({"text":"def scripted_gateway"})
    179. search_code({"text":"def seed_new_items"})
    180. search_code({"text":"def git_repo"})
    181. search_code({"text":"def seed_item"})
    182. read_file({"end_line":300,"path":"tests/support/roadmap_refine.py","start_line":255})
    183. references({"name":"is_tracker"})
    184. references({"name":"refine_left_tracker"})
    185. read_file({"end_line":2895,"path":"src/devops_cli/lang/en/messages.py","start_line":2870})
    186. list_files({"directory":"tests/roadmap/stores"})
    187. read_file({"path":"tests/roadmap/test_roadmap_limit_classes.py","start_line":1,"end_line":90})
    188. search_code({"text":"CONST_ROADMAP_EPIC_LABEL"})
    189. search_code({"text":"def _seed"})
    190. search_code({"text":"refine_left_tracker"})
    191. read_file({"path":"tests/roadmap/test_roadmap_explain.py","start_line":45,"end_line":115})
    192. search_code({"text":"refine: JobVerdict"})
    193. search_code({"text":"def refine_left_out"})
    194. list_files({"directory":"tests/roadmap/stores"})
    195. list_files({"directory":"tests/roadmap/refine"})
    196. list_files({"directory":"docs/roadmap"})
    197. search_code({"text":"CONST_ROADMAP_EPIC_LABEL"})
    198. read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":495,"end_line":550})
    199. read_file({"path":"tests/roadmap/test_roadmap_limit_classes.py","start_line":40,"end_line":52})
    200. read_file({"path":"src/devops_cli/roadmap/stage/stage.py","start_line":665,"end_line":682})
    201. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2586,"end_line":2632})
    202. read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":2855,"end_line":2890})
    203. read_spec({"capability":"roadmap-refine/selection"})
    204. read_spec({"capability":"roadmap-stage/selection"})
    205. read_spec({"capability":"roadmap-refine/selection","requirement":"Refine tells the author of an item that the jobs do not trust one time"})
    206. read_spec({"capability":"roadmap-stage/selection","requirement":"The job leaves out a tracker"})
    207. search_code({"text":"def apply_refine"})
    208. search_code({"text":"def _apply_refined"})
    209. search_code({"text":"def comment_bodies"})
    210. search_code({"text":"from devops_cli.config.constants import ("})
    211. read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":38,"end_line":60})
    212. read_spec({"capability":"roadmap-stage/selection"})
    213. read_spec({"capability":"roadmap-refine/selection"})
    214. read_spec({"capability":"roadmap-stage/selection","requirement":"The job leaves out a tracker"})
    215. read_spec({"capability":"roadmap-refine/selection","requirement":"Refine tells the author of an item that the jobs do not trust one time"})
    216. search_code({"text":"def consider("})
    217. search_code({"text":"def refine_left_out"})
    218. search_code({"text":"def _select_single_candidate"})
    219. search_code({"text":"def _tracker"})
    220. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2580,"end_line":2670})
    221. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2040,"end_line":2110})
    222. read_file({"end_line":690,"path":"src/devops_cli/roadmap/stage/stage.py","start_line":655})
    223. read_file({"end_line":130,"path":"src/devops_cli/roadmap/stage/stage.py","start_line":100})
    224. read_file({"end_line":560,"path":"src/devops_cli/roadmap/stores/store.py","start_line":495})
    225. read_file({"end_line":60,"path":"src/devops_cli/roadmap/stores/store.py","start_line":38})
    226. read_file({"end_line":2890,"path":"src/devops_cli/lang/en/messages.py","start_line":2850})
    227. read_file({"end_line":110,"path":"src/devops_cli/roadmap/explain.py","start_line":85})
    228. read_file({"end_line":240,"path":"src/devops_cli/roadmap/explain.py","start_line":150})
    229. search_code({"text":"def _refine_verdict"})
    230. search_code({"text":"def seed_issue"})
    231. search_code({"text":"sub_issues"})
    232. read_file({"end_line":360,"path":"tests/support/fakes/roadmap_store.py","start_line":300})
    233. read_file({"end_line":120,"path":"tests/support/roadmap_refine.py","start_line":60})
    234. search_code({"text":"def seed_item("})
    235. search_code({"text":"def scripted_gateway"})
    236. read_file({"end_line":360,"path":"tests/support/roadmap_refine.py","start_line":255})
    237. search_code({"text":"def apply_refine"})
    238. search_code({"text":"def _apply_refined"})
    239. search_code({"text":"def _apply_waiting"})
    240. search_code({"text":"def _record_waits"})
    241. read_file({"end_line":3720,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3665})
    242. read_file({"end_line":3900,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3760})
    243. search_code({"text":"class WaitingItem"})
    244. read_file({"end_line":450,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":400})
    245. read_file({"end_line":540,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":480})
    246. search_code({"text":"is_tracker"})
    247. search_code({"text":"CONST_ROADMAP_EPIC_LABEL: Final"})
    248. read_file({"end_line":600,"path":"src/devops_cli/roadmap/stage/stage.py","start_line":560})
    249. search_code({"text":"def plan_refine"})
    250. search_code({"text":"apply_refine("})
    251. read_file({"end_line":3400,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3350})
    252. search_code({"text":"refine_left_tracker"})
    253. search_code({"text":"CONST_ROADMAP_EPIC_LABEL"})
    254. list_files({"directory":"tests/roadmap"})
    255. list_files({"directory":"tests/roadmap/stores"})
    256. list_files({"directory":"tests/roadmap/refine"})
    257. read_spec({"capability":"roadmap-refine/selection","requirement":"A person refines an item at the cap"})
    258. read_spec({"capability":"roadmap-refine/selection","requirement":"Refine leaves an item with an unlisted title type"})
    259. search_code({"text":"sub_issues="})
    260. search_code({"text":"devops ci test"})
    261. search_code({"text":"_Judge("})
    262. search_code({"text":"class PlannedQueue"})
    263. list_files({"directory":"src/devops_cli/lang"})
    264. search_code({"text":"holds_service_stop"})
    265. read_file({"end_line":340,"path":"src/devops_cli/roadmap/explain.py","start_line":250})
    266. read_spec({"capability":"roadmap-refine/selection","requirement":"Only the limit stops a refine round"})
    267. read_file({"end_line":300,"path":"tests/roadmap/stage/test_roadmap_stage_selection.py","start_line":200})
    268. read_file({"end_line":3480,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3400})
    269. git_log({"path":"src/devops_cli/roadmap/stage/stage.py"})
    270. git_show({"commit":"bff2f14f","path":"src/devops_cli/roadmap/stage"})
    271. search_code({"text":"_Judge"})
    272. search_code({"text":"private"})

    Tool calls: file_symbols=4 (empty=0), find_issues=2 (empty=0), git_log=1 (empty=0), git_show=1 (empty=0), list_files=23 (empty=0), read_file=107 (empty=0), read_issue=6 (empty=0), read_spec=26 (empty=0), references=2 (empty=1), search_code=100 (empty=3)

    The stage job read the open pull requests and their files in 1 GraphQL request(s).

  9. removed
    owner/service
    on Nov 15, 2026
  10. 29 remaining items

  11. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor

    Stopped at group 2.

    Failure class: provider.
    Action taken: none.
    Action left: retry: run the item again.

    Step Status Attempts Tokens in/out Last failing command
    group 2 stopped 1 0/0 -

    Reason:

    ModelServerError: HTTP 504, model openrouter/deepseek/deepseek-v4.1-flash-1017, body: litellm.Timeout: Timeout Error: OpenrouterException - Message: A Timeout Occurred, Metadata: {<text>: <text>}, User ID:
    

    Last message of the agent (a claim that no check verified): none.

    The item is Blocked, and the job will not run it. Fix the cause. Then comment implement: retry. The Service clears the stop on its own when a new runner image rolls out, but only if a retry can fix the class of the stop and the limits of roadmap.implement.digest_clears_per_class and roadmap.implement.digest_clears_per_item allow it.

  12. added
    status/blocked
    and removed
    status/in-progress
    on Nov 16, 2026
  13. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor

    The runner Job devops-cli-implement-devops-cli-3703-89fd2e ended: succeeded.
    Image digest: sha256:ae4a1ff78a19bd6cea13b83cf70f3e7cf761b8c3d58d17b90ff70b44594b0d29

    The last lines of its log:

    # Implement plan for dan-petty/devops-cli
    
    ## To implement
    - #3703 fix(roadmap): refine leaves out a tracker, as stage does: branch `fix/3703-refine-leaves-out-a-tracker-as`, pull request #5963
    Failure class provider. Action left: retry.
    ✓ Took 0 item(s) to a ready pull request, stopped 1.
    
  14. removed
    owner/service
    on Nov 16, 2026
  15. added
    status/in-review
    and removed
    status/blocked
    on Nov 16, 2026
  16. removed
    status/in-review
    on Nov 16, 2026
  17. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor
  18. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-16 18:52 UTC

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/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions