Drenyra AI — Runtime and Contract Surface

Drenyra AI — Runtime and Contract Surface An architecture diagram generated by Archify. Entry Adapters · CLI · MCP · Architecture component Entry Adapters CLI · MCP Agents · stage, never execute · Architecture component Agents stage, never execute MissionRuntime · durable lifecycle · Architecture component MissionRuntime durable lifecycle Candidates · identity · materiality · Architecture component Candidates identity · materiality Review · proportional lenses · Architecture component Review proportional lenses Gates · fail closed · Architecture component Gates fail closed Human Approval · R2 single · R3 dual · Architecture component Human Approval R2 single · R3 dual Receipts · Ed25519-signed · Architecture component Receipts Ed25519-signed Ledger · append-only chain · Architecture component Ledger append-only chain Recovery · replays evidence · Architecture component Recovery replays evidence Contracts · frozen public surface · Architecture component Contracts frozen public surface dispatch stage plan propose lens depth R2/R3 approved resumes Legend Backend Database Security External

The path is fixed

  • • A command enters through thin adapters (cmd/, mcp/, or the library)
  • • agents/ stages a plan; missions/ — the durable runtime — decides what happens next

Authority is derived, never asserted

  • • Materiality R0–R3 sets the review depth; gates/ fails closed with needs_input
  • • A professional approves explicitly at R2 (single) and R3 (two distinct approvers)

Nothing material happens without a receipt

  • • Every material action produces an Ed25519-signed receipt
  • • The append-only ledger chains receipts so order survives any single tampering attempt