Repository navigation
fix(roadmap): make the alternatives check search before a verdict - #3127
Merged
dan-petty merged 6 commits intoNov 1, 2026
Merged
Conversation
A failed check of one item (a failed model call, a stopped run or a refused reply) is recorded in the item's job record with alternatives.failed_at and alternatives.failed_error. A written check clears both keys. The selection leaves out the item until roadmap.alternatives.retry_days (3 by default) have passed. The row and the command fail only when the run tried items and checked none. The reason of a stopped run holds the masked message of the stop. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PeiMDokwZ2G38Cktk2JiKu
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PeiMDokwZ2G38Cktk2JiKu
A closed list of skip classes, not the model, names the items that need no search: the Conventional Commit types test, docs, refactor, chore, ci and perf, and a fix whose body holds a Python traceback. Such an item gets not-applicable with its class and no model call. Every other item must search before the check accepts a verdict. A reply that follows no search gets one more turn through a pydantic-ai output validator; a second such reply is a failed check. The model can no longer give not-applicable. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PeiMDokwZ2G38Cktk2JiKu
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PeiMDokwZ2G38Cktk2JiKu
Resolve the import conflict in settings.py: keep DEFAULT_ROADMAP_ALTERNATIVES_RETRY_DAYS from this branch and DEFAULT_ROADMAP_IMPLEMENT_REPAIR_ROUNDS from main. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PeiMDmCMBS9fd3rVrBSGMW
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PeiMDokwZ2G38Cktk2JiKu
dan-petty
marked this pull request as ready for review
November 1, 2026 23:46
dan-petty
deleted the
fix/2946-the-alternatives-check-must-search-before
branch
November 1, 2026 23:46
This was referenced Nov 1, 2026
dan-petty
pushed a commit
that referenced
this pull request
Nov 2, 2026
🤖 I have created a release *beep* *boop* --- ## [0.39.0](v0.38.0...v0.39.0) (2026-11-02) ### Features * **ci:** uv, test, serve and mcp dry runs list their requests ([#3135](#3135)) ([666e183](666e183)) * **k8s:** serve gemini-3.8-flash and two Claude models ([#3117](#3117)) ([1fa3a31](1fa3a31)), closes [#3113](#3113) * **repos:** request plans for repos, branches, ssh and tls ([#3129](#3129)) ([174b82c](174b82c)) * **roadmap:** move unworkable scope to new issues during refine ([#3130](#3130)) ([a0b2cb5](a0b2cb5)) ### Bug Fixes * **github:** a refused App JWT names GitHub's reason ([#3116](#3116)) ([5ac0bea](5ac0bea)) * **roadmap:** make the alternatives check search before a verdict ([#3127](#3127)) ([099c689](099c689)) --- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by D · project thread
The alternatives check no longer lets the model decide whether to search. In 14 days the model gave only the verdict
not-applicable(about 36 checks) and made about 4 searches, also for features such as #886 and #1082.src/devops_cli/roadmap/alternatives.pynames the items that need no search: the Conventional Commit typestest,docs,refactor,chore,ciandperf, and afixwhose body holdsTraceback (most recent call last). The public functionskip_class_ofreads the type withcommit_type.not-applicablewith no model call and no search. Its comment and its body block name the class. It writes through the same path as every check: the block, the job record, the comment and the counter.investigatetakes an optionaloutput_check. The alternatives check passes one that asks for a search, and a pydantic-ai output validator raisesModelRetrywith it once, so the model gets one more turn with its history. A second reply with no search is a failed check (the reply gives a verdict with no search). Refine passes nooutput_check, so its runs do not change.not-applicablefrom the model, because the job sets it for a skip class only. The prompt tells the model to search at least once and to givenonewhen no tool covers the need.k8s/README.mdstep 14,CONTEXT.md(Alternative), the docstring ofVerdictand the generated documents state the rule. The specroadmap-alternativesholds the archived delta.Closes #2946
Change:
openspec/changes/archive/2026-11-01-2946-the-alternatives-check-must-search-before/Generated by Claude Code