Skip to content

fix(openspec): accept every Verification line of an active plan - #3809

Merged
dan-petty merged 4 commits into
mainfrom
fix/3595-accept-active-plan-verification
Nov 6, 2026
Merged

dan-petty merged 4 commits into
mainfrom
fix/3595-accept-active-plan-verification

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

An invariant test now sends every Verification span of every active plan to the same parser that the implement step uses. A plan with a span that the step refuses now fails the test, with path, line and command. This stops the step from blocking on a plan that was written in a grammar it does not accept.

The 13 refused spans of the plans of #3187 and #2610 are written again in the grammar of the step. Each line keeps its check. This rewrite replaces the exception list that #3579 proposed, because every refused line can be written in the grammar.

Closes #3595
Change: openspec/changes/archive/2026-11-06-3595-every-active-plan-verification-line-is-accepted/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/openspec OpenSpec changes, specs and their checks labels Nov 6, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test results and notes for review.

Fail-to-pass: uv run devops ci fail-to-pass --base origin/main shows 1 failed on the base (test_every_verification_line_of_an_active_plan_is_accepted_by_the_step, which lists the 13 refused spans of plans 2610 and 3187) and 33 passed in tests/invariants/test_change_folders.py. On HEAD all 34 tests pass.

Other runs: uv run devops openspec check passed. ruff check and ruff format passed. The full uv run devops ci was not run by hand; CI runs it.

Scope of the issues: this pull request closes #3595. #3579 asked for an exception list for the same refused lines. The rewrite in this pull request makes that list not needed, so #3579 is delivered by the same change. The pull request check allows one Closes line, so a person or the merge process must close #3579 as superseded by #3595.

Doubts:

  • The rewritten lines of plan 3187 use literal git grep -nF patterns in place of a regex. A literal cannot tell a monkeypatch string target from the new path. The plan relies on its group 9 invariant test for that. The design records this.
  • The owners of plans 2610 and 3187 should review the new lines, because the rewrite changes their checks slightly.

@dan-petty
dan-petty marked this pull request as ready for review November 6, 2026 17:23
@dan-petty
dan-petty merged commit e999bfe into main Nov 6, 2026
23 checks passed
@dan-petty
dan-petty deleted the fix/3595-accept-active-plan-verification branch November 6, 2026 17:33
dan-petty pushed a commit that referenced this pull request Nov 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.70.1](v0.70.0...v0.70.1)
(2026-11-06)


### Bug Fixes

* **k8s:** key claim table by chart version
([#3812](#3812))
([555280f](555280f))
* **openspec:** accept every Verification line of an active plan
([#3809](#3809))
([e999bfe](e999bfe))

---
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/openspec OpenSpec changes, specs and their checks type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): accept every Verification line of an active plan

1 participant