L8 protocol
Traditional webhook security shares an HMAC secret between sender and receiver, stored in a database on both sides: something that can be stolen, logged accidentally, or forgotten during rotation, letting anyone forge deliveries forever once it leaks. Aquifer implements L8 v0.2, a lightweight challenge-response protocol that replaces the shared secret with public key cryptography: the receiver publishes a public key, a one-time handshake proves both sides own their private keys, and every delivery afterward carries a signature verified locally in microseconds, with no database lookup and no round-trip to any authority.
Two additions in 0.2. A receiver that publishes an X25519 encryption_public_key gets its webhook bodies encrypted to that key, then signed, so a proxy or log in the middle sees only ciphertext. A target API that publishes request_schemas (JSON Schema per route) gets job bodies checked before dispatch: a mismatch is rejected with 422 instead of burning a target API call. Schema checks are off unless AQUIFER_L8_SCHEMA_VALIDATION=true.
The full protocol rationale, wire format, and a reference receiver implementation live at the L8 spec, also served locally at GET /l8-spec for an agent/script with only network access to this instance. Set L8_PRIVATE_KEY for a stable identity across restarts, or let Aquifer auto-generate one on first start.