Repository navigation
Notes and the completion guard share one command outcome - #2298
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Scratch check exits were diagnostic but their parent shell failure remained an independent obligation after green checkout checks. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…me guard debt Refused, cancelled and timed-out attempts remain owed until later current measured coverage. Real failures and unknown shell context remain blocking. All guarded reports use the same three unchanged or six total refusal bound. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…very Co-Authored-By: Claude Opus 5.5 <[email protected]>
Share the ordered verification environment schema between observation and unrun coverage. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…un debt Older passes cannot borrow chronology from a newer journal occurrence of the same command. Legacy records without call IDs require an unambiguous occurrence. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bind fixture check receipts to their public tool invocation IDs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A historical passing check cannot certify an unmeasured completion after a newer refusal. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…eal run The fixture journal must append: writing from an earlier file offset could overwrite a refusal before its measured rerun. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Legacy output cannot invent interruption status; launch acknowledgements remain started until measured evidence qualifies. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…asses Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The matching-command regression exposed a real guard bypass: lowering a measured pass to completed skipped preservation of an unfinished background shell. Keep that obligation under the existing guard coverage rules without relaxing publication. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…bserver Co-Authored-By: Claude Opus 5.5 <[email protected]>
Completion wakes could consume the next positional model response before its typed message existed, producing legitimately unsourced tasks on both the PR and app/v3. Drive proposals from the actual request transcript while retaining every source, identity, checkpoint and reopen assertion. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A Submit attached to an existing wake returns that wakes stream, which can close before the turn answering the queued message. Wait for the stubbed task completion and the conversation to become idle so repeated words remain separate requests. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
What changes
A step's execution notes said "completed" for a command that never ran. In a real job, a command refused for needing approval, with nobody attached to approve it, reached later briefs as completed. The completion guard read the same results its own way, so a step could stay held after a passing rerun.
Notes and the guard now share one outcome.
passedmeans one thing: every check in the call has a measured exit of 0, and the command has no shell form that could hide a failure. Text a command printed can never producepassed; it can only lower an outcome.failed, includingcargo test; truerefused, with the reasoncancelled, with the reasontimed out, with the reasonstarted. A later measured exit decides.;,||, single&, newline,$(or backtick in the command:completed, unless a measured exit failedPR validation goes by each command's last outcome and publishes only
passed.For the completion guard:
-runargument.Limits
PASSwith no measured exit used to publish; this also changes old journals, which readcompleted.go test ./a; go test ./bpublishes nothing even when both pass.&&chains and|pipes still publish.bash -c 'go test ./...',sh script.shandmake testpublish nothing, as before.Validation
cmd/codeaf/factory_publish_matrix_test.go: a table of commands, output, producer status, measured exits, compound calls and reruns, stating for each whether it publishes. Eight rows failed before the fix, including a measured exit of 7, a printedPASS, and a passed check whose rerun failed.outcome="completed" want "refused",background exit=1 published as passed,wider measured pass retained quoted refused probe,TestReceiptCompoundCheckExits/zero_then_nil,hidden_command_failure publishes=true want=false.completed.cmd/codeaf,internal/factory,internal/factory/verification,internal/manual, go vet: pass.internal/sessionfails only its five known red tests on the base.🤖 Generated with Claude Code