Skip to content

feat(roadmap): consolidate --apply writes one accepted group #3743

Closed

Description

@dan-petty

Split from #1127 (part 3 of 4). It needs the plan of part 2.

Problem

A plan of proposed groups (part 2) changes nothing on GitHub. A person needs one command that applies one accepted group, and nothing else.

Expected

devops roadmap consolidate --apply <group-id> --confirm applies one accepted group from the latest plan. It runs as the person's gh login (#767), never from the scheduled run. It writes only the members and the anchor of that group.

Acceptance criteria

All tests use the in-memory store and list its recorded writes. They touch no network, and each new test takes at most 1 s.

  • --apply <group-id> joins the command of part 2, with help in RoadmapCommandHelp and regenerated command docs. It refuses to run without --confirm, and refuses a group id that is not in the latest plan.
  • merge-into-anchor: appends a marked section (<!-- devops-roadmap-consolidate:start --> to :end -->) headed ## Consolidated from #a, #b to the anchor body through write_issue_body. It copies each member's acceptance criteria and key questions verbatim, adds the root cause as plain text, then closes each member as not planned with the comment Merged into #<anchor>: <one line>. Text outside the section stays byte-identical.
  • parent-task-with-children: adds sub-issue links with add_sub_issue, or blocked-by links when the anchor lands first, and posts one fixed-template comment on the anchor that lists the children and their order. The blocked-by write is a new store operation (POST /repos/{owner}/{repo}/issues/{number}/dependencies/blocked_by, upstream REST reference) on the protocol, the GitHub store and the memory store, with contract tests on both stores. The read operation comes from feat(roadmap): a consolidation job proposes one task for open items that share a root cause or change surface, and a person applies it (devops roadmap consolidate) #1127.
  • close-as-duplicate: closes the member with close, with one comment naming the anchor. First confirm in the upstream REST reference whether state_reason: duplicate is accepted, and use CloseReason.DUPLICATE if it is; else use not planned with the comment Duplicate of #<anchor>. No GraphQL duplicateIssueId call.
  • link-only: posts one fixed-template comment on each member that names the anchor.
  • Placement: a merge sets the anchor's Priority label to the highest among its members only when no person set the anchor's Priority. It never changes the anchor's milestone.
  • "Close X when Y merges" proposes the close only after Y is closed as completed.
  • Injection test: a plan built from a member body that tells the model to set P0 applies with no Priority write to P0 and no write outside the group.

Existing tool considered

GitHub gives the sub-issue and dependency REST endpoints. Calls go through the existing store and devops gh pacing. No new dependency.

Related

#1127 (shortlists), part 2 (plan), part 4 (MCP mirror and schedule row), #767 (identity), #3635 (live-board check).

Proposed design

Problem statement

A person accepts one group of the consolidate plan. Nothing applies it today, so the plan changes nothing on GitHub. One command must apply exactly one accepted group and write only the issues of that group. It runs as the person's login and needs --confirm.

Acceptance criteria

Requirement: apply-option

The command SHALL accept --apply <group-id> and --confirm, and SHALL refuse to run without --confirm.

Scenario: Apply without confirmation

  • WHEN A person runs devops roadmap consolidate --apply g1 with no --confirm.
  • THEN The command exits non-zero, names --confirm in its message, and the memory store records no write.

Requirement: unknown-group

The command MUST refuse a group id that the latest plan does not hold.

Scenario: Unknown group id

  • WHEN A person runs --apply g9 --confirm and the latest plan holds no group g9.
  • THEN The command exits non-zero, names g9, and the memory store records no write.

Requirement: merge-section

The apply of a merge group SHALL append one marked section to the anchor body through write_issue_body.

Scenario: Marked section and unchanged text

Requirement: merge-content

The marked section SHALL hold each member's acceptance criteria and key questions as they are, and the root cause as plain text.

Scenario: Copied member content

  • WHEN A person applies a merge group and member feat(release): v0.1.10 #11 holds an ## Acceptance criteria section and a ## Key questions section.
  • THEN The section holds both member sections with the same bytes, and holds the root cause of the group as plain text.

Requirement: merge-member-close

The apply of a merge group SHALL close each member as not planned with one comment Merged into #<anchor>: <one line>.

Scenario: Member close

Requirement: merge-reapply

A second apply of the same merge group SHALL replace the marked section and MUST NOT add a second section.

Scenario: Second apply

  • WHEN A person applies the same merge group twice.
  • THEN The anchor body holds exactly one marked section, and every byte outside it is unchanged.

Requirement: parent-sub-issue

The apply of a parent group whose link kind is a sub-issue SHALL add one sub-issue link for each child with add_sub_issue.

Scenario: Sub-issue links

Requirement: parent-blocked-by

The apply of a parent group whose link kind is blocked-by SHALL add one blocked-by link from each child to the anchor.

Scenario: Blocked-by links

Requirement: blocked-by-store

The store protocol, the GitHub store and the memory store SHALL provide the blocked-by write, with one contract test on each store.

Scenario: Contract test of the blocked-by write

  • WHEN The store contract test calls the blocked-by write on the memory store and on the GitHub store.
  • THEN Each store records the call, and the GitHub store sends POST /repos/{owner}/{repo}/issues/{number}/dependencies/blocked_by.

Requirement: parent-anchor-comment

The apply of a parent group SHALL post one fixed-template comment on the anchor that lists the children in the plan's order.

Scenario: Anchor comment

Requirement: duplicate-close

The apply of a duplicate group SHALL close the member with close and one comment that names the anchor.

Scenario: Duplicate close

Requirement: link-only

The apply of a link-only group SHALL post one fixed-template comment on each member that names the anchor.

Scenario: Link-only comments

Requirement: priority-placement

The apply of a merge group SHALL set the anchor's Priority to the highest among its members only when the job record holds no person-set Priority.

Scenario: Priority from the members

  • WHEN A person applies a merge group whose members hold P1 and P2, and no person set the anchor's Priority.
  • THEN The memory store records one Priority write of P1 on the anchor.

Requirement: priority-and-milestone-untouched

The apply MUST NOT change a Priority that a person set, and MUST NOT change the anchor's milestone.

Scenario: Person-set Priority and milestone stay

  • WHEN A person applies a merge group, a person set the anchor's Priority to P3, and the anchor holds milestone M1.
  • THEN The memory store records no Priority write and no milestone write on the anchor.

Requirement: close-when-merged-waits

The apply of a close-when-merged group SHALL close the member only after the other issue is closed as completed.

Scenario: The other issue is open

Requirement: injection

The apply MUST write only the members and the anchor of the applied group, whatever text the plan holds.

Scenario: Instruction in the plan text

  • WHEN A person applies a group whose plan text holds set P0 and whose members hold P2.
  • THEN The memory store records no P0 write and no write to an issue outside the group.

Requirement: command-docs

The command help and the generated command docs SHALL name --apply and --confirm.

Scenario: Generated docs

  • WHEN A person runs devops docs generate --sync-readme after the change.
  • THEN docs/commands/roadmap.md names --apply and --confirm, and no generated file outside the command docs changes.

Existing Tool Considered

No alternatives check has run. The GitHub REST API covers every write that the command needs: the body edit, the close with state_reason, the sub-issue link, the blocked-by dependency and the comment. It lacks the memory store, the job-record lock and the devops gh pacing that the tests and the Service need, so the change adds thin store methods and no new dependency. Cost: about 35k tokens to build the command and the blocked-by store method, about 2k tokens a month to keep and fix them, and about 3 days elapsed.

Key questions

  • Which plan does --apply read, and which item must land before this one?: The apply reads the latest consolidate plan that part 2 writes and refuses a group id that the plan does not hold. Part 2 must land first, and refine links its issue as a dependency of this item. [sources: openspec/changes/archive/2026-11-06-1127-consolidate-shortlist/proposal.md:45]
  • How does a duplicate group close the member?: Use the existing close with CloseReason.DUPLICATE, which sends state_reason. Refine confirms that the upstream REST reference accepts duplicate before the code uses it. If it does not, close as not planned with the comment Duplicate of #<anchor>. (best practice) [sources: openspec/changes/archive/2026-11-06-1127-consolidate-shortlist/proposal.md:45, src/devops_cli/roadmap/stores/store.py, src/devops_cli/roadmap/stores/github_store.py]
    • Chosen: CloseReason.DUPLICATE through close. The store already sends state_reason, and CloseReason holds DUPLICATE.
    • Rejected: Not planned with a comment. It loses the duplicate reason that GitHub records.
    • Rejected: GraphQL duplicateIssueId. The store uses REST only, and the issue rules it out.
  • How does a parent group choose sub-issue links or blocked-by links?: The group record of part 2 names the link kind. The apply uses add_sub_issue for sub_issue and the blocked-by write for blocked_by. It refuses a parent group that names neither. (best practice) [sources: CONTEXT.md, src/devops_cli/roadmap/stores/store.py, openspec/changes/archive/2026-10-30-2035-intake-sub-issue/design.md]
    • Chosen: The plan names the link kind. The plan already orders the groups, and the apply must not derive an order of its own.
    • Rejected: Derive it from the milestone due dates. A milestone is a planning bucket that a person sets, so the apply can disagree with the plan.
    • Rejected: Always add sub-issue links. It cannot show that a child waits on an anchor that lands first.
  • How does the blocked-by write reach GitHub?: Add add_blocked_by(blocked, blocker) to the store protocol, the GitHub store and the memory store. The GitHub store sends POST /repos/{owner}/{repo}/issues/{number}/dependencies/blocked_by with the blocker's REST id, inside the existing pacing. One contract test covers each store. Refine confirms the path against the upstream REST reference. (best practice) [sources: src/devops_cli/roadmap/stores/store.py, src/devops_cli/roadmap/stores/github_store.py, tests/roadmap/stores/test_roadmap_store_contract.py, tests/support/fakes/roadmap_store.py]
    • Chosen: New store method on the protocol, both stores and the contract test. It keeps every write behind the store, the pacing and the job-record lock.
    • Rejected: Call the endpoint from the command. It bypasses the store contract, the pacing and the memory store that the tests need.
    • Rejected: Sub-issue links only. It cannot show that a child waits on an anchor that lands first.
  • What does a second apply of the same group do?: It replaces the text between the two markers and keeps every other byte of the anchor body. It never adds a second section, and it closes no member twice. (best practice) [sources: src/devops_cli/roadmap/stores/store.py, src/devops_cli/roadmap/stores/github_store.py]
    • Chosen: Replace the marked section. The two markers delimit the section, so a second apply is safe.
    • Rejected: Append a second section. The anchor body grows without bound and repeats the same criteria.
    • Rejected: Refuse a second apply. A failed run could not be repaired, and the markers would have no use.
  • How does the apply tell a person's Priority from one that the job set?: It reads the job record of the anchor. A Priority label that the record does not hold is a person's, so the apply leaves it. The apply never writes a milestone. (best practice) [sources: docs/adr/0002-roadmap-jobs-act-as-a-machine-account.md, src/devops_cli/roadmap/stores/github_store.py]
    • Chosen: Read the job record. The ADR says a job compares a field with the value it last set and leaves a person's change alone.
    • Rejected: Always write the highest Priority. It reverts a Priority that a person set.
    • Rejected: Compare only the labels. A label carries no record of who set it.
  • What does the apply write for a close-when-merged group whose other issue is open?: Nothing. The command reports that the group waits for the other issue, and a later apply by a person closes the member once that issue is closed as completed. The scheduled run never closes it. (best practice) [sources: src/devops_cli/commands/roadmap.py]
    • Chosen: Wait for a later apply. The command runs as a person's login, so no scheduled run can close the member.
    • Rejected: Post a comment that proposes the close. It adds a comment and changes no state.
    • Rejected: Let the scheduled run close the member. The command never runs from the scheduled run.
  • How does the apply copy the member content as it is?: It reads each member body with read_issue_body at apply time and copies the section under ## Acceptance criteria and the section under ## Key questions byte for byte. It calls no model. (best practice) [sources: src/devops_cli/roadmap/stores/store.py, src/devops_cli/roadmap/refine/refine.py]
    • Chosen: Copy the sections by their headings. The bytes stay as they are, and a body text cannot change the result.
    • Rejected: Ask a model to summarize the member. It costs tokens, can follow an instruction in the body and loses the exact text.
    • Rejected: Copy the whole member body. It copies the job record and the headings that the anchor does not need.
  • Where do the command help and the generated command docs come from?: RoadmapCommandHelp in src/devops_cli/lang/en/help.py holds the help text of each roadmap command. devops docs generate --sync-readme writes docs/commands/roadmap.md and the other generated files. [sources: src/devops_cli/lang/en/help.py, openspec/changes/archive/2026-11-02-3188-shorten-roadmap-command-help/proposal.md:51]
  • Does the apply ever run from the scheduled run?: No. A person runs the command with --confirm, as that person's gh login. No Service row calls it. [sources: CONTEXT.md, src/devops_cli/commands/roadmap.py]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Alternatives check of 2026-11-08: partly.
Tool: gidgethub (https://pypi.org/project/gidgethub), Apache-2.0 AND MIT, last activity 2026-09-25, maintained.

Activity

  1. added
    source/agent
    type/feature
    scope/roadmap
    status/new
    value/high
    effort/high
    on Nov 6, 2026
  2. dan-petty commented on Nov 6, 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. Planned feature part 3 of 4; needed for the consolidation flow but not a blocker or security fix.
    • Value: High. Without --apply, the plan is inert; this step delivers the actual GitHub writes users need.
    • Effort: High. Five distinct write patterns, a new store operation, contract tests on two stores, and an injection test.
    • Related: feat(roadmap): consolidate writes a plan of proposed groups #3740, which asks for a different change. Both are siblings split from #1127; #3740 writes a plan file, while the candidate applies one group to GitHub.
  3. added
    priority/p2-medium
    on Nov 6, 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: partly

    Reason: Searches found no tool that applies an accepted consolidation group to GitHub issues; the only matches are generic GitHub clients (the gh CLI, GitHubKit) and the REST endpoints the issue already names. The GitHub REST calls the apply needs (body edit, close with state_reason, comment, sub-issue link, blocked-by dependency) are already reachable through the project's chosen gidgethub session, so no new dependency is required, but the command, plan lookup, store method, memory store, job-record rules and tests are all new work.

    Tool: gidgethub (https://pypi.org/project/gidgethub)

    • License: Apache-2.0 AND MIT
    • Last activity: 2026-09-25
    • Maintained: yes

    Covers:

    • Sends any GitHub REST request through the project's existing session, including issue body edits, comments and closes with state_reason
    • Reaches the sub-issue and blocked-by dependency endpoints, so the new store method adds no dependency
    • Keeps the writes behind the existing store and the devops gh pacing that the tests and Service need

    Lacks:

    • The devops roadmap consolidate --apply <group-id> --confirm command, its RoadmapCommandHelp text and generated command docs
    • Reading the latest plan and refusing a missing --confirm or a group id that the plan does not hold
    • The marked merge section, the copied member criteria and key questions, and the Merged into #<anchor> member closes
    • The blocked-by write on the store protocol, the GitHub store and the memory store, with a contract test on each
    • The parent-group anchor comment, the link-only and close-as-duplicate patterns, and the close-when-merged wait
    • The job-record rules that leave a person-set Priority and the milestone alone, and the injection guarantee

    Tools considered:

    Searches run:

    • GitHub CLI tool merge duplicate issues into one issue automation, results: 5
    • open source tool consolidate GitHub issues sub-issues blocked-by dependencies, results: 5
    • github issue consolidation bot open source merge issues into anchor issue, results: 5
    • "gh" extension merge duplicate GitHub issues command, results: 5
    • gidgethub Python library GitHub REST API, results: 5
    • GitHub REST API add sub-issue and issue dependencies blocked_by endpoint, results: 5
    • actions-cool/issues-helper close issue as duplicate comment action, results: 5
    • gh-sub-issue extension add sub-issue links GitHub CLI, results: 5

    Sources:

    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 16, 2026
  8. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor

    Staged: branch feat/3743-consolidate-apply-writes-one-accepted-group, draft pull request #5958. 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 blocked-by write to both stores: 44745 tokens
    2. Add the apply option and its two guards: 62318 tokens
    3. Apply a merge group: 33587 tokens
    4. Apply a parent group: 33515 tokens
    5. Apply a duplicate and a link-only group: 33510 tokens
    6. Place the Priority and guard the write set: 33469 tokens

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

    • minor false_premise at proposal (feasibility): The feasibility says every write of the apply is already a store method, but the apply's blocked-by write, add_blocked_by, is not on the protocol; the plan's own what_changes and group 1 add it. Evidence: "so every write of the apply is a store method that the protocol already holds."
    • minor false_premise at proposal (feasibility): The feasibility says the apply reads the shortlist plan of feat(roadmap): a consolidation job proposes one task for open items that share a root cause or change surface, and a person applies it (devops roadmap consolidate) #1127, but the apply reads the latest consolidate plan that part 2 writes through last_plan; the issue says it needs the plan of part 2. Evidence: "confirms the shortlist plan that the apply reads."
    • minor spec_delta_wrong at spec roadmap-consolidate-apply (command-docs): The scenario's THEN requires that no other generated document changes, but the group's test only reads docs/commands/roadmap.md, so no test asserts that second part. Evidence: "and no other generated document changes."
    • minor other at tasks (2): The group changes what --confirm does, but leaves its help text saying it writes the decline of --decline only, so the help of the new option is wrong. Evidence: "Write the decline of --decline to the job record of the anchor."

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

    1. list_files({"directory":"src/devops_cli/roadmap"})
    2. file_symbols({"path":"src/devops_cli/roadmap/stores/store.py"})
    3. search_code({"text":"def generate"})
    4. read_file({"path":"src/devops_cli/roadmap/consolidate.py","start_line":1,"end_line":80})
    5. file_symbols({"path":"src/devops_cli/roadmap/consolidate.py"})
    6. search_code({"text":"def consolidate"})
    7. read_file({"path":"src/devops_cli/roadmap/consolidate.py","start_line":179,"end_line":300})
    8. read_file({"path":"src/devops_cli/commands/roadmap.py","start_line":380,"end_line":490})
    9. list_files({"directory":"tests/roadmap"})
    10. search_code({"text":"_last_plan"})
    11. read_file({"path":"tests/roadmap/test_roadmap_consolidate.py","start_line":1,"end_line":80})
    12. search_code({"text":"class Shape"})
    13. read_file({"end_line":75,"path":"src/devops_cli/roadmap/consolidate_judge.py","start_line":30})
    14. search_code({"text":"class InMemoryRoadmapStore"})
    15. search_code({"text":"lands first"})
    16. search_code({"text":"Shape.PARENT"})
    17. read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":60,"end_line":135})
    18. read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":575,"end_line":660})
    19. read_file({"end_line":1210,"path":"src/devops_cli/roadmap/stores/store.py","start_line":1106})
    20. search_code({"text":"def add_sub_issue"})
    21. read_file({"end_line":650,"path":"src/devops_cli/roadmap/stores/github_store.py","start_line":615})
    22. read_file({"end_line":1010,"path":"src/devops_cli/roadmap/stores/github_store.py","start_line":985})
    23. read_file({"end_line":120,"path":"tests/support/fakes/roadmap_store.py","start_line":150})
    24. read_file({"end_line":620,"path":"tests/support/fakes/roadmap_store.py","start_line":500})
    25. search_code({"text":"add_sub_issue"})
    26. search_code({"text":"WRITES ="})
    27. read_file({"end_line":175,"path":"tests/ai/mcp/test_mcp_roadmap_tools.py","start_line":130})
    28. read_file({"end_line":1385,"path":"tests/roadmap/stores/test_roadmap_store_contract.py","start_line":1330})
    29. search_code({"text":"commands/roadmap"})
    30. read_file({"end_line":110,"path":"src/devops_cli/commands/docs.py","start_line":50})
    31. search_code({"text":"consolidate_confirm"})
    32. read_file({"end_line":1460,"path":"src/devops_cli/lang/en/help.py","start_line":1400})
    33. read_file({"end_line":60,"path":"tests/roadmap/test_roadmap_command_help.py","start_line":1})
    34. read_file({"end_line":40,"path":"src/devops_cli/roadmap/stores/store.py","start_line":430})
    35. read_spec({"capability":"roadmap-consolidate-plan"})
    36. read_file({"end_line":80,"path":"docs/roadmap/consolidate.md","start_line":1})
    37. read_file({"end_line":105,"path":"src/devops_cli/roadmap/consolidate.py","start_line":84})
    38. read_file({"end_line":350,"path":"src/devops_cli/roadmap/consolidate.py","start_line":300})
    39. search_code({"text":"state_reason"})
    40. search_code({"text":"^WRITES"})
    41. search_code({"text":"_DUPLICATE_REASON"})
    42. file_symbols({"path":"src/devops_cli/roadmap/consolidate.py"})
    43. file_symbols({"path":"src/devops_cli/roadmap/stores/store.py"})
    44. search_code({"text":"_last_plan"})
    45. search_code({"text":"pending_closes"})
    46. read_file({"path":"src/devops_cli/roadmap/consolidate.py","start_line":180,"end_line":340})
    47. read_file({"path":"src/devops_cli/roadmap/consolidate.py","start_line":490,"end_line":545})
    48. file_symbols({"path":"src/devops_cli/roadmap/consolidate_judge.py"})
    49. search_code({"text":"def consolidate_cmd"})
    50. search_code({"text":"sync-readme"})
    51. file_symbols({"path":"src/devops_cli/commands/docs.py"})
    52. read_file({"path":"src/devops_cli/commands/docs.py","start_line":55,"end_line":140})
    53. read_file({"path":"src/devops_cli/commands/roadmap.py","start_line":380,"end_line":470})
    54. search_code({"text":"def test"})
    55. search_code({"text":"\"test\""})
    56. file_symbols({"path":"src/devops_cli/commands/ci.py"})
    57. read_file({"path":"src/devops_cli/roadmap/consolidate_judge.py","start_line":38,"end_line":66})
    58. search_code({"text":"seed_blocked_by"})
    59. search_code({"text":"blockers"})
    60. search_code({"text":"def add_sub_issue"})
    61. search_code({"text":"test_add_sub_issue_links_child_to_parent"})
    62. read_file({"path":"tests/roadmap/stores/test_roadmap_store_contract.py","start_line":1330,"end_line":1395})
    63. search_code({"text":"def world"})
    64. read_file({"path":"src/devops_cli/roadmap/stores/github_store.py","start_line":610,"end_line":650})
    65. read_file({"path":"src/devops_cli/roadmap/stores/github_store.py","start_line":980,"end_line":1015})
    66. search_code({"text":"blocked"})
    67. read_file({"path":"tests/roadmap/stores/test_roadmap_store_contract.py","start_line":260,"end_line":320})
    68. read_file({"path":"tests/roadmap/stores/test_roadmap_store_contract.py","start_line":200,"end_line":260})
    69. search_code({"text":"class GitHubFake"})
    70. search_code({"text":"dependencies/blocked_by"})
    71. search_code({"text":"sub_issues"})
    72. read_file({"path":"tests/support/fakes/github_repository.py","start_line":47,"end_line":200})
    73. search_code({"text":"POST"})
    74. read_file({"path":"tests/support/fakes/roadmap_store.py","start_line":340,"end_line":390})
    75. read_file({"path":"tests/support/fakes/roadmap_store.py","start_line":530,"end_line":580})
    76. search_code({"text":"def _api"})
    77. search_code({"text":"def writes"})
    78. search_code({"text":"sub_issue_id"})
    79. read_file({"path":"tests/support/fakes/github_repository.py","start_line":540,"end_line":700})
    80. search_code({"text":"def _log"})
    81. search_code({"text":"def job_writes"})
    82. search_code({"text":"def write_issue_body"})
    83. search_code({"text":"def close"})
    84. read_file({"path":"tests/support/fakes/roadmap_store.py","start_line":420,"end_line":470})
    85. read_file({"path":"tests/support/fakes/roadmap_store.py","start_line":655,"end_line":760})
    86. read_file({"path":"tests/support/fakes/roadmap_store.py","start_line":1030,"end_line":1080})
    87. list_files({"directory":"openspec/specs"})
    88. read_spec({"capability":"roadmap-consolidate"})
    89. read_spec({"capability":"roadmap-consolidate-plan"})
    90. read_spec({"capability":"roadmap-command-help"})
    91. read_file({"path":"openspec/changes/archive/2026-10-29-1658-issues-close-reason/proposal.md","start_line":1,"end_line":80})
    92. search_code({"text":"duplicate"})
    93. search_code({"text":"--decline"})
    94. read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":96,"end_line":108})
    95. read_file({"path":"src/devops_cli/commands/ci.py","start_line":2150,"end_line":2210})
    96. read_spec({"capability":"roadmap-consolidate-plan","requirement":"The command joins the roadmap group"})
    97. read_spec({"capability":"roadmap-consolidate-plan","requirement":"Close-when-anchor-merges stays in the plan"})
    98. search_code({"text":"def _write"})
    99. read_file({"path":"src/devops_cli/roadmap/stores/github_store.py","start_line":1290,"end_line":1360})
    100. search_code({"text":"test_roadmap_consolidate_is_a_read_only_mirror_of_the_plan_run"})
    101. read_file({"path":"tests/ai/mcp/test_mcp_roadmap_tools.py","start_line":130,"end_line":175})
    102. search_code({"text":"consolidate_confirm_needs_decline"})
    103. search_code({"text":"def replace_section"})
    104. search_code({"text":"CONST_ROADMAP_CONSOLIDATE"})

    Tool calls: file_symbols=7 (empty=0), list_files=3 (empty=0), read_file=43 (empty=0), read_spec=6 (empty=0), search_code=45 (empty=2)

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

    Warnings:

    • Scoped test tests/roadmap/test_roadmap_consolidate_apply.py does not exist.
  9. 2 remaining items

  10. removed
    owner/service
    on Nov 16, 2026
  11. added
    status/planned
    and removed
    status/ready
    on Nov 16, 2026
  12. added
    status/in-progress
    status/in-review
    and removed
    status/planned
    status/in-progress
    on Nov 23, 2026
  13. removed
    status/in-review
    on Nov 23, 2026
  14. devops-cli-service commented on Nov 23, 2026

    @devops-cli-service
    Contributor
  15. devops-cli-service commented on Nov 23, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-23 06:32 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/highpriority/p2-mediumscope/roadmapsource/agenttype/featurevalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions