Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Reference: the template in detail

These chapters are the template's reference manual. The lessons link into them constantly, so they are included in full rather than left on GitHub.

ChapterUse it for
Architecturethe component diagram, trust boundaries and the seven segmented networks
Agent-service contractthe stable gateway↔agent routes, authentication order, SSE vocabulary, errors and provenance
Security modelidentity, sessions, service credentials and what each boundary defends
Approvalsthe opt-in signed approval: token fields, the layers, transactional integrity
Guardrailsthe Rust input, tool and output controls, their order and what they do not cover
Evaluationthe four suites, deterministic scorers, gates and provenance
Observabilitytrace structure, redaction and user attribution
Configurationevery setting, including model endpoints and deprecated NAT-era aliases
Test scenariosmanual scenarios several labs run from
Extending the templatereplacing the sample domain with your own while keeping the trust boundaries
Limitationswhat the template deliberately does not do

Three operational documents are linked rather than included: docs/VERIFICATION.md, docs/EXTRACTION-CHECKLIST.md and evaluation/README.md.

The retired NAT implementation is not another current reference tree. It is an immutable historical artifact at nat-1.9-final; the current reference manual above describes the canonical Rig/Rust implementation on main. The migration record is included separately under Framework replacement as an architectural test.