Repository navigation
Description
Split from #3498.
#3498 replaces #3331 and #3397, which ask for the measurement of the plan gates over the change folders. After #3498 merges, a person closes #3331 and #3397 with an evidence comment that names #3498 as the replacement. #3398 stays open only if its merge-ready check also reads the new plan-recheck output. A comment on #3398 records that decision. Why deferred: only a person closes an issue and records a scope decision on another issue. The command, its tests and its documentation in #3498 do not wait on these actions. Acceptance criteria: #3331 and #3397 are closed, each with a comment that names #3498 as the replacement. #3398 holds a comment that records whether its merge-ready check reads the new plan-recheck output, and it is closed when the check does not.
Proposed design
Problem statement
After #3498 merged, devops roadmap plan-recheck names the gate of each refusal, counts the refusals of each gate and compares a branch with the default branch, so #3331 and #3397, which ask for the measurement of the plan gates over the change folders, are superseded. The roadmap still lists both as open work. #3398 asks whether its merge-ready check reads the new plan-recheck output; no check in this repository reads that output, so the answer must be recorded on #3398 and the issue closed. The work is three GitHub writes with the existing devops gh issues close command: no code and no pull request.
Acceptance criteria
Requirement: Retire #3331
Issue #3331 SHALL be closed with the reason not-planned and one comment that names #3498 as its replacement.
Scenario: The close of #3331
- WHEN an agent runs
devops gh issues close 3331 --reason not-planned --comment-file <evidence> - THEN feat(roadmap): stage requires an eval replay task when a plan edits the stage prompt or gates #3331 is closed as not planned, and its last comment names feat(roadmap): a new plan gate states its hits and false refusals #3498 and the merged gate
eval-replaythat replaces it.
Requirement: Retire #3397
Issue #3397 SHALL be closed with the reason not-planned and one comment that names #3498 as its replacement.
Scenario: The close of #3397
- WHEN an agent runs
devops gh issues close 3397 --reason not-planned --comment-file <evidence> - THEN fix(roadmap): the eval replay task gives the before and after numbers #3397 is closed as not planned, and its last comment names feat(roadmap): a new plan gate states its hits and false refusals #3498 and the gate report of
devops roadmap plan-recheckthat replaces it.
Requirement: Record the scope of #3398 and close it
Issue #3398 SHALL be closed as not-planned with one comment that records that its merge-ready check does not read the plan-recheck output.
Scenario: The close of #3398
- WHEN an agent runs
devops gh issues close 3398 --reason not-planned --comment-file <decision> - THEN fix(pr): Require a replay score in stage-change PRs #3398 is closed as not planned, and its last comment states that no check reads the plan-recheck output, which only the
plan-recheckcommand prints.
Requirement: Close with the project command
Each of the three closes MUST use devops gh issues close --reason not-planned --comment-file and MUST NOT run bare gh.
Scenario: The command of a close
- WHEN an agent closes feat(roadmap): stage requires an eval replay task when a plan edits the stage prompt or gates #3331, fix(roadmap): the eval replay task gives the before and after numbers #3397 or fix(pr): Require a replay score in stage-change PRs #3398
- THEN the comment and the close arrive in one
devops gh issues closerun, which posts the comment before the close and sends no bareghrequest.
Existing Tool Considered
No code is built. The tool is the project's own wrapper over the open, maintained GitHub CLI: devops gh issues close <number> --reason not-planned --comment-file <path> posts the evidence comment and then closes the issue as not planned in one run (docs/CLI_REFERENCE.md:8295, openspec/specs/gh-issues-close/spec.md:20). It covers all three writes and lacks nothing here; bare gh is forbidden by AGENTS.md rule 7 (AGENTS.md:15), so the wrapper is the tool. Written cost of building instead: none, because the command exists; the work is three calls, a few minutes of elapsed time and no tokens.
Key questions
- Who closes feat(roadmap): stage requires an eval replay task when a plan edits the stage prompt or gates #3331 and fix(roadmap): the eval replay task gives the before and after numbers #3397, and when?: An agent closes both, and the condition holds now. AGENTS.md rule 2 tells an agent to close an issue as rejected when newer issues or code changes supersede it, and the list of work that only a person does holds no close: it holds merges, review verdicts, milestones, secrets, repository settings and hosts (AGENTS.md:10, AGENTS.md:23). feat(roadmap): a new plan gate states its hits and false refusals #3498 has merged, because its change folder is archived and
ProposalGatenames it, so the two old issues are superseded by merged code. Each close runsdevops gh issues close <number> --reason not-planned --comment-file <evidence>, which posts the comment before the close. [sources: AGENTS.md:10, AGENTS.md:23, openspec/changes/archive/2026-11-06-3498-plan-recheck-gate-compare/proposal.md:15, src/devops_cli/roadmap/stage/stage_change.py:1691, docs/CLI_REFERENCE.md:8295, openspec/specs/gh-issues-close/spec.md:20] - Does the merge-ready check of fix(pr): Require a replay score in stage-change PRs #3398 read the new plan-recheck output, or is fix(pr): Require a replay score in stage-change PRs #3398 closed?: No check reads the plan-recheck output, so fix(pr): Require a replay score in stage-change PRs #3398 closes.
recheck_planshas one caller, thedevops roadmap plan-recheckcommand, which prints a report, writes nothing without--confirmand closes no issue; the policy says a person decides for each stranded plan. The row that marks a staged plan pull request ready reads the checks and theplan/needs-fixlabel, and no plan-recheck output. The comment on fix(pr): Require a replay score in stage-change PRs #3398 records that, and the issue closes as not planned. (best practice) [sources: src/devops_cli/commands/roadmap.py:844, docs/roadmap/plan-recheck.md:171, docs/roadmap/plan-recheck.md:175, docs/ROADMAP_WORKFLOW.md:21, docs/roadmap/stage.md:77]- Rejected: Keep fix(pr): Require a replay score in stage-change PRs #3398 open and read the plan-recheck output. Rejected: nothing in the repository consumes the report. The pass is a person-run read that closes no issue, so a merge-ready check that reads it would add a second reader of a report with no settled verdict.
- Chosen: Record that no check reads the output and close fix(pr): Require a replay score in stage-change PRs #3398. Chosen: the only caller of
recheck_plansis the command, the ready row reads the checks and theplan/needs-fixlabel, and the pass policy leaves each stranded plan to a person. The body closes fix(pr): Require a replay score in stage-change PRs #3398 when its check does not read the output.
- Which command closes an issue with a reason and its evidence comment?:
devops gh issues close <number> --reason not-planned --comment-file <path>. It posts the file's text as one comment, then closes the issue withstate_reasonnot_planned, and it refuses an empty comment, an already closed issue and a pull request.devops roadmap plan-recheckcloses no issue itself, and bareghis forbidden, so this wrapper is the write. [sources: docs/CLI_REFERENCE.md:8295, docs/CLI_REFERENCE.md:8296, openspec/specs/gh-issues-close/spec.md:9, openspec/specs/gh-issues-close/spec.md:20, docs/roadmap/intake.md:39, AGENTS.md:15] - Has feat(roadmap): a new plan gate states its hits and false refusals #3498 merged, so that the closes are due?: Yes. The change folder of feat(roadmap): a new plan gate states its hits and false refusals #3498 is archived under
openspec/changes/archive/2026-11-06-3498-plan-recheck-gate-compare/, which is the last commit of its closing pull request, andProposalGatenames feat(roadmap): a new plan gate states its hits and false refusals #3498. The documents and the code hold what it added: the gate of each refusal, the count of refusals for each gate and the--branchcomparison. The dependency of this item is satisfied, so no wait remains. [sources: openspec/changes/archive/2026-11-06-3498-plan-recheck-gate-compare/proposal.md:15, src/devops_cli/roadmap/stage/stage_change.py:1691, docs/roadmap/plan-recheck.md:107, docs/roadmap/plan-recheck.md:141] - What evidence does each close comment carry?: For feat(roadmap): stage requires an eval replay task when a plan edits the stage prompt or gates #3331: the gate
eval-replayis a member ofProposalGate, the stage job runs it, andplan-recheckprints its refusals under that name, which is the replay task that feat(roadmap): stage requires an eval replay task when a plan edits the stage prompt or gates #3331 asks for. For fix(roadmap): the eval replay task gives the before and after numbers #3397:plan-recheckprints the gate of each refusal, the number of refusals for each gate and the comparison of a branch with the default branch over the change folders, which is the measurement that fix(roadmap): the eval replay task gives the before and after numbers #3397 asks for. Both comments name feat(roadmap): a new plan gate states its hits and false refusals #3498 as the change that delivered it. [sources: src/devops_cli/roadmap/stage/stage_change.py:1701, docs/roadmap/plan-recheck.md:118, docs/roadmap/plan-recheck.md:130, https://github.com/feat(roadmap): stage requires an eval replay task when a plan edits the stage prompt or gates #3331]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 5, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
choreprefix of the title gives the type.(roadmap)scope of the title gives the scope.This is post-merge housekeeping that only matters after #3498 lands and blocks no user-facing work.Closing stale issues and recording a scope note has no direct user-facing effect.The work is two issue closures with comments and one decision comment on a third issue.Both concern the plan-gate work; #3498 delivers the new gate feature while this candidate closes the superseded issues it replaces.devops-cli-service commentedon Nov 9, 2026
Refine cannot set this item to Ready at 1b37dbc. A bot opened the item, so a review of the issue and of the proposal must approve it first. The review found the defects below. A person edits the body to answer them. The next refine round looks at the item again only after a body edit.
false_premiseat key_questions, question 1: The plan assigns the closes to an agent. The issue says only a person closes an issue and records a scope decision. Evidence: "Why deferred: only a person closes an issue and records a scope decision on another issue."dan-petty commentedon Nov 14, 2026
The retirement is already done, so this item closes as not planned. On 2026-11-14: #3331 is closed
completed, #3397 is closednot_planned, and #3398 is closedcompletedby PR #5623 (its merge-ready check does not read the plan-recheck output; the check reads the checks and theplan/needs-fixlabel). #3498 merged, with its change archived underopenspec/changes/archive/2026-11-06-3498-plan-recheck-gate-compare/, anddevops roadmap plan-recheckprints the gate and the counts that #3331 and #3397 asked for. No write remains for this item.