# Build a Continuous Software Engine > A conceptual guide to building a deterministic engine around coding agents so your repository makes continuous, verified progress without babysitting. Stop trying to make an AI finish a giant task in one great prompt. Wrap fresh coding agent sessions inside a deterministic orchestrator that owns durable state, independent verification, crash and livelock recovery, non-blocking human steering, and Git-native multiplayer coordination. Companion story: [Building a Continuous Software Engine the Hard Way](https://jonmagic.com/posts/building-a-continuous-software-engine-the-hard-way/) ## Core Ethos - The deterministic orchestrator owns the loop: ordinary software controls state transitions, leases, timeouts, retries, and landing. - Design for failure first: expect hung processes, dropped networks, model oscillation, and merge conflicts. - Non-blocking over blocking: waiting for human approval or network recovery must never freeze unrelated ready work or hold worker slots. - Favor focus over features: small, single-purpose goals land cleanly, isolate blame, and stay easy to review. - Git and files over chat history: treat context windows as disposable RAM and store intent, contracts, and landed outcomes in Git. - Approachable, human-readable evidence: save raw command output, diffs, review verdicts, and rollback reasons as plain files. ## Chapters - [Overview & Ethos](https://thisistheway.to/engine): From prompting to engine architecture, the six core ethos rules, high-level loop diagram, and map of the five primitives - [1. State & Contracts Outside the Context Window](https://thisistheway.to/engine/state-and-contracts): Content-hashed Markdown goal contracts, isolated disposable Git worktrees, commit trailers as recovery source of truth, raw evidence directories, and a local transactional ledger with leases and monotonic fencing tokens - [2. Independent Verification & Transactional Landing](https://thisistheway.to/engine/verification-and-landing): Separating builders from judges with deterministic gates, fresh-context independent review, rebase-then-verify pre-landing health checks, and automatic culprit-only rollback that spares innocent commits and never reverts human commits - [3. Never Getting Stuck: Watchdogs, Recovery & Liveness](https://thisistheway.to/engine/liveness-and-recovery): Detached process-group watchdogs with owner-death signaling, livelock detection, network-drop parking without burning retries, strategy rotation, oscillation and file-reversal guards, and unifying scheduler readiness into one pure decision model with exhaustive finite-state liveness tests - [4. Ambition, Self-Improvement & Human Steering](https://thisistheway.to/engine/ambition-and-steering): Unified Intent -> Just-in-Time Decomposition -> Tiered Admission (auto vs. human-gated) -> Verified Execution pipeline for complicated requirements, non-blocking approval parking with accumulated feedback, recurring-failure self-improvement, and metric-gated experiments - [5. Multiplayer & Multi-Machine Coordination](https://thisistheway.to/engine/multiplayer-coordination): Pluggable admission transports (ticket-to-PR proposals, design docs, or CLI) divorced from core orchestration, bidirectional sync via in-memory 3-way merge pull and verified fast-forward-only push, atomic remote Git ref leases with TTL, heartbeat, and clock-skew margin, and landing-time trailer deduplication