Skip to content

Record the exit of the verify command that actually ran - #355

Merged
jmjava merged 2 commits into
mainfrom
feat/verify-receipt
Oct 7, 2026
Merged

jmjava merged 2 commits into
mainfrom
feat/verify-receipt

Conversation

@jmjava

@jmjava jmjava commented Oct 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • sdlc.sh capture (code phase) and sdlc.sh complete execute --verify-command and store the observed exit, pass/fail, and executed: true.
  • A claimed --verify-exit or --verify-result that disagrees with that run is refused, and the lesson is not staged. Review still requires an executed receipt; gate_check stays enter-phase.

Test plan

  • engine/tests_unit/test_verify_receipt.py, test_workflow_gates.py, test_workflow.py
  • tests/test-verify-receipt.sh (including a claimed pass on false)
  • tests/test-gate-review-validation.sh
  • tests/test-quality-gates-constraint-honest.sh
  • CI green on this PR

Made with Cursor

jmjava and others added 2 commits October 7, 2026 19:07
A claimed --verify-exit is not evidence Validation ran, so capture and complete execute --verify-command and refuse a result that disagrees with that run. gate_check stays enter-phase.

Co-authored-by: Cursor <cursoragent@cursor.com>
Fold the executed-run test into VerifyReceipt.ran so review still
requires a command that actually ran without raising CCN.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jmjava
jmjava merged commit 8b23083 into main Oct 7, 2026
19 checks passed
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