Skip to content

Keep transfer write capabilities durable - #98

Merged
sidhujag merged 1 commit into
mainfrom
agent/persist-transfer-write-capability
Aug 17, 2026
Merged

Keep transfer write capabilities durable#98
sidhujag merged 1 commit into
mainfrom
agent/persist-transfer-write-capability

Conversation

@sidhujag

Copy link
Copy Markdown
Member

Summary

  • retain each active transfer write capability in page memory instead of silently rotating it when local storage becomes unavailable
  • refresh an HttpOnly, SameSite=Strict backup cookie scoped to that transfer API path after every authorized write
  • accept the original cookie capability when a regenerated bearer is invalid, while preserving the existing hashed server-side authorization boundary
  • reuse the same recovery transport for sponsored UTXO requests and surface the actual API error

Evidence

The three supplied UTXO-side transfers successfully persisted their initial and burn updates, then all failed their later confirmation PATCH about 57 minutes later with 401. There was no deployment during that interval. Public GET remains intentionally unauthenticated and is not evidence of write access.

Verification

  • yarn lint
  • yarn test --runInBand (36 suites, 182 tests)
  • yarn build

@vercel

vercel Bot commented Aug 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bridge-testnet Ready Ready Preview Aug 17, 2026 8:32pm
syscoin-bridge Ready Ready Preview Aug 17, 2026 8:32pm

Request Review

@sidhujag
sidhujag merged commit ecdc603 into main Aug 17, 2026
7 checks passed
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