Part VI Appendices
8 min read

Appendix A: Setup and Implementation Checklist

This appendix does three things:

  1. It defines the minimal setup you need to run the examples and build your own Software Development as Code (SDaC) loop.
  2. It provides an implementation checklist (a dependency graph plus milestones).
  3. It includes a concept map so you can skim the book without memorizing the canon.

Minimal toolchain

You can implement Software Development as Code (SDaC) in any stack. The patterns in this book assume you have a small deterministic substrate that can do three things reliably: version, run, and verify.

Minimum requirements:

Optional (useful for docs or manuscripts):

Runnability legend (how to read code blocks)

This book is published for web reading, so treat code blocks as patterns unless the text explicitly marks them as runnable.

This book mixes three kinds of snippets:

  1. Runnable (companion repo): commands or file paths tied to github.com/kjwise/aoi_code. If you git clone that repo, you can run these examples as written.
  2. Runnable (adapt): realistic configs and scripts that will run once you substitute your own paths, tool names, and CI environment. They are “copy, then specialize.”
  3. Illustrative: pseudocode, sketches, and schemas that explain shape and contracts. They are not meant to run without surrounding implementation.

When provenance matters, the text calls out the source (companion repo, this repo, or “illustrative”). When it doesn’t, treat the snippet as a pattern template.

Quick sanity check (for any repo)

Before you build autonomy, verify you can deterministically reproduce reality:

  1. Run git status; it should be clean.
  2. Run a validator suite locally (lint/tests) and get a deterministic pass/fail.
  3. Generate a diff and revert it cleanly.

If you cannot do those three things, your SDaC loop is likely to be “creative,” not reliable.

Git hooks are a cheap way to push Physics earlier: run deterministic checks before changes enter history.

If you want repo-local, versioned hooks, point Git at a hooks directory inside your repo (for example .githooks):

git config core.hooksPath .githooks
git config --get core.hooksPath

Some repos also provide a convenience target for this (for example make hooks-install).

If hooks are installed, core.hooksPath should print .githooks.

Implementation checklist

The goal is not to implement every chapter. The goal is to ship a small loop that is correct, auditable, and easy to extend.

For reusable copy/paste artifacts, use Appendix C as the canonical home: output-contract patterns, Mission templates, and the Day 2 hardening checklist live there.

The dependency graph

flowchart TD
  MVF["Ch 1:\nMinimum Viable Factory"] --> Sandwich["Ch 2:\nDeterministic Sandwich"]
  Sandwich --> Validators["Ch 3:\nDefine Good (Validators)"]
  Validators --> Drift["Ch 4:\nDrift Measurement"]
  Validators --> Ouroboros["Ch 5:\nOuroboros Protocol"]
  Ouroboros --> Slice["Ch 6:\nContext Slicing"]
  Slice --> Missions["Ch 7:\nMission Objects"]
  Missions --> MapUpdaters["Ch 8:\nMap-Updaters + CI Gate"]
  MapUpdaters --> Dream["Ch 9:\nScheduled Maintenance / Dream Daemon"]
  Validators --> Guardrails["Ch 10:\nImmutable Infrastructure"]
  Guardrails --> Refactor["Ch 11:\nAutomated Refactoring Under Guards"]
  Guardrails --> Policy["Ch 12:\nGovernance at Machine Speed"]
  Policy --> Reflect["Ch 13:\nHofstadter Bridge"]

Chapter 14 (“The Race to Reliable Autonomy”) is intentionally not a build dependency. Read it any time you want more pressure about why the bar is rising.

Weekend sprint (Part I): Build the first loop

Milestone 1: A loop you can run locally (Chapter 1)

Definition of done:

Minimal scope recommendations:

Milestone 2: Wrap the stochastic call (Chapter 2)

Definition of done:

Minimum set of error fields to collect (even if you only print them):

Milestone 3: Make “good” executable (Chapter 3)

Definition of done:

Weeks 1–2 (Part II): Understand why it works

Milestone 4: Measure drift (Chapter 4)

Definition of done:

Milestone 5: Build a loop that converges (Chapter 5)

Definition of done:

Milestone 6: Slice the graph, do not dump it (Chapter 6)

Definition of done:

Weeks 2–4 (Part III): Scale the loop into a system

Milestone 7: Intent as a typed object (Chapter 7)

Definition of done:

Milestone 8: Keep the Map fresh (Chapter 8)

Definition of done:

Milestone 9: The 90% maintenance system (Chapter 9)

Definition of done:

Ongoing (Part IV): Govern safe evolution

Milestone 10: Protected Infrastructure (Chapter 10)

Definition of done:

Milestone 11: Automated refactoring under guards (Chapter 11)

Definition of done:

Milestone 12: Governance at machine speed (Chapter 12)

Definition of done:

Part V: Reflections (destination + stakes)

Chapter 13 is the destination the rest of the book has been building toward. Most teams will cross that bridge one bounded surface at a time, not all at once.

Concept map (where terms live)

You don’t need to memorize the canon up front. The terms arrive in the order you need them.

Use this section like an index:

Guided ascent (high level)

Where you are What you do Canon terms that matter
Introduction Adopt the mental model Map/Terrain, Stochastic Drift, Context Architecture
Part I Build a working loop Map/Terrain/Ledger, Effector, Validator, Deterministic Sandwich, Immune System
Part II Understand why it works Stochastic Drift, Ouroboros Protocol, Circuit Breakers, Context Graph
Part III–IV Scale and govern safely Mission Object, Judge, Adaptation State Machine, Map-Updaters, Immutable Infrastructure
Part V Destination + stakes Hofstadter Bridge, Race to Reliable Autonomy

Where key concepts are introduced (chapter-level)

Actionable: What you can do this week

  1. Pick one artifact and one validator, and get a local end-to-end loop working.

  2. Add structured error output to your Judge, even if it is only file_path + message at first.

  3. Put one protected path in place (tests/validators/CI) and require human review for it.

Share