Decisions Shouldn't Vanish When Tools Change

IRP is a protocol for capturing, validating, and querying decisions across your organization. This book explains the architecture, the design patterns, and how to apply them to your own decisions. Built from first principles. No vendor lock-in.

Start reading

What you'll learn

Ledger as source of truth

Why JSONL instead of a database. Why append-only is the only safe design. How immutable logs make decisions portable.

Derived state & conflict detection

Computing current.json from a ledger. Heuristic-based conflict detection without embeddings. Why non-blocking validation prevents friction.

Multi-source capture

Interactive capture, stdin automation, sensor architecture. How Figma, Slack, and CLI all write to the same ledger without sync problems.

The bridge pattern

Three-layer architecture for tool integration. Why sandboxed environments need a bridge. How to add new sensors without touching the core.

REST APIs & extensibility

/inherit, /why, /check endpoints. Context injection for external AI models. Cross-tool decision workflows. Sovereignty through local storage.

Real-world scaling

Team sizing (10 vs 100 people). Multi-repository setups. Ledger maintenance, archiving, and backups. When IRP matters and when it doesn't.

Part 4

A Plain-Language Guide to EU AI Act Compliance

The EU AI Act doesn't regulate AI. It regulates whose hands are on the steering wheel — and whether you can prove it. Nine chapters cover the law in plain language: why it exists, how to identify your role (Provider, Deployer, Importer), and what each key article actually requires you to document. Article 12 mandates an audit trail that saves prompts to a database won't satisfy. Article 14 demands evidence that a human was in control. Article 72 turns compliance into a permanent ongoing obligation. Every obligation maps back to the same thing: durable, portable records of decisions made and why — which is exactly what a plain ledger provides.

Who this is for

Teams building decision management systems. Every chapter ends with "Apply This" — transferable patterns with concrete adaptation advice. Use the patterns, not the code.

Architects evaluating durability patterns. Learn why ledger-as-source-of-truth matters. Understand the tradeoffs between speed, explainability, and cost.

Anyone tired of decisions disappearing. When teams change tools, decisions die. IRP makes them survive. Apply the patterns to your own decisions.

Table of contents

Part 4

A Plain-Language Guide to EU AI Act Compliance

The EU AI Act doesn't regulate AI. It regulates whose hands are on the steering wheel.

Design philosophy

IRP is built on five core principles: immutability, portability, auditability, explainability, and team autonomy.

JSONL over SQL Portability. Text survives tool death. Databases don't.
Keywords over embeddings Determinism. Same proposal always produces same result.
Derived state Consistency without sync. Rebuild from ledger, always correct.
Non-blocking checks Autonomy. Inform teams, let them decide. Warnings not blockers.
Bridge pattern Resilience. Bridges die, ledger doesn't. Decisions survive tool changes.
REST APIs Sovereignty. Decisions live locally. Tools integrate, not own.

Quick links