Skip to content

Harden write confirmation and mutation handling - #1

Merged
colinds merged 3 commits into
colin/browser-cookiesfrom
colin/write-safety
Aug 25, 2026
Merged

colinds merged 3 commits into
colin/browser-cookiesfrom
colin/write-safety

Conversation

@colinds

@colinds colinds commented Aug 24, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • replace reusable HMAC confirmations with process-local, single-use stored write plans
  • execute the exact previewed mutation at most once and distinguish definite rejection from an unknown outcome
  • fix directly coupled session, cookie, delegation, and password-input issues

This keeps one current confirmation contract. It does not add legacy token or session migration paths.

Verification

  • bun run check
  • packaged smoke test with Bun and Node

Stack: 2 of 4. Depends on #5; followed by #2.

@colinds colinds changed the title Harden writes and session handling Harden write confirmation and mutation handling Aug 24, 2026
@colinds
colinds marked this pull request as ready for review August 24, 2026 22:35
@colinds
colinds changed the base branch from main to colin/browser-cookies August 24, 2026 23:43
@colinds
colinds force-pushed the colin/write-safety branch 2 times, most recently from 332fde6 to eec473a Compare August 24, 2026 23:47
@colinds
colinds force-pushed the colin/write-safety branch from eec473a to 3f650a1 Compare August 25, 2026 00:01
@colinds
colinds force-pushed the colin/write-safety branch from 3f650a1 to c37afbe Compare August 25, 2026 00:11
@colinds
colinds force-pushed the colin/write-safety branch from c37afbe to 5ceeec6 Compare August 25, 2026 00:35
@colinds
colinds merged commit 7de280d into main Aug 25, 2026
4 checks passed
@colinds
colinds deleted the colin/write-safety branch August 25, 2026 00:42
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