Repository navigation
Description
Problem Description
openspec/changes/ on main holds 5 active change folders of issues that are closed as completed, with no archived change. devops roadmap plan-recheck gives cleanup for each. A folder of a delivered change that is not archived leaves its requirements out of openspec/specs/, and a folder of a plan that was not built looks like work in progress.
Checked on 2026-11-26 at main 916ecaf:
| Folder | Tasks ticked | What the tree and GitHub show | Proposed |
|---|---|---|---|
3077-an-agent-that-needs-a-decision |
16 of 16 | #5617 built it; the delta has 8 requirements (roadmap-inbox, roadmap-owner-question) that no specification holds |
archive |
3447-read-named-pull-request-files |
6 of 6 | #6144 built it; the delta has 7 requirements (verification) that no specification holds |
archive |
3782-the-placement-rule-fits-the-nvme |
1 of 3 | #6062 built the test part, released in v0.169.2; the 2 open tasks edit k8s/README.md; no delta |
check the 2 tasks against k8s/README.md, then delete |
1327-infra-commands-edge-fakes |
0 of 5 | the plan #2872 merged on 2026-10-31 and the issue closed the same day; src/devops_cli/commands/tf.py still holds the logic that the plan moves; no delta |
delete; say on #1327 that the plan was not built |
2176-use-mutation-to-merge-or-delete |
0 of 9 | #6436 built a part, rewrote the plan and closed the issue; #6420 (open) continues the method and names the selection that this plan repairs | move the open tasks to #6420 or reopen #2176, then delete or keep |
Proposed Fix
- Archive the two delivered changes with
openspec archive, and check that each new requirement is true for the code before the archive. - Delete the folders of the plans that will not be built from them.
- Record on test(cli): the infra commands are thin adapters tested over edge fakes, with no internal patches or private imports #1327 and test(cli): Use mutation to merge or delete 26 test files #2176 what was not built.
Acceptance Criteria
-
devops roadmap plan-recheckgivescleanupfor no folder. -
openspec validate --all --strictpasses, and each requirement that an archive adds has a test or a named code path. - test(cli): the infra commands are thin adapters tested over edge fakes, with no internal patches or private imports #1327 and test(cli): Use mutation to merge or delete 26 test files #2176 hold a comment that says what the plan left open and where that work is now.
Environment Diagnostics
devops-cli 0.223.2.
Dependencies
Alternatives check of 2026-11-26: not-applicable.
Class: chore, no model call.
Tool: none found.
Proposed design
Problem statement
openspec/changes/ on main holds five active change folders for closed items. Two delivered changes are not archived, so their requirements are not in openspec/specs/. Three folders are plans that were not built. The change archives the two delivered changes, deletes the stale folders, and records the unbuilt work on the issues that continue it.
Acceptance criteria
Requirement: No cleanup folder
devops roadmap plan-recheck SHALL report no change folder with the result cleanup.
Scenario: Plan recheck after cleanup
- WHEN
uv run devops roadmap plan-recheckruns on the branch after the change. - THEN It reports no folder with the result
cleanup.
Requirement: Delivered changes archived
The two delivered change folders MUST be archived under openspec/changes/archive/ with openspec archive.
Scenario: Archive the two delivered changes
- WHEN
openspec validate --all --strictruns after the two archives. - THEN It passes, and
openspec/changes/holds neither3077-an-agent-that-needs-a-decisionnor3447-read-named-pull-request-files.
Requirement: Archived requirements in specs
The two archived deltas MUST add their requirements to openspec/specs/.
Scenario: Validate the archived specs
- WHEN
openspec validate --all --strictruns after the two archives. - THEN It passes, and
openspec/specs/holds the requirements ofroadmap-inbox,roadmap-owner-questionandverificationfrom the two deltas.
Requirement: Closed issues record the unbuilt work
Issue #1327 and issue #2176 MUST hold a comment that names what the plan left open and where that work is now.
Scenario: Read the issue comments
- WHEN
uv run devops gh issue view 1327 --commentsanduv run devops gh issue view 2176 --commentsrun after the change. - THEN Each output holds a comment that names the open tasks and the issue or change that now tracks them.
Requirement: Open tasks of 2176 continue on 6420
The open tasks of the 2176 change MUST be recorded on issue #6420.
Scenario: Read the continuing issue
- WHEN
uv run devops gh issue view 6420 --commentsruns after the change. - THEN It holds a comment that names each open task of the
2176plan.
Existing Tool Considered
The alternatives check records not-applicable for this chore (no model call, Tool: none found). No new code is built, so there is no build cost. The change uses the existing OpenSpec CLI (openspec archive, openspec validate) and devops roadmap plan-recheck.
Key questions
- Are the two open tasks of
3782-the-placement-rule-fits-the-nvmedone?: Yes.k8s/README.mdalready holds the Local-Path Volume Placement rule that the tasks edit. The change deletes the3782folder. [sources: k8s/README.md, openspec/changes/3782-the-placement-rule-fits-the-nvme/tasks.md] - Where do the open tasks of
2176-use-mutation-to-merge-or-deletego?: Move them to open issue test: remove coverage-redundant test files after a mutation check #6420, which continues the method and names the selection that the plan repairs. Then delete the2176folder. (best practice) [sources: openspec/changes/2176-use-mutation-to-merge-or-delete/tasks.md]- Chosen: Move to test: remove coverage-redundant test files after a mutation check #6420. It is open, continues the method and names the selection that the plan repairs.
- Rejected: Reopen test(cli): Use mutation to merge or delete 26 test files #2176. It is closed and test: remove coverage-redundant test files after a mutation check #6420 already continues the work.
- Rejected: Keep the folder. A stale folder looks like work in progress.
- What does the change record on test(cli): the infra commands are thin adapters tested over edge fakes, with no internal patches or private imports #1327?: The plan test(cli): infra commands are thin adapters tested over edge fakes #2872 merged, but
src/devops_cli/commands/tf.pystill holds the logic that the plan moves. The change deletes the1327folder and comments on test(cli): the infra commands are thin adapters tested over edge fakes, with no internal patches or private imports #1327 that the plan was not built. [sources: src/devops_cli/commands/tf.py, openspec/changes/1327-infra-commands-edge-fakes/tasks.md] - How does the change prove each requirement that an archive adds?: Check each requirement against a test or a named code path before the archive, as
AGENTS.mdrules 2 and 4 require. Record that proof in the archive commit. (best practice) [sources: AGENTS.md]- Chosen: Check before archive. AGENTS.md rule 2 requires a check of the premise against source or command output.
- Rejected: Archive without check. It can add an untrue requirement to
openspec/specs/.
Fit
Fits in one pull request.
Suspected block
None.
Activity
devops-cli-service commentedon Nov 28, 2026
Next step: the stage job writes the plan of the item. See the section Proposed design of the body.