Skip to content

Retain small payments and require affirmative wallet acceptance - #14

Open
ty-everett wants to merge 2 commits into
masterfrom
codex/payment-recovery-lab
Open

ty-everett wants to merge 2 commits into
masterfrom
codex/payment-recovery-lab

Conversation

@ty-everett

@ty-everett ty-everett commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

A payment below 2,000 sats cannot cover the SDK’s return fee. The current Reject path acknowledges its inbox message without accepting or refunding it, removing the recipient’s recovery path. Keep these messages queued, disable that action with an explanation, and allow explicit acceptance instead.

Also require paymentResult.accepted === true before removing an incoming row or funding a larger return. A generic object or negative receipt cannot establish wallet acceptance. Legacy BEEF normalization remains supported.

Nine focused safety regressions retain the baseline: six fail before the correction and three controls pass. The candidate passes all 28 source tests, TypeScript checking and the production build; the production dependency audit reports zero findings. The real PaymentList component also passes a local Chromium self-test: small return disabled, negative receipt keeps the row, and a positive receipt permits removal. Its wallet receipts and identity display are synthetic, and all external requests are blocked.

The existing Verify frontend job now retains the JSON report and rejects missing, failed, skipped or pending safety cases before its normal build/startup-size checks. Final exact-head CI 42138012470 passes; production deployment is skipped for the PR. A redundant workflow from the initial candidate was removed in favor of this existing check.

This PR does not resolve the separate fixed-relay inbox behavior, missing receiving advertisements, lost-acknowledgment send retries, or durable larger-return recovery. Those remain open payment lab requirements. No dependency or application version changes, production deployment, personal wallet connection or funds transfer is included. Native payment qualification remains required before release.

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