Repository navigation
fix(P0): fail-closed evidence and honest Temporal-to-Mongo reconciliation - #148
Merged
Rafa-Innerchispa merged 9 commits intoOct 12, 2026
Conversation
…ve or partial writes
Rafa-Innerchispa
marked this pull request as ready for review
October 12, 2026 14:53
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.
P0 safety correction: evidence and workflow truth for ALL agents
Audit on 12 Oct 2026, after new Cursor commits
0e5acb97,911f9379,a7553157and435863a9inmain.Two independently verified defects
execution_receipts.completion_evidence_from_worktreedefaultedtest_exit_code=0even if no tests ran. New behavior: absent test result stays absent; only explicit real exit code is recorded; failed tests fail the receipt. This applies to Cursor/Codex/Antigravity and internal runners.reconcile_ops_mongo_temporal.pytreated Temporal RPCCOMPLETEDas business task completed, but Temporal workflows return{"status":"failed"}even when the RPC completes. Now read the returned workflow result, require the completion gate for coding before markingcompleted, do not mutate tasks on Temporal transport failure, and use a compare-and-set projection to avoid overwriting new claims.Tests and impact
ops_f46a62594c73currently sayscompletedwhile preserving a historicalverification_error; do not wipe it or mark every provider certified.ops_1369791f60a0(AMD) andops_cb8cafe5c2f4(Intel) are read-only Cursor interactive canaries. They do not demonstrate unattended Composer editing for all providers.ops_ba6e885a1cf3is a local product-write canary with a real objective path but no commit SHA in agent_result; release still needs commit/test/provenance.COMPLETED.Merge only after CI PASS and code review. Then ensure runtime imported SHA matches
mainon AMD/Intel and new terminal canaries; do not start duplicate worktrees or deploy simultaneously with Cursor.