Freshware · Interactive Workbook
MDX Source Edition Residual Systems & Verified Compilation Learning Center & Videos
Part VI · Field Architecture & Roadmap · Chapter 06

The Complete 20-Chapter Map, Live Proof, and 30-Day Field Protocol

Measured results from our SQLite durable harness, a generalized hospitality back-office walkthrough, and the full 6-part workbook blueprint.

Reading time: 10 min Interactive: Live pi-durable Telemetry Plate Source: src/content/chapters/06-workbook-and-roadmap.mdx

Theory earns its keep when executable code confirms its boundaries under stress. Before detailing the complete 20-chapter book map and field protocol, inspect the measured telemetry emitted by running our local @earendil-works/pi-durable constraint harness (pnpm run experiments:report).

Executable Proof · @earendil-works/pi-durable@1.6.0

Measured Specimen Telemetry from Our Local SQLite Harness

4 / 4 Scenarios Passed

Every claim about durable extraction, holdout oracle read-only isolation, zero-copy conflict forks, and anti-thrash triage in this workbook is backed by an executable test suite running directly against @earendil-works/pi-durable. Generated: 2026-11-23T10:04:58.756Z.

PASS 34.5 ms

Develop & Extract Constraints (SQLite Reopen)

Recovered 3 typed constraints, 2 ubiquitous-language terms, and 1 decision record after closing and reopening freshware.sqlite.

constraintsExtracted 3
glossaryTerms 2
decisionsRecorded 1
PASS 13.5 ms

Holdout Oracle & Tier 0 Boundary Isolation

ToolTask guard allowed candidate writes and oracle reads while blocking 2/2 attempted writes to mounted holdout oracles and standards (c1:OK,c2:OK,c3:ERR,c4:ERR).

blockedMutations 2
oracleByteIdentical true
standardByteIdentical true
PASS 15.9 ms

Invariant Conflict Escalation via Zero-Copy Fork

Conflicting policy request forked at baseline entry (13), recorded an open escalation record, and left root conversation (1) clean.

forkIsolated true
rootDecisionsCount 0
forkConflictOutcome open
PASS 0.1 ms

4-Class Stressor Triage & Anti-Thrash Gate

Matched 5/5 incident streams (503 outage -> pause, bad scan -> quarantine, repeated 422 -> Tier 2 compile, playbook delta -> Tier 1 compile, invariant breach -> Tier 0 escalation) with 0 compile thrash.

presetsMatched 5/5
freshwareCompileThrash 0
naiveCompileThrash 7

Generalized Field Case: Multi-Location Hospitality Intake

To see all three Freshware phases working together without company-specific branding, consider an accounts-payable pipeline serving multiple independent hospitality kitchens and dining venues:

  1. Phase 2 · Shared Intent & Oracles: Operators maintain plain-English rules and annotated invoice diagrams inside shared playbook documents alongside a multi-tab spreadsheet workbook and frozen Golden Pin fixtures. Code diffs describe what parsers do; decisions.jsonl records why specific rounding and tax overrides exist.
  2. Phase 1 · Verification-Gated Compilation: Whenever a document’s sha256 content fingerprint changes, the Freshware compiler emits a typed candidate rulebook inside a pi-durable sandbox where standards/ and golden-oracles/ are mounted read-only:
    • Gate 1 (Static & Formal): Validates rulebook schema, regex syntax, live ledger column headers, zero unresolved placeholders, and TLA+ statechart safety laws.
    • Gate 2 (Behavioral Dry-Run): Replays real historical invoices with zero spreadsheet or accounting-ledger writes, verifying penny equality and diffing every line output against the currently active bundle.
    • Gate 3 (Shadow & Atomic Swap): Promotes the verified candidate atomically while keeping prior versions one step away for instant rollback. Any collision with no-duplicate-posting or signed-credit-notes halts promotion and opens a forked Phase 2 thread.
  3. Phase 0 · Smart Software Runtime: Live invoice arrival runs purely deterministic state transitions (file locks, idempotent ledger deduplication, unit arithmetic) and invokes focused extraction or calibrated System One decision models only where messy scans or catalog disambiguation demand semantic judgment.

Complete 20-Chapter Workbook Architecture

Chapters 00 through 06 in this repository establish the executable core and four interactive workbenches. The table below maps the full six-part, twenty-chapter expansion path so each future deep dive drops straight into src/content/chapters/ as a standalone .mdx file:

PartChaptersCore FocusStatus
Part I · The Collapse of Static SoftwareCh. 01 Stale Software vs. Improvising Agents · Ch. 02 Zero Alignment & Shrinking Middle · Ch. 03 Hyperliminal RealityWhy both frozen code and chat loops fail unattended operationsCore covered in Ch. 00–02
Part II · The First ResidueCh. 04 Ubiquitous Language (CONTEXT.md) · Ch. 05 Bounded Contexts Under Stress · Ch. 06 BDD Without Glue Tax · Ch. 07 Threads as Source CodeDDD + BDD + Alignment Skills + Residuality Theory + session-spec-verifyLive in Ch. 01, 02, 03 + Lab 01
Part III · The Second ResidueCh. 08 Macro Phase Separation · Ch. 09 First Futamura Projection · Ch. 10 Smart Software & Fourth Gate · Ch. 11 Reverse-JIT LoweringCompiling intent once; running calibrated sub-second code + bailoutsLive in Ch. 04 + Lab 03
Part IV · The Freshware CompilerCh. 12 Three-Tier Mutation Hygiene · Ch. 13 CEGIS Gates 1–3 · Ch. 14 Conflict-to-Thread ForksRead-only oracles, ToolTask guards, and zero-copy conflict resolutionLive in Ch. 03 + Lab 02
Part V · Listening to the WorldCh. 15 Four-Class Stressor Taxonomy · Ch. 16 Hysteresis & Anti-Thrash · Ch. 17 Trace-to-Spec GraduationSeparating outages from schema drift and feeding outliers back into specsLive in Ch. 05 + Lab 04
Part VI · Living Software FactoriesCh. 18 Hospitality Intake Field Case · Ch. 19 Living vs. Dark Factories · Ch. 20 30-Day Field ProtocolOperational rollout, team decision rights, and printable audit worksheetsLive in Ch. 06 + Live Telemetry

Printable 30-Day Brownfield Conversion Protocol

  1. Days 1–5 · Freeze Your Brownfield Oracle: Collect 15–30 real production inputs and outputs as read-only Golden Pins. Lock existing regression tests so no compiler agent can alter them.
  2. Days 6–10 · Run a 60-Minute Residuality Drill: Build a 6 x 6 Incidence Matrix against realistic outages, vendor shifts, and rule edits. Identify every boundary where contagion leaks across modules.
  3. Days 11–15 · Distill Language & Tier 0 Invariants: Run /grill-with-docs and spec-extract to establish CONTEXT.md, modular docs/specs/, protected docs/standards/, and an append-only decisions.jsonl.
  4. Days 16–20 · Isolate Tier 2 Adapters: Wrap external APIs and perception models inside Anti-Corruption Layers so schema 422 renames never leak into accounting math or core state machines.
  5. Days 21–25 · Lower Hot Branches: Replace slow chat completions on repetitive routing checks with pure code (Rung 0) or calibrated System One classifiers (Rung 1) wrapped in explicit abstain bands.
  6. Days 26–30 · Wire Gates 1–2 & Stressor Hysteresis: Require static checks plus zero-side-effect golden diffs before any atomic bundle promotion, and gate self-healing behind spatial recurrence and temporal hysteresis.