Harness Engineering From First Principles cover
AIBussin Book Research

Harness Engineering From First Principles

Book II in the Pi Agents series: thirty planned chapters and ten cumulative experiments in harness engineering.

This is Book II in the Pi Agents series, following Pi Agents: Building on the Coding Agent.

An agent’s result depends on more than the model. The surrounding software decides which information reaches the model, how tools execute, which effects are permitted, which state survives interruption and how completion is judged. This book proposes an experimental investigation of those decisions.

With model, task, environment and budget held constant, what does each harness mechanism actually improve?

The planned implementation is a small TypeScript host around Pi, extended through ten cumulative projects. Pi remains the execution substrate. The host, effect boundary and independent evaluator have separate responsibilities; their exact integration contracts require verification.

Current state

All thirty chapters are complete technical draft manuscripts. The whole-book independent audit, HARNESS-BOOK-REVIEW-04 (23 November 2026), returned CONDITIONAL — CORRECTIONS REQUIRED, with no publication acceptance. Earlier reviews and design-level corrections remain recorded; FIX-04’s author responses require targeted independent verification. All chapters remain drafts and appear only in draft preview.

The manuscript presents methods, proposed contracts and a falsifiable research programme. It does not establish measured harness benefits, qualified security boundaries or demonstrated savings. Project 01 remains REJECTED under its latest completed engineering review; its passing test history is not acceptance. Live studies and the later projects remain EXPERIMENT PENDING. Gate A and Gate C remain pending.

Six parts

  1. Part I — The Harness as an Experimental Object
  2. Part II — Information and Continuity
  3. Part III — Structured Execution and Verification
  4. Part IV — Coordination and Experience
  5. Part V — Adaptive Harness Engineering
  6. Part VI — Integration and Boundaries

Ten planned applications

Repo Scout; Reliable Editor; Evidence Researcher; Crashproof Worker; Permissioned Operator; Issue-to-Patch; Book Quality Lab; Investigation Team; Experience-Aware Agent; Adaptive Harness Lab.

Each project needs a fixed baseline, a named intervention, an independent outcome check, a failure experiment and a retained result report. Negative and inconclusive findings remain part of the book.

Reading the evidence

A trace records activity; completion needs an independent check. Recoverable task state needs a defined contract beyond conversation history. Permission policy needs an enforcing boundary. A proposed improvement earns promotion through independent evaluation and the required human decision.

Every empirical statement in draft chapters carries two labels. The evidence category says what backs it: Established (primary documentation or prior research, cited with revision), Implemented (inspected code plus passing tests, with commands and checkout recorded), or Experimentally demonstrated (reproducible measurements from this book’s projects, with model, fixture, budget, seeds, and independent outcome). The provenance says where the claim stands: DOCUMENTED, OBSERVED, PROPOSED, or UNKNOWN. Published results establish what their authors report; they are never this book’s experimental demonstration. Anything not yet run is marked EXPERIMENT PENDING.

Reading the drafts

Chapters 01–30 develop the same harness from first principles, with concrete examples, failure cases, illustrative contracts and pending study designs. REVIEW-04 covers the complete manuscript; new correction text is not automatically approved by that earlier review. Proposed interfaces are labelled and are not runnable integration claims. Research, review, correction and reporting records live under docs/research/; their scope and dates distinguish historical evidence from current readiness.

The final manuscript will include versioned integration notes, schemas, fixtures, evaluation rubrics, a threat model, reproducibility records, references and a glossary. Those appendices are planned and have not been drafted.

Contents

Chapters

04

A Trace Is Not an Outcome

Compare baseline and instrumented runs; verify answers against repository fixtures and preserve raw events.