Three Surfaces You Can Trust (Map · Terrain · Ledger)
This loop gets practical when three things are explicit: what should be true, what actually runs, and what changed last time.
Mission Objects (Intent As Code)
A Mission Object is the versioned contract for a unit of work: goal, scope, constraints, budgets, and gates. It turns a vague request into something the loop can compile, run, and audit.
The Deterministic Sandwich (Keep the model in the middle)
Put the model in the middle. Wrap it with deterministic setup on one side and deterministic checks on the other. The goal is not “trust the model.” It is “trust the loop.”
Skeleton-First Rule (Prevent Map Contamination)
Extract the skeleton from Terrain first, then let the model fill prose around it. If the skeleton changes, fail the update and write a receipt.
Validator Bundles (Make “good” explicit)
Validators are the hard checks. Budgets stop the loop from grinding forever. Together they turn open-ended iteration into a bounded system.
Ouroboros Protocol (Write → Judge → Refine)
This is the retry loop behind reliable agent work: produce one bounded candidate, run deterministic checks, then retry only against the exact failure signal. Repeat until the checks pass or the circuit breaker stops the run.
Ratchets (Quality Floors That Only Move Up)
Ratchets turn quality expectations into executable law. A candidate may fail, but the floor does not move down. If a candidate passes deterministic guards, the floor moves up and future loops start from a stronger baseline.
Always-On Loops (Maintenance That Compounds)
A Dream Daemon is not a cron job. It is a bounded control loop that senses entropy, picks one target, and exits with a deterministic decision: PASS, DEFER, or ESCALATE.
Debt (left axis) vs P95 cost/outcome (right axis). The dashed marker tracks the selected week.
Sensor Hierarchy (UML-Style)
Treat Sensor as a base interface, then specialize by terrain surface. Different sensors emit different signal shapes, cadences, and confidence profiles.
Governance Envelope (Policy + Evidence)
Governance at machine speed is not just a verdict path. The model proposes, policy decides, the ledger records why, and runtime evidence hardens later Maps, policies, and Missions.