Expand description
SBO3L core: protocol types, request hashing, error model, signed receipts.
Re-exports§
pub use error::CoreError;pub use error::Result;pub use error::SchemaError;
Modules§
- aprp
- Agent Payment Request Protocol (APRP) v1 types.
Mirrors
schemas/aprp_v1.jsonand §2 ofdocs/spec/17_interface_contracts.md. - audit
- Audit event v1 — protocol types and chain helpers.
- audit_
bundle - Verifiable audit export bundle (v1).
- decision_
token - Decision token v1.
- error
- Error model. Mirrors §3 of
docs/spec/17_interface_contracts.md. - execution
- Sponsor-execution trait + types.
- hashing
- JSON Canonicalization Scheme (RFC 8785) and SHA-256 hex helpers.
- mock_
kms - Production-shaped mock KMS signer.
- passport
- SBO3L Passport capsule structural verification (P1.1).
- receipt
- Policy receipt v1.
- schema
- JSON Schema embedding and validation. Schema files live under
/schemas/at the workspace root. - signer
- Local dev Ed25519 signer + signer-backend trait.
- signers
- F-5: KMS abstraction. The
Signertrait and a runtime factory that selects one of four backends based on theSBO3L_SIGNER_BACKENDenv var: - threshold_
sig - FROST threshold signatures — real
frost-ed25519integration (R14 P2). - wasm_
types - Wire-shape types for the wasm-bindgen JS bridge.
- webhook
- Webhook signing + verification primitives.
- zk_
capsule - Pedersen commitments + Schnorr proof-of-knowledge for capsule privacy (R14 P1 — upgrade of #302 scaffold).