feat(materialization): expose committed local signer#156
Open
marcus-pousette wants to merge 1 commit into
Open
feat(materialization): expose committed local signer#156marcus-pousette wants to merge 1 commit into
marcus-pousette wants to merge 1 commit into
Conversation
54444ee to
60950b7
Compare
57d1e97 to
42307e6
Compare
Collaborator
Author
|
Moving this back to draft after the repository-wide audit. The current branch still holds a SQLite savepoint across async authorization, which the #193-#195 stack intentionally replaces, and it does not wire signer metadata from a real auth session. Rebuild this after #195 so signer metadata is attached only to the revalidated committed outcome, validate the real 32-byte signer key, and cover the actual session integration. |
42307e6 to
0370abc
Compare
21c9a88 to
e054eaa
Compare
0bd1b0f to
cfb93d6
Compare
e054eaa to
8069ef0
Compare
8069ef0 to
871d990
Compare
cfb93d6 to
dc9fe2e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goal
Expose the verified signer public key on materialization changes produced by authenticated local SQLite writes.
Applications can attribute the committed change without re-reading the proof store or trusting metadata supplied separately by an auth session.
What changes
committedOp.meta.id.replica.Clean-slate choice
There is no optional
authSession.signer, signer decoder, savepoint bridge, alternate commit path, or compatibility fallback. The signer identity comes from the exact operation whose proof and operation committed atomically in #195.Remote signer propagation remains separate because it must come from the proof accepted at the remote commit boundary.
Fast paths
Size
4 files, +100/-18 relative to #195. Production behavior is 34 changed lines, roughly half the stale draft's signer bridge; the remaining diff is focused coverage.
Verification
Stack
Rebuilt cleanly on #195.