Skip to content

fix(framework): fail closed on a missing checklist verdict#240

Merged
suleimansh merged 1 commit into
mainfrom
suleimansh/fix/missing-verdict-fail-closed
Jul 4, 2026
Merged

fix(framework): fail closed on a missing checklist verdict#240
suleimansh merged 1 commit into
mainfrom
suleimansh/fix/missing-verdict-fail-closed

Conversation

@suleimansh

Copy link
Copy Markdown
Member

A checklist reply that never ends with the required { blockers } verdict was coerced to empty blockers, which is the pass signal, so an unverifiable reply could be scored production-grade and stop the loop. (ai-autopilot's own isPassing() already says a missing verdict is not passing; the framework layer defeated it.)

Now a missing verdict surfaces a concrete blocker, so the loop re-prompts and, at maxPasses, stops with it rather than declaring the app done. Flipped the one test that asserted the old behavior.

Closes #239

A checklist reply with no parseable { blockers } block was coerced to
empty blockers, which is the pass signal, so an unverifiable reply could
be scored production-grade and stop the loop. Surface a concrete blocker
instead so the loop re-prompts (and stops with it at maxPasses).

Closes #239
@suleimansh suleimansh added bug Something isn't working priority: medium Worth doing, not urgent labels Jul 4, 2026
@suleimansh suleimansh self-assigned this Jul 4, 2026
@suleimansh suleimansh merged commit 1259282 into main Jul 4, 2026
2 checks passed
@suleimansh suleimansh deleted the suleimansh/fix/missing-verdict-fail-closed branch July 4, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working priority: medium Worth doing, not urgent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(framework): a missing checklist verdict should not count as production-grade

1 participant