Skip to content

feat(authorityquorum): add distributed approval binding - #30

Merged
thinksyncs merged 1 commit into
mainfrom
feat/authority-quorum-binding
Aug 23, 2026
Merged

feat(authorityquorum): add distributed approval binding#30
thinksyncs merged 1 commit into
mainfrom
feat/authority-quorum-binding

Conversation

@thinksyncs

Copy link
Copy Markdown
Collaborator

Summary

  • Add a generic k-of-n authority approval binding for distributed brokers.

Changes

  • Bind ASB-verified credentials and exact operation digests to stable authority slots.
  • Add an atomic approval, revocation, and quorum-consume store contract with a concurrency-safe demo store.
  • Add TLS-derived binding, strict JSON schema validation, security-focused tests, documentation, and a 2-of-3 demo.

Testing

  • go test -race -count=1 ./pkg/authorityquorum/... ./schemas ./examples/authority-quorum-demo
  • go test -race -count=20 ./pkg/authorityquorum/... with concurrency and expiry filters
  • go vet ./pkg/authorityquorum/... ./schemas ./examples/authority-quorum-demo
  • go mod verify
  • go run ./examples/authority-quorum-demo
  • git diff --check
  • Codex Security diff review: no reportable findings

The repository-wide race test was also attempted. Existing tests that require local listeners, external network access, or sudo could not run in the sandbox.

Notes

  • MemoryStore is demonstration-only. Production requires a shared durable transaction or linearizable CAS.
  • This change distributes approval authority. Secret-share storage, reconstruction, and idempotent external release remain separate deployment responsibilities.

@thinksyncs
thinksyncs merged commit 1e7ebf8 into main Aug 23, 2026
15 checks passed
@thinksyncs
thinksyncs deleted the feat/authority-quorum-binding branch August 23, 2026 01:23
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