Freshware · Interactive Workbook
MDX Source Edition Residual Systems & Verified Compilation Learning Center & Videos
Interactive Workbook · Primary MDX Edition

Freshware

Phase-separated software that recompiles safely against its own invariants — keeping deterministic runtime code fast while keeping business rules permanently fresh.

Four Interactive Workbenches Inside the Prose

Explore the Models Directly

Theoretical Learning Center & Video Archive

Trace the Intellectual Lineage (1971–2026)

Watch Barry O’Reilly’s Residuality Theory talks, Stuart Kauffman on Boolean attractors, Edoardo Vacchi on Futamura projections, Matthew Flatt on hygienic macros, Eric Evans, Leslie Lamport, and Armando Solar-Lezama — organized across 5 searchable pillars and 41 primary sources.

Editable MDX Chapters

Workbook Contents (7 Interactive Chapters)

Ch. 00
Preface: Two Residues, One System
Introduces Freshware by unifying Barry O'Reilly's Architectural Residue with Yoshihiko Futamura's Computational Residue across three separated phases.
7 min
Ch. 01
Developing Constraints: Alignment, Ubiquitous Language, and Examples
Connects Zero Alignment, Domain-Driven Design's Ubiquitous Language, Specification by Example, Matt Pocock's skill loop, and Lauren Tan's enforcement ladder into the Phase 2 constraint-development workflow.
9 min
Ch. 02
Residuality Theory: Stressors, Attractors, and Contagion
Applies Stuart Kauffman's attractors and Barry O'Reilly's Residuality Theory to AI-compiled systems using an interactive 6x6 Stressor Incidence Matrix.
8 min
Ch. 03
Specifying and Extracting Constraints with session-spec-verify and pi-durable
The core technical mechanics of Freshware: extracting constraints from human-agent alignment sessions into SQLite, mounting read-only holdout oracles, and halting Tier 0 violations via forked conflict threads.
11 min
Ch. 04
Phase Separation, Futamura Projections, and Reverse-JIT Lowering
Connects Matthew Flatt's macro phase separation, Yoshihiko Futamura's First Projection, Smart Software's fourth semantic logic gate, and a 4-rung Reverse-JIT lowering simulator.
10 min
Ch. 05
The Stressor Classification Thesis: Pause vs. Recompile vs. Escalate
Defines the 4-class runtime stressor taxonomy, four operational discriminants, and temporal/spatial hysteresis controls to eliminate compile thrash.
9 min
Ch. 06
The Complete 20-Chapter Map, Live Proof, and 30-Day Field Protocol
Presents live verified pi-durable telemetry, walks through an anonymized multi-location accounts-payable architecture, maps all 20 chapters of the expanded book, and gives a 30-day adoption protocol.
10 min
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