Skip to content

fix: require unambiguous shell receipts for task verification - #368

Merged
BunsDev merged 1 commit into
mainfrom
cf7-check-chain
Oct 21, 2026
Merged

BunsDev merged 1 commit into
mainfrom
cf7-check-chain

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

A successful shell receipt could mark an edited turn verified even when pnpm test || true masked 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.

@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Oct 21, 2026 4:49am UTC

Request Review

@BunsDev
BunsDev enabled auto-merge October 21, 2026 04:58
@github-code-quality

Copy link
Copy Markdown

Code coverage overview

Languages: TypeScript

TypeScript / code-coverage-agent

main 44518f2 cf7-check-chain 449f854 +/-
65% 65% 0%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

This branch was successfully deployed

1 active deployment
Preview — 449f854f Deployed Oct 21, 2026 by vercel[bot]
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