Summary
Implement the optional trust layer that upgrades A2H interactions from lightweight to auditable mode: JWS signing, strong authentication, audit logging, and replay protection.
Tasks
JWS Signing
Strong Authentication
Audit Logging
Replay Protection
Acceptance Criteria
- When trust layer is active, A2H forms require authentication before submission
- All A2H interactions produce verifiable JWS evidence
- Audit log records the full decision path: intent → auth → consent → evidence
- Replay attacks are rejected (expired timestamps, reused nonces, consumed links)
- When trust layer is off, none of this code runs (zero overhead)
Dependencies
References
Summary
Implement the optional trust layer that upgrades A2H interactions from lightweight to auditable mode: JWS signing, strong authentication, audit logging, and replay protection.
Tasks
JWS Signing
Strong Authentication
Audit Logging
StorageAdapterextension (new collection/table)GET /api/audit)Replay Protection
Acceptance Criteria
Dependencies
References