🎧 Now includes the HTML + EPUB + PDF bundle · DRM-free, yours forever · $14.99
An engineering field manual · v1.0

Ship real software with agentic AI — without the regressions.

A field-tested system for Claude Code and other agentic tools: memory architecture, quality gates, parallel sessions, and the discipline that compounds past 36,000 lines of production code.

📄 110 pages ✦ 10 chapters ⚡ 6 reinforcing patterns ↺ Free updates for life
The 36K Engineer — book cover
The premise

Your tool is a moving target. The proof is documented.

Anthropic's own April 2026 postmortem traced a month of degraded Claude Code output to three separate changes before resolution in v2.1.116. Capability shifts under you — without notice. The 36K Engineer treats that as a given, and builds a control system around it.

"A single good pattern decays. Add a memory file but no gate, and the agent reloads its intent only to ship code that fails silently. Each pattern, in isolation, leaks at the seam where it meets the next gap."
— Chapter 10, The Engineering System That Compounds
  1. i.

    Fragile prompt tricks quietly rot

    The perfect prompt that worked Tuesday stops working Thursday because a default changed upstream. You don't get a memo.

  2. ii.

    Context windows silently erase state

    Compaction throws away the working memory your long task depends on — and the agent keeps going as if nothing happened.

  3. iii.

    Agents assert "done" — gates don't verify it

    "The tests pass" is a claim. A failing build is a fact. Without an oracle the agent can't argue with, quality is a hope, not a constraint.

The system

Six patterns that compound — because their failure modes interlock.

Each pattern solves a real problem. None of them works alone. The value is in the relationships between them — closing one gap closes the others' escape routes.

Pattern 01

Three-File Memory

CLAUDE.md, PROGRESS.md, TASKS.md — the law, the narrative, and the queue. State that survives compaction and reloads cleanly.

Pattern 02

Quality Gates

Tests, types, lint, build, custom oracles — mechanical checkpoints the agent cannot skip. A gate is an oracle, not an opinion.

Pattern 03

Context Discipline

Treat the context window as a budget, not a memory. Deliberate decisions about what to load, summarize, and externalize.

Pattern 04

Parallel Sessions

Multiple coordinated agents working concurrent fronts. Parallelism pays only when isolation is cheaper than coordination.

Pattern 05

Decomposition

The unit of work is a context-window decision, not a calendar decision. Size to the gate; sequence to the dependency.

Pattern 06

Trust Boundary

Gates prove execution; review proves intent. Diff-driven triage that targets your human attention at the high-risk surface.

Sample framework

A pre-flight check before you hand work to an agent.

This is the operating discipline the book teaches: define the task, preserve state, install gates, isolate risk, and review the diff before trusting the result.

Run this before any agentic coding task that touches production code, broad refactors, data paths, or user-facing behavior.

01

Size the task to the gate

Define a bounded mandate, success criteria, files in scope, and the exact test, type, lint, or build gate that must pass.

02

Write durable memory

Separate durable rules, current progress, and task queue so compaction cannot erase intent midstream.

03

Choose one orchestration mode

Single session, parallel sessions, or handoff. Parallelism only pays when isolation is cheaper than coordination.

04

Make the agent prove execution

Require mechanical gates and real command output, not claims that tests pass or that the implementation is complete.

05

Review intent at the trust boundary

Use the diff, risk surface, and recovery plan to decide what needs human review before merge or deployment.

The book is not a prompt collection. It is a control system for shipping with agents when the tool itself keeps changing.

Three files. Three jobs. Zero state loss.

The most cited chapter in the book. A concrete, reproducible memory architecture — mapped to distinct responsibilities so the agent reloads intent, not noise, after every compaction.

The 36K Engineer book cover artwork
"Three Clocks, One Memory" — Chapter 3 Inside the book
  • Why three files, not one

    Each maps to a different volatility and audience. Collapsing them into one is the failure mode the book spends a chapter dismantling.

  • Survives compaction

    After the context window rolls over, the agent resumes the task without you re-explaining the goal. That's the signal it's working.

  • Operational, not theoretical

    Includes a worked bootstrap you can run in one session. You leave the chapter with the system live in your repo.

The table of contents

Ten chapters, one compounding system.

From the non-stationary tool problem through to the six relationships that hold the whole system together. Each chapter ends with a recap, a worked example or exercise, and the failure modes to watch for.

01

The Non-Stationary Tool Problem

Your tool is a moving target — treat the workflow as a control system, not a recipe. The documented proof.

Premise
02

Context as a Scarce Resource

The window is a budget, not a memory. Model what the agent retains; externalize the rest.

Theory
03

The Three-File Memory System

CLAUDE.md, PROGRESS.md, TASKS.md — the law, the narrative, the queue. A reusable workflow from the book.

Signature
04

Quality Gates the Agent Cannot Skip

A gate is an oracle, not an opinion. The gate ladder; closing the evasion routes; shifting failure left.

Practice
05

Orchestrating Parallel Sessions

Bounded mandates as the unit of concurrent work. When going wide pays — and when it multiplies chaos.

Practice
06

Decomposition and Task Sizing

Size to the gate, sequence to the dependency. Signatures of a task that is too large.

Practice
07

Prompts as Versioned Artifacts

Some prompts are artifacts (worth versioning, testing, revising); most are not. A sharp test for which is which.

Discipline
08

Review, Verification & the Trust Boundary

Gates prove execution; review proves intent. Diff-driven triage; the contract, not the feeling.

Discipline
09

Failure Modes and Recovery

Context corruption, silent gate evasion, runaway edits, degraded model behavior — and the protocols that contain each.

Resilience
10

The Engineering System That Compounds

The six relationships. The decision matrix. The weekly maintenance routine. Your scorecard.

Synthesis
110
Pages in the book
16,301
Words in the book
10
Chapters from the book
What you get

Three formats. One purchase. Yours forever.

No DRM, no login wall, no subscription. Buy once and the book is yours — in every format you might want, now or later. Free updates for the life of the edition.

EPUB

For Kindle, Apple Books, Kobo and any e-reader. Reflowable text tuned for the device in your hand.

  • Reflowable, accessible markup
  • Send-to-Kindle friendly
  • Best for reading on the move

PDF

The designed edition. Print-ready Letter layout with the full field-guide typography, illustrations and reference tables.

  • Fixed, designed layout
  • Print-ready at home or office
  • Best for the reference tables

HTML

The complete single-file web edition. Searchable, copy-pasteable, and self-contained — ideal for a second monitor while you work.

  • Single self-contained file
  • Full-text search, copy-paste
  • Best for desk reference
Buy the book

One price. Everything included.

Complete Bundle

The 36K Engineer — v1.0

$ 14.99
Expert guide pricing
  • EPUB + PDF + HTML — all three formats, one download
  • 110 pages, 10 chapters, reference tables and worked examples
  • DRM-free — read on any device you own, forever
  • Free updates for life of this edition
  • Digital refund review — duplicate purchases, access issues, wrong files, or defective downloads
Add to shelf — $14.99
Secure checkout · Instant download · GST/tax included at checkout
Before you buy

Questions, answered.

The patterns are tool-agnostic by design — they're built to survive the non-stationary tool problem. The worked examples and screenshots use Claude Code, but the system applies to Cursor, Continue, Aider, Codex, and the next tool that hasn't shipped yet. The whole point is that it outlives any specific agent.
No. The book assumes you can read code and run a test suite, but doesn't assume you've orchestrated agents before. Chapters 3 (memory) and 4 (gates) are written so you can put the system live in your repo in a single afternoon.
Not yet. The included PDF is print-ready at Letter size, so you can run it through any print-on-demand service or your office printer. If there's demand for a bound print run, owners get first access at cost.
Every revision, typo fix, and new-chapter addition to v1.x is free. When the underlying tools shift enough to warrant a v2, you'll get a heavy owner's discount — but v1 stays yours, in all three formats, forever.
Almost certainly. It's professional development material with an itemized receipt. Many teams expense it under their learning budget — if your company needs a vendor form, email me and I'll send what you need.
Because this is an instant digital download, we do not offer broad change-of-mind refunds after the files have been accessed. Refund requests are reviewed within 7 days for duplicate purchases, accidental purchases before access, access failures we cannot fix, wrong files, corrupted files, or a sales page that materially misdescribes the book.

Build a system that gets harder to break the longer you run it.

Not a recipe that decays with the next update. A control system that compounds past 36,000 lines and stays standing while the tool underneath it shifts.

Get the book — $14.99
Instant download · DRM-free · 7-day refund review for access issues, duplicate purchases, wrong files, or defective downloads