DPU Engine
The Problem
When organizations adopt AI, decisions get faster. But one question becomes unanswerable: “Why was this decision made, on what basis, and under whose approval?”
This isn’t solved by logging more. Decisions must be designed as provable units.
What is DPU?
DPU (Decision Proof Unit) is a sealed proof structure that bundles input data, applied policies, AI reasoning, approval chains, and hash links into a single tamper-evident unit.Three Design Principles
1. Point-in-Time Capture
DPU stores a snapshot of the applied policy at the moment of decision. Even if the policy changes later, you can always verify whether the decision was legal at the time.2. Hash Chain Integrity
Every DPU references the previous DPU’s hash, forming a sequential chain. If any record in the chain is tampered with, all subsequent hashes become inconsistent — immediately detectable.3. Governance Guards
Before a DPU can be sealed, it must pass through a series of verification steps. Evidence level, human review, risk threshold, dual approval — all policy-defined conditions must be satisfied.3-Layer Architecture
DPU Core — Pure Computation Engine
DPU Core has zero external dependencies. This is intentional.- Hash Chain: Each DPU takes the previous DPU’s hash as input, forming a sequential chain verifiable at any point
- Canonicalization: Normalizes data so identical content always produces identical hashes regardless of JSON key order, whitespace, or encoding
- Policy Hash: Hashes the policy document itself for integrity — compare creation-time hash with current hash to detect policy changes
- Envelope: Packages all components into a single sealed unit
Core has no external dependencies because proof reliability depends on computational determinism. Same input must produce same output everywhere, and library version changes must never alter hash results.
DPU Pro — Governance Layer (v2+)
The governance guard system is designed and the
@cronozen/dpu-pro package structure exists, but the 5-guard pipeline is not yet active in v1. v1 uses single-approval sealing via the Proof API.
Guard 2 — Human Review
Guard 3 — Risk Threshold
Evaluates whether the decision’s risk level (
LOW, MEDIUM, HIGH, CRITICAL) falls within policy-allowed thresholds. Combined with data sensitivity (PUBLIC, INTERNAL, PII, PHI).
Guard 4 — Dual Approval
High-risk decisions require two independent approvers. Self-approval is blocked.
Guard 5 — Compliance Logging
All guard results (pass or fail) are permanently logged. Guard bypass attempts themselves become evidence.
Connector Layer — Storage Abstraction
DPU Core defines aDPUStorageAdapter interface. The connector implements it. Currently Prisma + PostgreSQL is provided. Core doesn’t know Prisma exists.
Evidence Levels
Version Scope
v1 (Current): Record → Approve → Hash Chain Seal → Export. Single approval policy, API key auth, SDK (
npm install cronozen).v2+ (Planned): 5 governance guards, policy snapshot, 6W auto-extraction, voice input, responsibility graph, dual approval, risk threshold guards. See Proof Pipeline Roadmap.Packages
Export Format
DPU records export as JSON-LD v2:Audit: DPU vs Traditional Logging
Traditional system:Audit System
- Append-only SQL protection — audit logs cannot be modified or deleted
- 12 event types tracked across all operations
- All
basePrismacross-center operations are audited - Guard failures are permanently recorded as DENIED events