Repository navigation
fix: require unambiguous shell receipts for task verification - #368
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
BunsDev
enabled auto-merge
October 21, 2026 04:58
This was referenced Oct 22, 2026
This branch was successfully deployed
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.
A successful shell receipt could mark an edited turn verified even when
pnpm test || truemasked a failure or another command wrote files after the check. Verification now requires an unambiguous chain of known checks joined with&&, optionally preceded by directory changes. Unsupported shell syntax, expansion, redirects and syntax-only wrappers do not establish a passing check.Commands that may write also invalidate earlier verification. The read-only allowlist is narrower, and the footer and saved Note use neutral wording when no check result confirms the latest changes.
Validation: new regressions were observed failing before the repair; 29 focused task-context tests passed; independent review found no further blockers in the shell-control-flow scope. Build, typecheck and all 1,973 unit tests passed (16 skipped). Full E2E passed: 376 desktop cases (6 opt-in skips), followed by all 7 site cases. Tested source hashes still match.
Related to #280. This does not establish package-script behavior, per-step/revision relevance, saved-task reopening or the remaining native/human acceptance, and does not close the issue. Evidence:
docs/reviews/2026-10-20-cf7-shell-receipts.md.