Expand description
echo-authority-core — a reference implementation of the Echo Authority Protocol, Draft 0.1.
This crate is a SECOND, INDEPENDENT implementation of the deterministic Border Control verifier and the attenuation-only delegation rule. It exists to prove the protocol is a shared language, not one company’s server: given the same Authority Object, the same Invocation, and the same verifier state, this Rust code MUST return the identical verdict as the TypeScript reference at /protocol.
The verifier is deliberately boring. No model, no heuristics, no network. Every decision falls out of the object’s own declared bounds.
Structs§
- Attenuation
Result - Authority
Object - Border
Result - Constraints
- Delegation
- Invocation
- Json
Verdict - The outcome of evaluating a request: the canonical verdict JSON plus whether it allowed.
- Revocation
- Scope
- Verifier
State - Mutable verifier state — what the gateway knows at decision time.
Enums§
Constants§
Functions§
- border_
check - canonical_
authority - canonical_
invocation - check_
attenuation - evaluate_
json - Evaluate a
{ authority, invocation, state }request document and return the canonical verdict{ "decision", "reason", "receipt" }. Deterministic; never panics. - reason_
str - The stable, human-readable name of a reason code (matches the TypeScript reference).
- resource_
within