Audit ledger

Append-only audit and financial proof across orders, revenue, spend, tools, models, and approvals.

Keyboard: / focus search Cmd/Ctrl+K open command menu
Status: implemented Version: latest Review: source-backed Last scanned: 2026-06-25T00:00:00Z Review required: false

Audit ledger

Append-only audit and financial proof across orders, revenue, spend, tools, models, and approvals.

Proof ledger

The ledger reads durable orders, Stripe webhooks, RevenueEvent rows, spend events, run events, tool calls, model decisions, approvals, artifact records, and audit hashes.

Ledger source What it proves
Order and RevenueEvent Money entered the system and became work
StripeWebhookEvent Payment proof was received idempotently
Deal and CRM activity Business context exists in the built-in CRM
AcquisitionRun and RunEvent Operational work started and changed state
ToolCall External side effect was allowed, denied, or failed visibly
ModelDecision Model work happened through a governed route
ApprovalEvent A human approved, denied, or edited high-risk work
Artifact A deliverable was generated, linked, and access-controlled
AuditEvent System actions have an explainable trail

It is operational proof, not mock-provider decoration. Sample and fallback rows must be labeled honestly and must never be presented as live production proof.

Official references

System Use in Trinity Official docs
Hermes Hosted agent runtime and skills context Hermes Agent docs
Jido Narrow policy/firewall action seam Jido Actions and Workflows
NVIDIA Nemotron scoring, safety, and QA decisions NIM LLM API reference
Stripe Checkout, webhooks, revenue proof, guarded spend Checkout Sessions API
Gmail Drafts, sends, aliases, scopes, inbound replies Gmail API scopes
Phoenix/Oban/Postgres Control plane, durable jobs, source-of-truth data Phoenix LiveView

Source paths

  • lib/autonomous_agency/audit.ex
  • lib/autonomous_agency/revenue/ledger.ex
Was this page useful? Source-backed feedback keeps public docs honest.