Skip to main content
Every capability this codebase has, no matter how small, explained by reading the actual source rather than trusting other documentation. Written 2026-09-16 and checked against the code that exists today; where it and the code disagree, the code wins and the chapter is fixed.

How each chapter is structured

Every chapter answers the same six questions, in the same order:
  1. What it is. One paragraph, plain language.
  2. Why it was built. The real problem, usually quoted from the source’s own comments.
  3. How it works. Traced to real files, usually with line numbers.
  4. How it enables things, with an example. A real tutorial or test that proves the behavior, or an honest note that none exists yet.
  5. How to validate it yourself. The exact files to open.
  6. Integration requirements, where applicable: env vars, config, external dependencies.

Chapter 1: Trust Model and Domain Model

Chapter 2: Configuration and Bootstrapping

Chapter 3: Cryptography

Chapter 4: The Policy Engine and Evaluation

Chapter 5: Signal Binding and State Verification

Chapter 6: Capability and Policy Binding

Chapter 7: Policy Governance and the Maker-Checker Flow

Chapter 8: The Runtime Pipeline

Chapter 9: The Execution Authorization Envelope

Chapter 10: The Execution Gateway

Chapter 11: Credential Isolation

Chapter 12: Connectors

Chapter 13: The Storage Layer

Chapter 14: The API and HTTP Boundary

Chapter 15: Caller Authentication and Scoping

Chapter 16: Rate Limiting

Chapter 17: Audit and Evidence Trails

Chapter 18: Independent Verification

Chapter 19: Health and Readiness

Chapter 20: Integrating Parmana

Chapter 21: Deployment

Chapter 22: Testing Philosophy

Download the PDF

Single-file download. Just an email address, no verification step.