Skip to content

feat(roadmap): rewrite a merged plan with plan-recheck - #3832

Merged
dan-petty merged 8 commits into
mainfrom
feat/3556-plan-recheck-rewrite
Nov 6, 2026
Merged

dan-petty merged 8 commits into
mainfrom
feat/3556-plan-recheck-rewrite

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

plan-recheck rewrites a merged plan in memory (a Verification line, a bare name for a sample path, a design stub) and judges the result. A plan gets rewrite only if the rewritten plan passes the reader, the gates and openspec validate. plan-recheck --confirm writes those files to the checkout of --source, with no commit. A plan with no way forward stays new-plan and leaves the queue (#3393).

Closes #3556

Change: openspec/changes/archive/2026-11-06-3556-rewrite-a-merged-plan-and-leave/

@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 6, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test results:

  • Targeted: tests/roadmap and the plan-recheck and plan-check command tests passed (4771 passed, 1 skipped). Re-run after the last rebase: 39 passed in the three plan-rewrite and plan-recheck files.
  • ruff, mypy, devops ci docs and devops openspec check pass.
  • Full CI on the author side: static gates pass. pytest had 2 failures and 1 error in files this change does not touch (test_devcontainer_install_tools_dry_run, test_tool_executor_contract popeye path). They depend on host tools.
  • No fail-to-pass run: this is a feature. The tests were written first and failed on the base.

Doubts:

  • --confirm writes the folders of the default branch only. A checkout with other plan text refuses.
  • Files with CRLF line ends would get LF. No repository file has CRLF.
  • A group that changes no test file and no document stays new-plan by design.
  • Two sample paths with one file name give two equal bare names. A person checks the diff.
  • The 5 rewrite folders of the repository are not rewritten here.

@dan-petty
dan-petty marked this pull request as ready for review November 6, 2026 19:08
@dan-petty
dan-petty merged commit 7ea287b into main Nov 6, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/3556-plan-recheck-rewrite branch November 6, 2026 19:10
dan-petty pushed a commit that referenced this pull request Nov 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.72.0](v0.71.1...v0.72.0)
(2026-11-06)


### Features

* **roadmap:** rewrite a merged plan with plan-recheck
([#3832](#3832))
([7ea287b](7ea287b))


### Bug Fixes

* **roadmap:** refine job failure is no person wait
([#3833](#3833))
([378579a](378579a)),
closes [#3632](#3632)
* **roadmap:** the draft of a stopped step closes its issue
([#3831](#3831))
([5ca91e0](5ca91e0))


### Code Refactoring

* **mcp:** MCP tool tests install a dispatcher
([#3834](#3834))
([e50d0dc](e50d0dc)),
closes [#3760](#3760)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): rewrite a merged plan and leave out one with no way forward

1 participant