Skip to content

docs(openspec): fix plan #2946 retry once, name skip classes - #3067

Merged
dan-petty merged 2 commits into
mainfrom
docs/2946-fix-plan
Nov 1, 2026
Merged

dan-petty merged 2 commits into
mainfrom
docs/2946-fix-plan

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

This pull request corrects the plan of issue #2946 in place. The Service staged the plan in pull request #2958. An evaluation on 2026-11-01 found defects in it.

The corrected plan keeps the closed list of skip classes. It sets the verdict not-applicable for a skip-class item with no model call. For every other item it gives the model one more turn when a reply follows no search. A second reply with no search ends as a failed check. The model can no longer give not-applicable.

The plan now names the right test file for investigate, lists the Verdict docstring that the change makes wrong, and states that the base rule of one agent run holds for non-skip items only.

The change touches only the change folder of #2946. It changes no code and no test.

Plans #2946

The plan named a test path that does not exist and read no file. It left open how the retry works and how a stack trace is found. It also kept the refusal of not-applicable and the new rule in conflict.

The plan now uses the pydantic-ai output validator for the retry, reads the title type with commit_type, adds the spec delta as ADDED requirements only, and maps each acceptance criterion to a group.
@dan-petty dan-petty added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 1, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Changes

  • Fix plan commit ce4a851: rewrote the plan in place (retry once, skip classes, premise held).
  • Commit de98f0a, three minor findings of the verification:
    • Impact and the verify commands of tasks 2.2 and 2.3 now name tests/roadmap/test_roadmap_refine_investigation.py as the pin of investigate. test_roadmap_refine.py stays as the indirect user.
    • Group 2 now changes the Verdict docstring in src/devops_cli/roadmap/store.py (task 2.4, Changes line, Impact). Reason: NOT_APPLICABLE now means a skip class.
    • The spec delta has a scenario that says the base rule of one agent run holds for non-skip items only. I did not MODIFY the base requirement, because of the overlap with fix(roadmap): a failed alternatives check skips its item and does not fail the round #2949. I first put the sentence in the requirement text, but the check warns above 500 characters, so it is a scenario now.

Evaluation findings

All findings of the verification were reproduced on origin/main and fixed. No finding was rejected.

Verification

  • openspec validate 2946-the-alternatives-check-must-search-before --strict: valid.
  • uv run devops openspec check: passed.
  • uv run pytest tests/invariants/test_change_folders.py -n 0 -q: 17 passed.
  • Pre-commit and pre-push hooks ran and passed. I did not run the full devops ci, because the change touches no code.

@dan-petty
dan-petty marked this pull request as ready for review November 1, 2026 13:52
@dan-petty
dan-petty merged commit 0137d65 into main Nov 1, 2026
19 checks passed
@dan-petty
dan-petty deleted the docs/2946-fix-plan branch November 1, 2026 14:00
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/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant