{
 "schema_version": 3,
 "book": "agent-harnesses",
 "edition": "2026.12.2",
 "line": "main",
 "prev_edition": "2026.12.1",
 "chapters": [
  {
   "chapter_id": "tools-and-a-loop",
   "title": "Give a model tools and a loop",
   "order": 1,
   "file": "chapters/01-tools-and-a-loop.md",
   "sha256": "00bfabd424c24f8a91008e929412c79e5766ae966bac7139929791cdd27c218a",
   "rendered_sha256": "00bfabd424c24f8a91008e929412c79e5766ae966bac7139929791cdd27c218a",
   "content_sha256": "00bfabd424c24f8a91008e929412c79e5766ae966bac7139929791cdd27c218a",
   "changed": false
  },
  {
   "chapter_id": "stop-rules",
   "title": "Stop the loop when it's done or stuck",
   "order": 2,
   "file": "chapters/02-stop-rules.md",
   "sha256": "5d657a0b7314ab7377b37704dfd2fc11ea0490d1cac786e756c528c696f3e6fe",
   "rendered_sha256": "5d657a0b7314ab7377b37704dfd2fc11ea0490d1cac786e756c528c696f3e6fe",
   "content_sha256": "5d657a0b7314ab7377b37704dfd2fc11ea0490d1cac786e756c528c696f3e6fe",
   "changed": false
  },
  {
   "chapter_id": "tool-schemas",
   "title": "Give the model tools it can't misuse",
   "order": 3,
   "file": "chapters/03-tool-schemas.md",
   "sha256": "2fc2d6b33cf51a2fa8290a1c9ccc4302e162449383aa2c43293261e9cc0e6bac",
   "rendered_sha256": "2fc2d6b33cf51a2fa8290a1c9ccc4302e162449383aa2c43293261e9cc0e6bac",
   "content_sha256": "2fc2d6b33cf51a2fa8290a1c9ccc4302e162449383aa2c43293261e9cc0e6bac",
   "changed": false
  },
  {
   "chapter_id": "model-adapters",
   "title": "One interface for scripted, replayed, local and hosted models",
   "order": 4,
   "file": "chapters/04-model-adapters.md",
   "sha256": "1f597d685c1e053715e03de02153b2992f7e9b4dcae890662239ecbc60c8edde",
   "rendered_sha256": "1f597d685c1e053715e03de02153b2992f7e9b4dcae890662239ecbc60c8edde",
   "content_sha256": "1f597d685c1e053715e03de02153b2992f7e9b4dcae890662239ecbc60c8edde",
   "changed": false
  },
  {
   "chapter_id": "context-budgets",
   "title": "Keep the context useful as the task grows",
   "order": 5,
   "file": "chapters/05-context-budgets.md",
   "sha256": "aefab7dbc4b0bd2ad391042d548e44dfecf94085bcea02d3fa3d48bf0ca2cbb8",
   "rendered_sha256": "8d64bb06154532ad6ff8c1494ab8d9fcf8f785e5d5b9022fd7345b37fe82e921",
   "content_sha256": "8d64bb06154532ad6ff8c1494ab8d9fcf8f785e5d5b9022fd7345b37fe82e921",
   "changed": false
  },
  {
   "chapter_id": "permission-gates",
   "title": "Gate the tools that change things",
   "order": 6,
   "file": "chapters/06-permission-gates.md",
   "sha256": "b8e6d651da25fe7455bb3f46637a0437832c6320de525ae44f5e9e098f853b98",
   "rendered_sha256": "b8e6d651da25fe7455bb3f46637a0437832c6320de525ae44f5e9e098f853b98",
   "content_sha256": "b8e6d651da25fe7455bb3f46637a0437832c6320de525ae44f5e9e098f853b98",
   "changed": false
  },
  {
   "chapter_id": "sandbox-and-secrets",
   "title": "Run the agent's code in a sandbox, and keep secrets out of its view",
   "order": 7,
   "file": "chapters/07-sandbox-and-secrets.md",
   "sha256": "ea0be6c2cfd00d3d82a73a46597aafa803d961b96fa2f3660fd9438fc937e648",
   "rendered_sha256": "ea0be6c2cfd00d3d82a73a46597aafa803d961b96fa2f3660fd9438fc937e648",
   "content_sha256": "ea0be6c2cfd00d3d82a73a46597aafa803d961b96fa2f3660fd9438fc937e648",
   "changed": false
  },
  {
   "chapter_id": "subagents-and-handoffs",
   "title": "Hand a subtask to a child, and hand back a stop",
   "order": 8,
   "file": "chapters/08-subagents-and-handoffs.md",
   "sha256": "894df2ff3a48077f959bc579f8732416242a8e1a7bd1aeede153c0c563221f7c",
   "rendered_sha256": "bcc80a7c31e3d5498e3928e4f30b51ca555dc9a989c759ecef2b73bc36bf908d",
   "content_sha256": "bcc80a7c31e3d5498e3928e4f30b51ca555dc9a989c759ecef2b73bc36bf908d",
   "changed": false
  },
  {
   "chapter_id": "mcp-tools",
   "title": "Connect the harness to MCP servers",
   "order": 9,
   "file": "chapters/09-mcp-tools.md",
   "sha256": "4437ea1a4828fded3fb8bf6a8f7a3346f3450b3f3b5ffd84451b1ac32ae486f2",
   "rendered_sha256": "4437ea1a4828fded3fb8bf6a8f7a3346f3450b3f3b5ffd84451b1ac32ae486f2",
   "content_sha256": "4437ea1a4828fded3fb8bf6a8f7a3346f3450b3f3b5ffd84451b1ac32ae486f2",
   "changed": false
  },
  {
   "chapter_id": "testing-the-agent",
   "title": "Test the agent, then measure it on a task set",
   "order": 10,
   "file": "chapters/10-testing-the-agent.md",
   "sha256": "6c3b6658fa73342b497d460459b17e722d30027fee6b195ada67e3bc93e58bef",
   "rendered_sha256": "527e2d10726e31a6b220d86128794e6f41617339fd7276786b907393aee2203b",
   "content_sha256": "527e2d10726e31a6b220d86128794e6f41617339fd7276786b907393aee2203b",
   "changed": false
  },
  {
   "chapter_id": "traces-and-cost",
   "title": "Trace each run and count what it cost",
   "order": 11,
   "file": "chapters/11-traces-and-cost.md",
   "sha256": "857adfa2f401c4ba8bbc1dc2a2d69b0ad30914d94facc2b4957ae4cda31bd1bb",
   "rendered_sha256": "857adfa2f401c4ba8bbc1dc2a2d69b0ad30914d94facc2b4957ae4cda31bd1bb",
   "content_sha256": "857adfa2f401c4ba8bbc1dc2a2d69b0ad30914d94facc2b4957ae4cda31bd1bb",
   "changed": false
  },
  {
   "chapter_id": "when-an-agent-is-the-wrong-design",
   "title": "When an agent is the wrong design",
   "order": 12,
   "file": "chapters/12-when-an-agent-is-the-wrong-design.md",
   "sha256": "0d814dc7e76709d16a99aad27633595f0bee338fddf991194c199960482350ac",
   "rendered_sha256": "54f98f851202f9dc7d7268c0450c37a56c9e3a7ba2c727c9e1a6fe46e68507bb",
   "content_sha256": "54f98f851202f9dc7d7268c0450c37a56c9e3a7ba2c727c9e1a6fe46e68507bb",
   "changed": false
  }
 ],
 "sections": [
  {
   "section_id": "one-task",
   "chapter_id": "tools-and-a-loop",
   "title": "What the agent does on one task",
   "order": 1,
   "level": 2,
   "parent_id": null,
   "sha256": "f7cb2e28ac6fd42a56d0c9cbf1ff6641549b7d67057c58e8701a26819c6edeaa",
   "rendered_sha256": "d4667c1cf254083017b2176c2d061209c2c29e8b63dc791290919a8cf0da6303",
   "content_sha256": "d4667c1cf254083017b2176c2d061209c2c29e8b63dc791290919a8cf0da6303",
   "changed": false,
   "example_ids": [
    "read-the-issue"
   ]
  },
  {
   "section_id": "the-loop",
   "chapter_id": "tools-and-a-loop",
   "title": "A loop in about seventy lines",
   "order": 2,
   "level": 2,
   "parent_id": null,
   "sha256": "770a9e8b57b6d957f4b696ab6f2a45a43eee2fd5a60318f38831c4cc643f64c4",
   "rendered_sha256": "770a9e8b57b6d957f4b696ab6f2a45a43eee2fd5a60318f38831c4cc643f64c4",
   "content_sha256": "770a9e8b57b6d957f4b696ab6f2a45a43eee2fd5a60318f38831c4cc643f64c4",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "two-tools",
   "chapter_id": "tools-and-a-loop",
   "title": "Two tools and one stop tool",
   "order": 3,
   "level": 2,
   "parent_id": null,
   "sha256": "10fbb9a464b18b9105dd6ca6ef971b7d6d0d0440fbac5fd7d1a0b829c695e778",
   "rendered_sha256": "10fbb9a464b18b9105dd6ca6ef971b7d6d0d0440fbac5fd7d1a0b829c695e778",
   "content_sha256": "10fbb9a464b18b9105dd6ca6ef971b7d6d0d0440fbac5fd7d1a0b829c695e778",
   "changed": false,
   "example_ids": [
    "tool-refusal"
   ]
  },
  {
   "section_id": "stop-rule",
   "chapter_id": "tools-and-a-loop",
   "title": "Stop when it's finished, or when the budget runs out",
   "order": 4,
   "level": 2,
   "parent_id": null,
   "sha256": "0be0a4e3b79af9d52642c11569de30b2bb8060a0019e94a150eae9b8457c6e40",
   "rendered_sha256": "0be0a4e3b79af9d52642c11569de30b2bb8060a0019e94a150eae9b8457c6e40",
   "content_sha256": "0be0a4e3b79af9d52642c11569de30b2bb8060a0019e94a150eae9b8457c6e40",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "scripted-run",
   "chapter_id": "tools-and-a-loop",
   "title": "Run it on a scripted model",
   "order": 5,
   "level": 2,
   "parent_id": null,
   "sha256": "606280220251780be1d8954768cfb070dffe8ed5b629fdd8c3e070e5b39300a1",
   "rendered_sha256": "4df57388c6392dff778f28ee2bf3b38d93b2f73dedc7e04e67cf07bcc66daef1",
   "content_sha256": "4df57388c6392dff778f28ee2bf3b38d93b2f73dedc7e04e67cf07bcc66daef1",
   "changed": false,
   "example_ids": [
    "scripted-loop"
   ]
  },
  {
   "section_id": "replayed-run",
   "chapter_id": "tools-and-a-loop",
   "title": "Run it on the recorded model",
   "order": 6,
   "level": 2,
   "parent_id": null,
   "sha256": "73d43607bcc54885bcee30f6578a86bed8e96656aa62fc2a4f5f5de94fecf084",
   "rendered_sha256": "f57ef39596395513d722a0f52a7303b163707c8f7f11b21a942d99609af94977",
   "content_sha256": "0d1342f8d737fa1d096afce03ed1d5d32169169620e55d18a666b4c098d5e6d2",
   "changed": false,
   "example_ids": [
    "recorded-run"
   ]
  },
  {
   "section_id": "what-goes-wrong",
   "chapter_id": "tools-and-a-loop",
   "title": "What goes wrong, and what is counted",
   "order": 7,
   "level": 2,
   "parent_id": null,
   "sha256": "8663f79b1140fb70c2ea370613289bb0dbc9f99fdba3543d79392b2ae1e3a35e",
   "rendered_sha256": "3ca3aa49654363dd07a861b2e8a8eba6d9bfafe41d42e2e0e816b164ca28b306",
   "content_sha256": "3ca3aa49654363dd07a861b2e8a8eba6d9bfafe41d42e2e0e816b164ca28b306",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "chapter-decisions",
   "chapter_id": "tools-and-a-loop",
   "title": "Decisions in this chapter",
   "order": 8,
   "level": 2,
   "parent_id": null,
   "sha256": "93dfa344dceb7acada01bbe2cd8bc1c17b12551e198969b0e71f63cf1898a9bf",
   "rendered_sha256": "93dfa344dceb7acada01bbe2cd8bc1c17b12551e198969b0e71f63cf1898a9bf",
   "content_sha256": "93dfa344dceb7acada01bbe2cd8bc1c17b12551e198969b0e71f63cf1898a9bf",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "ways-to-end",
   "chapter_id": "stop-rules",
   "title": "Ways a run ends",
   "order": 9,
   "level": 2,
   "parent_id": null,
   "sha256": "6e230380806f7df0c9cf0a5a83ce2be54a894ba218a0a02323bf94ca703b88b5",
   "rendered_sha256": "6e230380806f7df0c9cf0a5a83ce2be54a894ba218a0a02323bf94ca703b88b5",
   "content_sha256": "6e230380806f7df0c9cf0a5a83ce2be54a894ba218a0a02323bf94ca703b88b5",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "step-budget",
   "chapter_id": "stop-rules",
   "title": "The budget counts steps",
   "order": 10,
   "level": 2,
   "parent_id": null,
   "sha256": "3b85aa2c82457591cbeb35f691c377a325376e0f842707123b3959353dd5d524",
   "rendered_sha256": "e824600d606c73a0b624abc38ed72faa1be5e54b2f3dbc014cfc397c826de83b",
   "content_sha256": "e824600d606c73a0b624abc38ed72faa1be5e54b2f3dbc014cfc397c826de83b",
   "changed": false,
   "example_ids": [
    "budget-stops-a-loop"
   ]
  },
  {
   "section_id": "repeated-calls",
   "chapter_id": "stop-rules",
   "title": "The same call, again",
   "order": 11,
   "level": 2,
   "parent_id": null,
   "sha256": "ffc47f44014d9f48264dcc2d24c0897827cb2b88be0d2c93b255be3986e09e69",
   "rendered_sha256": "73fbd8c71dcc30eeb2528ecd0b695ae418da9827deb6a1e93964f5e3763d61c8",
   "content_sha256": "66edcbf076a89d544ed798ae66edca55c5f3d94988a205cd3d14988a5bf122b8",
   "changed": false,
   "example_ids": [
    "repeated-call-stops"
   ]
  },
  {
   "section_id": "no-progress",
   "chapter_id": "stop-rules",
   "title": "No progress across edits",
   "order": 12,
   "level": 2,
   "parent_id": null,
   "sha256": "a37be1febfaec55e869ca1acfbce93596196649602d312eae9448932653f0226",
   "rendered_sha256": "17e13fabfdc2ab47c93bccf60d95f90b9f55b0cc334c481d4a8525076b4abe4e",
   "content_sha256": "17e13fabfdc2ab47c93bccf60d95f90b9f55b0cc334c481d4a8525076b4abe4e",
   "changed": false,
   "example_ids": [
    "no-progress-stops"
   ]
  },
  {
   "section_id": "ask-instead",
   "chapter_id": "stop-rules",
   "title": "Asking, stopping and counting the endings",
   "order": 13,
   "level": 2,
   "parent_id": null,
   "sha256": "4a5217d6f76511c8a2d92fba1c24ce9cc6e725a9528e657d06d8a77139670d4f",
   "rendered_sha256": "2735f847e1fff066dd447900447f03b25ca6263d2d015e8ae867c4b8bef6077f",
   "content_sha256": "2735f847e1fff066dd447900447f03b25ca6263d2d015e8ae867c4b8bef6077f",
   "changed": false,
   "example_ids": [
    "stop-rules-over-task-set",
    "figure-steps-with-and-without-rules"
   ]
  },
  {
   "section_id": "stop-rules-decisions",
   "chapter_id": "stop-rules",
   "title": "Decisions in this chapter",
   "order": 14,
   "level": 2,
   "parent_id": null,
   "sha256": "578622e070534c326da4aee7def231d62635ce99ed672d8e042967ae08c0c634",
   "rendered_sha256": "578622e070534c326da4aee7def231d62635ce99ed672d8e042967ae08c0c634",
   "content_sha256": "578622e070534c326da4aee7def231d62635ce99ed672d8e042967ae08c0c634",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "schema-says",
   "chapter_id": "tool-schemas",
   "title": "A schema says what is allowed",
   "order": 15,
   "level": 2,
   "parent_id": null,
   "sha256": "3a7b46bf0aca86471724039f3591a55cbf20063cf49faf148e9a74f7d0d0aae4",
   "rendered_sha256": "82b3172c2c99f0144ad705978ba43d6b83818d8af523d121c67c4533cab4ef5a",
   "content_sha256": "82b3172c2c99f0144ad705978ba43d6b83818d8af523d121c67c4533cab4ef5a",
   "changed": false,
   "example_ids": [
    "schema-from-model",
    "tool-descriptions"
   ]
  },
  {
   "section_id": "lax-or-strict",
   "chapter_id": "tool-schemas",
   "title": "Lax by default, strict on purpose",
   "order": 16,
   "level": 2,
   "parent_id": null,
   "sha256": "5e79728bcf06edd1488c66c9bf625b6ae23b3e7f93f9a4acc1507b810be209da",
   "rendered_sha256": "79ec9e4aaedd7076d9d2d6434906d46fe901893157ca7e22f4ee37ff0b2aa196",
   "content_sha256": "79ec9e4aaedd7076d9d2d6434906d46fe901893157ca7e22f4ee37ff0b2aa196",
   "changed": false,
   "example_ids": [
    "lax-and-strict"
   ]
  },
  {
   "section_id": "errors-readable",
   "chapter_id": "tool-schemas",
   "title": "Errors the model can read",
   "order": 17,
   "level": 2,
   "parent_id": null,
   "sha256": "8aace9a85111549f975a7f6c425f94047fd96eae37b3f68406042c622ce51e56",
   "rendered_sha256": "1bd19be9e58d65480c1aa35396be6bc5bd22b3131f34e761cf5c63087c458ca1",
   "content_sha256": "1bd19be9e58d65480c1aa35396be6bc5bd22b3131f34e761cf5c63087c458ca1",
   "changed": false,
   "example_ids": [
    "bad-arguments-handed-back"
   ]
  },
  {
   "section_id": "one-name",
   "chapter_id": "tool-schemas",
   "title": "One name per tool",
   "order": 18,
   "level": 2,
   "parent_id": null,
   "sha256": "015fae034e6ed5449336d92e20cd94cc15ee703d1ea1cec38fef09cd52d7fa16",
   "rendered_sha256": "c2cd08e0b6a8d0e3c32adc26e917aea4723cf6c750ca8085a6aa40676a9d67e1",
   "content_sha256": "c2cd08e0b6a8d0e3c32adc26e917aea4723cf6c750ca8085a6aa40676a9d67e1",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "edit-errors",
   "chapter_id": "tool-schemas",
   "title": "Edit errors that name the nearest lines",
   "order": 19,
   "level": 2,
   "parent_id": null,
   "sha256": "e28b0aceb1469fb6353581bd7d6129a818f98341c3b5bb28217840b532d1c9ab",
   "rendered_sha256": "808678a99ccb5427f2804c8f0c5e40760f7b7ed92ebff543b86e4139a553168a",
   "content_sha256": "808678a99ccb5427f2804c8f0c5e40760f7b7ed92ebff543b86e4139a553168a",
   "changed": false,
   "example_ids": [
    "edit-error-nearest-lines"
   ]
  },
  {
   "section_id": "decisions",
   "chapter_id": "tool-schemas",
   "title": "Decisions in this chapter",
   "order": 20,
   "level": 2,
   "parent_id": null,
   "sha256": "fc3ed48394de2765c927a57755ffc014b1439f1d3f6d5ee088dbac28ce9c0226",
   "rendered_sha256": "fc3ed48394de2765c927a57755ffc014b1439f1d3f6d5ee088dbac28ce9c0226",
   "content_sha256": "fc3ed48394de2765c927a57755ffc014b1439f1d3f6d5ee088dbac28ce9c0226",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "model-protocol",
   "chapter_id": "model-adapters",
   "title": "Ask every model the same question",
   "order": 21,
   "level": 2,
   "parent_id": null,
   "sha256": "b78a6e25dc437a873096f3cf39481c7b7e50d9c73a302c10360af0acce8485b4",
   "rendered_sha256": "b78a6e25dc437a873096f3cf39481c7b7e50d9c73a302c10360af0acce8485b4",
   "content_sha256": "b78a6e25dc437a873096f3cf39481c7b7e50d9c73a302c10360af0acce8485b4",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "scripted-and-replayed",
   "chapter_id": "model-adapters",
   "title": "Script the replies, or replay a stored run",
   "order": 22,
   "level": 2,
   "parent_id": null,
   "sha256": "9ca99fd4db2ea86295aa81a989a94d885365ceed4c6d51743922ab00429f0fc8",
   "rendered_sha256": "ab6fd2e231bda070f5890a7943be7da801493993917287b0f0eb124c4fc53db1",
   "content_sha256": "ab6fd2e231bda070f5890a7943be7da801493993917287b0f0eb124c4fc53db1",
   "changed": false,
   "example_ids": [
    "same-loop-two-models",
    "replay-byte-for-byte"
   ]
  },
  {
   "section_id": "local-model",
   "chapter_id": "model-adapters",
   "title": "A local model, and why its settings are fixed",
   "order": 23,
   "level": 2,
   "parent_id": null,
   "sha256": "a3baf277c64e18145823c8d7ea223eb52bc9f9e30c0c1748909b15034f884478",
   "rendered_sha256": "a3baf277c64e18145823c8d7ea223eb52bc9f9e30c0c1748909b15034f884478",
   "content_sha256": "a3baf277c64e18145823c8d7ea223eb52bc9f9e30c0c1748909b15034f884478",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "openai-compatible",
   "chapter_id": "model-adapters",
   "title": "A hosted-style endpoint, tested on loopback",
   "order": 24,
   "level": 2,
   "parent_id": null,
   "sha256": "14665c642ef9d70de7fcb5ac2a1cb019956cc20d3d912ebba7eb72e4f3c31005",
   "rendered_sha256": "bc43167602a8fbbe90992ae3b0f89b2f162b5eabe2a4b19ccb1d6b69f44ec95e",
   "content_sha256": "bc43167602a8fbbe90992ae3b0f89b2f162b5eabe2a4b19ccb1d6b69f44ec95e",
   "changed": false,
   "example_ids": [
    "openai-compatible-loopback",
    "adapter-refuses-unsafe-endpoints"
   ]
  },
  {
   "section_id": "one-loop",
   "chapter_id": "model-adapters",
   "title": "One loop, several models",
   "order": 25,
   "level": 2,
   "parent_id": null,
   "sha256": "ca7eb448cc87cd2d47e178bae03f20640f2a57a80e786603d0883859586fd235",
   "rendered_sha256": "ca7eb448cc87cd2d47e178bae03f20640f2a57a80e786603d0883859586fd235",
   "content_sha256": "ca7eb448cc87cd2d47e178bae03f20640f2a57a80e786603d0883859586fd235",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "window",
   "chapter_id": "context-budgets",
   "title": "The window the model has",
   "order": 26,
   "level": 2,
   "parent_id": null,
   "sha256": "d11aa099bbcff051691c204a159e1f22731f5264a68acdd93acdfbda5ea7b8c5",
   "rendered_sha256": "a5702b46dbad78462ae6384c02925ba82c9f807bb5ee5b77968adf2b8d372a64",
   "content_sha256": "a5702b46dbad78462ae6384c02925ba82c9f807bb5ee5b77968adf2b8d372a64",
   "changed": false,
   "example_ids": [
    "budget-counts-tokens"
   ]
  },
  {
   "section_id": "where-tokens-go",
   "chapter_id": "context-budgets",
   "title": "Where the recorded runs came closest to the budget",
   "order": 27,
   "level": 2,
   "parent_id": null,
   "sha256": "f65aeb589128a972d154fea27c06cc6e0c5b948d6fcc25e2868b9bc6d3f9ecf3",
   "rendered_sha256": "7e064e72552b4cb5ddb346412a15fabddc3c7ce3c4422d969bd5011cec134147",
   "content_sha256": "7e064e72552b4cb5ddb346412a15fabddc3c7ce3c4422d969bd5011cec134147",
   "changed": false,
   "example_ids": [
    "figure-prompt-per-step"
   ]
  },
  {
   "section_id": "estimate",
   "chapter_id": "context-budgets",
   "title": "Estimate the prompt when the harness can't count it",
   "order": 28,
   "level": 2,
   "parent_id": null,
   "sha256": "884dd398d587c2cede576af8c5ddc8744c8d3c47ea00cbbc692d04a5a10bb4e5",
   "rendered_sha256": "c4ff1e9168c100302a3323610f8827932d63fdc4a3da90dc73e0c0e1d0cc0b30",
   "content_sha256": "c4ff1e9168c100302a3323610f8827932d63fdc4a3da90dc73e0c0e1d0cc0b30",
   "changed": false,
   "example_ids": [
    "estimate-vs-recorded"
   ]
  },
  {
   "section_id": "last-result",
   "chapter_id": "context-budgets",
   "title": "Put the last result at the end",
   "order": 29,
   "level": 2,
   "parent_id": null,
   "sha256": "7897618ee855e20d420d601014c4aba1deecb4d7b8f1559bbaa6bfc43379c32d",
   "rendered_sha256": "7897618ee855e20d420d601014c4aba1deecb4d7b8f1559bbaa6bfc43379c32d",
   "content_sha256": "7897618ee855e20d420d601014c4aba1deecb4d7b8f1559bbaa6bfc43379c32d",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "compaction",
   "chapter_id": "context-budgets",
   "title": "Compact the older steps, and keep the last pair",
   "order": 30,
   "level": 2,
   "parent_id": null,
   "sha256": "deddadc640da94217a3b64ea41c336ba11f50b068df716f6527585b74e39eab0",
   "rendered_sha256": "4ecac81b2c8779492b3abb529132d8e4d4e837700a1d7c271642b7b7ff1fad8f",
   "content_sha256": "4ecac81b2c8779492b3abb529132d8e4d4e837700a1d7c271642b7b7ff1fad8f",
   "changed": false,
   "example_ids": [
    "compact-keeps-last-result"
   ]
  },
  {
   "section_id": "notes",
   "chapter_id": "context-budgets",
   "title": "Keep notes outside the context",
   "order": 31,
   "level": 2,
   "parent_id": null,
   "sha256": "9b18c8616850a2d136561c578552deb4537b97e1b6d1617b31f947a48b56f03b",
   "rendered_sha256": "a52ae35b71a132a8a1590cdd74372bbba8e59460fab22345be41f8807e5a2ed9",
   "content_sha256": "a52ae35b71a132a8a1590cdd74372bbba8e59460fab22345be41f8807e5a2ed9",
   "changed": false,
   "example_ids": [
    "notes-survive"
   ]
  },
  {
   "section_id": "recorded-runs",
   "chapter_id": "context-budgets",
   "title": "What the recorded model did with the budget",
   "order": 32,
   "level": 2,
   "parent_id": null,
   "sha256": "0a6f39b9fbb369ad1f7452118c603e3e34cf5d5d4acfc35bf5ef7ed6f83fd774",
   "rendered_sha256": "a736b3b1bb071c4f59630101a25ae11b8bb92b0822129d276f58f84f956c4b43",
   "content_sha256": "a736b3b1bb071c4f59630101a25ae11b8bb92b0822129d276f58f84f956c4b43",
   "changed": false,
   "example_ids": [
    "recorded-context-use"
   ]
  },
  {
   "section_id": "measure",
   "chapter_id": "context-budgets",
   "title": "Measure the effect instead of quoting it",
   "order": 33,
   "level": 2,
   "parent_id": null,
   "sha256": "119e339af459d6e01bdd04bc0de7a42dc3fef267a8f34c7001cff0c41b4ede92",
   "rendered_sha256": "119e339af459d6e01bdd04bc0de7a42dc3fef267a8f34c7001cff0c41b4ede92",
   "content_sha256": "119e339af459d6e01bdd04bc0de7a42dc3fef267a8f34c7001cff0c41b4ede92",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "production",
   "chapter_id": "context-budgets",
   "title": "How a budget goes wrong, and how to notice",
   "order": 34,
   "level": 2,
   "parent_id": null,
   "sha256": "58c2cf9c41c68d0478019789892eb988dc44cc60d0123373b420d8ececad4c17",
   "rendered_sha256": "58c2cf9c41c68d0478019789892eb988dc44cc60d0123373b420d8ececad4c17",
   "content_sha256": "58c2cf9c41c68d0478019789892eb988dc44cc60d0123373b420d8ececad4c17",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "what-this-chapter-decided",
   "chapter_id": "context-budgets",
   "title": "Decisions this chapter made",
   "order": 35,
   "level": 2,
   "parent_id": null,
   "sha256": "4b73d7bbe7775a4895e5e7d2b08d5af4925ced6b76a5030f748083c1b3833552",
   "rendered_sha256": "4b73d7bbe7775a4895e5e7d2b08d5af4925ced6b76a5030f748083c1b3833552",
   "content_sha256": "4b73d7bbe7775a4895e5e7d2b08d5af4925ced6b76a5030f748083c1b3833552",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "copy-first",
   "chapter_id": "permission-gates",
   "title": "The copy comes first",
   "order": 36,
   "level": 2,
   "parent_id": null,
   "sha256": "2ae4caab13851f149cff902b583845aaf57815b191a6a5feaf066fdfd30c80ea",
   "rendered_sha256": "b794ea7dbe6ce9d2051c19406c90477dbc5e4c8d82440154fe219bcb62fa8a89",
   "content_sha256": "b794ea7dbe6ce9d2051c19406c90477dbc5e4c8d82440154fe219bcb62fa8a89",
   "changed": false,
   "example_ids": [
    "apply-all-or-nothing"
   ]
  },
  {
   "section_id": "mode",
   "chapter_id": "permission-gates",
   "title": "Which mode this harness is in",
   "order": 37,
   "level": 2,
   "parent_id": null,
   "sha256": "78d49a7ea92605521a4b7cd0f2a4e8e7fd9b416790f10823a2f9ee7317979306",
   "rendered_sha256": "78d49a7ea92605521a4b7cd0f2a4e8e7fd9b416790f10823a2f9ee7317979306",
   "content_sha256": "78d49a7ea92605521a4b7cd0f2a4e8e7fd9b416790f10823a2f9ee7317979306",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "gate-in-finish",
   "chapter_id": "permission-gates",
   "title": "The gate sits in finish",
   "order": 38,
   "level": 2,
   "parent_id": null,
   "sha256": "16588f9bb4466496b15c2df1ef2c6895e30c2f64616544de7f3f66af28ff8a58",
   "rendered_sha256": "7df251eab92811d8573270a0a3c278ccc5a06b5f9cf708c188d90613f80af359",
   "content_sha256": "7df251eab92811d8573270a0a3c278ccc5a06b5f9cf708c188d90613f80af359",
   "changed": false,
   "example_ids": [
    "gate-applies-only-on-yes",
    "finish-body-waits-for-yes"
   ]
  },
  {
   "section_id": "bound-approval",
   "chapter_id": "permission-gates",
   "title": "An approval answers one request",
   "order": 39,
   "level": 2,
   "parent_id": null,
   "sha256": "20c02b79c378b242bcc3dfcf6f32343dccd8e4462a3a6ed7a4218c6538dc8677",
   "rendered_sha256": "763ee88538b31a49c551574b84b3d4bab5e7e4cfb90cbb00d51480749839a25a",
   "content_sha256": "763ee88538b31a49c551574b84b3d4bab5e7e4cfb90cbb00d51480749839a25a",
   "changed": false,
   "example_ids": [
    "hidden-diff-lines-shown",
    "answer-binds-bytes",
    "approval-in-transcript"
   ]
  },
  {
   "section_id": "never-class",
   "chapter_id": "permission-gates",
   "title": "Some changes are refused without a question",
   "order": 40,
   "level": 2,
   "parent_id": null,
   "sha256": "44dc509b466d7503995eb3119dbb5d8a5dda9cfc1e9dd8d8502745ded01a5262",
   "rendered_sha256": "a46ff49530c10ed0392f7824f2adb21e0ee899e3bc0c2a01054fe126cafcf850",
   "content_sha256": "a46ff49530c10ed0392f7824f2adb21e0ee899e3bc0c2a01054fe126cafcf850",
   "changed": false,
   "example_ids": [
    "never-class-refused",
    "gutted-test-refused"
   ]
  },
  {
   "section_id": "refusal",
   "chapter_id": "permission-gates",
   "title": "Refusals go back to the model",
   "order": 41,
   "level": 2,
   "parent_id": null,
   "sha256": "b2327bb8f769419c77a82bf25af1740f83a126bc84abd120a790b27bbc7aa942",
   "rendered_sha256": "3ae6bff15b89f07b067e8755711af1eadb67f4611d716a251699f9ab4e315563",
   "content_sha256": "3ae6bff15b89f07b067e8755711af1eadb67f4611d716a251699f9ab4e315563",
   "changed": false,
   "example_ids": [
    "refusal-handed-back"
   ]
  },
  {
   "section_id": "wrapper",
   "chapter_id": "permission-gates",
   "title": "The wrapper checks every call",
   "order": 42,
   "level": 2,
   "parent_id": null,
   "sha256": "0d9d1b4d47ea15a52fb6e19c23eeb1101118baaeee599493d3687a076a1a626a",
   "rendered_sha256": "fac9a5e448cee7eaf0b80e1278a66839f165130a06c9312f45f644570ba3db2c",
   "content_sha256": "fac9a5e448cee7eaf0b80e1278a66839f165130a06c9312f45f644570ba3db2c",
   "changed": false,
   "example_ids": [
    "library-guard-fails-closed",
    "unknown-tool-refused"
   ]
  },
  {
   "section_id": "allow-lists",
   "chapter_id": "permission-gates",
   "title": "Allow lists do not skip the check",
   "order": 43,
   "level": 2,
   "parent_id": null,
   "sha256": "cfd996258e759565443ecf1d934b8f3c96c3385c0ef6e41cd20a92b1ed291548",
   "rendered_sha256": "cfd996258e759565443ecf1d934b8f3c96c3385c0ef6e41cd20a92b1ed291548",
   "content_sha256": "cfd996258e759565443ecf1d934b8f3c96c3385c0ef6e41cd20a92b1ed291548",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "task-set",
   "chapter_id": "permission-gates",
   "title": "Across the task set",
   "order": 44,
   "level": 2,
   "parent_id": null,
   "sha256": "d3159b483c1d5217e21d0952115738c1a60c527e91082ab4a5fef699b655fbe9",
   "rendered_sha256": "a1685e119f0f8d12f52a70870275e276d4d080dc7f333d5a2da50c777521d942",
   "content_sha256": "a1685e119f0f8d12f52a70870275e276d4d080dc7f333d5a2da50c777521d942",
   "changed": false,
   "example_ids": [
    "gate-over-task-set"
   ]
  },
  {
   "section_id": "in-production",
   "chapter_id": "permission-gates",
   "title": "Vendor defaults that would let a change through",
   "order": 45,
   "level": 2,
   "parent_id": null,
   "sha256": "3966cc215111af272afcccc29a3d5741bcf1c8cdadca50dad7de876d9899c1ee",
   "rendered_sha256": "3966cc215111af272afcccc29a3d5741bcf1c8cdadca50dad7de876d9899c1ee",
   "content_sha256": "3966cc215111af272afcccc29a3d5741bcf1c8cdadca50dad7de876d9899c1ee",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "open-limits",
   "chapter_id": "permission-gates",
   "title": "What this gate does not cover",
   "order": 46,
   "level": 2,
   "parent_id": null,
   "sha256": "d2db8249eab5f7d7bf329351a962cd91a40358091f52b7f0eb0e2c7bfcf52e2e",
   "rendered_sha256": "d2db8249eab5f7d7bf329351a962cd91a40358091f52b7f0eb0e2c7bfcf52e2e",
   "content_sha256": "d2db8249eab5f7d7bf329351a962cd91a40358091f52b7f0eb0e2c7bfcf52e2e",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "gate-decisions",
   "chapter_id": "permission-gates",
   "title": "Decisions this chapter made",
   "order": 47,
   "level": 2,
   "parent_id": null,
   "sha256": "0e83ecd7af506cc7ba09f9d3c2a94c92ab54d25cdab9765f2ee3953c61ed6c5f",
   "rendered_sha256": "0e83ecd7af506cc7ba09f9d3c2a94c92ab54d25cdab9765f2ee3953c61ed6c5f",
   "content_sha256": "0e83ecd7af506cc7ba09f9d3c2a94c92ab54d25cdab9765f2ee3953c61ed6c5f",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "teaching-sandbox",
   "chapter_id": "sandbox-and-secrets",
   "title": "A teaching sandbox, not a container",
   "order": 48,
   "level": 2,
   "parent_id": null,
   "sha256": "ee5907c6c1b6d2c6fded55a3bae111a9bab808516f15856cdf7f2f60bdd6386f",
   "rendered_sha256": "ee5907c6c1b6d2c6fded55a3bae111a9bab808516f15856cdf7f2f60bdd6386f",
   "content_sha256": "ee5907c6c1b6d2c6fded55a3bae111a9bab808516f15856cdf7f2f60bdd6386f",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "listed-programs",
   "chapter_id": "sandbox-and-secrets",
   "title": "Only listed programs",
   "order": 49,
   "level": 2,
   "parent_id": null,
   "sha256": "fde0ccbd4edf7e302d42f838efa8a76ffefc32b72b83e82b6d42da876ef44c46",
   "rendered_sha256": "95c3ef7c95dacb72237d2c17c9b8f27e6818f2538ec3f87a2638358bab5e390e",
   "content_sha256": "95c3ef7c95dacb72237d2c17c9b8f27e6818f2538ec3f87a2638358bab5e390e",
   "changed": false,
   "example_ids": [
    "argv-allowlist",
    "injected-text-refused",
    "same-effect-through-a-test-file"
   ]
  },
  {
   "section_id": "limits",
   "chapter_id": "sandbox-and-secrets",
   "title": "Limits, and the grandchild they miss",
   "order": 50,
   "level": 2,
   "parent_id": null,
   "sha256": "584207d3aea00523562affa2ae82aa3c899e87a964b624be3249886ae243419c",
   "rendered_sha256": "da56897703dcf406613b4b3f4f6a73d1f4478f37b772f5f6469ce51f14683f97",
   "content_sha256": "da56897703dcf406613b4b3f4f6a73d1f4478f37b772f5f6469ce51f14683f97",
   "changed": false,
   "example_ids": [
    "limits-stop-a-hog",
    "escaped-child"
   ]
  },
  {
   "section_id": "network",
   "chapter_id": "sandbox-and-secrets",
   "title": "A network namespace, where the kernel allows one",
   "order": 51,
   "level": 2,
   "parent_id": null,
   "sha256": "79c3e228550e52d7df87385be9ddcf78979cd5e20591108154f694078dfc5840",
   "rendered_sha256": "79c3e228550e52d7df87385be9ddcf78979cd5e20591108154f694078dfc5840",
   "content_sha256": "79c3e228550e52d7df87385be9ddcf78979cd5e20591108154f694078dfc5840",
   "changed": false,
   "example_ids": [
    "network-label"
   ]
  },
  {
   "section_id": "secrets",
   "chapter_id": "sandbox-and-secrets",
   "title": "Secrets stay out of the environment",
   "order": 52,
   "level": 2,
   "parent_id": null,
   "sha256": "c48ab076e3a1d80395374aa2644554008a5ef35835a956c792b5f83c2e738e0e",
   "rendered_sha256": "f3ffc5674e5e095980dd1522864cfa6d10eabfecac144875adfb06b95a4b990e",
   "content_sha256": "f3ffc5674e5e095980dd1522864cfa6d10eabfecac144875adfb06b95a4b990e",
   "changed": false,
   "example_ids": [
    "secret-not-in-env"
   ]
  },
  {
   "section_id": "child-loop",
   "chapter_id": "subagents-and-handoffs",
   "title": "A child is a loop with its own budget",
   "order": 53,
   "level": 2,
   "parent_id": null,
   "sha256": "b8242120eeef030bf00657831fe4b7128a8fe8bcf66c964dd2e8b64e72d255ed",
   "rendered_sha256": "6ce620096bd6bc639d70a8755104f3f7af4f8d6006e03e5f720378a226471e1e",
   "content_sha256": "6ce620096bd6bc639d70a8755104f3f7af4f8d6006e03e5f720378a226471e1e",
   "changed": false,
   "example_ids": [
    "child-with-budget",
    "parent-starts-child"
   ]
  },
  {
   "section_id": "brief",
   "chapter_id": "subagents-and-handoffs",
   "title": "A brief with four parts",
   "order": 54,
   "level": 2,
   "parent_id": null,
   "sha256": "ba1064a2ed1f3268e88ba6d260a8b96657a9c128c0eeeb818f0aaf80a84ff370",
   "rendered_sha256": "ba1064a2ed1f3268e88ba6d260a8b96657a9c128c0eeeb818f0aaf80a84ff370",
   "content_sha256": "ba1064a2ed1f3268e88ba6d260a8b96657a9c128c0eeeb818f0aaf80a84ff370",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "what-comes-back",
   "chapter_id": "subagents-and-handoffs",
   "title": "What comes back",
   "order": 55,
   "level": 2,
   "parent_id": null,
   "sha256": "8ff437dae71d1429845dd3a506a39aa83048a21a980c7653df3193c59d37bbe5",
   "rendered_sha256": "e953aa678c989c3db64cc03d3bd0f440c4b705a975fbef81ebca4f6f811f0b56",
   "content_sha256": "e953aa678c989c3db64cc03d3bd0f440c4b705a975fbef81ebca4f6f811f0b56",
   "changed": false,
   "example_ids": [
    "summary-to-parent"
   ]
  },
  {
   "section_id": "a-stop-handed-back",
   "chapter_id": "subagents-and-handoffs",
   "title": "A stop handed back",
   "order": 56,
   "level": 2,
   "parent_id": null,
   "sha256": "fed73deb584e30b6e6099feb4416dd6d104833f3169c89a6d1514d8f023ba3d0",
   "rendered_sha256": "754d3db5169c023e049fa1ecc894823233d7611eac6003e01650208e0d40cc87",
   "content_sha256": "754d3db5169c023e049fa1ecc894823233d7611eac6003e01650208e0d40cc87",
   "changed": false,
   "example_ids": [
    "handoff-on-stuck"
   ]
  },
  {
   "section_id": "designs",
   "chapter_id": "subagents-and-handoffs",
   "title": "Two designs, and whose numbers",
   "order": 57,
   "level": 2,
   "parent_id": null,
   "sha256": "994cbc49457d12dab9fb7da9815134ffd2144982b9195334842b95f87d9ac8ff",
   "rendered_sha256": "994cbc49457d12dab9fb7da9815134ffd2144982b9195334842b95f87d9ac8ff",
   "content_sha256": "994cbc49457d12dab9fb7da9815134ffd2144982b9195334842b95f87d9ac8ff",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "splits-in-production",
   "chapter_id": "subagents-and-handoffs",
   "title": "What goes wrong in production",
   "order": 58,
   "level": 2,
   "parent_id": null,
   "sha256": "15cc5070c56fd6519e0a18cffbec9fe8323fe9ba0d08f0ec5ad5ee61d8b66ec6",
   "rendered_sha256": "15cc5070c56fd6519e0a18cffbec9fe8323fe9ba0d08f0ec5ad5ee61d8b66ec6",
   "content_sha256": "15cc5070c56fd6519e0a18cffbec9fe8323fe9ba0d08f0ec5ad5ee61d8b66ec6",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "subagent-decisions",
   "chapter_id": "subagents-and-handoffs",
   "title": "Decisions this chapter made",
   "order": 59,
   "level": 2,
   "parent_id": null,
   "sha256": "66a4a0c37fa671a0769b10e2064a0f6106cf0d6ea776ccd3bce7f6047ce44f6b",
   "rendered_sha256": "66a4a0c37fa671a0769b10e2064a0f6106cf0d6ea776ccd3bce7f6047ce44f6b",
   "content_sha256": "66a4a0c37fa671a0769b10e2064a0f6106cf0d6ea776ccd3bce7f6047ce44f6b",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "revision",
   "chapter_id": "mcp-tools",
   "title": "The revision this book runs",
   "order": 60,
   "level": 2,
   "parent_id": null,
   "sha256": "688359fd8c9a2622a27343280a3ab14d269a23d89494e9dee0bf32d57ba1942f",
   "rendered_sha256": "972c1507a063e72388ef87a477671d1027b28f0987632081cb60e28fd2250d71",
   "content_sha256": "ba618bce150d4aba24f273651ccc4a489471dcae2b3d9e18e557436ede9f094f",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "listing-tools",
   "chapter_id": "mcp-tools",
   "title": "Listing a server's tools",
   "order": 61,
   "level": 2,
   "parent_id": null,
   "sha256": "f81f75f97b8690cc2c0ec72a9ef501a03fd09fc5cab57a585fd24b81481fe676",
   "rendered_sha256": "f81f75f97b8690cc2c0ec72a9ef501a03fd09fc5cab57a585fd24b81481fe676",
   "content_sha256": "f81f75f97b8690cc2c0ec72a9ef501a03fd09fc5cab57a585fd24b81481fe676",
   "changed": false,
   "example_ids": [
    "list-server-tools"
   ]
  },
  {
   "section_id": "namespacing",
   "chapter_id": "mcp-tools",
   "title": "Names that cannot clash",
   "order": 62,
   "level": 2,
   "parent_id": null,
   "sha256": "932e1ce14640610be083b1a36a28db6424d633272239c4884f91b50e915757f2",
   "rendered_sha256": "0a40aa5828134dcb617cf23e9b0276cfd2381f9bd2ffb2252e5338731b4352d9",
   "content_sha256": "0a40aa5828134dcb617cf23e9b0276cfd2381f9bd2ffb2252e5338731b4352d9",
   "changed": false,
   "example_ids": [
    "namespace-clash"
   ]
  },
  {
   "section_id": "other-tools",
   "chapter_id": "mcp-tools",
   "title": "Another party's tools need approval",
   "order": 63,
   "level": 2,
   "parent_id": null,
   "sha256": "b3a4f35c98aa1dede37b66b5e05cec094b09440049f25bafeba358c45ecca201",
   "rendered_sha256": "b3a4f35c98aa1dede37b66b5e05cec094b09440049f25bafeba358c45ecca201",
   "content_sha256": "b3a4f35c98aa1dede37b66b5e05cec094b09440049f25bafeba358c45ecca201",
   "changed": false,
   "example_ids": [
    "annotation-is-a-hint"
   ]
  },
  {
   "section_id": "output-is-untrusted",
   "chapter_id": "mcp-tools",
   "title": "Output is untrusted",
   "order": 64,
   "level": 2,
   "parent_id": null,
   "sha256": "c7fe76a3ab6385a7d01e2c082de2b99dc2cbc76e144105822f8d7f8169745a57",
   "rendered_sha256": "aef306eb813e57838fecaedb2ad5c9bc80d36ec146eb03e031117cd64d5209cf",
   "content_sha256": "aef306eb813e57838fecaedb2ad5c9bc80d36ec146eb03e031117cd64d5209cf",
   "changed": false,
   "example_ids": [
    "fence-cannot-be-closed",
    "untrusted-output"
   ]
  },
  {
   "section_id": "mcp-tools-in-production",
   "chapter_id": "mcp-tools",
   "title": "What goes wrong in production",
   "order": 65,
   "level": 2,
   "parent_id": null,
   "sha256": "29adcbcc5d205629da5be5c56bea7497e36de3576f3373962e300304a4c10957",
   "rendered_sha256": "29adcbcc5d205629da5be5c56bea7497e36de3576f3373962e300304a4c10957",
   "content_sha256": "29adcbcc5d205629da5be5c56bea7497e36de3576f3373962e300304a4c10957",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "mcp-tools-decisions",
   "chapter_id": "mcp-tools",
   "title": "Decisions this chapter made",
   "order": 66,
   "level": 2,
   "parent_id": null,
   "sha256": "81936b6e462635edaf76fa0c3963ebac1a035f2f95f629480ce4d9e288396da9",
   "rendered_sha256": "db14fcacffe36741e92bba54d7de8dd9e01db5b407069a18e114a3b4b82ac472",
   "content_sha256": "db14fcacffe36741e92bba54d7de8dd9e01db5b407069a18e114a3b4b82ac472",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "scenario-tests",
   "chapter_id": "testing-the-agent",
   "title": "Scenario tests over a scripted model",
   "order": 67,
   "level": 2,
   "parent_id": null,
   "sha256": "f343f4dfa5edabc0eee0e538c6897304ae8b36e58e0c11aa1d5b162bbbb9d08b",
   "rendered_sha256": "b44491df61b660fc323efebf8694ab27adf83182dbfb0a0c299f4d4ea16cb7fb",
   "content_sha256": "b44491df61b660fc323efebf8694ab27adf83182dbfb0a0c299f4d4ea16cb7fb",
   "changed": false,
   "example_ids": [
    "scenario-refusal",
    "scenario-gate",
    "scenario-stop-rule",
    "scenario-injected-output"
   ]
  },
  {
   "section_id": "hidden-check",
   "chapter_id": "testing-the-agent",
   "title": "The hidden check runs in a copy",
   "order": 68,
   "level": 2,
   "parent_id": null,
   "sha256": "aa9cf717661499d4e019c70340a4f32ad893c2d7106d9376e522661898b4c189",
   "rendered_sha256": "29c5f95d261768b829734680cdabe4452c21d3cce7a959fee3d783f32f5705a5",
   "content_sha256": "29c5f95d261768b829734680cdabe4452c21d3cce7a959fee3d783f32f5705a5",
   "changed": false,
   "example_ids": [
    "hidden-check-in-copy",
    "scoring-ignores-planted-config"
   ]
  },
  {
   "section_id": "score",
   "chapter_id": "testing-the-agent",
   "title": "Score: tasks done out of 20",
   "order": 69,
   "level": 2,
   "parent_id": null,
   "sha256": "052ab15eff302ddb1cc4847c91ee54001fafc35d65725aef6038299a2fc3ce20",
   "rendered_sha256": "ff944baf19a89650183f22d60163c3ff4a713f227321aa8ac6522fb3f04375b0",
   "content_sha256": "ff944baf19a89650183f22d60163c3ff4a713f227321aa8ac6522fb3f04375b0",
   "changed": false,
   "example_ids": [
    "score-task-set"
   ]
  },
  {
   "section_id": "t18-path",
   "chapter_id": "testing-the-agent",
   "title": "T-18 counts through a path",
   "order": 70,
   "level": 2,
   "parent_id": null,
   "sha256": "e3c5114c27b976d1ee9c55fe14729b6fd92630da0e767cc4fee211ba4ee04891",
   "rendered_sha256": "4b015c934dca0f36fa4e68a6503fc626c0368c7257c71ef7abb132c420e9c274",
   "content_sha256": "4b015c934dca0f36fa4e68a6503fc626c0368c7257c71ef7abb132c420e9c274",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "how-sure",
   "chapter_id": "testing-the-agent",
   "title": "How sure the count is",
   "order": 71,
   "level": 2,
   "parent_id": null,
   "sha256": "6c666386bc790930685cc49a257180eb75a90565f3f0460ae47733394301f0b6",
   "rendered_sha256": "ac5a32075f7b52b273561d1335c12ec82e96f7714ed2cb57415a5aa0c8848237",
   "content_sha256": "ac5a32075f7b52b273561d1335c12ec82e96f7714ed2cb57415a5aa0c8848237",
   "changed": false,
   "example_ids": [
    "figure-naive-range-coverage"
   ]
  },
  {
   "section_id": "v1-v2",
   "chapter_id": "testing-the-agent",
   "title": "Two harness versions, compared as counts",
   "order": 72,
   "level": 2,
   "parent_id": null,
   "sha256": "958115f3faedd965aea64fbfb2e68aa0b2daa49291cad99c8ff681cf25d259b8",
   "rendered_sha256": "4c2c030ecf913f344f4918d5e7b791ed93072a2f2f676e059a408ffd2d0e118d",
   "content_sha256": "4c2c030ecf913f344f4918d5e7b791ed93072a2f2f676e059a408ffd2d0e118d",
   "changed": false,
   "example_ids": [
    "compare-v1-v2"
   ]
  },
  {
   "section_id": "score-limits",
   "chapter_id": "testing-the-agent",
   "title": "What the score does not say",
   "order": 73,
   "level": 2,
   "parent_id": null,
   "sha256": "a3d05e1eb62aaa3e89ed9cc0716c5280f9312739a15d0c56f67af5c7c8d5051b",
   "rendered_sha256": "3f6193f244301636319e11ad0b2e7f9c8e0a6bd7805e3964c4543c81009e8aa8",
   "content_sha256": "3f6193f244301636319e11ad0b2e7f9c8e0a6bd7805e3964c4543c81009e8aa8",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "one-line-per-event",
   "chapter_id": "traces-and-cost",
   "title": "One line per event",
   "order": 74,
   "level": 2,
   "parent_id": null,
   "sha256": "587efc698195d05bfaf13a918e611084194dc433b355f229331014e381c0923c",
   "rendered_sha256": "0b71701e643a2c37c4f7f096082453ca1d97e6565ac0d62e4324dc9c9abdb9df",
   "content_sha256": "0b71701e643a2c37c4f7f096082453ca1d97e6565ac0d62e4324dc9c9abdb9df",
   "changed": false,
   "example_ids": [
    "trace-one-run"
   ]
  },
  {
   "section_id": "ids",
   "chapter_id": "traces-and-cost",
   "title": "IDs without clocks",
   "order": 75,
   "level": 2,
   "parent_id": null,
   "sha256": "83078f81a8592ec7361d7c973b27079e11ca7c84b092601bc00642e295076f16",
   "rendered_sha256": "83078f81a8592ec7361d7c973b27079e11ca7c84b092601bc00642e295076f16",
   "content_sha256": "83078f81a8592ec7361d7c973b27079e11ca7c84b092601bc00642e295076f16",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "token-counts",
   "chapter_id": "traces-and-cost",
   "title": "Tokens as counts",
   "order": 76,
   "level": 2,
   "parent_id": null,
   "sha256": "a349e091a6a73a7ace81f53a24ac147e78c32a6d9042c6c1c4dc76af8c103a23",
   "rendered_sha256": "bc519d989767ce1b192cc2f037b9aef48e2262294c13558afa27eae0a5113f4e",
   "content_sha256": "bc519d989767ce1b192cc2f037b9aef48e2262294c13558afa27eae0a5113f4e",
   "changed": false,
   "example_ids": [
    "token-counts-from-recording"
   ]
  },
  {
   "section_id": "child-records",
   "chapter_id": "traces-and-cost",
   "title": "A child's records sit under its parent's call",
   "order": 77,
   "level": 2,
   "parent_id": null,
   "sha256": "6605af7e4f418b92adb67328febe30649d340ba6bc3b5237c57c4800c9b791f4",
   "rendered_sha256": "5f88cba7080f40de029f6ab7cfd41d5e5413947441faf2675c0c06513125994a",
   "content_sha256": "5f88cba7080f40de029f6ab7cfd41d5e5413947441faf2675c0c06513125994a",
   "changed": false,
   "example_ids": [
    "child-trace-under-parent"
   ]
  },
  {
   "section_id": "cost-not-money",
   "chapter_id": "traces-and-cost",
   "title": "Cost as counts, not money",
   "order": 78,
   "level": 2,
   "parent_id": null,
   "sha256": "f1f72ffda5b7d4587c8252864e2ecdc12b9a83d3fe7dea99c1585451205b7626",
   "rendered_sha256": "97ad7f786d5a5481206f0247cdd8d923a04beb96388c7e34baab9a9fa011012c",
   "content_sha256": "97ad7f786d5a5481206f0247cdd8d923a04beb96388c7e34baab9a9fa011012c",
   "changed": false,
   "example_ids": [
    "cost-as-counts",
    "figure-tokens-against-steps"
   ]
  },
  {
   "section_id": "own-fields",
   "chapter_id": "traces-and-cost",
   "title": "Keep your own field names, and map them at the edge",
   "order": 79,
   "level": 2,
   "parent_id": null,
   "sha256": "5a0a9827e56aa95d42cd1e619ffa365627a642e5784213cd75d9b8a733fd7a17",
   "rendered_sha256": "5a0a9827e56aa95d42cd1e619ffa365627a642e5784213cd75d9b8a733fd7a17",
   "content_sha256": "5a0a9827e56aa95d42cd1e619ffa365627a642e5784213cd75d9b8a733fd7a17",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "trace-pitfalls",
   "chapter_id": "traces-and-cost",
   "title": "What goes wrong, and how you would notice",
   "order": 80,
   "level": 2,
   "parent_id": null,
   "sha256": "05482e2be6c7350c4fa91276cd52c05c9f3516d74a812691e12f573111156257",
   "rendered_sha256": "05482e2be6c7350c4fa91276cd52c05c9f3516d74a812691e12f573111156257",
   "content_sha256": "05482e2be6c7350c4fa91276cd52c05c9f3516d74a812691e12f573111156257",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "trace-decisions",
   "chapter_id": "traces-and-cost",
   "title": "What this chapter decided",
   "order": 81,
   "level": 2,
   "parent_id": null,
   "sha256": "afa8046ccd5b32644dfc50aca67a403d74a083126fa53cbe48c3b630f2bd7cd1",
   "rendered_sha256": "afa8046ccd5b32644dfc50aca67a403d74a083126fa53cbe48c3b630f2bd7cd1",
   "content_sha256": "afa8046ccd5b32644dfc50aca67a403d74a083126fa53cbe48c3b630f2bd7cd1",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "fixed-pipeline-first",
   "chapter_id": "when-an-agent-is-the-wrong-design",
   "title": "Start with the fixed pipeline",
   "order": 82,
   "level": 2,
   "parent_id": null,
   "sha256": "3c103f966d397ea9d8734dc15611981e3d948a702c671c54249f6f8f478e3c0f",
   "rendered_sha256": "b1e33f9227e02535cad201d030bf97f735d1038020dbe58fb0a3d8b28bfc11a4",
   "content_sha256": "b1e33f9227e02535cad201d030bf97f735d1038020dbe58fb0a3d8b28bfc11a4",
   "changed": false,
   "example_ids": [
    "fixed-pipeline-same-task"
   ]
  },
  {
   "section_id": "when-to-split",
   "chapter_id": "when-an-agent-is-the-wrong-design",
   "title": "When splitting the work helps",
   "order": 83,
   "level": 2,
   "parent_id": null,
   "sha256": "6e01e335aae3370c76ec63ef2732e5533d0c71eed2bde99e0f96248098434c66",
   "rendered_sha256": "f47a5bb1ffb89ef54f74e14cc6bfa70225ab716f24c718dd0b164d478f844f6e",
   "content_sha256": "f47a5bb1ffb89ef54f74e14cc6bfa70225ab716f24c718dd0b164d478f844f6e",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "failures",
   "chapter_id": "when-an-agent-is-the-wrong-design",
   "title": "What goes wrong when you do use an agent",
   "order": 84,
   "level": 2,
   "parent_id": null,
   "sha256": "da03b2b9d8a5695c73efff7a170e235b1e2d7a6d5451dc62d5abbfb4bab98586",
   "rendered_sha256": "f13370251ebd790f3ec8bb2bf9907b3e0fa262d77b35e90c700ec43a1a6e29a2",
   "content_sha256": "f13370251ebd790f3ec8bb2bf9907b3e0fa262d77b35e90c700ec43a1a6e29a2",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "check-outside",
   "chapter_id": "when-an-agent-is-the-wrong-design",
   "title": "The check stays outside the agent",
   "order": 85,
   "level": 2,
   "parent_id": null,
   "sha256": "961a4c36ef9646519f3f7d1b0adee52f7fe5c41dc9cc92e220f87f434c3e6382",
   "rendered_sha256": "961a4c36ef9646519f3f7d1b0adee52f7fe5c41dc9cc92e220f87f434c3e6382",
   "content_sha256": "961a4c36ef9646519f3f7d1b0adee52f7fe5c41dc9cc92e220f87f434c3e6382",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "which-design",
   "chapter_id": "when-an-agent-is-the-wrong-design",
   "title": "The decision table",
   "order": 86,
   "level": 2,
   "parent_id": null,
   "sha256": "175780c4b2dda3471174df17cf23ee6c013307188ba577b3342899d253cb55c9",
   "rendered_sha256": "d071bce3a491f474752e5fe009338788e059c7ea6ed91f2b5625b81d5a4f9e4b",
   "content_sha256": "d071bce3a491f474752e5fe009338788e059c7ea6ed91f2b5625b81d5a4f9e4b",
   "changed": false,
   "example_ids": [
    "decision-table"
   ]
  },
  {
   "section_id": "design-decisions",
   "chapter_id": "when-an-agent-is-the-wrong-design",
   "title": "Decisions this chapter made",
   "order": 87,
   "level": 2,
   "parent_id": null,
   "sha256": "f358acfbe283eaf8b3b19413cc59667ce00012de6095cc71567c6417f6b4d286",
   "rendered_sha256": "f358acfbe283eaf8b3b19413cc59667ce00012de6095cc71567c6417f6b4d286",
   "content_sha256": "f358acfbe283eaf8b3b19413cc59667ce00012de6095cc71567c6417f6b4d286",
   "changed": false,
   "example_ids": []
  }
 ],
 "examples": [
  {
   "example_id": "read-the-issue",
   "chapter_id": "tools-and-a-loop",
   "section_id": "one-task",
   "file": "examples/read-the-issue.py",
   "sha256": "5acd1cde27fae60e6f02d27582ee976fa8d92edc78a360898413a713a4d019aa",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "tool-refusal",
   "chapter_id": "tools-and-a-loop",
   "section_id": "two-tools",
   "file": "examples/tool-refusal.py",
   "sha256": "e630f98130fdac686d12c93b6ffed0e62819fd77d8a5103bdfaca6036d912d6d",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "scripted-loop",
   "chapter_id": "tools-and-a-loop",
   "section_id": "scripted-run",
   "file": "examples/scripted-loop.py",
   "sha256": "923bfc581f78005c07be7a7cd0ab0c9643db3752dd4782029fdbb635291a83a6",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "recorded-run",
   "chapter_id": "tools-and-a-loop",
   "section_id": "replayed-run",
   "file": "examples/recorded-run.py",
   "sha256": "1a960fc9fd4536ae669766404b9da6b64912d60db151f74d8a37aa0bce21253f",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "budget-stops-a-loop",
   "chapter_id": "stop-rules",
   "section_id": "step-budget",
   "file": "examples/budget-stops-a-loop.py",
   "sha256": "6e968b9ba59196914eb976af9cafd2a7b59dda7b824e9209a2b6cbc9c9ad50d3",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "repeated-call-stops",
   "chapter_id": "stop-rules",
   "section_id": "repeated-calls",
   "file": "examples/repeated-call-stops.py",
   "sha256": "9a73485bd20fee7b4fb6c158b9e5db7a7bfa2961e7723287c5e208977c61130b",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "no-progress-stops",
   "chapter_id": "stop-rules",
   "section_id": "no-progress",
   "file": "examples/no-progress-stops.py",
   "sha256": "3c146fa4b35fe69aaf059234014a14c7aa69467f59b39bf14c82c7509e01f7e0",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "stop-rules-over-task-set",
   "chapter_id": "stop-rules",
   "section_id": "ask-instead",
   "file": "examples/stop-rules-over-task-set.py",
   "sha256": "7d00737baefe891fe47cc796ac524076ca2668030fbc66f6a1d8526c34c15f4c",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "figure-steps-with-and-without-rules",
   "chapter_id": "stop-rules",
   "section_id": "ask-instead",
   "file": "examples/figure-steps-with-and-without-rules.py",
   "sha256": "9ac4327ed7b13857fde7627a2a72d72eb24fff886bb0cb555a7a90f5d7e6b7d2",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pillow": "13.0.0",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "schema-from-model",
   "chapter_id": "tool-schemas",
   "section_id": "schema-says",
   "file": "examples/schema-from-model.py",
   "sha256": "e89e6a35acf082c201ee8eafd79b87447d8fbabca3f8cb11988de2fb13298e23",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "tool-descriptions",
   "chapter_id": "tool-schemas",
   "section_id": "schema-says",
   "file": "examples/tool-descriptions.py",
   "sha256": "bdefd73c184e886f79060d957117e58215fd93d996eaca3270b3e442ded96581",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "lax-and-strict",
   "chapter_id": "tool-schemas",
   "section_id": "lax-or-strict",
   "file": "examples/lax-and-strict.py",
   "sha256": "c7a68277cf90de3bd800f9773ee1089bd9d42c70b255fddd409fa71f4c8335e5",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "bad-arguments-handed-back",
   "chapter_id": "tool-schemas",
   "section_id": "errors-readable",
   "file": "examples/bad-arguments-handed-back.py",
   "sha256": "32690f03001d812a0c1d8c63aed20eb426f601cee5864951476d23726d03a640",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "edit-error-nearest-lines",
   "chapter_id": "tool-schemas",
   "section_id": "edit-errors",
   "file": "examples/edit-error-nearest-lines.py",
   "sha256": "cf054ff90e3621b336fd9fb9aec1560828bd908ce541e77311235547c15cb2a2",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "same-loop-two-models",
   "chapter_id": "model-adapters",
   "section_id": "scripted-and-replayed",
   "file": "examples/same-loop-two-models.py",
   "sha256": "bccac166734951e1bf85777b9849f9027769145b563be58d067d4355942b55b4",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "replay-byte-for-byte",
   "chapter_id": "model-adapters",
   "section_id": "scripted-and-replayed",
   "file": "examples/replay-byte-for-byte.py",
   "sha256": "d4eb2d80e7cc0850b38a49c76c5e85934438711c0588d0669ee028092dea964b",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "openai-compatible-loopback",
   "chapter_id": "model-adapters",
   "section_id": "openai-compatible",
   "file": "examples/openai-compatible-loopback.py",
   "sha256": "1e5fd581de30731dda5a2f2503163d565ab53ce9838b127718e6de0a0a669fe4",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "adapter-refuses-unsafe-endpoints",
   "chapter_id": "model-adapters",
   "section_id": "openai-compatible",
   "file": "examples/adapter-refuses-unsafe-endpoints.py",
   "sha256": "ab4a0d74ac77761abf94f8fe902a90b20ea591a9bb8fd88844c6762cdf8d7125",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "budget-counts-tokens",
   "chapter_id": "context-budgets",
   "section_id": "window",
   "file": "examples/budget-counts-tokens.py",
   "sha256": "1b759e4cf6b071683f16f1584abb9e59c57064206fae36077e18addd4c5826a4",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "figure-prompt-per-step",
   "chapter_id": "context-budgets",
   "section_id": "where-tokens-go",
   "file": "examples/figure-prompt-per-step.py",
   "sha256": "854856e6a0fe411065f573f311c26b210aa631a4ccbe7f32403655a7fdef62c5",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pillow": "13.0.0",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "estimate-vs-recorded",
   "chapter_id": "context-budgets",
   "section_id": "estimate",
   "file": "examples/estimate-vs-recorded.py",
   "sha256": "696252f3ae776a478c1a3b9c2e9734e9e223d1453cb1c9616baec25e7da7eac9",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "compact-keeps-last-result",
   "chapter_id": "context-budgets",
   "section_id": "compaction",
   "file": "examples/compact-keeps-last-result.py",
   "sha256": "f48e03207b1dde435b647a220ca5843b36c85ef3996b8c00f0f024fd73a0895e",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "notes-survive",
   "chapter_id": "context-budgets",
   "section_id": "notes",
   "file": "examples/notes-survive.py",
   "sha256": "34f383c641ad59bad0a52a1e86baa4ded86837ccf015b3b3b94c4c9d183adb45",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "recorded-context-use",
   "chapter_id": "context-budgets",
   "section_id": "recorded-runs",
   "file": "examples/recorded-context-use.py",
   "sha256": "e5e515bc62a7b7ed4dc75607d46530bd43519c519c637588e0578678f1d9f821",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "apply-all-or-nothing",
   "chapter_id": "permission-gates",
   "section_id": "copy-first",
   "file": "examples/apply-all-or-nothing.py",
   "sha256": "e06172eaa623479cb99679c21b3b3f30327893e3b7663059680e2571e4cb4e15",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "gate-applies-only-on-yes",
   "chapter_id": "permission-gates",
   "section_id": "gate-in-finish",
   "file": "examples/gate-applies-only-on-yes.py",
   "sha256": "2ed1341ee48e703c007acfcc422a217405d71ff9ed52335f83d6bd26d1634ee9",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "finish-body-waits-for-yes",
   "chapter_id": "permission-gates",
   "section_id": "gate-in-finish",
   "file": "examples/finish-body-waits-for-yes.py",
   "sha256": "58c1ff8eae4bf532dd15afc49783e1e005101ad081f329a25e8f9010fceb2be7",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "hidden-diff-lines-shown",
   "chapter_id": "permission-gates",
   "section_id": "bound-approval",
   "file": "examples/hidden-diff-lines-shown.py",
   "sha256": "8e02dd35f5c5b41cf1bd7b1f173aca8fdf7b055de6eb86ca484be26c7eaa2958",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "answer-binds-bytes",
   "chapter_id": "permission-gates",
   "section_id": "bound-approval",
   "file": "examples/answer-binds-bytes.py",
   "sha256": "4dc64d2304947421a1b1a736c974958d112f8b29a1a2ccc102bc90655dc5f70a",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "approval-in-transcript",
   "chapter_id": "permission-gates",
   "section_id": "bound-approval",
   "file": "examples/approval-in-transcript.py",
   "sha256": "c97df4fb4b6ef251d80dd772bc97ea6d2eb374ebb9cd776e091a0f36373e8fc0",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "never-class-refused",
   "chapter_id": "permission-gates",
   "section_id": "never-class",
   "file": "examples/never-class-refused.py",
   "sha256": "1379a1101d6a9a9173079a98a6bc0e7c59829f802e0c0d28c004f028f94eafeb",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "gutted-test-refused",
   "chapter_id": "permission-gates",
   "section_id": "never-class",
   "file": "examples/gutted-test-refused.py",
   "sha256": "5bdacb9cdd4ab6d88bee9b2c6ebe49552c9acdecbe6a8175bc3dd37153a35f93",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "refusal-handed-back",
   "chapter_id": "permission-gates",
   "section_id": "refusal",
   "file": "examples/refusal-handed-back.py",
   "sha256": "c37132483c85d7ab5fe785fb684650598591cd24fc9e25b00913701f4ddfb395",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "library-guard-fails-closed",
   "chapter_id": "permission-gates",
   "section_id": "wrapper",
   "file": "examples/library-guard-fails-closed.py",
   "sha256": "af6b68cb3ffa0568ea2162512dfbde1eb1997a1760a7f1a6515f72753df018e1",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "unknown-tool-refused",
   "chapter_id": "permission-gates",
   "section_id": "wrapper",
   "file": "examples/unknown-tool-refused.py",
   "sha256": "7c87d5e9077ed4fad9f6a88227cc824f147876c377b9881485cc2f9d0bbc78f1",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "gate-over-task-set",
   "chapter_id": "permission-gates",
   "section_id": "task-set",
   "file": "examples/gate-over-task-set.py",
   "sha256": "42e38d25e8db4a2df00306e826906acecb2682cb686a2a4f35cdff0c7ae5d9e9",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "argv-allowlist",
   "chapter_id": "sandbox-and-secrets",
   "section_id": "listed-programs",
   "file": "examples/argv-allowlist.py",
   "sha256": "33bcd5c62c47363c18e2147701d78929f6812db4074fc04fe4e6310fb9a4eeb6",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "injected-text-refused",
   "chapter_id": "sandbox-and-secrets",
   "section_id": "listed-programs",
   "file": "examples/injected-text-refused.py",
   "sha256": "6fadb6903853e364dfdd68ff7889e475dd589143b357beb889a27fac58ec7154",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "same-effect-through-a-test-file",
   "chapter_id": "sandbox-and-secrets",
   "section_id": "listed-programs",
   "file": "examples/same-effect-through-a-test-file.py",
   "sha256": "b45e32d2382a1364dd2ff33b289c6a6f7aac8fdef12f425d86cd73b949745680",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "limits-stop-a-hog",
   "chapter_id": "sandbox-and-secrets",
   "section_id": "limits",
   "file": "examples/limits-stop-a-hog.py",
   "sha256": "79d35772c8206ab0ec0eab7b54eb4d92e4d46dd327f6bd043d7daae156f96e5e",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "escaped-child",
   "chapter_id": "sandbox-and-secrets",
   "section_id": "limits",
   "file": "examples/escaped-child.py",
   "sha256": "6e49d76523d4b7ba907a261994d05a6f5a67ee678e13b4c147ce2f4f91494320",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "network-label",
   "chapter_id": "sandbox-and-secrets",
   "section_id": "network",
   "file": "examples/network-label.py",
   "sha256": "bf65e746a03dfc3bcd83d102f965d02d2aceb6f4a3598d8e8f434b06a152ccc5",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "secret-not-in-env",
   "chapter_id": "sandbox-and-secrets",
   "section_id": "secrets",
   "file": "examples/secret-not-in-env.py",
   "sha256": "4df0af7ae84c803757ac7b44af11ef18ca6bf557cc4cf681b707275537bb0e72",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "child-with-budget",
   "chapter_id": "subagents-and-handoffs",
   "section_id": "child-loop",
   "file": "examples/child-with-budget.py",
   "sha256": "a175352d0df093faba11e0cf427e6b642f476a245041c416af7b78fd9989b067",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "parent-starts-child",
   "chapter_id": "subagents-and-handoffs",
   "section_id": "child-loop",
   "file": "examples/parent-starts-child.py",
   "sha256": "316447bb7a7036a3348247cffc32045a72a11fc16c8d859669d33b8c16e98cd3",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "summary-to-parent",
   "chapter_id": "subagents-and-handoffs",
   "section_id": "what-comes-back",
   "file": "examples/summary-to-parent.py",
   "sha256": "839accf5c8ee1f2ccf1b55b235346a3f4aa4a909e2380927baff623318090279",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "handoff-on-stuck",
   "chapter_id": "subagents-and-handoffs",
   "section_id": "a-stop-handed-back",
   "file": "examples/handoff-on-stuck.py",
   "sha256": "4065fcdf2f80abe81c8cff6644b000a9801f168a2582a3d3b3dd1953c34091c0",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "list-server-tools",
   "chapter_id": "mcp-tools",
   "section_id": "listing-tools",
   "file": "examples/list-server-tools.py",
   "sha256": "68cba64bafd189803d8cd50d744a8238dd2025f6915792d347850ffd035faa53",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "anyio": "4.16.0",
    "cffi": "2.1.1",
    "click": "8.5.1",
    "cryptography": "50.0.2",
    "httpx2": "2.16.2",
    "idna": "3.20",
    "mcp": "2.3.0",
    "mcp-types": "2.3.0",
    "numpy": "2.5.5",
    "opentelemetry-api": "1.45.2",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "python-multipart": "0.0.34",
    "sse-starlette": "3.7.1",
    "starlette": "1.10.0",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5",
    "uvicorn": "0.55.0"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "namespace-clash",
   "chapter_id": "mcp-tools",
   "section_id": "namespacing",
   "file": "examples/namespace-clash.py",
   "sha256": "eef467d47fb329010eaa4318c83b824a3aa82d8d2ad26f592f3511ff99fc7f0a",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "anyio": "4.16.0",
    "attrs": "26.1.0",
    "cffi": "2.1.1",
    "click": "8.5.1",
    "cryptography": "50.0.2",
    "httpx2": "2.16.2",
    "idna": "3.20",
    "jsonschema": "4.26.0",
    "jsonschema-specifications": "2025.9.1",
    "mcp": "2.3.0",
    "mcp-types": "2.3.0",
    "numpy": "2.5.5",
    "opentelemetry-api": "1.45.2",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "python-multipart": "0.0.34",
    "referencing": "0.37.0",
    "rpds-py": "2026.9.1",
    "sse-starlette": "3.7.1",
    "starlette": "1.10.0",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5",
    "uvicorn": "0.55.0"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "annotation-is-a-hint",
   "chapter_id": "mcp-tools",
   "section_id": "other-tools",
   "file": "examples/annotation-is-a-hint.py",
   "sha256": "1119cf6deb889bb5e7811fba529fb7bd1700e49b107de619a06494f0f0a5c04f",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "anyio": "4.16.0",
    "attrs": "26.1.0",
    "cffi": "2.1.1",
    "click": "8.5.1",
    "cryptography": "50.0.2",
    "httpx2": "2.16.2",
    "idna": "3.20",
    "jsonschema": "4.26.0",
    "jsonschema-specifications": "2025.9.1",
    "mcp": "2.3.0",
    "mcp-types": "2.3.0",
    "numpy": "2.5.5",
    "opentelemetry-api": "1.45.2",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "python-multipart": "0.0.34",
    "referencing": "0.37.0",
    "rpds-py": "2026.9.1",
    "sse-starlette": "3.7.1",
    "starlette": "1.10.0",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5",
    "uvicorn": "0.55.0"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "fence-cannot-be-closed",
   "chapter_id": "mcp-tools",
   "section_id": "output-is-untrusted",
   "file": "examples/fence-cannot-be-closed.py",
   "sha256": "2846987ef214103b3e0610c4ef3a7f388c390519fa97afee32d49edc955c4bc3",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "anyio": "4.16.0",
    "cffi": "2.1.1",
    "click": "8.5.1",
    "cryptography": "50.0.2",
    "httpx2": "2.16.2",
    "idna": "3.20",
    "mcp": "2.3.0",
    "mcp-types": "2.3.0",
    "numpy": "2.5.5",
    "opentelemetry-api": "1.45.2",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "python-multipart": "0.0.34",
    "sse-starlette": "3.7.1",
    "starlette": "1.10.0",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5",
    "uvicorn": "0.55.0"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "untrusted-output",
   "chapter_id": "mcp-tools",
   "section_id": "output-is-untrusted",
   "file": "examples/untrusted-output.py",
   "sha256": "29ec356c1265e01a85b67df9c5c8052d1d6d1fcf97c5f06b0d7d38abf10e3747",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "anyio": "4.16.0",
    "attrs": "26.1.0",
    "cffi": "2.1.1",
    "click": "8.5.1",
    "cryptography": "50.0.2",
    "httpx2": "2.16.2",
    "idna": "3.20",
    "jsonschema": "4.26.0",
    "jsonschema-specifications": "2025.9.1",
    "mcp": "2.3.0",
    "mcp-types": "2.3.0",
    "numpy": "2.5.5",
    "opentelemetry-api": "1.45.2",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "python-multipart": "0.0.34",
    "referencing": "0.37.0",
    "rpds-py": "2026.9.1",
    "sse-starlette": "3.7.1",
    "starlette": "1.10.0",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5",
    "uvicorn": "0.55.0"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "scenario-refusal",
   "chapter_id": "testing-the-agent",
   "section_id": "scenario-tests",
   "file": "examples/scenario-refusal.py",
   "sha256": "e5d6ee69fabe230998aa6981d1fadfe46192fb81b2b135f7632ee54aa3774da3",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "scenario-gate",
   "chapter_id": "testing-the-agent",
   "section_id": "scenario-tests",
   "file": "examples/scenario-gate.py",
   "sha256": "ff1fe9591a7035b6e6e55921d4f0828f618d02cb77dae850fd5dad3a04b9c759",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "scenario-stop-rule",
   "chapter_id": "testing-the-agent",
   "section_id": "scenario-tests",
   "file": "examples/scenario-stop-rule.py",
   "sha256": "cf63eb450c29c7f4bd436526feb0f0c4a1ed4522adaf4fc53ccd5dc437d22e96",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "scenario-injected-output",
   "chapter_id": "testing-the-agent",
   "section_id": "scenario-tests",
   "file": "examples/scenario-injected-output.py",
   "sha256": "2a8db6f37f1cd357a985d41933eba28c7113ddc69ba2bbdaffa97a26f3d9907e",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "hidden-check-in-copy",
   "chapter_id": "testing-the-agent",
   "section_id": "hidden-check",
   "file": "examples/hidden-check-in-copy.py",
   "sha256": "64c29045ed35b843bbc348a63b8944e6f2da245e72c43435fa492f65e9f25eb9",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "scoring-ignores-planted-config",
   "chapter_id": "testing-the-agent",
   "section_id": "hidden-check",
   "file": "examples/scoring-ignores-planted-config.py",
   "sha256": "0ab7dcf7247cb68ba865e2ce7f4b91676fc9504d0549c6aa282bd32b1f8209f3",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "score-task-set",
   "chapter_id": "testing-the-agent",
   "section_id": "score",
   "file": "examples/score-task-set.py",
   "sha256": "95e72831d0fc0d416633f0e0c1fddbc342edfdf7bfc8dad134d6f68e5cc57715",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "figure-naive-range-coverage",
   "chapter_id": "testing-the-agent",
   "section_id": "how-sure",
   "file": "examples/figure-naive-range-coverage.py",
   "sha256": "0d590b5ce0d60bfb8ce8d4818da387923f2f86d00bca84f66dc8d19ecfae90d7",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pillow": "13.0.0",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "compare-v1-v2",
   "chapter_id": "testing-the-agent",
   "section_id": "v1-v2",
   "file": "examples/compare-v1-v2.py",
   "sha256": "943182c880bc532d728398051a53229cb5b5f9307fc39df04e9159c2035658df",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "trace-one-run",
   "chapter_id": "traces-and-cost",
   "section_id": "one-line-per-event",
   "file": "examples/trace-one-run.py",
   "sha256": "fadb106611a8d4608de0fe8d63d3eca179f0fbcc7c0b1ba744faf6170d12480b",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "token-counts-from-recording",
   "chapter_id": "traces-and-cost",
   "section_id": "token-counts",
   "file": "examples/token-counts-from-recording.py",
   "sha256": "2b14c3eb50bb8a17a838466e0eb5f23039f69b20d8a96fcac4480184184cce10",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "child-trace-under-parent",
   "chapter_id": "traces-and-cost",
   "section_id": "child-records",
   "file": "examples/child-trace-under-parent.py",
   "sha256": "2ed01799ad994bc79f759310360a8d2837b50770ac4e1c1b9f987371aaeab825",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "cost-as-counts",
   "chapter_id": "traces-and-cost",
   "section_id": "cost-not-money",
   "file": "examples/cost-as-counts.py",
   "sha256": "9c890ad50f5de5026d8fd2f1bde6ce936a0b3c4e02967fc42b2941b15d3352ea",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "figure-tokens-against-steps",
   "chapter_id": "traces-and-cost",
   "section_id": "cost-not-money",
   "file": "examples/figure-tokens-against-steps.py",
   "sha256": "ae196e33193ffe89cf82b9c3b791a687aae869159b89948cede6d0fe6096c9e4",
   "versions": {
    "python": "3.12.15",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pillow": "13.0.0",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "fixed-pipeline-same-task",
   "chapter_id": "when-an-agent-is-the-wrong-design",
   "section_id": "fixed-pipeline-first",
   "file": "examples/fixed-pipeline-same-task.py",
   "sha256": "ead4feeeab83f6a193c636b59b579617b78acbf1cac9f74d866f0e0b519709fe",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "decision-table",
   "chapter_id": "when-an-agent-is-the-wrong-design",
   "section_id": "which-design",
   "file": "examples/decision-table.py",
   "sha256": "293146361debb0c0de54c26ac7dd6c4968c0fd8ddd89e17c5cbf96f91fdeb503",
   "versions": {
    "python": "3.12.15",
    "annotated-types": "0.8.0",
    "numpy": "2.5.5",
    "pydantic": "2.14.4",
    "pydantic-core": "2.50.5",
    "typing-extensions": "4.16.0",
    "typing-inspection": "0.4.5"
   },
   "direct": [
    "matplotlib",
    "mcp",
    "numpy",
    "pydantic"
   ],
   "passing": true,
   "changed": false
  }
 ],
 "redirects": {}
}
