Skip to content

fix(roadmap): skip a failed alternatives item, not the round - #3123

Closed
dan-petty wants to merge 5 commits into
mainfrom
fix/2949-a-failed-alternatives-check-skips-its
Closed

dan-petty wants to merge 5 commits into
mainfrom
fix/2949-a-failed-alternatives-check-skips-its

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Requested by D · project thread

A failed check of one item no longer fails the alternatives round. On 2026-10-30 one item (UnexpectedModelBehavior on #1127) failed 3 rounds in a row, and the Service suspended the row for the whole repository.

Closes #2949

Change: openspec/changes/archive/2026-11-01-2949-a-failed-alternatives-check-skips-its/


Generated by Claude Code

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PeiMDokwZ2G38Cktk2JiKu
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 1, 2026 — with Claude
@dan-petty dan-petty self-assigned this Nov 1, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 1, 2026 23:07

Copy link
Copy Markdown
Owner Author

Fail-to-pass evidence: the check run Fail-to-Pass Check passed. The changed tests of tests/roadmap/test_roadmap_alternatives.py fail on the base and pass on this branch.


Generated by Claude Code

Keep both new imports in config/settings.py: the retry setting of this branch and the repair-rounds setting from main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PeiMDpmR6xFNcc2JYLGs4y
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PeiMDokwZ2G38Cktk2JiKu

Copy link
Copy Markdown
Owner Author

This pull request closes without a merge. #3127 was stacked on this branch, and its squash commit 099c689 put all of the #2949 change into main: the retry delay, the failure record, the archived change folder and the tests.


Generated by Claude Code

@dan-petty dan-petty closed this Nov 1, 2026
@dan-petty
dan-petty deleted the fix/2949-a-failed-alternatives-check-skips-its branch November 17, 2026 08:49
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/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): a failed alternatives check skips its item and does not fail the round

2 participants