Repository navigation
PAY-002B2C2: persist Stripe pre-send retry evidence - #183
Merged
Merged
Conversation
✅ Deploy Preview for luminous-fox-7c393f ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
Closes #182
Outcome
Adds the unused server-only PAY-002B2C2 persistence boundary that records evidence immediately before a possible first Stripe POST and stops automatic retries when the exact request is no longer provably inside its conservative window.
This does not call Stripe, authorize a caller, report a provider outcome, create attempt 2, replay a response, or wire any production endpoint.
Safety invariants
checkoutRequests/{commandKeyHash}/providerAttempts/0000000001/sendEvidence/firstauditEvents/commerce_provider_send_{commandKeyHash}_0000000001Verification
Node 20 and Java 17:
Three independent read-only reviews (security, test/coverage, documentation/status) approved the exact 10-path diff with no findings.
Continuity and release truth
Officer impact: None. This is unused server-only source/test infrastructure and changes no current officer task or public behavior.
Officer documentation: None — no public content, navigation, officer duty, provider account, deployment, or production operation changes.
Deployment evidence: Source/tests only. No website publication, runmprc.com verification, Firebase deployment, Stripe/provider configuration, production read/write, or live behavior occurred. PAY-002B2C3 reconciliation, runtime adoption, protected deployment, and production verification remain open.