Skip to content

feat(roadmap): Gate Ready on alternatives verdict or exempt class #2951

Closed

Description

@dan-petty

What happened

Refine sets an item Ready whether or not the alternatives check ran. The tracker #2908 names Refine as step 2 of the workflow, and AGENTS.md rule 3 asks for an open tool before building.

What should happen

  • Refine does not set status/ready on an item that has no alternatives verdict and is not in an exempt class (see the issue on fixed classes). The item stays status/new with a comment that says it waits for the check, and the check is run for it first in the next round.
  • A covers or partly verdict still goes to a person, as today.
  • docs/ROADMAP_WORKFLOW.md (W1) names the rule in step 2.

Evidence (2026-10-31)

Tracker: #2908 (one issue workflow). Owner request of 2026-10-31: confirm that all issues are vetted for open alternatives.

Acceptance criteria

  • A test shows an item with no verdict stays New, and runs with a verdict or an exempt class.
  • A person can set Ready by hand, and refine does not revert it.
  • The workflow document names the rule.
  • uv run devops ci passes.

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

Proposed design

Problem statement

Refine sets an item Ready even when the alternatives check wrote no verdict. AGENTS.md rule 3 requires an open tool before building. The change gates the New-to-Ready transition on a recorded alternatives.verdict, or on an exemption for a repository with the check off. It keeps the person's decision for a covering verdict.

Acceptance criteria

Requirement: No verdict keeps the item New

Refine SHALL leave an item in status/new when its job record has no alternatives.verdict and the alternatives check is on for the repository.

Scenario: Item with no verdict stays New

  • WHEN Refine runs on an item with no alternatives.verdict key and the alternatives check is on for the repository.
  • THEN The item keeps status/new and refine writes the comment Waiting for the alternatives check to run.

Requirement: A recorded verdict allows Ready

Refine SHALL set status/ready on an item with an alternatives.verdict of none, not-applicable, rejected or in-use when all other readiness conditions pass.

Scenario: Item with a non-covering verdict becomes Ready

  • WHEN Refine runs on an item with alternatives.verdict set to none, not-applicable, rejected or in-use and every other readiness condition passes.
  • THEN Refine sets the item to status/ready.

Requirement: Covering verdict asks a person

Refine SHALL ask a person to adopt a covers or partly tool or to keep the item with a reason, and SHALL NOT set status/ready before the reply.

Scenario: Covering verdict waits for a person

  • WHEN The alternatives check records covers or partly on an item and no person has replied.
  • THEN Refine writes the question and leaves the item in status/new.

Requirement: Check-off repository is exempt

Refine SHALL NOT wait for an alternatives.verdict when the alternatives row is off for the repository.

Scenario: Repository with alternatives off becomes Ready

  • WHEN The alternatives check is off for the repository and all other readiness conditions pass.
  • THEN Refine sets the item to status/ready with no verdict.

Requirement: Person-set Ready is not reverted

Refine SHALL leave a status/ready label that a person set by hand on an item.

Scenario: Person-set Ready survives refine

  • WHEN A person sets status/ready on an item with no alternatives.verdict and refine runs on the item.
  • THEN The item keeps status/ready and refine sets no other status label.

Requirement: Workflow document names the gate

docs/ROADMAP_WORKFLOW.md SHALL name the alternatives-verdict gate in step 2.

Scenario: Step 2 names the gate

  • WHEN A reader reads step 2 of the eight-steps table in docs/ROADMAP_WORKFLOW.md.
  • THEN The step text names the rule that refine gates Ready on an alternatives.verdict or an exemption.

Requirement: CI passes

The change SHALL pass uv run devops ci.

Scenario: CI passes on the branch

  • WHEN A developer runs uv run devops ci on the branch.
  • THEN The command exits 0.

Existing Tool Considered

No open, maintained tool covers the need. The alternatives check of 2026-11-04 found no tool. Probot supplies GitHub event and label plumbing only. Policy-as-code engines such as OPA evaluate resource payloads and do not manage roadmap item labels, comments or refine rounds. The gate, the wait comment and the person-set Ready exception must be written in this project. The written cost is about 20k to 40k tokens to build, 5k tokens per year to keep in sync with the alternatives record keys, and 10k tokens for each fix; about 1 day elapsed.

Key questions

  • How does refine detect that an item has no alternatives verdict?: Refine reads the job record key alternatives.verdict. The key is absent or null when the alternatives row has written no check for the item. [sources: docs/ROADMAP_WORKFLOW.md, src/devops_cli/roadmap/alternatives.py]
  • Which verdict values satisfy the gate?: Any recorded verdict satisfies the gate: covers, partly, none, not-applicable, rejected or in-use. A covers or partly verdict still needs a person's reply. [sources: CONTEXT.md, k8s/README.md:709, src/devops_cli/roadmap/alternatives.py]
  • What is the exempt class for an item with no alternatives verdict?: The existing skip classes already receive the not-applicable verdict, so that verdict is the exemption. A repository where the alternatives row is off is also exempt, because the row writes no verdict there. (best practice) [sources: CONTEXT.md, k8s/README.md:709]
    • Chosen: Treat not-applicable and a check-off repository as the exemption. The alternatives job already writes not-applicable for the skip classes, and it writes nothing when the check is off.
    • Rejected: Add a separate refine-only exempt-class list. The list would duplicate the alternatives skip class and drift from it.
    • Rejected: Gate every repository, including a check-off repository. A private repository or a repository with no search provider gets no verdict, so its items would never become Ready.
  • What comment does refine write when it leaves an item New for no verdict?: Refine writes the fixed text Waiting for the alternatives check to run. (best practice) [sources: docs/ROADMAP_WORKFLOW.md]
    • Chosen: Fixed text Waiting for the alternatives check to run. It is short, names the wait and matches the body's requirement.
    • Rejected: No comment, with only the job record. The body requires a comment that says the item waits for the check.
    • Rejected: Free text with the item number and the check date. It repeats data that the job record holds and needs more tests.
  • Does a person-set status/ready label survive a refine round?: Yes. A job never reverts a label that a person set, and the transitions table gives a person's label the final say. [sources: docs/ROADMAP_WORKFLOW.md, docs/adr/0016-labels-hold-the-roadmap-items-fields.md]
  • Where does docs/ROADMAP_WORKFLOW.md name the rule?: In the step 2 row of the eight-steps table. (best practice) [sources: docs/ROADMAP_WORKFLOW.md]
    • Chosen: Add the rule to the step 2 row of the eight-steps table. The body says the document names the rule in step 2, and the table is the canonical step list.
    • Rejected: Add a new section below the table. The body points to step 2, not to a new section.
  • Does the alternatives row check an item with no check first?: Yes. A round takes first the items with no check, then the items whose check is older than roadmap.alternatives.recheck_days. [sources: k8s/README.md:709]
  • What happens to a covers or partly verdict?: Refine asks a person to adopt the tool or to keep the item with a reason. The item waits for the reply and does not become Ready first. [sources: k8s/README.md:709, tests/roadmap/refine/test_roadmap_refine_covers_check.py]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    source/agent
    type/feature
    scope/roadmap
    status/new
    value/medium
    effort/low
    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. Prevents a quality gap in the workflow but does not block functionality or cause a security issue.
    • Value: Medium. Stops premature Ready status that bypasses the alternatives requirement stated in AGENTS.md rule 3.
    • Effort: Low. Adds one conditional check in refine, a test, and a line in the workflow document.
    • Related: fix(roadmap): the alternatives check must search before any verdict for items that can have an open alternative #2946, which asks for a different change. Both concern the alternatives check exempt classes, but #2946 changes what the check searches or skips, while the candidate changes refine's Ready gate logic.
  3. added
    priority/p2-medium
    on Oct 31, 2026
  4. devops-cli-service commented on Nov 1, 2026

    @devops-cli-service
    Contributor

    Refine cannot set this item to Ready at e093ac8 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 exempt class that allows an item to skip the alternatives-verdict requirement? (missing verified source)
  5. devops-cli-service commented on Nov 4, 2026

    @devops-cli-service
    Contributor

    Alternatives check: none

    Tool: none found

    Lacks:

    • No open tool found that gates a roadmap item's New-to-Ready label on an existing alternatives.verdict job-record key.
    • General GitHub-app frameworks (e.g. Probot) only supply the event/label plumbing; the refine gate, the wait comment and the person-set-Ready exception must still be written in this project.
    • General policy-as-code engines (OPA/Rego and similar) evaluate policies over resource/config payloads and do not manage roadmap item labels, comments or refine rounds.
    • The exempt-class definition and its link to the alternatives row's job-record keys are devops-cli-specific and have no upstream implementation.

    Searches run:

    • probot app required check before issue labeled ready workflow gating
    • open source tool enforce GitHub issue label state machine transitions gate
    • policy as code check required metadata before issue status change open source

    Sources:

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

  6. changed the title [-]feat(roadmap): refine needs an alternatives verdict or an exempt class before an item is Ready[/-] [+]feat(roadmap): Gate Ready on alternatives verdict or exempt class[/+] on Nov 6, 2026
  7. dan-petty commented on Nov 6, 2026

    @dan-petty
    OwnerAuthor

    The job shortened the title of this item. The summary had 79 characters, and the limit is 60. The type and the scope stay.

    • Before: feat(roadmap): refine needs an alternatives verdict or an exempt class before an item is Ready
    • After: feat(roadmap): Gate Ready on alternatives verdict or exempt class
    • Source of the summary: the background model
  8. added
    status/ready
    and removed
    status/new
    on Nov 12, 2026
  9. 1 remaining item

  10. added
    owner/service
    and removed
    owner/service
    on Nov 13, 2026
  11. devops-cli-service commented on Nov 14, 2026

    @devops-cli-service
    Contributor

    Staged: branch feat/2951-gate-ready-on-alternatives-verdict-or, draft pull request #5605. 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. Gate Ready on the alternatives verdict: 48930 tokens
    2. Leave a person's Ready label alone: 37258 tokens
    3. Give the public-repository refine tests a recorded check: 21927 tokens
    4. Name the gate in the workflow document and run the whole gate: 18007 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 criterion_dropped at issue (uv run devops ci passes.): The plan maps this criterion to group 4, but group 4 only edits docs/ROADMAP_WORKFLOW.md and verifies with uv run devops ci docs; no group runs the whole uv run devops ci that the criterion names. Evidence: "uv run devops ci passes."
    • minor false_premise at design (decisions): The decision says the issue keeps the covers-only question as it is, but the issue asks for a covers or partly verdict to go to a person, and the plan rejects the partly half. Evidence: "A covers or partly verdict still goes to a person, as today."
    • minor other at tasks (3): The group says it gives a recorded check to each other test module of the folder that the run names, but its changes list names only two test files, so the plan does not say which files the group will change. Evidence: "give the same recorded check to each other test module of that folder that the run names"
    • minor other at proposal (feasibility): The plan assumes the alternatives row writes a verdict, while the issue's evidence says the row failed three rounds and was suspended; the gate then leaves every item New with no exemption or fallback for a row that does not run. Evidence: "so it was suspended."
    • major false_premise at proposal (feasibility): A step value is read from three message maps, not two: _step_lines also reads texts.refine_step_headings[step.value], and the implementation adds no alternatives entry there. A round that leaves an item on the new step makes render_refine_plan raise KeyError, and devops roadmap refine prints that report every round. Evidence: "so a new step needs an entry in both maps of src/devops_cli/lang/en/messages.py"
    • blocker other at tasks (1): is_ready now carries the gate, and the review of a bot-filed item runs only on is_ready; but the alternatives row checks an item only when trust.is_approved approves it, which for a bot-filed item is the review's verdict. An item the Service's bot files therefore never gets a check, never gets a verdict, and never becomes Ready. Evidence: "set is_ready = proposal_ready and gate"

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

    1. list_files({"directory":"src/devops_cli/roadmap/refine"})
    2. read_spec({"capability":"roadmap-refine/waits"})
    3. file_symbols({"path":"src/devops_cli/roadmap/refine/refine.py"})
    4. read_spec({"capability":"roadmap-refine/alternatives"})
    5. search_code({"text":"STATUS_READY"})
    6. read_spec({"capability":"roadmap-alternatives"})
    7. search_code({"text":"write_status"})
    8. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":560,"end_line":690})
    9. search_code({"text":"CONST_ROADMAP_STATUS_READY,"})
    10. search_code({"text":"check_ready"})
    11. search_code({"text":"def apply_refine"})
    12. list_files({"directory":"src/devops_cli/roadmap"})
    13. read_file({"end_line":3400,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3280})
    14. read_file({"end_line":1440,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":1343})
    15. search_code({"text":"is_ready"})
    16. read_file({"end_line":2740,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2590})
    17. file_symbols({"path":"src/devops_cli/roadmap/alternatives.py"})
    18. read_file({"end_line":120,"path":"src/devops_cli/roadmap/status_sync.py","start_line":1})
    19. read_file({"end_line":660,"path":"src/devops_cli/roadmap/alternatives.py","start_line":500})
    20. search_code({"text":"class Verdict"})
    21. read_file({"end_line":240,"path":"src/devops_cli/roadmap/stores/store.py","start_line":180})
    22. read_file({"end_line":700,"path":"src/devops_cli/roadmap/alternatives.py","start_line":658})
    23. read_file({"end_line":1270,"path":"src/devops_cli/roadmap/alternatives.py","start_line":1188})
    24. read_file({"end_line":180,"path":"src/devops_cli/roadmap/alternatives.py","start_line":100})
    25. read_file({"end_line":1068,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":1000})
    26. read_file({"end_line":560,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":341})
    27. read_file({"end_line":300,"path":"src/devops_cli/roadmap/status_sync.py","start_line":120})
    28. read_file({"end_line":1345,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":1240})
    29. search_code({"text":"PARTLY"})
    30. read_file({"path":"tests/roadmap/refine/test_roadmap_refine_covers_check.py","start_line":1,"end_line":80})
    31. search_code({"text":"refine_alternatives_question"})
    32. search_code({"text":"\"partly\""})
    33. read_file({"end_line":420,"path":"tests/roadmap/refine/test_roadmap_refine_covers_check.py","start_line":140})
    34. read_spec({"capability":"roadmap-refine/writes"})
    35. read_spec({"capability":"roadmap-refine/selection"})
    36. read_file({"end_line":2250,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2077})
    37. read_file({"end_line":2410,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2248})
    38. search_code({"text":"def is_unchanged"})
    39. search_code({"text":"def body_hashes"})
    40. read_file({"path":"src/devops_cli/roadmap/body_hash.py"})
    41. search_code({"text":"repository_is_private"})
    42. list_files({"directory":"tests/roadmap/refine"})
    43. list_files({"directory":"tests/roadmap"})
    44. search_code({"text":"status/ready"})
    45. file_symbols({"path":"tests/roadmap/refine/test_roadmap_refine_waits.py"})
    46. file_symbols({"path":"tests/roadmap/refine/test_roadmap_refine_proposal.py"})
    47. file_symbols({"path":"tests/roadmap/refine/test_roadmap_refine_round.py"})
    48. file_symbols({"path":"tests/roadmap/refine/test_roadmap_refine_next_step.py"})
    49. read_file({"path":"tests/roadmap/refine/test_roadmap_refine_next_step.py","start_line":40,"end_line":150})
    50. file_symbols({"path":"tests/roadmap/refine/test_roadmap_refine_covers_check.py"})
    51. read_file({"path":"tests/roadmap/refine/test_roadmap_refine_covers_check.py","start_line":40,"end_line":120})
    52. read_file({"path":"tests/roadmap/refine/test_roadmap_refine_covers_check.py","start_line":236,"end_line":300})
    53. search_code({"text":"== \"Ready\""})
    54. file_symbols({"path":"tests/roadmap/refine/test_roadmap_refine_blocked.py"})
    55. read_file({"end_line":150,"path":"tests/roadmap/refine/test_roadmap_refine_blocked.py","start_line":30})
    56. search_code({"text":"seed_visibility(is_private=False)"})
    57. file_symbols({"path":"tests/roadmap/refine/test_roadmap_refine_selection.py"})
    58. read_file({"end_line":760,"path":"tests/roadmap/refine/test_roadmap_refine_investigation.py","start_line":700})
    59. read_file({"end_line":880,"path":"tests/roadmap/refine/test_roadmap_refine_investigation.py","start_line":828})
    60. file_symbols({"path":"tests/roadmap/refine/test_roadmap_refine_web_search.py"})
    61. read_file({"path":"tests/roadmap/refine/test_roadmap_refine_web_search.py","start_line":40,"end_line":95})
    62. search_code({"text":"def seed_visibility"})
    63. read_file({"path":"tests/support/fakes/roadmap_store.py","start_line":380,"end_line":415})
    64. search_code({"text":"is_private: bool ="})
    65. search_code({"text":"search={\"providers\""})
    66. read_file({"end_line":420,"path":"tests/roadmap/refine/test_roadmap_refine_investigation.py","start_line":380})
    67. search_code({"text":"NextStep.READY"})
    68. search_code({"text":"def web_search_of"})
    69. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":1017,"end_line":1060})
    70. search_code({"text":"def first_configured_provider"})
    71. read_file({"end_line":345,"path":"src/devops_cli/ai/web_search.py","start_line":300})
    72. search_code({"text":"providers: list[str]"})
    73. search_code({"text":"class SearchSettings"})
    74. search_code({"text":"providers"})
    75. search_code({"text":"duckduckgo"})
    76. read_file({"end_line":285,"path":"tests/roadmap/refine/test_roadmap_refine_investigation.py","start_line":180})
    77. file_symbols({"path":"tests/roadmap/refine/test_roadmap_refine_job_failure.py"})
    78. file_symbols({"path":"tests/roadmap/refine/test_roadmap_refine_one_write.py"})
    79. read_file({"end_line":130,"path":"tests/roadmap/refine/test_roadmap_refine_job_failure.py","start_line":96})
    80. read_file({"end_line":95,"path":"tests/roadmap/refine/test_roadmap_refine_one_write.py","start_line":38})
    81. read_file({"end_line":275,"path":"tests/roadmap/refine/test_roadmap_refine_deferred.py","start_line":235})
    82. search_code({"text":"def recorded_check"})
    83. search_code({"text":"def check_ready"})
    84. search_code({"text":"class NextStep"})
    85. search_code({"text":"def owns_status"})
    86. search_code({"text":"def _still_waiting"})
    87. search_code({"text":"def step_comment"})
    88. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":330,"end_line":420})
    89. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":570,"end_line":650})
    90. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":1370,"end_line":1470})
    91. read_file({"path":"src/devops_cli/roadmap/status_sync.py","start_line":120,"end_line":200})
    92. read_file({"end_line":3340,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3250})
    93. read_file({"end_line":2760,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2590})
    94. search_code({"text":"refine_step_comments"})
    95. search_code({"text":"refine_left_waits"})
    96. search_code({"text":"refine_alternatives_wait"})
    97. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2105,"end_line":2200})
    98. read_file({"end_line":2830,"path":"src/devops_cli/lang/en/messages.py","start_line":2700})
    99. read_file({"end_line":1050,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":1000})
    100. search_code({"text":"web = web_search_of"})
    101. search_code({"text":"alternatives.verdict"})
    102. read_file({"end_line":2600,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2500})
    103. read_file({"end_line":230,"path":"src/devops_cli/roadmap/stores/store.py","start_line":195})
    104. search_code({"text":"test_a_fact_that_a_file_read_settles_makes_the_item_ready"})
    105. search_code({"text":"test_a_round_on_a_public_repository_with_a_key_settles_a_fact_from_the_web"})
    106. search_code({"text":"test_deferred_a_complete_proposal_plans_one_new_issue_for_each_part"})
    107. search_code({"text":"test_a_covers_check_with_no_reply_is_a_question_for_a_person_the_model_cannot_answer"})
    108. search_code({"text":"ci docs"})
    109. search_code({"text":"\"docs\""})
    110. read_file({"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":1,"end_line":120})
    111. read_file({"end_line":260,"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":120})
    112. search_code({"text":"def covers_question"})
    113. read_spec({})
    114. read_spec({"capability":"roadmap-refine/alternatives"})
    115. read_file({"end_line":700,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":651})
    116. read_spec({"capability":"roadmap-refine/alternatives","requirement":"A covers verdict is a question that only a person answers"})
    117. read_spec({"capability":"roadmap-refine/alternatives","requirement":"A rejected or in-use check adds no question"})
    118. search_code({"text":"def set_marks"})
    119. search_code({"text":"def set_field"})
    120. read_file({"end_line":1140,"path":"src/devops_cli/roadmap/stores/store.py","start_line":1040})
    121. read_file({"end_line":2990,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2900})
    122. search_code({"text":"def first_configured_provider"})
    123. read_file({"end_line":120,"path":"tests/support/roadmap_refine.py","start_line":1})
    124. read_file({"end_line":360,"path":"src/devops_cli/ai/web_search.py","start_line":290})
    125. search_code({"text":"def refine_round"})
    126. search_code({"text":"providers: list[str]"})
    127. search_code({"text":"class DuckDuckGoProvider"})
    128. read_file({"end_line":160,"path":"src/devops_cli/ai/web_search.py","start_line":100})
    129. search_code({"text":"providers"})
    130. search_code({"text":"search: SearchSettings"})
    131. search_code({"text":"class SearchSettings"})
    132. search_code({"text":"duckduckgo"})
    133. read_file({"end_line":80,"path":"src/devops_cli/roadmap/body_hash.py","start_line":40})
    134. read_file({"end_line":1220,"path":"src/devops_cli/roadmap/alternatives.py","start_line":1195})
    135. read_file({"end_line":705,"path":"src/devops_cli/roadmap/alternatives.py","start_line":660})
    136. read_file({"end_line":260,"path":"tests/roadmap/refine/test_roadmap_refine_investigation.py","start_line":180})
    137. read_file({"end_line":760,"path":"tests/roadmap/refine/test_roadmap_refine_investigation.py","start_line":690})
    138. read_file({"end_line":330,"path":"tests/roadmap/refine/test_roadmap_refine_deferred.py","start_line":235})
    139. search_code({"text":"is_private=False"})
    140. read_file({"end_line":880,"path":"tests/roadmap/refine/test_roadmap_refine_investigation.py","start_line":795})
    141. read_file({"end_line":100,"path":"tests/roadmap/refine/test_roadmap_refine_web_search.py","start_line":30})
    142. search_code({"text":"def seed_issue"})
    143. read_file({"path":"tests/support/fakes/roadmap_store.py","start_line":300,"end_line":370})
    144. read_spec({"capability":"roadmap-refine/alternatives"})
    145. list_files({"directory":"src/devops_cli/lang/en"})
    146. file_symbols({"path":"src/devops_cli/roadmap/refine/refine.py"})
    147. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":341,"end_line":370})
    148. search_code({"text":"refine_left_waits"})
    149. search_code({"text":"def set_marks"})
    150. search_code({"text":"is_ready = check_ready"})
    151. search_code({"text":"write_status(store, r.item"})
    152. search_code({"text":"def owns_status"})
    153. read_file({"end_line":3330,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3280})
    154. read_file({"end_line":2150,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2105})
    155. read_file({"end_line":1035,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":1007})
    156. read_file({"end_line":2665,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2600})
    157. read_file({"end_line":1505,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":1405})
    158. read_file({"end_line":2810,"path":"src/devops_cli/lang/en/messages.py","start_line":2755})
    159. search_code({"text":"refine_step_comments"})
    160. read_file({"end_line":2755,"path":"src/devops_cli/lang/en/messages.py","start_line":2733})
    161. list_files({"directory":"tests/roadmap/refine"})
    162. search_code({"text":"from devops_cli.roadmap.status_sync import"})
    163. read_file({"end_line":190,"path":"src/devops_cli/roadmap/status_sync.py","start_line":160})
    164. search_code({"text":"alternatives.verdict"})
    165. read_file({"end_line":2105,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2077})
    166. read_file({"end_line":610,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":564})
    167. search_code({"text":"CONST_ROADMAP_STATUS_READY"})
    168. search_code({"text":"NextStep"})
    169. search_code({"text":"in NextStep"})
    170. read_file({"end_line":3530,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3500})
    171. search_code({"text":"_record_check"})
    172. read_file({"path":"tests/roadmap/test_roadmap_limit_classes.py","start_line":1,"end_line":60})
    173. search_code({"text":"CONST_ROADMAP_"})
    174. search_code({"text":"CONST_ROADMAP_STATUS_READY"})
    175. search_code({"text":"class NextStep"})
    176. search_code({"text":"REGISTRY_COUNTS"})
    177. search_code({"text":"names no task for"})
    178. read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":4870,"end_line":4895})
    179. search_code({"text":"stage_registry_counted"})
    180. search_code({"text":"stage_problem_registry"})
    181. read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2490,"end_line":2560})
    182. read_file({"end_line":3340,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3290})
    183. read_file({"end_line":200,"path":"src/devops_cli/roadmap/status_sync.py","start_line":160})
    184. search_code({"text":"def matches("})
    185. read_file({"end_line":175,"path":"src/devops_cli/roadmap/stage/stage_registry.py","start_line":100})
    186. list_files({"directory":"tests/roadmap/refine"})
    187. read_file({"end_line":235,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":228})
    188. read_file({"end_line":115,"path":"tests/support/fakes/roadmap_store.py","start_line":100})
    189. read_file({"end_line":90,"path":"tests/telemetry/test_telemetry_instruments.py","start_line":75})
    190. search_code({"text":"REGISTRY_COUNTS"})
    191. search_code({"text":"REGISTRY_COUNTS: Final"})
    192. read_file({"end_line":50,"path":"tests/roadmap/test_roadmap_dry_runs.py","start_line":36})
    193. list_files({"directory":"src/devops_cli/roadmap/refine"})
    194. read_file({"path":"src/devops_cli/roadmap/status_sync.py","start_line":150,"end_line":210})
    195. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2590,"end_line":2700})
    196. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":540,"end_line":620})
    197. read_file({"end_line":3340,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3240})
    198. read_file({"end_line":240,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":215})
    199. read_file({"end_line":2160,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2060})
    200. search_code({"text":"_settled_wait"})
    201. read_file({"end_line":1480,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":1400})
    202. read_file({"end_line":2340,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2280})
    203. read_file({"end_line":1060,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":980})
    204. search_code({"text":"web = web_search_of"})
    205. search_code({"text":"def _refine_item"})
    206. read_file({"end_line":2960,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2900})
    207. read_spec({"capability":"roadmap-refine/alternatives"})
    208. read_spec({"capability":"roadmap-refine/alternatives","requirement":"A covers verdict is a question that only a person answers"})
    209. read_spec({"capability":"roadmap-refine/alternatives","requirement":"A rejected or in-use check adds no question"})
    210. read_file({"path":"tests/support/roadmap_refine.py","start_line":1,"end_line":140})
    211. search_code({"text":"seed_visibility"})
    212. read_file({"end_line":470,"path":"tests/support/roadmap_refine.py","start_line":320})
    213. read_file({"end_line":420,"path":"tests/support/fakes/roadmap_store.py","start_line":380})
    214. search_code({"text":"is_private"})
    215. search_code({"text":"is_private: bool ="})
    216. search_code({"text":"repository_is_private"})
    217. search_code({"text":"def test_a_fact_that_a_file_read_settles_makes_the_item_ready"})
    218. search_code({"text":"def test_a_round_on_a_public_repository_with_a_key_settles_a_fact_from_the_web"})
    219. search_code({"text":"def test_deferred_a_complete_proposal_plans_one_new_issue_for_each_part"})
    220. read_file({"end_line":230,"path":"tests/roadmap/refine/test_roadmap_refine_investigation.py","start_line":185})
    221. read_file({"end_line":750,"path":"tests/roadmap/refine/test_roadmap_refine_investigation.py","start_line":695})
    222. search_code({"text":"class NextStep"})
    223. search_code({"text":"for step in NextStep"})
    224. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":335,"end_line":400})
    225. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3495,"end_line":3540})
    226. search_code({"text":"def _step_lines"})
    227. search_code({"text":"refine_step_heading"})
    228. read_file({"end_line":3495,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3455})
    229. read_file({"end_line":2880,"path":"src/devops_cli/lang/en/messages.py","start_line":2720})
    230. read_file({"end_line":2900,"path":"src/devops_cli/lang/en/messages.py","start_line":2835})
    231. search_code({"text":"refine_step_headings"})
    232. search_code({"text":"refine_left_waits"})
    233. read_file({"end_line":2790,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2700})
    234. search_code({"text":"devops ci"})
    235. read_file({"end_line":80,"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":1})
    236. search_code({"text":"refine_step_comments"})
    237. search_code({"text":"NextStep.ALTERNATIVES"})
    238. search_code({"text":"step.value]"})
    239. read_file({"end_line":2380,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2331})
    240. callers({"symbol":"render_refine_plan"})
    241. read_spec({"capability":"roadmap-alternatives"})
    242. read_spec({"capability":"roadmap-alternatives","requirement":"A check writes a comment, a block and a record"})
    243. read_spec({"capability":"roadmap-alternatives","requirement":"A skip-class item is not-applicable with no model call"})
    244. read_spec({"capability":"roadmap-alternatives","requirement":"The check is off without a public repository and a search provider"})
    245. search_code({"text":"checked_at"})
    246. search_code({"text":"def select_items"})
    247. read_file({"end_line":760,"path":"src/devops_cli/roadmap/alternatives.py","start_line":650})
    248. search_code({"text":"def _is_eligible"})
    249. read_file({"end_line":650,"path":"src/devops_cli/roadmap/alternatives.py","start_line":600})
    250. search_code({"text":"def is_approved"})
    251. read_file({"end_line":90,"path":"src/devops_cli/roadmap/trust.py","start_line":1})
    252. search_code({"text":"def test_a_covers_check_with_no_reply_is_a_question_for_a_person_the_model_cannot_answer"})
    253. read_file({"end_line":330,"path":"tests/roadmap/refine/test_roadmap_refine_covers_check.py","start_line":200})
    254. search_code({"text":"refine_step_headings"})
    255. search_code({"text":"refine_left_waits"})
    256. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3455,"end_line":3500})
    257. read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":2775,"end_line":2880})
    258. search_code({"text":"step.value"})
    259. search_code({"text":"refine_step_comments"})
    260. read_file({"path":"tests/roadmap/test_job_result.py","start_line":50,"end_line":100})
    261. search_code({"text":"refine_step_headings"})
    262. search_code({"text":"_settled_wait"})
    263. search_code({"text":"class NextStep"})
    264. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":335,"end_line":380})
    265. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2060,"end_line":2150})
    266. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":555,"end_line":615})
    267. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2596,"end_line":2690})
    268. read_file({"end_line":1475,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":1425})
    269. read_file({"end_line":2760,"path":"src/devops_cli/lang/en/messages.py","start_line":2728})
    270. list_files({"directory":"tests/roadmap/refine"})
    271. search_code({"text":"def owns_status"})
    272. search_code({"text":"class AlternativesRecordKey"})
    273. search_code({"text":"def _apply_refined"})
    274. read_file({"end_line":3335,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3283})
    275. read_file({"end_line":240,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":222})
    276. read_file({"end_line":1040,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":1005})
    277. read_spec({"capability":"roadmap-refine/alternatives"})
    278. read_spec({"capability":"roadmap-refine/proposal"})
    279. read_spec({"capability":"roadmap-refine/writes"})
    280. read_file({"end_line":200,"path":"src/devops_cli/roadmap/status_sync.py","start_line":160})
    281. search_code({"text":"_WRITTEN_FROM"})
    282. search_code({"text":"def covers_question"})
    283. read_file({"end_line":700,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":651})
    284. search_code({"text":"partly"})
    285. read_file({"end_line":228,"path":"src/devops_cli/roadmap/stores/store.py","start_line":205})
    286. read_file({"end_line":60,"path":"tests/roadmap/test_roadmap_limit_classes.py","start_line":30})
    287. search_code({"text":"CONST_ROADMAP_STATUS_READY: Final[str]"})
    288. search_code({"text":"owns_status"})
    289. search_code({"text":"def recorded_check"})
    290. read_file({"path":"src/devops_cli/roadmap/status_sync.py","start_line":160,"end_line":220})
    291. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":560,"end_line":680})
    292. read_file({"end_line":2700,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2590})
    293. search_code({"text":"class NextStep"})
    294. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2030,"end_line":2170})
    295. read_file({"end_line":3340,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":3240})
    296. read_file({"end_line":1060,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":1000})
    297. search_code({"text":"web_search_of("})
    298. search_code({"text":"refine_step_headings"})
    299. read_file({"end_line":2470,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2410})
    300. read_file({"end_line":2960,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2900})
    301. search_code({"text":"class Verdict"})
    302. search_code({"text":"refine_step_comments"})
    303. read_file({"end_line":300,"path":"src/devops_cli/roadmap/stores/store.py","start_line":185})
    304. read_file({"end_line":2790,"path":"src/devops_cli/lang/en/messages.py","start_line":2725})
    305. read_file({"end_line":2880,"path":"src/devops_cli/lang/en/messages.py","start_line":2790})
    306. read_file({"end_line":380,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":330})
    307. read_file({"end_line":1480,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":1415})
    308. read_file({"end_line":2340,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2290})
    309. read_file({"end_line":1290,"path":"src/devops_cli/roadmap/alternatives.py","start_line":1180})
    310. read_spec({"capability":"roadmap-refine/alternatives"})
    311. read_file({"end_line":240,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":222})
    312. read_spec({})
    313. read_spec({"capability":"roadmap-refine"})
    314. read_file({"end_line":2300,"path":"src/devops_cli/roadmap/refine/refine.py","start_line":2170})
    315. search_code({"text":"def body_hashes"})
    316. search_code({"text":"def is_unchanged"})
    317. read_file({"end_line":110,"path":"src/devops_cli/roadmap/body_hash.py","start_line":1})
    318. search_code({"text":"def seed_issue"})
    319. search_code({"text":"def set_field"})
    320. read_file({"end_line":380,"path":"tests/support/fakes/roadmap_store.py","start_line":290})
    321. read_file({"end_line":900,"path":"tests/support/fakes/roadmap_store.py","start_line":830})
    322. search_code({"text":"as a person sets"})
    323. search_code({"text":"seed_person"})
    324. search_code({"text":"set_field_as_person"})
    325. search_code({"text":"person_field"})
    326. search_code({"text":"owns_status"})
    327. read_file({"path":"tests/roadmap/test_roadmap_status_sync.py","start_line":1,"end_line":40})
    328. search_code({"text":"def person"})
    329. list_files({"directory":"tests/support"})
    330. search_code({"text":"def relabel"})
    331. search_code({"text":"_relabel("})
    332. list_files({"directory":"tests/roadmap/refine"})
    333. search_code({"text":"plan_refine("})
    334. search_code({"text":"seed_visibility"})
    335. search_code({"text":"def repository_is_private"})
    336. read_file({"end_line":740,"path":"tests/roadmap/refine/test_roadmap_refine_investigation.py","start_line":690})
    337. read_file({"end_line":870,"path":"tests/roadmap/refine/test_roadmap_refine_investigation.py","start_line":820})
    338. search_code({"text":"test_a_fact_that_a_file_read_settles_makes_the_item_ready"})
    339. search_code({"text":"test_deferred_a_complete_proposal_plans_one_new_issue_for_each_part"})
    340. read_file({"end_line":230,"path":"tests/roadmap/refine/test_roadmap_refine_investigation.py","start_line":180})
    341. read_file({"end_line":280,"path":"tests/roadmap/refine/test_roadmap_refine_deferred.py","start_line":240})
    342. search_code({"text":"def select_items"})
    343. search_code({"text":"def eligible"})
    344. read_file({"end_line":740,"path":"src/devops_cli/roadmap/alternatives.py","start_line":600})
    345. read_file({"end_line":131,"path":"src/devops_cli/roadmap/stage/stage_registry.py","start_line":110})
    346. read_file({"end_line":60,"path":"tests/roadmap/test_roadmap_limit_classes.py","start_line":30})
    347. read_file({"end_line":200,"path":"tests/roadmap/test_roadmap_limit_classes.py","start_line":60})
    348. search_code({"text":"_RULES_VERSION"})
    349. search_code({"text":"test_a_covers_check_with_no_reply_is_a_question_for_a_person"})

    Tool calls: callers=1 (empty=0), file_symbols=13 (empty=0), list_files=11 (empty=0), read_file=156 (empty=0), read_spec=23 (empty=0), search_code=145 (empty=12)

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

  12. removed
    owner/service
    on Nov 14, 2026
  13. added
    status/in-progress
    status/in-review
    and removed
    status/ready
    status/in-progress
    on Nov 14, 2026
  14. removed
    status/in-review
    on Nov 14, 2026
  15. devops-cli-service commented on Nov 14, 2026

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

    @devops-cli-service
    Contributor

    Live since 2026-11-14 15:02 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/lowpriority/p2-mediumscope/roadmapsource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions