Built to be argued with.
An authorization layer holds the decisions, not the payloads. Aprve is designed so that a compromise of the ledger does not hand over customer data, and a compromise of the transport does not silently rewrite a decision.
What Aprve stores
What leaves Aprve
Access and separation
Records are append-only. Sequence numbers are monotonic per client and each record commits to the hash of its predecessor, so removal or alteration is detectable by recomputation rather than by trusting the operator. A correction is a new record that references the original; both remain.
Verification recomputes the hash from the stored fields and checks the declared link to the previous record. The result is a boolean plus the recomputed digest, published without authentication.
hash_chain is the default: the chain is the proof, and no secret is involved.
hmac_sha256 signs every decision response with a per-client secret over a documented canonical string, so a caller can prove the response came from Aprve and was not altered in transit. Rotate the secret from the client page; the previous one stops working immediately.
Next on this path: Ed25519 with a published JWKS endpoint, then keys held in an HSM. The canonical string and the call site do not change when that lands.
Fail-closed, by construction
No active policy denies. An unmatched action denies. An expired gate applies its configured default and labels it a timeout. A revoked or expired token denies before policy is read. The only path to an allow is a rule that says so, and the response names that rule.
