12 Boring Primitives Framework

Description

Nate Jones' architectural framing of Claude Code as '20% LLM, 80% plumbing,' organized into 12 primitives across three build tiers. Day One: (1) tool registry with metadata-first design, (2) permission system with four trust tiers evaluated per tool call, (3) JSONL append-only session persistence, (4) separate workflow-state vs conversation-state stores. Week One: (5) pre-turn token-budget checks, (6) streaming event architecture (tool calls emit events to all listeners, no polling), (7) structured logging with correlation IDs (session+turn+tool+timestamp), (8) verification step separate model call. Month One: (9) per-task tool-pool assembly (never load all 40 tools), (10) multi-tier compaction (Layers 1-5 at different cost points), (11) security architecture depth (18 independent modules protecting Bash alone), (12) six agent types with role specialization (explore/plan/implement/review/debug/general-purpose) each with own budget and tool subset. Claim: most custom agents implement 1/3/6, skip 2/4/5/7/8, and never reach 9-12.

Key claims

Relations

Sources

src-20260409-f5e09e325670