Repository navigation
Recover a Screens receipt after a proxy weakens its ETag - #78
Closed
raghubetina wants to merge 1 commit into
Closed
raghubetina wants to merge 1 commit into
raghubetina wants to merge 1 commit into
Conversation
An intermediary can weaken the HTTP validator on a receipt for an already published review. Verify the service-issued Plan validator and the submitted bytes before recording a replay. A mismatched receipt still leaves the journal available for recovery.
raghubetina
force-pushed
the
codex/screen-receipt-plan-validator
branch
from
November 30, 2026 17:18
77a0ebd to
ae3ac97
Compare
Contributor
Author
|
Superseded by firstdraft/firstdraft#1413. The released CLI 0.12.2 accepted the original pending receipt and cleared its retry journal after the service fix. Production verification |
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.
Draft fallback while the service-only transport change is qualified with the released CLI.
A proxy can weaken or remove the ETag on a successful Screens publication. The CLI then retains the pending request and every retry receives the same stored receipt.
Read the service-issued strong Plan validator from the receipt JSON when available. Check the exact submitted Plan bytes, Project, revision and both response digests before saving it. A conflicting header or invalid validator leaves the journal intact. Services that supply only a strong HTTP header still work.
npm run checkpassed, including 403 tests and the package smoke. A local command-line replay of the original request with a weak HTTP header reproduced the failure on v0.12.2. The candidate accepted the same revision and saved its strong validator.Docs: updated docs/commands.md.
Review: Claude Fable 5.2, approve (2 rounds, 1 documentation finding fixed).