caelum0x 5bd734a55f feat(toolgate): Postgres store, Mint/Rago metering, caps and OAuth 2.1 auth
- switchyard-store: Store trait with in-memory and Postgres (sqlx)
  implementations and one conformance suite; append-only hash-chained
  calls table (trigger refuses UPDATE/DELETE) written atomically with its
  outbox events and idempotency entry.
- switchyard-meter: Mint hold/capture/release/balance/checkout client
  with AITP receipt decoding, Rago tool_call events via a durable outbox
  with backoff, per-project/key/tool/send caps counting in-flight holds.
- switchyard-auth: Relay sk-t0 keys verified against Relay's own key
  table (one key for both rails), EdDSA access tokens bound to a
  resource, OAuth 2.1 AS logic: PKCE S256, DCR, client ID metadata
  documents, rotating refresh tokens with family revocation on reuse,
  device authorization grant, Scribase-backed identity.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 02:10:35 +03:00
..