Ship It With AI Mihai Cvasnievschi

Appendix C. Sources and Further Reading

48 min read

This appendix exists because every claim in this manual deserves a verifiable source if you choose to chase it down. I have organized the entries by claim, not by source, so you can map back from a passage in the body to the evidence behind it. Entries are grouped by category (studies, named incidents, vulnerabilities with patch versions, tool documentation, marketplaces, memory primitive sources, permissions / sandbox primitive sources, outer-loop and autonomy sources, harness and model-migration sources) and each entry follows the same shape: the claim, the source, where in the manual it is used, and any caveat worth knowing.

Studies and research

Study
Claim
Experienced open-source developers using AI assistance on familiar repositories were 19% slower than the same developers without it, while predicting beforehand they would be 24% faster - a 43-point gap between expected speedup and measured slowdown that persisted in their self-reports even after the data contradicted it.
Source
Becker et al., METR, "Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity," July 10, 2025. arXiv: arxiv.org/abs/2507.09089. Writeup: metr.org/blog/2025-07-10-early-2025-ai-experienced-os-dev-study/. Follow-up design change: metr.org/blog/2026-02-24-uplift-update/.
Where used
Appendix D, Chapter 3 (the METR randomized controlled trial).
Caveat
Tested raw AI assistance (Cursor + Claude) without a formulation-discipline variable. My interpretation that workflow discipline is the missing variable is mine, not the study's. METR's late-2025 follow-up suffered severe selection bias (developers increasingly refused randomization away from AI) and produced only weak estimates; METR announced a redesigned experiment on February 24, 2026 and cautions against extrapolating the 19% figure to current tools.

Named incidents

Incident
Claim
In July 2026 Slopfix, a team of three senior engineers, offered to cut agent-written ("vibecoded") codebases back to maintainability for a fixed $10,000 per one-week engagement, paid in proportion to the agreed line-count reduction, and attributed the bloat to agents that stop seeing the whole picture and duplicate code instead of finding it. They use Claude Code for the cleanup, "on a very short leash."
Source
Slopfix, odra.dev/slopfix/; Hacker News front page, July 7, 2026 (news.ycombinator.com/item?id=48823359). Covered by Tom's Hardware, PC Gamer and TechRadar.
Where used
Prologue (Ten thousand dollars a week) and Closing.
Caveat
This is a vendor's own offer page, not an incident report or a study. The "100,000 lines down to 35,000" figure on the page is an illustrative example, not a named client; press headlines turned it into "up to 65%." The page is undated; the date is the Hacker News submission. I use it for the failure pattern it names, which matches what teams report, not as evidence of how common the pattern is.
Incident
Claim
On April 24, 2026, PocketOS lost its production database in nine seconds when a Cursor agent powered by Claude Opus 4.6 invoked Railway's Volume Delete via a found API token during a credentials-mismatch recovery attempt. Railway says the legacy API path performed a cascading delete that made the backups appear unavailable, and that it recovered the database with all data from offsite disaster backups. The token had account-scoped access.
Source
Railway, "Your AI wants to nuke your database," April 29, 2026 (blog.railway.com/p/your-ai-wants-to-nuke-your-database). Reported by DevOps.com ("When AI Goes Really, Really Wrong"), Business Insider (Jer Crane statement), and others. Anthropic's Claude Opus 4.6 system card (February 2026) describes the model that powered the agent.
Where used
Chapter 2 (Guardrails in five layers); Appendix D, Chapter 2 (PocketOS: where the accounts disagree, and what the platforms changed).
Caveat
Recovery timeline differs across public accounts - Railway's restore was reportedly ~30 minutes after Crane contacted them, while other accounts describe ~30 hours or two days for full operational restoration. I use the incident for the governance pattern, not as a precise forensic reconstruction. Aftermath: on April 29, 2026 Railway announced that API deletes, previously immediate, now soft-delete with the dashboard's 48-hour recovery window. Workspace- and project-scoped tokens already existed; the session used an account-scoped one. Rechecked October 30, 2026.
Incident
Claim
In late February 2026, Alexey Grigorev at DataTalks.Club lost two and a half years of course infrastructure when Claude Code worked against a stale Terraform state file and ran terraform destroy against what it read as orphaned resources.
Source
Public account by Alexey Grigorev (DataTalks.Club), late February 2026.
Where used
Chapter 2 (Guardrails in five layers); Appendix D, Chapter 2 (PocketOS: where the accounts disagree, and what the platforms changed).
Caveat
Data loss was partial; AWS restored roughly 1.94M rows from a snapshot within about a day. The incident is documented publicly but with less coverage than PocketOS. Grigorev's follow-up documents the hardening adopted afterward: delete protection in both Terraform and AWS, state moved to S3, manual review of every destructive plan, and an upgraded AWS support tier.
Incident
Claim
Anthropic's technical post-mortem of April 23, 2026 ("An update on recent Claude Code quality reports") acknowledged three regressions: default reasoning effort dropped from high to medium on March 4 (reverted April 7), a caching bug from March 26 that cleared reasoning history every turn instead of once per idle hour (fixed April 10, v2.1.101), and a system-prompt verbosity cap from April 16 that produced a measured ~3% quality drop (reverted April 20). Separately and earlier, AMD Senior Director Stella Laurenzo published an independent audit (April 6, filed as GitHub issue anthropics/claude-code#42796) of 6,852 Claude Code sessions and 234,760 tool calls, showing a shift from research-first to edit-first behavior as thinking redaction rolled from 1.5% to 100% of turns and attributing the degradation in part to the February adaptive-thinking-by-default rollout.
Source
Anthropic engineering post-mortem, April 23, 2026: anthropic.com/engineering/april-23-postmortem. Laurenzo audit: GitHub issue anthropics/claude-code#42796; coverage in The Register, April 6, 2026.
Where used
Appendix D, Chapter 3 (February to April 2026: the discipline absorbs a vendor regression).
Caveat
The attribution to the February adaptive-thinking rollout is Laurenzo's, not the vendor's; the post-mortem's own three causes start in March. The two accounts agree on the regressions and diverge on the earliest cause.
Incident
Claim
Microsoft's analysis of the ChainDrop supply-chain worm describes it using stolen GitHub credentials to inject files into Claude and Visual Studio Code configuration (.claude/settings.json, .vscode/tasks.json and companion setup scripts) across repository branches for persistence, so that later Claude or VS Code activity could restart the payload.
Source
Microsoft Security, "ChainDrop supply-chain compromise: anatomy of a self-propagating worm," August 4, 2026: microsoft.com/en-us/security/blog/2026/08/04/chaindrop-supply-chain-compromise-anatomy-self-propagating-worm/.
Where used
Chapter 2 (Injection arrives through the work itself); Appendix D, Chapter 2.
Caveat
One campaign's analysis. The article says "Claude" configuration paths; the lesson is that agent and editor configuration is executable and belongs in incident recovery.

Vulnerabilities with patch versions

Vulnerability
Claim
Check Point Research reported two Claude Code flaws in untrusted project configuration. The startup trust warning did not make clear that accepting a folder let its hooks run without further confirmation (GHSA-ph6w-f82w-28w6, no CVE, patched in v1.0.87). Separately, a bug in the trust dialog let a project execute code before the user accepted it (CVE-2025-59536, GHSA-4fgq-fpq9-mr3g, patched in v1.0.111).
Source
Check Point Research, February 25, 2026. Anthropic advisories: GHSA-ph6w-f82w-28w6, GHSA-4fgq-fpq9-mr3g. CVE-2025-59536. NVD: nvd.nist.gov/vuln/detail/CVE-2025-59536. Writeup: research.checkpoint.com/2026/rce-and-api-token-exfiltration-through-claude-code-project-files-cve-2025-59536/.
Where used
Appendix D, Chapter 2 (three vulnerability classes behind layers one to three).
Caveat
Fixes shipped August 26 and September 22, 2025; the trust-dialog advisory was published October 3, 2025 and the Check Point writeup in February 2026. Accepting trust is itself a grant of execution. Versions earlier than the patches remain vulnerable; the class survives the specific patches. Rechecked October 30, 2026.
Vulnerability
Claim
Claude Code was vulnerable to API-key exfiltration via configuration injection: attacker-controlled settings overriding ANTHROPIC_BASE_URL before the trust prompt could leak API keys.
Source
Check Point Research, February 2026. CVE-2026-21852; Anthropic advisory GHSA-jh7p-qr78-84p7, January 20, 2026.
Where used
Appendix D, Chapter 2 (three vulnerability classes behind layers one to three).
Caveat
Patched in Claude Code v2.0.65. Same class as CVE-2025-59536: pre-trust execution of untrusted project configuration.
Vulnerability
Claim
Knostic reported in December 2025 that Claude Code loaded .env* files from the working directory without explicit permission in the observed setup, loading their values into the process environment. Knostic notes this does not prove the values reached the model's context, but advises assuming they could leave the local environment.
Source
Knostic, December 2025: knostic.ai/blog/claude-loads-secrets-without-permission. Current control scope: code.claude.com/docs/en/sandboxing.
Where used
Chapter 2 (Layer 3: Secrets); Appendix D, Chapter 2 (three vulnerability classes behind layers one to three), named in the dot-env auto-loading vulnerability class.
Caveat
A dated report, not a claim that every current session automatically loads these files. Shell denyRead and credential settings protect covered commands; native file reads need separate permissions. Keep secrets outside the agent's environment when no read route should reach them. Current scope checked October 23, 2026.
Vulnerability
Claim
Claude Code's deny rules were silently bypassed when a shell command chained more than 50 subcommands (MAX_SUBCOMMANDS_FOR_SECURITY_CHECK = 50 hard cap), with the security check falling through to a generic "ask" prompt.
Source
Adversa AI Red Team, disclosed April 1, 2026. Writeup: adversa.ai/blog/claude-code-security-bypass-deny-rules-disabled/.
Where used
Chapter 2 (When it breaks); Appendix D, Chapter 2 (three vulnerability classes behind layers one to three), as the parser-cap bypass example for "any single layer can have a quiet-failure mode."
Caveat
Patched in Claude Code v2.1.90 in the first days of April 2026 - Adversa's own writeup records the fix by April 4, within days of disclosure. The class - governance layers with parser caps that silently fail - is what to remember after the specific cap is gone.
Vulnerability
Claim
Kinney's April 2026 writeup shows that a deny rule for the built-in Read tool does not block a Bash subprocess reading the same file. A rule matching one command also need not cover equivalent access through another program.
Source
Adam Kinney, April 2026. Writeup: Claude Code's Deny Rules Don't Protect You - Here's What Actually Does.
Where used
Appendix D, Chapter 2 (three vulnerability classes behind layers one to three), as the permission-parser bypass class.
Caveat
This concerns command-parser coverage, not every deny rule in every agent. OS-level read restrictions protect covered sandboxed processes even when the command parser misses a read; native file tools need separate permissions. Check the installed version and all available read routes.
Vulnerability
Claim
Two zero-click prompt-injection vulnerabilities in Cursor's sandbox - CVE-2026-50548 and CVE-2026-50549 (CVSS 9.8, dubbed "DuneSlide") - abused the working-directory write allowlist and a symlink-resolution fallback to escape the sandbox and reach OS-level remote code execution. All versions before Cursor 3.0 (April 2, 2026) were affected; 3.0 fixed both.
Source
Cato Networks (Cato AI Labs), disclosed mid-2026. Writeup: catonetworks.com/blog/duneslide-two-critical-rce-vulnerabilities/; coverage: SecurityWeek, The Hacker News, July 2026.
Where used
Chapter 2 (When it breaks); Appendix D, Chapter 2 (the sandbox escapes), layer two.
Caveat
The lesson is the class, not the vendor: the strongest layer can itself have bugs, which is why the layers are five and not one.
Vulnerability
Claim
Mozilla 0Din researchers demonstrated an indirect prompt-injection proof of concept in which a repository induces Claude Code to retrieve a payload through a DNS TXT record and execute it.
Source
June 2026 report: SecurityWeek. Current network-scope documentation: Anthropic sandbox-runtime README.
Where used
Chapter 2; Appendix D, Chapter 2 (DNS TXT proof of concept).
Caveat
The incident report is secondary coverage of a proof of concept. A proxy allowlist does not establish DNS containment: verify direct connections, system resolver and direct DNS-tool paths separately. The runtime documents unfenced system-resolver requests on its Windows path and similar macOS behavior. Standalone runtime Windows support is not Claude Code native-Windows sandbox support. Current scope checked October 23, 2026.

Tool documentation

Tool documentation
Claim
Codex CLI shipped Agent Skills as a first-class primitive in December 2025, with SKILL.md files using YAML frontmatter and progressive disclosure semantics comparable to Claude Code Skills.
Source
OpenAI Codex CLI docs, developers.openai.com/codex/skills.
Where used
Appendix D, Chapter 1 (memory and skills: the convergence story), as the Codex side of the skill-primitive convergence.
Caveat
Vendor documentation; the GA dates are accurate as of mid-2026 but may be revised retroactively.
Tool documentation
Claim
Codex CLI supports configurable subagent concurrency through agents.max_concurrent_threads_per_session, excluding the primary thread. agents.max_threads is a legacy alias; when unset, Codex chooses a default. A historical default of six was not a fixed platform cap.
Source
OpenAI, Configuration Reference: learn.chatgpt.com/docs/config-file/config-reference#agentsmax_concurrent_threads_per_session; Subagents.
Where used
Appendix D, Chapter 1 (subagent adoption timeline).
Caveat
Official CLI documentation checked October 23, 2026. Client settings, resource limits and policy still constrain actual concurrency. These are CLI settings, not Agents API limits; the cited current docs do not establish the previously stated March 14 GA date.
Tool documentation
Claim
Codex CLI documents AGENTS.md as the convention for project-level agent instructions, loaded at session start and equivalent in role to other vendors' team-instruction files.
Source
OpenAI Codex CLI documentation, developers.openai.com/codex/agents-md.
Where used
Chapter 1 (Memory) and Chapter 6 (AGENTS.md as team infrastructure).
Caveat
Filename and loading semantics are stable; specific frontmatter and discovery rules may evolve with versions.
Tool documentation
Claim
AGENTS.md is a shared project-instruction convention, but discovery and precedence differ. Codex loads it natively with directory precedence; Claude supports version-dependent fallback/import behavior; Gemini CLI defaults to GEMINI.md and can configure AGENTS.md; Aider supports explicit read-only inclusion.
Source
Codex project instructions; Claude Code memory; Gemini CLI context files; Aider conventions.
Where used
Chapters 1 and 6 (instruction compatibility table); Appendix D, Chapter 1.
Caveat
Checked October 23, 2026. A shared Markdown filename does not imply identical scope, hierarchy, precedence or automatic loading. Inspect effective sources in the installed client; the table is not an exhaustive vendor inventory.
Tool documentation
Claim
opencode is an open-source coding agent maintained by an independent team, written in TypeScript and licensed under MIT. Source-organized around the same primitives this manual identifies in Codex CLI and Claude Code.
Source
opencode repository (github.com/anomalyco/opencode; formerly sst/opencode - the maintaining company renamed to Anomaly in January 2026); LICENSE and README.
Where used
Chapter 1 (The anatomy is invariant, the two-agent proof) and Appendix D, Chapter 1 (the two-agent demo, in detail).
Caveat
Project naming and maintainer composition may evolve; the architectural convergence claim survives renames.
Tool documentation
Claim
Playwright semantic locators can resist styling and DOM changes while the accessible contract stays stable. Interaction actions are control-specific: selectOption targets native selects; check targets checkboxes/radios.
Source
Playwright locators, select options, checkboxes and radios.
Where used
Chapter 5 (Verify); Appendix D, Chapter 5; Appendix B.3.
Caveat
Current docs checked October 23, 2026. Changing a component library or interaction model may require new actions/locators. Behavioral assertions do not verify rendered layout.
Tool documentation
Claim
Claude Code provides an opt-in shell sandbox on macOS, Linux and WSL2; native Windows commands run unsandboxed. Native file tools, MCP servers and hooks run outside this boundary and need their own controls. Codex has a different sandbox implementation and default posture.
Source
Claude Code docs (code.claude.com/docs/en/sandboxing) and Codex CLI agent approvals and security docs (developers.openai.com/codex/agent-approvals-security).
Where used
Chapter 1 (Sandbox posture is a governance choice) and Chapter 2 (Layer 2: Sandbox); Appendix D, Chapter 1 (sandbox posture by vendor, and the mechanisms underneath).
Caveat
Default-on versus opt-in is a versioned implementation detail. Verify the current default for your installed version before relying on it.
Tool documentation
Claim
Cursor 2.0 (October 2025) introduced parallel independent agents and default-on macOS sandboxing; the subagent system proper - a parent agent delegating to child subagents - shipped in Cursor 2.4 (January 2026) and went async in 2.5. Cline shipped subagents natively. Claude Code added Agent Teams as a higher-level coordination layer on top of the Task tool.
Source
Cursor changelogs (2.0, 2.4, 2.5); vendor announcements and docs for Cline and Claude Code; collated across early-to-mid 2026.
Where used
Appendix D, Chapter 1 (subagent adoption timeline), as evidence for subagent-primitive convergence within roughly a year.
Caveat
Vendor surface areas evolve; the convergence claim survives even when specific product names rebrand.
Tool documentation
Claim
Claude Fable 5, launched June 9, 2026 as the first Mythos-class model, had access suspended worldwide from June 12 to June 30, 2026 before being redeployed.
Source
Anthropic, "Claude Fable 5 and Mythos 5" (June 9, 2026): anthropic.com/news/claude-fable-5-mythos-5; "Redeploying Fable 5" (June 30, 2026): anthropic.com/news/redeploying-fable-5.
Where used
Chapter 9 (The vendor will have a bad week).
Caveat
The suspension rationale is the vendor's account; the operational lesson - plan for vendor downtime - is independent of the cause.
Tool documentation
Claim
An Anthropic engineer's July 2026 field guide describes Claude Fable 5 as "the first model where I find the quality of the work is bottlenecked by my ability to clarify its unknowns," and organizes the working method around four kinds of unknowns, with techniques including the blind spot pass, implementation-notes files, and comprehension quizzes.
Source
Thariq Shihipar, "A field guide to Claude Fable 5: Finding your unknowns," Anthropic blog, July 6, 2026: claude.com/blog/a-field-guide-to-claude-fable-finding-your-unknowns.
Where used
Chapter 3 (the formulation bottleneck and the four unknowns), Chapter 4 (blind spot pass in Research, implementation notes in Execute) and Chapter 5 (the quiz in the agent-diff read); Appendix D, Chapter 3 (the unknowns frame, in full).
Caveat
One practitioner's account, published by the vendor about its own model. The techniques stand on their own; the "first model" superlative is the author's judgment, not a measurement.
Tool documentation
Claim
MCP clients and servers negotiate protocol versions and capabilities. Integration reuse also depends on supported transports and authentication; MCP support alone does not establish interchangeability.
Source
Versioned MCP specification, June 18, 2025: lifecycle, transports, authorization.
Where used
Chapter 1 (What is MCP?).
Caveat
This versioned specification was checked October 23, 2026; it is not a claim that June 2025 is the latest protocol edition. Verify both endpoints and required capabilities.
Tool documentation
Claim
Spring supports read-only service transactions as well as write transactions, and supports method-level validation. A controller-validation convention must specify its scope without removing service/domain responsibility for business invariants.
Source
Spring Framework 7.0.10 reference: transaction annotations, service method validation.
Where used
Chapter 6 (scoped conventions); Appendix B.2.
Caveat
Checked October 23, 2026. Transaction and validation boundaries are architectural choices; proxy/call-path behavior and project examples still need verification. These docs do not establish an effect from the book's private engagement.
Tool documentation
Claim
An undo migration is optional and cannot reliably reverse every destructive data change or partial failure. Recovery can instead use backward-compatible deployment, roll-forward correction or tested restoration.
Source
Redgate Flyway, Undo migrations, updated May 21, 2026.
Where used
Chapters 4-5 (Wire migration review); worked companion.
Caveat
Checked October 23, 2026. The appropriate strategy depends on the system and required recovery objectives. This documentation does not prove which policy an unpublished client engagement used.
Tool documentation
Claim
OpenAI's managed configuration documentation states that Computer Use can operate a browser as a native app, that Browser Use site and capability rules do not apply to that path, and that disabling Browser Use alone does not block every browser path.
Source
OpenAI, managed configuration documentation, learn.chatgpt.com/docs/enterprise/managed-configuration, checked October 30, 2026.
Where used
Chapter 2 (Do this Monday); Appendix D, Chapter 2 (browser, desktop and remote routes).
Caveat
Undated, mutable vendor documentation; the route-coverage lesson applies to any agent with browser or desktop control.
Tool documentation
Claim
The Model Context Protocol specification says clients must consider tool annotations untrusted unless they come from trusted servers, and that there should always be a human able to deny tool invocations.
Source
MCP specification 2026-07-28, Tools: modelcontextprotocol.io/specification/2026-07-28/server/tools.
Where used
Appendix B.10; Appendix D, Chapter 2.
Caveat
A specification states client obligations; check what a particular client actually enforces.
Tool documentation
Claim
GitHub's Actions guidance says pull_request_target and workflow_run workflows are privileged, can have write access and secrets, and must not check out untrusted pull-request code.
Source
GitHub Docs, "Secure use reference," docs.github.com/en/actions/reference/security/secure-use, checked October 30, 2026.
Where used
Chapter 2 (Injection arrives through the work itself); Appendix D, Chapter 2.
Caveat
Platform-specific; other CI systems need the equivalent separation of untrusted input from privileged execution.
Tool documentation
Claim
Claude Code workflows enforce runtime agent caps (concurrency, items per call, 1,000 agents per run); the size guideline is advice to the model, and the large-workflow warning "doesn't pause or limit the run." Resume returns saved results for completed agents within the same session.
Source
Claude Code workflows documentation, code.claude.com/docs/en/workflows, checked October 30, 2026.
Where used
Appendix B.6; Appendix D, Chapters 1 and 9.
Caveat
Caps bound agent count, not tokens or dollars; a spending limit needs its own control.
Tool documentation
Claim
Effective October 14, 2026, GPT-5.5 retired from Codex for users signed in with ChatGPT; the OpenAI API and Codex sessions authenticated with an API key were not affected.
Source
OpenAI Codex changelog, learn.chatgpt.com/docs/changelog, entry of October 14, 2026.
Where used
Appendix B.9; Appendix D, Appendix A.
Caveat
Availability differs by sign-in surface and plan; check yours.
Tool documentation
Claim
Codex builds its AGENTS.md instruction chain when it starts, walking from the project root to the current directory; to pick up changes, restart Codex.
Source
OpenAI, AGENTS.md documentation, learn.chatgpt.com/docs/agent-configuration/agents-md, checked October 30, 2026.
Where used
Appendix B.9.
Caveat
Other clients reload instructions differently; verify per client.
Tool documentation
Claim
OpenAI reports using GPT-6 models to clean up its own code: more than 1,400 merged pull requests deleting over 800,000 lines, gathering evidence (configuration, history, production profiles) before each change, one small draft PR per cleanup, and noting traps such as reflection that defeats static analysis, unused paths kept to mitigate future incidents, and proposals that added more complexity than their expected benefit.
Source
OpenAI, "Maintaining software with the GPT-6 family," developers.openai.com/blog/maintaining-software-with-the-gpt-6-family, checked October 30, 2026.
Where used
Chapter 7 (Delete with evidence).
Caveat
A vendor's account of its own codebase, undated on the page; not a controlled measurement.

Marketplaces and plugin ecosystems

Marketplace
Claim
Anthropic's claude-plugins-official marketplace ships built-in with Claude Code as of May 2026 and bundles skills, hooks, tools, and commands behind a single install command. The marketplace warns users to trust plugins before installing.
Source
Claude Code docs (code.claude.com/docs/en/discover-plugins); the marketplace itself.
Where used
Chapter 1 (Plugins); Appendix D, Chapter 1 (plugins: why each vetting question exists).
Caveat
Plugin counts and marketplace policies will drift; the supply-chain discipline described in Chapter 1 is what to take away rather than any specific count.

Memory primitive sources

Memory primitive
Claim
Project instructions provide a manually maintained memory layer across coding tools. AGENTS.md is one convention; some clients use a different default filename or require explicit configuration/loading. A CLAUDE.md file can import shared instructions through @AGENTS.md.
Source
agents.md; client-specific loading documentation in the compatibility entry above and Chapter 6.
Where used
Chapters 1 and 6; Appendix D, Chapter 1 (memory and skills).
Caveat
Discovery checked October 23, 2026. The structural role is shared; automatic loading, precedence and available filenames are not. Do not infer support for AGENTS.override.md in a client from Codex behavior.
Memory primitive
Claim
Claude Code maintains an auto-memory layer in which Claude writes notes for itself across sessions - user preferences, feedback, ongoing project decisions and external references, skipping anything it can derive from the codebase such as architecture or debugging fixes - distinct from the user-written CLAUDE.md. Memory is machine-local and shared by all worktrees of a repository (checked October 30, 2026). Requires Claude Code v2.1.59+; on by default; per-repo storage.
Source
code.claude.com/docs/en/memory.
Where used
Chapter 1 (Memory); Appendix D, Chapter 1 (memory and skills: the convergence story).
Caveat
The entry documents the Claude Code implementation, but the half is a convergence, not an exclusive: GitHub Copilot Memory reached public preview on January 15, 2026 - before Auto Memory shipped - and was on by default for Pro tiers by March 4; Codex CLI added automatic background memory in April 2026.
Memory primitive
Claim
Anthropic publicly unveiled Dreaming as part of Claude Managed Agents at Code with Claude SF on 2026-05-06 - a scheduled background process that reviews recent sessions and the memory store, identifies recurring mistakes and convergent workflows, and writes consolidated notes back into long-term memory. It ships as a platform-level feature gated behind a beta header; a Claude Code CLI surface (/dream) was hinted in the product but had not shipped as a working command as of July 2026.
Source
Code with Claude SF announcement, 2026-05-06; code.claude.com/docs/en/memory.
Where used
Appendix D, Chapter 1 (memory and skills: the convergence story).
Caveat
Dreaming is Anthropic-specific and API-level at publication date, not yet a CLI feature. The structural role is what this manual indexes, not the vendor.

Permissions / Sandbox primitive sources

Permissions / Sandbox primitive
Claim
Claude Code resolves explicit permission rules before classifying remaining eligible actions in auto mode. Its opt-in OS sandbox wraps shell commands on macOS, Linux and WSL2; it does not cover native file tools, MCP servers or hooks.
Source
code.claude.com/docs/en/permissions; code.claude.com/docs/en/sandboxing.
Where used
Chapter 1 (Permissions / Sandbox) and Chapter 2 (Layer 1: Permissions and Layer 2: Sandbox).
Caveat
Checked October 23, 2026. A shell deny-read rule does not block native Read; shell network allowlists do not constrain every connected tool. Verify scope, supported platform and permission mode on the installed version.
Permissions / Sandbox primitive
Claim
Local hooks can be bypassed, including through Git's hook-path configuration. Claude Code command and HTTP policy hooks can fail open on errors or timeouts unless blocking failure behavior is configured; onFailure: "block" requires v2.1.295+. Required server checks and owner approval need protections the agent's credentials cannot bypass or alter unilaterally.
Source
Claude Code, "Hooks reference": code.claude.com/docs/en/hooks#block-the-action-when-a-hook-fails; Git, "githooks": git-scm.com/docs/githooks; GitHub, "Available rules for rulesets": docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets.
Where used
Chapters 2, 8 and 9; Appendix B.6; Appendix D, Chapter 9.
Caveat
Documentation checked October 23, 2026. Protection depends on actual settings, hook event and response semantics, credential privileges and server policy. This is not a runtime audit of a reader's environment.
Permissions / Sandbox primitive
Claim
Codex uses platform-specific OS isolation. Current documentation describes Seatbelt on macOS, bwrap plus seccomp by default on Linux, and MXC with legacy elevated and unelevated fallbacks on Windows. WSL2 uses the Linux implementation. Approvals are a separate control.
Source
OpenAI, "Agent approvals & security," OS-level sandbox; Windows sandbox.
Where used
Chapter 1 (Permissions / Sandbox; Sandbox posture is a governance choice) and Chapter 2 (Layer 2: Sandbox); Appendix D, Chapter 1 (sandbox posture by vendor, and the mechanisms underneath).
Caveat
Documentation checked October 23, 2026. Check the installed version, selected backend and effective permission profile; platform support and enforcement differ. Codex can also be configured to run without its sandbox. A backend description does not establish coverage for every tool or connected service.
Permissions / Sandbox primitive
Claim
opencode ships an in-agent permission-prompt model and path/permission validation, but does not provide OS-level sandbox isolation; isolation requires the operator to wrap opencode in Docker, a microVM, or another sandbox harness (Vercel's KB documents this explicitly as a deployment pattern). On the convergence test from Chapter 1, opencode passes the decision-layer half and not the OS-enforcement half.
Source
vercel.com/kb/guide/running-opencode-securely-with-the-vercel-sandbox.
Where used
Chapter 1 (Permissions / Sandbox; The anatomy is invariant; Sandbox posture is a governance choice); Appendix D, Chapter 1 (sandbox posture by vendor, and the mechanisms underneath).
Caveat
The "soft confinement" framing is the manual's, not opencode's documentation. opencode does not claim to ship a sandbox - the absence is honest, not hidden.

Outer-loop and autonomy sources

Outer loop
Claim
By spring 2026 the outer loop is a first-class surface in Claude Code: /loop re-runs a prompt on an interval (March 2026) or paces itself when the interval is omitted (April 2026), Routines fire templated cloud agents from a schedule, a GitHub event, or an API call (April 2026), /goal keeps the agent working across turns until a completion condition holds (May 2026), and /autofix-pr watches CI and review comments and pushes fixes until the pull request is green (April 2026).
Source
Claude Code release notes, "What's new": code.claude.com/docs/en/whats-new, weekly digests for April-May 2026.
Where used
Appendix D, Chapter 9 (the outer loop: the vendor wave and stop-condition mechanisms).
Caveat
Feature names and release weeks are vendor-current as of July 2026; expect drift, per the note on dated claims.
Outer loop
Claim
The Ralph Wiggum technique - a bash while-loop re-piping a prompt file into a coding agent, one fresh context per iteration, state in the repository - originates with Geoff Huntley in mid-2025 ("In its purest form, Ralph is a Bash loop": while :; do cat PROMPT.md | claude-code ; done), went viral in late 2025, and was adopted into the official Claude Code repository as the ralph-wiggum plugin in November 2025 (the migrating commit is dated November 16). Huntley prices raw loop operation at roughly $10 per hour, says many Y Combinator startups run Ralph, and names the core failure mode "overbaking."
Source
Geoff Huntley, ghuntley.com/ralph (July 2025); HumanLayer, "A Brief History of Ralph," January 6, 2026: humanlayer.dev/blog/brief-history-of-ralph; The Register, January 27, 2026: theregister.com/2026/01/27/ralph_wiggum_claude_loops/.
Where used
Appendix D, Chapter 9 (the outer loop: from AutoGPT to Ralph Wiggum), lineage and overbaking paragraphs.
Caveat
The $10-per-hour figure and the Y Combinator adoption claim are Huntley's own, relayed by The Register - practitioner-reported, not audited.
Outer loop
Claim
Background and scheduled agent execution shipped across vendors through late 2025: GitHub Copilot coding agent generally available September 25, 2025 (isolated GitHub Actions environment; output as a draft pull request; review requested from a human on completion); Cursor Cloud Agents October 30, 2025 (many detached agents, laptop closed); Google Jules Scheduled Tasks December 10, 2025 (recurring cadences for maintenance work).
Source
GitHub changelog: github.blog/changelog/2025-09-25-copilot-coding-agent-is-now-generally-available; Cursor blog: cursor.com/blog/cloud-agents; Google blog: blog.google/technology/developers/jules-proactive-updates.
Where used
Appendix D, Chapter 9 (the outer loop: the vendor wave and stop-condition mechanisms), convergence paragraph.
Caveat
Ship dates are the vendors' announcements; the surfaces have kept evolving since.
Outer loop
Claim
StrongDM's "software factory" team runs fully non-interactive agentic delivery - humans neither write nor review code - with end-to-end user-story scenarios stored outside the codebase as a holdout set the agents cannot see or weaken, and treats roughly $1,000 per day per engineer in token spend as a factory health floor; Simon Willison frames the economics at about $20,000 per month per engineer and flags that as the pattern's main limitation.
Source
Simon Willison, "How StrongDM's AI team build serious software without even looking at the code," February 7, 2026: simonwillison.net/2026/Feb/7/software-factory/.
Where used
Appendix D, Chapter 9 (the outer loop: why each contract line exists, and the two poles), the industrial pole.
Caveat
Single-company self-description; the dollar figures are the team's and Willison's framing, not an audit.
Outer loop
Claim
The 2023 loop era - AutoGPT, BabyAGI - looped a model against its own assessment of progress, with no external grader per iteration, and collapsed as a software-delivery approach within months. The 2025 revival differs structurally: every iteration ends against compiler, tests, and diff.
Source
The AutoGPT and BabyAGI repositories document the 2023 design: github.com/Significant-Gravitas/AutoGPT, github.com/yoheinakajima/babyagi. The structural contrast is this manual's analysis, drawn from the Ralph-era sources above.
Where used
Appendix D, Chapter 9 (the outer loop: from AutoGPT to Ralph Wiggum), lineage paragraph.
Caveat
The collapse judgment is interpretive; both projects continued in other roles.

Harness and model-migration sources

Harness
Claim
Dex Horthy (HumanLayer) reported that a monolithic 85-plus-instruction planning prompt skipped steps; his team split the workflow into questions, research, design, structure outline, plan, worktree, implement and pull request, with each prompt under 40 instructions, hid the ticket from research, ordered plans vertically and retracted earlier advice to review plans instead of code.
Source
Dexter Horthy, "Everything We Got Wrong About Research-Plan-Implement," keynote, Coding Agents Conference, Computer History Museum, March 3, 2026: youtube.com/watch?v=YwZR6tc7qYg.
Where used
Chapter 4 (Research, Plan); Appendix D, Chapters 4 and 6.
Caveat
Practitioner testimony from a vendor of the workflow; quotes from YouTube's machine transcript, read November 9, 2026.
Harness
Claim
HumanLayer's current RPI workflow excludes the ticket from research by default ("DO NOT read ticket files"), uses a structure outline with phases ordered "vertically rather than horizontally", and goes from the outline to implementation; the detailed plan remains a legacy option.
Source
HumanLayer, "Skills and workflows": docs.humanlayer.com/reference/skills-workflows; RPI plugin prompts create-research and create-structure-outline: github.com/humanlayer/humanlayer/tree/f9bd73534a9fb7099a274f951b698b1297122fd9/apps/riptide-rpi-claude-plugin/skills.
Where used
Appendix D, Chapter 4.
Caveat
Vendor documentation and prompts, checked November 9, 2026; they change.
Harness
Claim
Instruction adherence falls as simultaneous instructions increase; the best of 20 models reached about 68% at 500 keyword-inclusion instructions.
Source
Daniel Jaroslawicz, Brendan Whiting, Parth Shah and Karime Maamari, "How Many Instructions Can LLMs Follow at Once?", July 15, 2025: arxiv.org/abs/2507.11538.
Where used
Appendix D, Chapter 6.
Caveat
Business-report generation, not coding workflows; the paper sets no universal instruction limit.
Harness
Claim
HumanLayer replaced its context warning at about 40% of the usable window with a warning at 100,000 tokens for long-context models.
Source
HumanLayer, "Long-Context Isn't the Answer," March 23, 2026: humanlayer.dev/blog/long-context-isnt-the-answer.
Where used
Appendix D, Chapter 6.
Caveat
Practitioner heuristic for its own users, not a measured threshold.
Harness
Claim
Current vendor guidance supports task-sized planning and scoped instructions: Codex recommends clear outcomes, practical project instructions and planning for complex work; Claude Code recommends exploration and planning when useful, but direct execution for clear small edits. OpenAI's GPT-6 Astra guidance warns against broad skill triggers, elaborate recipes and requiring a full repository map before every change.
Source
Eric Provencher, OpenAI, "Rethinking skills and prompts for GPT-6 Astra," September 11, 2026: developers.openai.com/blog/rethinking-skills-and-prompts-for-gpt-6-astra; OpenAI, "Best practices": learn.chatgpt.com/docs/learn/best-practices; Anthropic, "Best practices for Claude Code" and "Create custom subagents": code.claude.com/docs/en/best-practices, code.claude.com/docs/en/sub-agents.
Where used
Chapters 1, 3 and 4; Appendix B.3, B.9 and B.10; Appendix D, Chapters 3 and 4.
Caveat
Vendor guidance, not a controlled comparison of the book's entire workflow. Live documentation was checked October 23, 2026; requirements and controls still depend on the task and organization.
Harness
Claim
Anthropic's Opus 5 guide says added verification instructions and verifier subagents can cause over-verification, adding cost without quality gains. Its Fable 5 guide instead recommends fresh verifier subagents for long-running work. Neither establishes a universal requirement for two sequential code reviewers.
Source
Anthropic, "Prompting Claude Opus 5": platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-opus-5; "Prompting Claude Fable 5" below.
Where used
Chapter 5 (Review: choose the depth); Appendix B.3 and B.9; Appendix D, Chapter 5.
Caveat
Model-specific vendor advice, checked October 23, 2026. It concerns added agent scaffolding, not permission to bypass normal human, CI or security gates.
Harness
Claim
Claude Code loads skill descriptions before invocation and full bodies when invoked; overly broad triggers can be narrowed or made manual-only. It recommends concise, scoped project instructions. From v2.1.277 it can read AGENTS.md directly when no CLAUDE.md or CLAUDE.local.md exists on the project path; otherwise the default favors CLAUDE.md, with imports and settings available.
Source
Anthropic, "Extend Claude with skills" and "How Claude remembers your project": code.claude.com/docs/en/skills, code.claude.com/docs/en/memory.
Where used
Chapters 1 and 6; Appendix B.2 and B.10; Appendix D, Chapters 1 and 6.
Caveat
Claude Code behavior, checked October 23, 2026; versions, settings and other harnesses differ. A skill catalog's size is not the amount of full skill text loaded.
Harness
Claim
Direct Superpowers comparisons show conditional gains and extra cost. Krupa's 192-run study of v6.4.2 on Sonnet 5.5 reported a mean per-case cost ratio of 1.33x; a bug-fix regression test appeared in 8/8 plugin runs versus 4/8 baseline runs, with correct fixes in both. OrcaBot's July run of v6 on Codex gpt-5.5/high resolved 57.06% versus 55.56% of 729 common SWE-bench Pro cases at $0.46 versus $0.37 per problem.
Source
Bartłomiej Krupa, September 29, 2026: bartlomiejkrupa.dev/articles/does-superpowers-beat-no-plugin/; Rob Macrae, OrcaBot, July 31, 2026: orcabot.com/benchmarks/agent-skills; Superpowers release notes: github.com/obra/superpowers/blob/main/RELEASE-NOTES.md.
Where used
Chapter 4 (What is the six-phase loop?); Appendix B.10; Appendix D, Chapter 4.
Caveat
Krupa used tiny headless cases and grading that partly rewards process; OrcaBot used one seed per arm, so its small advantage is indicative. Later releases changed Native execution and gates. No independent v7.x/current-Codex comparison was found in this review; older cost ratios are not current-version measurements.
Harness
Claim
SkillsBench v4's 87 tasks across eight domains and 18 model/harness configurations improved from 33.9% to 50.5% average pass rate with curated skills.
Source
Xiangyi Li et al., "SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse Tasks," February 13, 2026, v4 June 14: arxiv.org/abs/2602.12670v4.
Where used
Chapter 1 (Skills); Appendix D, Chapter 4 (focused skills versus a general workflow).
Caveat
Curated task-specific skills and deterministic task verifiers, not a Superpowers or mandatory-process evaluation. Aggregate gains do not establish benefit on every task or model; this is a preprint.
Harness
Claim
Anthropic removed over 80% of Claude Code's own system prompt for the Claude 5 generation (Opus 5, Fable 5) with no measurable loss on its coding evaluations, replacing rules with judgment and worked examples with designed interfaces.
Source
Thariq Shihipar, "The new rules of context engineering for Claude 5 generation models," Anthropic blog, July 24, 2026: claude.com/blog/the-new-rules-of-context-engineering-for-claude-5-generation-models.
Where used
Appendix D, Chapter 6 (instruction load and the size guideline).
Caveat
Vendor's own evaluations on its own harness; the advice is written for the Claude 5 generation and older models may still need the deleted instructions.
Harness
Claim
Anthropic's prompting guide for Fable 5 states that separate, fresh-context verifier subagents tend to outperform self-critique; describes a memory system of one lesson per file with a one-line summary, updated rather than duplicated, deleted when wrong; documents rare early stopping on a statement of intent ("I'll now run X") and occasional unrequested actions, each with a prompt block; and warns that asking the model to reproduce its reasoning in the reply can trigger the reasoning_extraction refusal category.
Source
Anthropic, "Prompting Claude Fable 5," Claude Platform docs: platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5.
Where used
Appendix D, Chapter 4 (vendor autonomy and scope guidance), Chapter 5 (model-specific review and bounded repair) and Chapter 6 (mistake-journal mechanics); Appendix B.3 and B.9.
Caveat
Undated documentation page, revised in place; verify the current wording before relying on a specific phrase.
Harness
Claim
Anthropic's Fable 5.1 guide recommends asynchronous subagent dispatch, a fresh effort sweep, append-only history and a keep-list for compaction. It also recommends keeping changes in scope and permanent tests proportionate to the request and repository practice, rather than committing every scratch check; it reports reduced extras without measurable task-success loss.
Source
Anthropic, "Prompting Claude Fable 5.1," Claude Platform docs: platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5-1.
Where used
Chapters 1, 5 and 6; Appendix D, Chapters 1, 4, 5 and 6; Appendix B.3, B.7 and B.9.
Caveat
Undated documentation page for a model released September 1, 2026. The 0.025x figure in Appendix D, Chapter 6 is the manual's arithmetic from the published cache-read and base input prices at the time of writing; the append-only requirement applies to accounts created on or after August 31, 2026 per the guide.
Harness
Claim
Anthropic's advisor pattern: Sonnet with Opus as an advisor scored 2.7 percentage points higher on SWE-bench Multilingual than Sonnet alone at 11.9% lower cost per agentic task; Haiku with an Opus advisor scored 41.2% on BrowseComp against 19.7% solo, trailing Sonnet solo by 29% in score at 85% lower cost per task.
Source
Anthropic, "The advisor strategy: Give agents an intelligence boost," April 9, 2026: claude.com/blog/the-advisor-strategy.
Where used
Appendix A (The structural levers, tier routing); Appendix D, Appendix A (tier routing, the two measured points).
Caveat
Vendor benchmarks on the vendor's own models; the cost figures are per task on those benchmarks, not a general ratio.
Harness
Claim
Anthropic's context editing (automatic clearing of stale tool results) delivered a 29% improvement on an internal agentic search evaluation.
Source
Anthropic, "Managing context on the Claude Developer Platform," September 29, 2025: claude.com/blog/context-management.
Where used
Appendix D, Chapter 6 (compaction and context measurements).
Caveat
Internal evaluation; the post describes clearing, not a comparison against summarization - that comparison is the JetBrains entry below.
Harness
Claim
OpenAI's builder's guide reports that GPT-5.6 Sol at low reasoning effort outperformed GPT-5.5 at high effort on Agents' Last Exam with the harness held constant, and that programmatic tool calling matched rubric quality while using 21% fewer input tokens on a financial-research benchmark.
Source
OpenAI, "The builder's guide to GPT-5.6," August 2026: openai.com/index/builders-guide-to-gpt-5-6/; migration guidance in "Prompting guidance for GPT-5.6 Sol," developers.openai.com/api/docs/guides/prompt-guidance-gpt-5p6.
Where used
Appendix D, Chapter 1 (Effort: the evidence; what tool definitions cost); Appendix B.9.
Caveat
Vendor evaluations; the 21% figure is from one benchmark (Rogo's Big Finance Benchmark), not a general average. The migration guidance says to preserve the current effort as the baseline and compare one level lower, which is the B.9 sweep in the vendor's words.
Harness
Claim
OpenAI's guide for GPT-6 Astra states that the user's instructions take precedence over guidelines provided in a skill; that the model is more sensitive to information in context, so unclear or conflicting guidance in a skill file can make it pause and block work early; that it is more likely to ask the user a question when input could change the result; and that it tends toward broader tests than a task requires, with counter-guidance not to write tests for reversible, low-impact changes.
Source
OpenAI, "Using GPT-6 Astra," September 2026: developers.openai.com/api/docs/guides/latest-model.
Where used
Appendix D, Chapter 4 (vendor autonomy and scope blocks) and Chapter 6 (why the precedence line exists); Appendix B.2 and B.3.
Caveat
Astra is the codename of OpenAI's GPT-6 model released September 3-4, 2026, not a separate product; the guide is undated and revised in place.
Harness
Claim
OpenAI's own Codex practice keeps a short AGENTS.md of roughly 100 lines that serves primarily as a map with pointers to deeper sources of truth, with the repository's knowledge base in a structured docs/ directory treated as the system of record.
Source
Ryan Lopopolo, "Harness engineering: leveraging Codex in an agent-first world," OpenAI, February 11, 2026: openai.com/index/harness-engineering/.
Where used
Chapter 6 (Rules 3 and 4, where the map lives); Appendix D, Chapter 6 (repository overviews in context files do not help); Appendix B.2.
Caveat
One team's practice, described by the vendor. The Codex harness itself was released as open source in August 2026 ("Codex as a platform," developers.openai.com/blog/codex-as-a-platform), which is a separate post.
Harness
Claim
Enabling retained reasoning and compaction took GPT-5.6 Sol from 13.3% to 38.3% on ARC-AGI-3 while reducing output tokens by a factor of six, with the harness otherwise unchanged.
Source
OpenAI, "How enabling two settings tripled our scores on the ARC-AGI-3 benchmark," July 29, 2026: openai.com/index/how-two-settings-tripled-our-arc-agi-3-scores/.
Where used
Chapter 1 (Effort, retained reasoning); Appendix D, Chapter 1 (Effort: the evidence).
Caveat
Vendor post on one benchmark and one model. The manual uses it for the mechanism - reasoning kept across turns compounds - not for the specific score.
Harness
Claim
Claude Code /goal uses a separate model to assess the condition from the conversation. Codex Goals maintains an objective and budget, and the acting model can mark it complete. These continuation and completion mechanisms do not independently execute protected acceptance tests.
Source
Claude Code docs, "/goal": code.claude.com/docs/en/goal; OpenAI Cookbook, "Using Goals in Codex": developers.openai.com/cookbook/examples/codex/using_goals_in_codex.
Where used
Chapter 9 (The outer loop, the stop condition); Appendix D, Chapter 9 (the outer loop: the vendor wave and stop-condition mechanisms).
Caveat
Mechanism documentation, checked October 23, 2026, not evidence of independent verification. Require externally protected checks for acceptance. The ralph-wiggum plugin offers a maximum-iteration budget and practitioner reports, not proof of a reliable grader.
Harness
Claim
The revised AGENTS.md study found no general success improvement from generated repository context files and over 20% higher inference cost in its tested settings. Developer-written files showed a modest average success gain that was not statistically significant; repository overviews did not help in this evaluation.
Source
Thibaud Gloaguen et al. (ETH Zürich), "Evaluating AGENTS.md: Are Repository-Level Context Files Helpful for Coding Agents?", February 12, 2026, v3 September 29: arxiv.org/abs/2602.11988v3.
Where used
Chapter 6 (Rules 3 and 4); Appendix D, Chapter 6 (context files: the revised evidence); Appendix B.2.
Caveat
Specific agents and benchmarks, not proof that every context file harms. Keeping non-obvious requirements and moving long maps to on-demand docs is the manual's interpretation, not a measured universal content rule.
Harness
Claim
Across 260 multi-agent configurations, coordination helped only on decomposable tasks, degraded sequential planning by between 39% and 70% depending on architecture, and produced negative returns on tasks where a single agent already exceeded about 45% accuracy.
Source
Kim et al., "Capable language models can outgrow the benefits of collaboration," Nature Machine Intelligence 8, 1157-1172, July 24, 2026: doi.org/10.1038/s42256-026-01268-y; preprint "Towards a Science of Scaling Agent Systems," arxiv.org/abs/2512.08296.
Where used
Chapter 4 (Execute, the split gate); Appendix D, Chapter 4 (when splitting into subagents pays); Appendix B.3.
Caveat
Mostly not coding-specific: SWE-bench Verified and Terminal-Bench are the only coding benchmarks among six, each on a 20-instance subset; the 45% threshold is a fitted predictor across the tested tasks, not a law.
Harness
Claim
On SpecBench, every frontier agent saturates the visible test suite while the held-out score stays much lower; for Claude Code the gap is roughly 43 to 48 percentage points across three search strategies, and other agents vary by strategy; the 90th-percentile gap grows by about 27 points for every tenfold increase in lines of code; additional search does not reliably remove the reward hacking.
Source
Bingchen Zhao, Dhruv Srikanth, Yuxiang Wu, Zhengyao Jiang (Weco AI), "SpecBench: Measuring Reward Hacking in Long-Horizon Coding Agents," May 20, 2026 (v2 September 9, 2026): arxiv.org/abs/2605.21384.
Where used
Chapter 5 (Can you trust the tests the agent writes?); Appendix D, Chapter 5 (SpecBench and the Cursor finding in full); Appendix B.3.
Caveat
The abstract rounds the growth figure to 28 points; the body reports 27 with R² of 0.21, so the trend is real and noisy.
Harness
Claim
On SWE-bench Pro, 63% of successful Claude Opus 4.8 Max resolutions retrieved the upstream fix rather than deriving it; sealing git history and cutting network egress dropped the score from 87.1% to 73.0%.
Source
Naman Jain, Cursor, "Reward hacking is swamping model intelligence gains," June 25, 2026: cursor.com/blog/reward-hacking-coding-benchmarks.
Where used
Chapter 5 (Can you trust the tests the agent writes?, the sealed-history control); Appendix D, Chapter 5 (SpecBench and the Cursor finding in full).
Caveat
One vendor's harness and one model; the behavior is a property of the gate, not of the model named.
Harness
Claim
In a multi-agent reasoning setup, the more precise reviewer had its verified-useful critiques change the next candidate only 33.6% of the time, while a broadcast (peer) setup reached 93.5% and the higher final pass rate.
Source
Chih-Hsuan Yang et al., "Precise but Uncoupled: Reviewer Precision Does Not Guarantee Critique Uptake in Multi-Agent Math Reasoning," July 16, 2026: arxiv.org/abs/2607.15388.
Where used
Chapter 5 (Review: choose the depth); Appendix D, Chapter 5 (model-specific review and bounded repair); Appendix B.3.
Caveat
Mathematical reasoning, not code review; critique uptake is one diagnostic, not proof of useful defect detection or a reason to prefer process compliance over outcomes.
Harness
Claim
A rubric-guided verify-and-repair loop (DeepVerifier) peaked around the fourth round and had declined by the tenth, because the incorrect-to-correct transition decays quickly while the correct-to-incorrect transition persists.
Source
Yuxuan Wan et al., "Inference-Time Scaling of Verification: Self-Evolving Deep Research Agents via Test-Time Rubric-Guided Verification," January 22, 2026 (v2 April 29, 2026): arxiv.org/abs/2601.15808.
Where used
Chapter 5 (Review: choose the depth, bounded repair); Appendix D, Chapter 5 (model-specific review and bounded repair); Appendix B.3.
Caveat
Deep research agents on GAIA, not coding; the decline from the peak is a few points, so the lesson is the shape of the curve, not the size of the drop.
Harness
Claim
LLM judges anchor to a prior score shown to them, and neither chain-of-thought reasoning nor an explicit metadata-disregard warning removes the total effect.
Source
Ante Kapetanovic et al., "Anchoring Bias in LLM-as-a-Judge Systems: Prior Scores Compromise Evaluation Independence," August 26, 2026: arxiv.org/abs/2608.25869.
Where used
Chapter 5 (Review: choose the depth, independent judgments); Appendix D, Chapter 5 (model-specific review and bounded repair); Appendix B.3.
Caveat
Evaluation setting rather than code review; the manual applies the finding to reviewer two seeing reviewer one's verdicts.
Harness
Claim
The rate at which a model satisfies every rule in a prompt at once collapses to zero by about 80 simultaneous rules, for every model, format, and placement tested, including Claude Sonnet 5 and Claude Haiku.
Source
Netanel Eliav, "Prompt Design at Scale: How Format, Instruction Count, and Context Length Shape Instruction Adherence and Hallucination in Large Language Models," July 21, 2026: arxiv.org/abs/2607.19257.
Where used
Appendix D, Chapter 6 (instruction load and the size guideline).
Caveat
Perfect-response rate is a strict metric on the tested models and tasks; other work reports softer thresholds. Rule count is not line count, and this does not establish a universal 200-line cap for AGENTS.md.
Harness
Claim
RULER defines effective context using the largest tested length above a fixed benchmark threshold derived from Llama2-7B at 4K; Table 3 uses 85.6%. It is not each model retaining its own short-context score.
Source
Cheng-Ping Hsieh et al., "RULER: What's the Real Context Size of Your Long-Context Language Models?", v3, August 6, 2024: effective context and Table 3.
Where used
Chapter 1 (Context window); Appendix D, Chapter 1.
Caveat
Thirteen synthetic tasks and the tested 2024 models. These results establish neither a universal half-window rule nor the usable fraction of a current coding model's context. Rechecked October 23, 2026.
Harness
Claim
In five SWE-agent/SWE-bench Verified configurations, observation masking was cheaper than summarization in four. Both substantially reduced cost against unmanaged history in most settings; for Qwen3-Coder 480B, reductions were 52.7% and 50.4% respectively against that baseline.
Source
Tobias Lindenbauer, Igor Slinko, Ludwig Felder, Egor Bogomolov and Yaroslav Zharov, "The Complexity Trap", August 2025, camera-ready October 27: paper v3; primary Table 1; JetBrains December explanation.
Where used
Chapter 6 (Context hygiene); Appendix A; Appendix B.7; Appendix D, Chapter 6.
Caveat
The over-50% example compares each method with unmanaged history, not masking with summarization. Savings vary materially across configurations. Table 1 does not support a universal over-50% reduction; checked October 23, 2026.
Harness
Claim
Across 15 models, performance in fragmented multi-turn conversations dropped by 39% on average relative to a single fully specified turn, and consolidating the fragments into one turn recovered about 95% of the single-turn result.
Source
Philippe Laban, Hiroaki Hayashi, Yingbo Zhou, Jennifer Neville, "LLMs Get Lost in Multi-Turn Conversation," May 2025: arxiv.org/abs/2505.06120.
Where used
Chapter 6 (Context hygiene, one unit of work per session); Appendix D, Chapter 6 (compaction and context measurements).
Caveat
Simulated conversations on generation tasks, not coding sessions; the manual uses it for the mechanism behind consolidating before continuing.
Harness
Claim
Opus 4.8 and Sonnet 5 invent keys that a custom nested tool schema never declared, while older models do not, and turning on strict tool invocation eliminated the behavior.
Source
Armin Ronacher, "Better Models: Worse Tools," July 4, 2026: lucumr.pocoo.org/2026/7/4/better-models-worse-tools/. For provider constraints: Anthropic, Structured outputs: important considerations and Strict tool use; OpenAI, Structured Outputs.
Where used
Chapter 1 (Tools); Appendix D, Chapter 1 (what tool definitions cost, and the 2026 harness answers); Appendix B.9.
Caveat
One practitioner's runs on one harness. Strict decoding can prevent schema violations where supported; it does not establish semantic correctness. Check schema compatibility, complexity limits and any compilation latency for the provider and model. Anthropic documents first-use compilation latency and shared limits for strict tool schemas; OpenAI also documents schema limits. Provider documentation checked October 23, 2026.
Harness
Claim
In a multi-agent harness, fork a worker so it receives the supervisor's history and prompt cache and continues the investigation, and isolate a verifier so it evaluates the work itself rather than being anchored by the supervisor's diagnosis; writes in working multi-agent systems stay single-threaded, with additional agents contributing intelligence rather than actions.
Source
Thushanth Bengre and Chester Curme, LangChain, "Organizing Context in a Multi-Agent Harness," September 8, 2026: langchain.com/blog/organizing-context-in-a-multi-agent-harness; Walden Yan, Cognition, "Multi-Agents: What's Actually Working," April 22, 2026: cognition.com/blog/multi-agents-working.
Where used
Chapter 4 (Execute, one writer per file); Appendix D, Chapter 4 (one writer, forked workers, isolated reviewers); Appendix B.3.
Caveat
Both are vendor engineering posts; "one writer" is the manual's compression of Cognition's "writes stay single-threaded."
Harness
Claim
OpenWiki's claims runtime, which attaches evidence pointers to stored claims and re-checks them, cut stale claims in its knowledge base from 3.5% to 0.5% across 2,000 evaluated claims.
Source
Colin Francis, "Building Self-Correcting Memory in OpenWiki," LangChain blog, August 25, 2026: langchain.com/blog/self-correcting-memory-openwiki.
Where used
Chapter 6 (Rules 2 and 5, the evidence pointer); Appendix D, Chapter 6 (mistake-journal mechanics).
Caveat
A knowledge-base system, not a mistake journal; the manual borrows the mechanism - a claim that cites its evidence can be retired when the evidence goes stale.
Harness
Claim
Agentic navigation on Claude Sonnet 4.5 reached 49.6% recall@1 on BRIGHT, 21.8 points above the best embedding model; bounded workspaces (RISE) keep agentic retrieval working at one million documents where direct context inspection degrades; and code search for agents resolves into three modalities - lexical (ripgrep), structural (ast-grep), and graph (LSP references).
Source
Susheel Suresh et al., "AgenticRAG: Agentic Retrieval for Enterprise Knowledge Bases," May 7, 2026: arxiv.org/abs/2605.05538; Shengyao Zhuang et al., "Towards Retrieving Interaction Spaces for Agentic Search" (RISE), June 5, 2026: arxiv.org/abs/2606.06880; Andrey Kumanyaev, "Code search for AI agents: the grep replacement is three tools, not one," June 6, 2026: zzet.org/gortex/grep-replacement-for-ai-agents/.
Where used
Appendix D, Chapter 7 (why the agent reads the code rather than an index of it); Chapter 7 (The workflow) states the conclusion.
Caveat
The recall figure is on a general retrieval benchmark, not a codebase; the three-tools framing is a practitioner's, and the manual states no numeric threshold for when an embedding index starts to pay.
Harness
Claim
Prompt caching with a cache-first prompt layout reduced API cost by 41% to 80% across providers on more than 500 agent sessions; a default Claude Code session was found to consume roughly 24,000 tokens of tool definitions, MCP schemas, and reminders before any user interaction; with a large tool pool fully loaded, baseline tool-selection accuracy was 13.62% and retrieving only the relevant tools per query raised it to 43.13%; one practitioner's count put three MCP servers at roughly 143,000 tokens of a 200,000-token window.
Source
Elias Lumer et al., "Don't Break the Cache: An Evaluation of Prompt Caching for Long-Horizon Agentic Tasks," January 31, 2026: arxiv.org/abs/2601.06007; GitHub issue anthropics/claude-code#42452, April 2, 2026; Tiantian Gan and Qiyao Sun, "RAG-MCP: Mitigating Prompt Bloat in LLM Tool Selection via Retrieval-Augmented Generation," May 6, 2025: arxiv.org/abs/2505.03275; MetaBlogue, "MCP servers and the context window," September 5, 2026: metablogue.com/mcp-servers-context-window/.
Where used
Chapter 1 (Tools); Appendix D, Chapter 1 (what tool definitions cost, and the 2026 harness answers); Appendix A (The structural levers).
Caveat
The 24k and 143k figures are practitioner counts that vary by installation and were not produced by a controlled study; the RAG-MCP figures compare a retrieval method against a no-retrieval baseline at scale and date from 2025.
Harness
Claim
For between 37% and 63% of software-engineering papers surveyed, a newer model with a single prompt natively outperforms the heavily engineered tooling proposed about a year earlier.
Source
Nahian Salsabil et al., "What Survives the Next Model? Benchmarking LLM-Based Techniques Against Single-Prompts," August 31, 2026: arxiv.org/abs/2609.00468.
Where used
Chapter 8 (When it breaks, the model-migration check); Appendix D, Chapter 8 (the model-migration soft signal, with its evidence); Appendix B.9.
Caveat
arXiv preprint, not yet peer-reviewed; the manual uses it for the direction - each generation retires part of the harness - not the exact fraction.

Notes on currency

Sources retain their publication/version dates. Entries rechecked in the latest revisions state October 23 or October 30, 2026 explicitly; that does not mean every historical claim was independently revalidated. For a consequential claim, retain the direct source, version/date, date checked, applicable setting and the interpretation being drawn. Mutable documentation must be rechecked before relying on it. Author-reported case notes are not controlled measurements, and the synthetic companion and hypothetical economics are teaching artifacts rather than engagement evidence.