Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Post-Mortem: Sunset of the AI Engineering Book

Executive Summary

The AI Engineering Book ran from 2025-10-19 to 2026-10-24: 686 commits, one author, 15 releases, 532 tracked files, 19 MB of Git history, and a published MyST site. It succeeded as a knowledge artifact and failed as a sustaining system. Those are different verdicts, and only the second one justifies archiving.

Three measured facts carry the decision:

  1. Ratio inversion. 369 governance and support files against 140 knowledge files. 72% of the tracked repository exists to govern the remaining 28%. The framework outgrew the book.

  2. Enforcement decay. The three blocking validators (check_frontmatter, check_adr, check_broken_links) report 130, 6, and 18 errors respectively and all exit 0. The repository has been “green” for months while violating its own rules.

  3. Structural entanglement. The candidate successor lived untracked inside the predecessor and generated 45% of the frontmatter errors (58/130) and 72% of the broken links (13/18) that the predecessor reported against itself. It was separated from the repository immediately before the freeze.

None of these are reasons to delete the work. All three are reasons to stop maintaining it. The repository has been de facto dormant since June 2026 — 18 commits in June, zero in July, August, and September. Archiving does not end the project; it acknowledges an end that already happened, and converts a decaying asset into a stable, citable reference.

Decision: complete freeze. The repository is archived read-only at a permanent tag, with no content migrated into a successor, no handoff package, and no ongoing obligation. It becomes a closed legacy record to be consulted later for insight, not a component of anything that follows it.

This is the narrowest of the available decisions, and deliberately so. Maintaining a proportional archive costs the same attention that maintaining a live repository costs; the only sustainable end state for a project with no maintenance capacity is one where the artifact is preserved and nothing about it is expected to run.

Introduction

What the Project Was

The AI Engineering Book was a Documentation-as-Code hub for building production-grade AI systems using a hybrid LLM+SLM methodology. Its content was organized around a five-layer architecture — execution, model, prompts, orchestration, context — with real-world agent analysis in a sixth track. Content was authored as MyST Markdown paired with Jupyter notebooks via Jupytext, and published as a static site.

Its distinguishing thesis was that documentation should be governed like production code: versioned, validated, machine-readable, and lifecycle-managed. Architecture Decision Records were the Primary Source of Truth; frontmatter carried machine-readable identity, discovery, and lifecycle blocks so that agents could budget attention before reading a document.

That thesis was correct. The mechanisms built to enforce it were not proportionate to the artifact they governed, and this post-mortem is chiefly about that disproportion.

Lifecycle and Timeline

PeriodCommitsCharacter of the work
2025-1028Bootstrap: layer taxonomy, first notebooks
2025-1141Content expansion, first tooling
2025-12124ADR system, frontmatter v1, first release cycle
2026-01176Peak: validation scripts, commit conventions, changelog generation
2026-0296Script suite formalization, evidence artifacts
2026-0362Hub-and-spoke config, ADR-26042/26045/26036
2026-0482Frontmatter migration, JIT instructional feedback
2026-0556ADR governance consolidation begins
2026-0618Freeze declarations, frontmatter normalization
2026-07 → 2026-090Dormant
2026-103Gitignore and cleanup only

The shape is diagnostic: the peak of activity is not content production but tooling construction (January–April 2026). The final three months of activity produced no new knowledge.

Method of This Post-Mortem

All figures were measured on 2026-10-24 at commit 8b8c90b on branch release/3.2.0, using the repository’s own scripts and Git metadata. No numbers are estimated. Two things could not be verified and are therefore not claimed: the GitHub repository’s visibility settings and the health of the deployed Pages site (the gh CLI returned HTTP 401 during analysis, and no build was executed).

Technical Diagnosis

What Worked

A post-mortem that only lists failures teaches nothing. The following survived contact with reality and remain the most durable parts of the archive:

Failure 1 — Ratio Inversion

Of 532 tracked files, 369 are governance or support (.vadocs, tools, architecture, .qwen, misc) and 140 are knowledge (ai_system_layers, ai_agents content, 0_intro, security). The repository reached a state where maintaining the rules cost more than producing the content — 23 scripts, 1379 tests, 56 ADRs, 32 skills, and 52 plans (8 open, 44 shipped) to govern 140 documents.

This is the primary failure, and the others are its symptoms. A governance layer that is larger than its artifact cannot be sustained by one person writing in their spare time; it will either stop growing (dormancy) or start consuming the artifact (meta-work).

Failure 2 — Enforcement Decay

check_frontmatter, check_adr, and check_broken_links currently report errors and exit 0. Every offending line is tagged [LEGACY], meaning “reported, not blocking.”

The origin of this mode is documented honestly in R-26001: a global blocking gate plus a large migration created a deadlock in which no commit could land. Commit-scoped validation was the correct emergency response. Its own lesson — “technical debt visibility is not blocking” — was correct. The failure was that the emergency became the permanent state. No exit criterion was ever defined for the legacy mode, so the “shame list” never had to shrink.

The deeper problem is that health was measured by exit code, not by error count. Once exit 0 became normal, 130 violations became invisible noise, and 1379 green tests created a false impression of system health — because those tests validated the governance layer, never the book.

Failure 3 — Structural Entanglement

The candidate successor, soviar_toolkit, was developed untracked inside the repository it supersedes. Consequences:

Two projects, one working tree, one validation schema. Neither could be reasoned about cleanly.

The freeze resolved this the only way that migrates nothing: the candidate was moved out to a sibling directory immediately before the write lock. It took its own files and nothing else, and the archive gained nothing from it. Separation is not salvage — the direction of travel is outward, and the archive is smaller afterwards, not larger.

Failure 4 — Configuration Rot

myst.yml excluded ai_system/**/*.md — a directory renamed to ai_system_layers/ long before. The replacement tree was never added to the exclusion list, so a site build would ingest the Jupytext .md duplicates of every notebook. The same file pinned github: to lefthand67/ai_engineering_handbook while both Git remotes point at soviar-systems/ai_engineering_handbook.

This rot survived precisely because the publishing pipeline stopped being exercised. Configuration is validated by use, not by inspection.

Failure 5 — Freeze Accumulation

misc/plan/freeze.md accumulated four freeze declarations, last verified 2026-06-28. Re-verification on 2026-10-24 found two of its entries already stale: ADR-26057 and A-26026 were listed as uncommitted but had been committed, while the promised ADR-26058 was never created.

A freeze document that is not re-verified is not a status report; it is a fifth stale artifact. Freeze declarations must expire or be re-checked, otherwise they manufacture the same drift they were written to prevent.

Failure 6 — Instruction Bloat

AGENTS.md is 22,478 bytes (approximately 5.6k tokens) and is symlinked as QWEN.md, CLAUDE.md, and CONVENTIONS.md — 89,912 bytes of on-disk instruction for every agent that opens the repository. ADR-26055 diagnosed the “token bomb” and the needle-in-a-haystack failure mode, proposed a constitution/operational split, and was never implemented. The freeze document records the conflict (symlinks preserve single-source maintenance but inflate every prompt) and no resolution.

Root Cause

The Self-Referential Loop

The failure mechanism is a loop, not a series of mistakes:

  1. A new rule is written to prevent a class of error.

  2. The rule creates new surface area for violations.

  3. Violations require a validation script to detect.

  4. The script requires a schema, and the schema requires migration.

  5. Migration produces debt, which is recorded as a problem needing governance.

  6. Governance produces a new rule. Return to step 1.

Knowledge grew linearly with writing effort; governance grew superlinearly with rule count. Nothing in the loop had a sunset clause, a retirement budget, or a ratio cap, so the loop had no equilibrium other than exhaustion.

Why Nobody Noticed

Because the repository reported success. Tests passed. Hooks ran. Releases shipped. The one number that would have exposed the problem — violations against rules — was rendered non-blocking and therefore non-actionable. The system measured whether the gate ran, never whether the gate held.

There is a second-order cause worth naming: every rule felt locally justified. Each individual validation script, ADR, and skill solved a real problem. The failure was emergent, which is why it could not be caught by reviewing any single decision. It can only be caught by measuring the aggregate ratio, which no artifact in the repository did.

Impact Assessment

What Was Lost

What Was Preserved

Everything material: 532 files, 19 MB of history, 15 releases, 56 ADRs, 32 skills, the compiled prompt architecture, the validation scripts, and a permanent tag. Archiving changes write access, not content. The published site remains available as a frozen reference.

Corrective Actions

The Decision

Complete freeze, decided on 2026-10-24 after three shapes were weighed:

ShapeVerdict
Complete freeze — archive read-only, copy nothing forward, consult laterChosen. Zero ongoing obligation; the archive is the reference.
Salvage-then-freeze — copy skills, standards, and scripts into the successor before freezingRejected. It converts an ending into a migration project, and migration is maintenance under another name. The material stays readable in the archive; copying it forward would have created a second corpus to keep in sync.
Split content from governance into a new repositoryRejected. The best long-term shape, but the most disruptive: it breaks permalinks and spends effort proportional to the debt being escaped.

The deciding constraint was capacity, not architecture. A project that cannot maintain itself cannot maintain its own succession either. Archiving closes the loop; salvaging would have reopened it.

What Was Extracted

Nothing was copied out. This is the deliberate part of the decision, and it is worth stating explicitly because it is the opposite of the usual archival instinct.

The distinction between moving a squatter out and hand-picking material to carry forward is the whole difference between this decision and the rejected one. Separation shrinks the predecessor. Salvage loads it onto the successor.

The transferable content is the diagnosis in this document, not the tooling described by it. The tooling embodies a governance model this post-mortem argues against.

The Freeze

Preventive Measures

These are obligations for whatever succeeds this project, not reflections on it.

Final Mandate

The AI Engineering Book proved that documentation can be engineered, that prompts can be compiled, and that agents can be governed by machine-readable rules. It also proved that governance without a retirement mechanism consumes the thing it governs.

It closes as a reference, not as a platform. Read it to learn what worked, and read the validation logs to learn what a green pipeline can hide. Then build something with one gate that actually blocks, and spend the rest of the effort on the artifact.

References