Skip to content

Bridge auth claims into materialization events#158

Closed
marcus-pousette wants to merge 3 commits into
materialization-local-auth-signerfrom
materialization-auth-claims-bridge
Closed

Bridge auth claims into materialization events#158
marcus-pousette wants to merge 3 commits into
materialization-local-auth-signerfrom
materialization-auth-claims-bridge

Conversation

@marcus-pousette

Copy link
Copy Markdown
Collaborator

Stacked draft on #156. This branch temporarily includes the auth authored-at claims work from #157 so the full path can be tested end to end.

Summary

  • Carries verified auth metadata from verifyOps through SyncBackend.applyOps.
  • Converts verified signer/authored-at claims into materializationSources for sqlite-backed TreeCRDT clients.
  • Annotates emitted materialization events with source.signer and source.time.authoredAtMs for remotely applied ops.
  • Adds focused protocol, sync-sqlite, auth, and sqlite-node coverage for the bridge.

Keep this draft until the lower stack settles.

@marcus-pousette marcus-pousette force-pushed the materialization-local-auth-signer branch from fed571f to 57d1e97 Compare May 21, 2026 15:27
@marcus-pousette marcus-pousette force-pushed the materialization-auth-claims-bridge branch from 8e04100 to e4c11bc Compare May 21, 2026 15:28
@marcus-pousette marcus-pousette force-pushed the materialization-local-auth-signer branch from 57d1e97 to 42307e6 Compare May 22, 2026 13:44
@marcus-pousette marcus-pousette added enhancement New feature or request area:auth Authorization, capabilities, proofs, signatures, crypto, and privacy area:materialization Derived tree state, replay, outcomes, events, and materialization cursors labels Jul 12, 2026
@marcus-pousette

Copy link
Copy Markdown
Collaborator Author

Closing this version because it is built around the old authoredAt / claims_json proof model. The cleaned auth stack in #157, #187, and #192 intentionally removes those claims and hands the verified signature/proof reference directly to storage for atomic commit.

Rebasing this 28-file bridge would reintroduce the schema and protocol bloat we just removed. If materialization events still need auth metadata after the new stack lands, that should be a fresh focused PR against the standard proof shape. The branch is retained for reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:auth Authorization, capabilities, proofs, signatures, crypto, and privacy area:materialization Derived tree state, replay, outcomes, events, and materialization cursors enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant