Skip to content

fix: coordinate concurrent local writes - #72

Merged
creatornader merged 1 commit into
mainfrom
fix/local-write-coordinator
Jul 26, 2026
Merged

fix: coordinate concurrent local writes#72
creatornader merged 1 commit into
mainfrom
fix/local-write-coordinator

Conversation

@creatornader

Copy link
Copy Markdown
Owner

Summary

  • serialize all file-backed local-authority mutations with a durable token-checked SQLite lease
  • preserve upgrade compatibility and add multi-process, crash, checkpoint, and live-lease coverage
  • document the shared SQLite writer boundary

Verification

  • HOME=$(mktemp -d) npm run check
  • local 21-process post/get/receipt contention test

Existing MCP processes need a normal host restart to load the new executable; this PR does not interrupt active clients.

@creatornader
creatornader force-pushed the fix/local-write-coordinator branch 2 times, most recently from e654f88 to 9c0c9f6 Compare July 26, 2026 22:41
@creatornader
creatornader force-pushed the fix/local-write-coordinator branch from 9c0c9f6 to d548cfb Compare July 26, 2026 22:48
@creatornader
creatornader enabled auto-merge (rebase) July 26, 2026 22:56
@creatornader
creatornader merged commit e6255a4 into main Jul 26, 2026
23 checks passed
@creatornader
creatornader deleted the fix/local-write-coordinator branch July 26, 2026 23:40
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