Skip to content

docs(openspec): plan #2946 enforce search in alternatives check - #2958

Merged
dan-petty merged 1 commit into
mainfrom
fix/2946-the-alternatives-check-must-search-before
Oct 31, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/2946-the-alternatives-check-must-search-before

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #2946

The alternatives check lets the model decide whether to search for open tools. Over 14 days it searched about 4 times and returned not-applicable every time, including for a feature that integrates two products (#2946). This change adds a fixed rule that names the skip classes: Conventional Commit types test, docs, refactor, chore, ci, perf, and a fix of an internal defect with a stack trace and no new capability. For those, the verdict is not-applicable with the class as the reason, with no model call. Every other item must run at least one search before the check accepts any verdict. A reply with a verdict and no search is rejected, and the model gets one turn to search. A second answer without a search ends as a failed check. The classes live in one constant list with a table test.

Change: openspec/changes/2946-the-alternatives-check-must-search-before/

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review October 31, 2026 23:31
@dan-petty
dan-petty merged commit 44d59d6 into main Oct 31, 2026
18 checks passed
@dan-petty
dan-petty deleted the fix/2946-the-alternatives-check-must-search-before branch October 31, 2026 23:43
dan-petty added a commit that referenced this pull request Nov 1, 2026
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant