Engineering guide · Security

Audit And Evidence

Status: currentReviewed: 2026-07-23Audience: backend developers, test engineers, reviewers

Every sensitive decision and mutation records actor, tenant, action, resource reference, correlation ID, authorization result, assurance context, outcome, safe reason, timestamp, and evidence-chain data.

Audit logging must not include credentials, assertions, tokens, private keys, raw biometric data, or unrestricted upstream payloads. Stable identifiers may be hashed for logs where direct values are unnecessary.

When state and audit share a database, write audit intent transactionally. When they cross a boundary, use a durable outbox. A process crash between mutation and log publication must be recoverable.

Evidence packages include manifest version, run ID, commit, environment, commands, artifact hashes, test result, capability/control mapping, and claim boundary.