{"name":"blast-area","title":"Map a change's blast area","description":"Map what a set of changes would affect before making it: callers, data contracts, jobs, UI, tests, build toolchains, deploy ordering, and second-order readers — with searched negatives and a list of what the map cannot see. Use when you need to know what a change would break.","compatibility":"Any repository the agent can read, with git and a text search tool. A language server or compiler-resolved symbol index raises precision and is used when present; without one, resolution is name-based and the map says so. Data-resident references need a queryable datastore — without one, the surface is reported unchecked rather than empty. Output is a written map plus a JSON envelope that renders as a diagram; nothing is changed and nothing is committed unless a run record is asked for.","allowedTools":"Read Write Grep Glob Bash","license":"MIT","kind":"general","useWhen":"about to delete or change shared code, where \"nothing else calls this\" is load-bearing","group":"workflow","lifecycle":"release","version":"1.0.1","author":"crissmoldovan","install":["npx skills add crissmoldovan/agent-skills --skill blast-area"],"asks":["I want to drop the status column from the jobs table. Map what that would hit before I write\nthe migration — and tell me for each thing whether it breaks at compile time, at runtime, or\nnot at all until someone notices the number is wrong. Include the deploy ordering and say why\nit is that way round.","We are renaming this exported helper across the monorepo. Walk all twelve surfaces, including\nthe ones you think are empty — and for every empty one, show me the search and the control\nthat proves the search was working. I have been burned by a clean grep before.","Before I delete this endpoint: who outside this repository calls it? If you cannot see them\nfrom here, say so on the map rather than leaving that surface blank, and tell me what would\nsettle it.","Two candidate fixes, same bug. Map each one and compare them by what they disturb and by what\neach one cannot undo — I care more about reversibility than about elegance here.","Map this change set and document the run (--document) so I can hand the evidence to review\nwith the pull request. I especially want the \"what this map cannot see\" section; last time\nthe surprise was a prompt row in the database that no code search would ever have found."],"commands":[],"documents":[{"path":"references/break-timing.md","slug":"break-timing","title":"Break timing: compile, runtime, silent","body":"# Break timing: compile, runtime, silent\n\nAn \"affected files\" list without **when** each break surfaces is not a decision surface. The\nthree classes below differ by roughly two orders of magnitude in cost, and the cheapest map in\nthe world is worthless if it groups them together.\n\n| Class | What happens | Who finds it | Typical cost |\n|---|---|---|---|\n| `compile` | a typechecker, linter, build or codegen step rejects it | the build, before it ships | minutes |\n| `runtime` | it ships and throws where the path executes | logs, error tracking, a user | hours, plus an incident |\n| `silent` | it ships, executes, throws nothing, and is wrong — or stops happening at all | nobody, for a while | whatever was decided on the wrong number |\n\nEvery item on the map gets one of these, plus `none` for items that are affected but not broken\n(a caller that keeps working because the change is additive still belongs on the map — it is what\nmakes the \"affected\" set trustworthy).\n\n## Placing an item: four questions in order\n\n1. **Does a tool that runs before deploy see this edge?** A typechecker only sees what the type\n   system expresses. A string literal, a template, a JSON config, a database row and a generated\n   file that is not regenerated in CI are all outside it. If nothing pre-deploy sees the edge, it\n   is not `compile`, however obvious the breakage looks in the diff.\n2. **Does the path execute, and does it throw when it does?** If the code runs and raises, it is\n   `runtime`. Note *where* it executes: a route nobody visits, a nightly job, a retry branch, an\n   error handler. Runtime breaks in rarely-executed paths behave like silent ones in practice —\n   record the path, not just the class.\n3. **Could it produce a wrong value, or stop producing one, without raising?** Then it is\n   `silent`. Missing registration, a default that absorbs a null, a filter that now matches\n   nothing, an aggregate over a column that changed meaning, a pattern-keyed guard that stops\n   matching. Silence is the class this whole procedure exists to surface.\n4. **Would a revert restore it?** This does not change the class; it goes to the reversibility\n   surface. But a `silent` break that is also irreversible — data written wrong for a week — is\n   the worst square on the board and deserves saying so explicitly.\n\n## The cases that are always silent\n\n- **A datastore row that names a symbol.** Prompt templates, saved queries, flag rules, workflow\n  step definitions. Nothing in the build sees them; nothing throws when they go stale.\n- **A registration that stops happening.** The job does not fail. It is not there.\n- **A guard whose pattern no longer matches.** It passes. Green, forever, protecting nothing.\n- **A deriver against a changed meaning.** Writer correct, reader correct, and the number in\n  between now means something else.\n- **An optional argument dropped from a call that still typechecks.** The call compiles and the\n  behaviour changes.\n- **A default that absorbs the difference.** `?? 0`, `COALESCE`, an empty-array fallback: the\n  system keeps running on a value nobody chose.\n\n## The case that looks like `compile` and is not\n\nA string-built query naming a column that no longer exists. It typechecks, because no type system\nwas ever involved; it passes CI, because no test executed that path with a real database; and it\nthrows in production the first time the query runs. In one measured case, exactly this shape —\ndropping a column whose only readers were string-built queries — cleared every pre-deploy gate\nthe repository had.\n\nThe general rule: **the type system's reach is the boundary of the `compile` class**, and that\nboundary is narrower than it feels while reading typed code. Anything crossing a serialisation\nboundary — SQL text, JSON config, environment variables, HTTP payloads, template strings,\nreflection, a datastore — has left it.\n\n## Toolchain-dependent placement\n\nThe same construct can be `compile` under one toolchain and `runtime` under another, which is why\nsurface 6 asks for the toolchains to be counted rather than assumed. A module specifier that the\ntypechecker resolves happily may be unresolvable to a bundler that must statically analyse it; a\ndecorator that one transform preserves and another erases changes class between the test run and\nthe deployed artifact. Where toolchains disagree, record the **worst** class of the ones that\nprocess the file, and name the toolchain that produces it.\n\n## Recording it\n\nOn the map, each node carries `break` as one of `compile | runtime | silent | none`, and each\n`silent` item carries one extra clause: **what would be observed instead of an error** — a blank\nfield, a job that stops running, a count that drifts, a model that answers differently. That\nclause is what makes a silent break checkable after the fact, and it is the difference between a\nwarning and a monitoring plan.\n","bodyHtml":"<h2 id=\"break-timing-compile-runtime-silent\">Break timing: compile, runtime, silent</h2>\n<p>An &quot;affected files&quot; list without <strong>when</strong> each break surfaces is not a decision surface. The\nthree classes below differ by roughly two orders of magnitude in cost, and the cheapest map in\nthe world is worthless if it groups them together.</p>\n<table>\n<thead>\n<tr>\n<th>Class</th>\n<th>What happens</th>\n<th>Who finds it</th>\n<th>Typical cost</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><code>compile</code></td>\n<td>a typechecker, linter, build or codegen step rejects it</td>\n<td>the build, before it ships</td>\n<td>minutes</td>\n</tr>\n<tr>\n<td><code>runtime</code></td>\n<td>it ships and throws where the path executes</td>\n<td>logs, error tracking, a user</td>\n<td>hours, plus an incident</td>\n</tr>\n<tr>\n<td><code>silent</code></td>\n<td>it ships, executes, throws nothing, and is wrong — or stops happening at all</td>\n<td>nobody, for a while</td>\n<td>whatever was decided on the wrong number</td>\n</tr>\n</tbody></table>\n<p>Every item on the map gets one of these, plus <code>none</code> for items that are affected but not broken\n(a caller that keeps working because the change is additive still belongs on the map — it is what\nmakes the &quot;affected&quot; set trustworthy).</p>\n<h3 id=\"placing-an-item-four-questions-in-order\">Placing an item: four questions in order</h3>\n<ol>\n<li><strong>Does a tool that runs before deploy see this edge?</strong> A typechecker only sees what the type\nsystem expresses. A string literal, a template, a JSON config, a database row and a generated\nfile that is not regenerated in CI are all outside it. If nothing pre-deploy sees the edge, it\nis not <code>compile</code>, however obvious the breakage looks in the diff.</li>\n<li><strong>Does the path execute, and does it throw when it does?</strong> If the code runs and raises, it is\n<code>runtime</code>. Note <em>where</em> it executes: a route nobody visits, a nightly job, a retry branch, an\nerror handler. Runtime breaks in rarely-executed paths behave like silent ones in practice —\nrecord the path, not just the class.</li>\n<li><strong>Could it produce a wrong value, or stop producing one, without raising?</strong> Then it is\n<code>silent</code>. Missing registration, a default that absorbs a null, a filter that now matches\nnothing, an aggregate over a column that changed meaning, a pattern-keyed guard that stops\nmatching. Silence is the class this whole procedure exists to surface.</li>\n<li><strong>Would a revert restore it?</strong> This does not change the class; it goes to the reversibility\nsurface. But a <code>silent</code> break that is also irreversible — data written wrong for a week — is\nthe worst square on the board and deserves saying so explicitly.</li>\n</ol>\n<h3 id=\"the-cases-that-are-always-silent\">The cases that are always silent</h3>\n<ul>\n<li><strong>A datastore row that names a symbol.</strong> Prompt templates, saved queries, flag rules, workflow\nstep definitions. Nothing in the build sees them; nothing throws when they go stale.</li>\n<li><strong>A registration that stops happening.</strong> The job does not fail. It is not there.</li>\n<li><strong>A guard whose pattern no longer matches.</strong> It passes. Green, forever, protecting nothing.</li>\n<li><strong>A deriver against a changed meaning.</strong> Writer correct, reader correct, and the number in\nbetween now means something else.</li>\n<li><strong>An optional argument dropped from a call that still typechecks.</strong> The call compiles and the\nbehaviour changes.</li>\n<li><strong>A default that absorbs the difference.</strong> <code>?? 0</code>, <code>COALESCE</code>, an empty-array fallback: the\nsystem keeps running on a value nobody chose.</li>\n</ul>\n<h3 id=\"the-case-that-looks-like-compile-and-is-not\">The case that looks like <code>compile</code> and is not</h3>\n<p>A string-built query naming a column that no longer exists. It typechecks, because no type system\nwas ever involved; it passes CI, because no test executed that path with a real database; and it\nthrows in production the first time the query runs. In one measured case, exactly this shape —\ndropping a column whose only readers were string-built queries — cleared every pre-deploy gate\nthe repository had.</p>\n<p>The general rule: <strong>the type system&#39;s reach is the boundary of the <code>compile</code> class</strong>, and that\nboundary is narrower than it feels while reading typed code. Anything crossing a serialisation\nboundary — SQL text, JSON config, environment variables, HTTP payloads, template strings,\nreflection, a datastore — has left it.</p>\n<h3 id=\"toolchain-dependent-placement\">Toolchain-dependent placement</h3>\n<p>The same construct can be <code>compile</code> under one toolchain and <code>runtime</code> under another, which is why\nsurface 6 asks for the toolchains to be counted rather than assumed. A module specifier that the\ntypechecker resolves happily may be unresolvable to a bundler that must statically analyse it; a\ndecorator that one transform preserves and another erases changes class between the test run and\nthe deployed artifact. Where toolchains disagree, record the <strong>worst</strong> class of the ones that\nprocess the file, and name the toolchain that produces it.</p>\n<h3 id=\"recording-it\">Recording it</h3>\n<p>On the map, each node carries <code>break</code> as one of <code>compile | runtime | silent | none</code>, and each\n<code>silent</code> item carries one extra clause: <strong>what would be observed instead of an error</strong> — a blank\nfield, a job that stops running, a count that drifts, a model that answers differently. That\nclause is what makes a silent break checkable after the fact, and it is the difference between a\nwarning and a monitoring plan.</p>\n","words":828},{"path":"references/deploy-ordering.md","slug":"deploy-ordering","title":"Deploy ordering","body":"# Deploy ordering\n\nDeploy ordering is a first-class output of the map, and it is a **conditional** one. Both\norderings below are correct in the same repository; which one applies depends on the direction\nthe change runs. Emitting one unconditionally is right about half the time, which is worse than\nuseless because it is right often enough to be trusted.\n\n## The one question\n\n**Which half breaks the other when it runs alone?**\n\nEvery ordering decision reduces to that. The change has (at least) two halves that land at\ndifferent moments — commonly a schema half and a code half, but equally a producer and a\nconsumer, a library and its dependant, a config key and the reader of it. Between the two lands\nthere is a **window** in which one half is new and the other is old. The ordering you want is the\none whose window is survivable.\n\n## Schema-first\n\n**When:** the new code reads or writes something the schema does not have yet.\n\n**Why:** the code half cannot run at all without the schema half, so it must not be first. The\nold code keeps working across the new schema **provided the schema change is additive** — a new\nnullable column, a new table, a new optional field, a widened enum. During the window, old\ninstances ignore the addition.\n\n**Precondition, not a hope:** additive. A `NOT NULL` column without a default, a narrowed type,\na renamed column and a dropped default are all schema changes that break the running old code,\nand they belong in the third case below, not here.\n\n**Window contents:** old code against new schema. Verify that nothing does `SELECT *` into a\nstrict deserialiser, and that no old code path writes a row that would now violate a new\nconstraint.\n\n## Code-first\n\n**When:** the schema half would break readers that are live right now — a drop, a rename, a type\nnarrowing, a removed default, a tightened constraint that current code still selects or relies on.\n\n**Why:** applying the schema half first fails **inside the window**, not at deploy time, which is\nexactly why it reads as safe until it is not. The deploy goes green; the errors arrive from\nwhatever runs next.\n\n**Sequence:** deploy the code that stops reading the thing → **let the old instances drain** →\nthen contract the schema.\n\n**The drain question is part of the output.** Name what still runs after the new code is\ndeployed: in-flight HTTP requests, workers mid-job, queued messages already dequeued by an old\nconsumer, cached clients holding an old schema, a serverless platform keeping warm instances of\nthe previous version, replicas mid-rollout. \"Deploy the code first\" without a drain answer is an\nordering with a hole in it.\n\n## Neither: expand, migrate, contract\n\n**When:** each half breaks the other. A rename is the canonical case — the old code needs the old\nname, the new code needs the new one, and there is no instant at which one column satisfies both.\n\n**Why it is not an ordering problem:** no permutation of two deploys works, so the honest output\nis that the change is three steps, not two, and the map should say so rather than picking the\nless-bad permutation.\n\n1. **Expand** — add the new thing alongside the old. Both exist. Nothing is removed.\n2. **Migrate** — write both (dual-write) and backfill; switch readers to the new thing; let every\n   consumer, including the slow ones, cross over.\n3. **Contract** — remove the old thing, once no reader remains and you can show it.\n\nEach step is separately deployable and separately revertible, which is the whole point. A feature\nflag can substitute for step 2's switch where the readers are all in your control; it cannot\nsubstitute for the backfill.\n\n## What goes on the map\n\nFor the `deploy-ordering` surface, emit:\n\n- **The direction**, as an ordered list of the halves.\n- **The reason**, in one sentence naming which half breaks the other when it runs alone.\n- **The window contents** — what is running in the interval, and the drain answer where the\n  ordering is code-first.\n- **The steps, where it is three rather than two**, each with its own revertibility.\n- **A confidence** from the fixed vocabulary. `measured` when you can name what runs in the\n  window because you checked; `inferred` when you reasoned from the platform's defaults. Say\n  which.\n\nEdges of kind `deploys-before` carry the same evidence requirement as every other edge: the\nconstraint that forces the order, cited.\n\n## Two traps\n\n- **Assuming an additive schema change is free.** It is free for readers. A new constraint, a\n  trigger, an index build that locks, or a default that rewrites the table are all additive on\n  paper and disruptive in the window. Check the mechanism, not the DDL verb.\n- **Assuming the two halves are yours to sequence.** Where one half is another team's deploy,\n  another repository's release, or a client application people update at their own pace, the\n  window is not minutes — it is however long the slowest consumer takes. That is an\n  expand-migrate-contract situation regardless of how simple the change looks locally.\n","bodyHtml":"<h2 id=\"deploy-ordering\">Deploy ordering</h2>\n<p>Deploy ordering is a first-class output of the map, and it is a <strong>conditional</strong> one. Both\norderings below are correct in the same repository; which one applies depends on the direction\nthe change runs. Emitting one unconditionally is right about half the time, which is worse than\nuseless because it is right often enough to be trusted.</p>\n<h3 id=\"the-one-question\">The one question</h3>\n<p><strong>Which half breaks the other when it runs alone?</strong></p>\n<p>Every ordering decision reduces to that. The change has (at least) two halves that land at\ndifferent moments — commonly a schema half and a code half, but equally a producer and a\nconsumer, a library and its dependant, a config key and the reader of it. Between the two lands\nthere is a <strong>window</strong> in which one half is new and the other is old. The ordering you want is the\none whose window is survivable.</p>\n<h3 id=\"schema-first\">Schema-first</h3>\n<p><strong>When:</strong> the new code reads or writes something the schema does not have yet.</p>\n<p><strong>Why:</strong> the code half cannot run at all without the schema half, so it must not be first. The\nold code keeps working across the new schema <strong>provided the schema change is additive</strong> — a new\nnullable column, a new table, a new optional field, a widened enum. During the window, old\ninstances ignore the addition.</p>\n<p><strong>Precondition, not a hope:</strong> additive. A <code>NOT NULL</code> column without a default, a narrowed type,\na renamed column and a dropped default are all schema changes that break the running old code,\nand they belong in the third case below, not here.</p>\n<p><strong>Window contents:</strong> old code against new schema. Verify that nothing does <code>SELECT *</code> into a\nstrict deserialiser, and that no old code path writes a row that would now violate a new\nconstraint.</p>\n<h3 id=\"code-first\">Code-first</h3>\n<p><strong>When:</strong> the schema half would break readers that are live right now — a drop, a rename, a type\nnarrowing, a removed default, a tightened constraint that current code still selects or relies on.</p>\n<p><strong>Why:</strong> applying the schema half first fails <strong>inside the window</strong>, not at deploy time, which is\nexactly why it reads as safe until it is not. The deploy goes green; the errors arrive from\nwhatever runs next.</p>\n<p><strong>Sequence:</strong> deploy the code that stops reading the thing → <strong>let the old instances drain</strong> →\nthen contract the schema.</p>\n<p><strong>The drain question is part of the output.</strong> Name what still runs after the new code is\ndeployed: in-flight HTTP requests, workers mid-job, queued messages already dequeued by an old\nconsumer, cached clients holding an old schema, a serverless platform keeping warm instances of\nthe previous version, replicas mid-rollout. &quot;Deploy the code first&quot; without a drain answer is an\nordering with a hole in it.</p>\n<h3 id=\"neither-expand-migrate-contract\">Neither: expand, migrate, contract</h3>\n<p><strong>When:</strong> each half breaks the other. A rename is the canonical case — the old code needs the old\nname, the new code needs the new one, and there is no instant at which one column satisfies both.</p>\n<p><strong>Why it is not an ordering problem:</strong> no permutation of two deploys works, so the honest output\nis that the change is three steps, not two, and the map should say so rather than picking the\nless-bad permutation.</p>\n<ol>\n<li><strong>Expand</strong> — add the new thing alongside the old. Both exist. Nothing is removed.</li>\n<li><strong>Migrate</strong> — write both (dual-write) and backfill; switch readers to the new thing; let every\nconsumer, including the slow ones, cross over.</li>\n<li><strong>Contract</strong> — remove the old thing, once no reader remains and you can show it.</li>\n</ol>\n<p>Each step is separately deployable and separately revertible, which is the whole point. A feature\nflag can substitute for step 2&#39;s switch where the readers are all in your control; it cannot\nsubstitute for the backfill.</p>\n<h3 id=\"what-goes-on-the-map\">What goes on the map</h3>\n<p>For the <code>deploy-ordering</code> surface, emit:</p>\n<ul>\n<li><strong>The direction</strong>, as an ordered list of the halves.</li>\n<li><strong>The reason</strong>, in one sentence naming which half breaks the other when it runs alone.</li>\n<li><strong>The window contents</strong> — what is running in the interval, and the drain answer where the\nordering is code-first.</li>\n<li><strong>The steps, where it is three rather than two</strong>, each with its own revertibility.</li>\n<li><strong>A confidence</strong> from the fixed vocabulary. <code>measured</code> when you can name what runs in the\nwindow because you checked; <code>inferred</code> when you reasoned from the platform&#39;s defaults. Say\nwhich.</li>\n</ul>\n<p>Edges of kind <code>deploys-before</code> carry the same evidence requirement as every other edge: the\nconstraint that forces the order, cited.</p>\n<h3 id=\"two-traps\">Two traps</h3>\n<ul>\n<li><strong>Assuming an additive schema change is free.</strong> It is free for readers. A new constraint, a\ntrigger, an index build that locks, or a default that rewrites the table are all additive on\npaper and disruptive in the window. Check the mechanism, not the DDL verb.</li>\n<li><strong>Assuming the two halves are yours to sequence.</strong> Where one half is another team&#39;s deploy,\nanother repository&#39;s release, or a client application people update at their own pace, the\nwindow is not minutes — it is however long the slowest consumer takes. That is an\nexpand-migrate-contract situation regardless of how simple the change looks locally.</li>\n</ul>\n","words":854},{"path":"references/documenting-the-run.md","slug":"documenting-the-run","title":"The run record — `--document`","body":"# The run record — `--document`\n\nA run that reached a good answer and left nothing behind cannot be checked, reused, or\nresumed. The next person — often the same person a week later — repeats the searches,\nrediscovers the same dead ends, and has no way to tell which claims were measured and\nwhich were guessed. A run record fixes exactly that: it says what was searched, who\nsearched it, what each found, how the disagreements were settled, and what was decided.\n\nIt is a byproduct, never the product. Writing one must not change the answer.\n\nThis file is the whole convention. It is carried, byte-identical, by every skill in this\nfamily, and the copies are compared by hash in CI — so edit the convention once and copy\nit, never edit a single skill's copy. Never link across skills to another copy: a local\nlink that escapes its skill directory fails the catalog verifier.\n\n## When a record gets written\n\nThree branches, keyed on **attendance**. Attendance is *declared* — conservatively — and\nnever probed. Do not ask the harness whether someone is watching; decide from what you\nalready know about how the run started.\n\n| Branch | Condition | Where it goes | Form |\n|---|---|---|---|\n| Asked for | `--document`, `--document=<path>`, or an unambiguous phrase | host repository | full |\n| Unattended | headless, cron, CI, or dispatched by a parent agent | harness scratch directory | full (light band: short) |\n| Attended, no token | a human is in the loop and did not ask | nowhere | none, plus at most one offer |\n\n1. **Asked for.** The invocation carries `--document` or `--document=<path>`, or an\n   unambiguous natural phrase — \"document the run\", \"write down how you got there\".\n   Write the **full** record at the host-repository path below. A vague \"keep notes\"\n   is not this branch; treat it as attended and offer.\n\n2. **Unattended.** The operative test is one sentence: *if you cannot confirm a human\n   will see and answer a question in THIS run, treat it as unattended.* An unattended\n   run **always** writes a record, because there is nobody to ask afterwards what it\n   did — and it writes to the **harness scratch directory, never the host repository**.\n   An unattended run does not make unsolicited repository writes; a cron job that leaves\n   a file in someone's tree has changed their working state without being asked. Name the\n   record's path in the final answer, or the record is unfindable and might as well not\n   exist. Normal and deep bands write the full form; the light band writes the short form\n   below.\n\n3. **Attended, no token.** Silent by default. Make **one** offer, and only when the run\n   ends with an unresolved contradiction or an open blocking question — the two states\n   where the value of a written record exceeds the cost of the interruption. One offer,\n   ever. A declined offer ends the matter for the run; do not re-offer with better\n   framing.\n\n## Where it goes\n\nOne literal convention:\n\n```text\ndocs/<skill-name>/<UTC-date>-<slug>.md\n```\n\n- `<skill-name>` — the invoking skill's own name, so records from different skills do\n  not interleave in one directory.\n- `<UTC-date>` — `YYYY-MM-DD`, in UTC. Local dates put two records of the same run on\n  different days when the machines sit in different zones.\n- `<slug>` — a short kebab-case handle for the question or the change.\n\nThere is no probe cascade. The path is not negotiated with the repository's existing\ndocumentation layout, because a convention that guesses produces a different answer on\nevery repo and nobody can predict where the file will land. Determinism wins.\n\n- **Overridable only by `--document=<path>`.** No other input moves it.\n- **Create the directory if absent.** A missing directory is not a reason to skip the\n  record.\n- **Never inside a skill directory.** Records are host artifacts; one written under a\n  skill directory ships to everyone who installs the pack.\n- **Never overwrite.** A re-run against an existing path **appends** a new section,\n  headed with its UTC timestamp and round number. Earlier rounds stay exactly as written.\n- **Assert its existence in the skill's Verification list**, with the path stated.\n\n## What the record contains\n\nA header block, then **five headings, in this order, with these names**:\n\n```text\n## What was searched\n## Who searched it\n## What each found\n## How it reconciled\n## What was decided and why\n```\n\nThe names are literal and identical across every skill that carries this file. In a skill\nwhose work is mapping, rendering, or landing rather than searching, \"searched\" covers\nwhatever that skill probed — map queries, gate runs, seeded checks. Do not rename the\nheadings to fit the local vocabulary; the point of fixed names is that a reader who has\nseen one record can read all of them.\n\n### The header block\n\nAbove the first heading, pin what the record is about and what it was true of:\n\n- Repository identity — remote or name, **never** a machine-absolute path.\n- HEAD sha, and the **dirty state**: clean, or the count of modified files. A record\n  taken against an uncommitted tree describes a state nobody else can reconstruct, and\n  it has to say so.\n- UTC timestamp.\n- The invocation: skill, band, and the flags as they were given.\n- The question, or the proposed change, in one sentence.\n\n### What was searched\n\n- Every query **verbatim**, with the tool that ran it and its result count. A query\n  paraphrased into prose cannot be re-run.\n- The surface each query covers, and the surfaces deliberately left out.\n- Artifacts *read* as well as searched — generated registries, manifests, migrations,\n  dashboards, logs. Reading a registry that already answers the question is a finding,\n  not a shortcut worth hiding.\n- Which round each query belongs to, when there was more than one.\n\n### Who searched it\n\n- One line per child: **role, tier band, decomposition axis, the input it was given, and\n  what was withheld from it.** Roles and tiers, never model names — routing identifiers\n  belong to `model-routing`, and a record naming a model is stale the day it changes.\n- **Independence.** State which children could see one another's output. Agreement\n  between two children that read the same artifact is one reading, counted twice.\n- When there were no children — no subagents available, or a light band — say so, and\n  say the passes ran sequentially instead. A record that silently omits this reads as\n  if a fan-out happened.\n\n### What each found\n\n- **Claims**, each with its evidence as `path:line`, its `basis` — `measured` or\n  `inferred` — and its confidence expressed as basis × coverage. Never a percentage;\n  a number nobody computed is a decoration.\n- **`not_found[]`, each with its control and whether the control fired.** A zero-hit\n  search is admissible as \"absent\" **only** with a fired control — a deliberately\n  positive variant of the same query, run the same way, that returns hits. Without one,\n  record `inconclusive`, not `absent`. This is not pedantry: in one measured case a\n  `git grep -E '\\b…'` returned nothing and was read as proof of absence, when ERE simply\n  ignores `\\b` and the search had never matched anything at all.\n- **Discarded candidates** — everything looked at and rejected, with the reason for the\n  rejection and the artifact that produced it. This is the bullet most often skipped and\n  the one that earns the most: in the suite this family is scored against, four of the\n  eight scoring keys award credit for a recorded discard, and none award anything for a\n  candidate dropped in silence. A discard is what stops the next reader spending an hour\n  on a path already walked.\n- **Blockers** — anything a child could not do, with the reason.\n\n### How it reconciled\n\n- **The contradiction table**, with these columns, in this order:\n\n  ```text\n  claim | source A | source B | evidence A | evidence B | what each evidence CAN prove | verdict | residual\n  ```\n\n  Verdicts come from a closed set: `confirmed`, `refuted`, `unresolved (needs X)`,\n  `inconclusive`. \"What each evidence CAN prove\" is the column that does the work — a\n  document proves intent, a log proves behaviour, and a table that skips this column\n  settles disputes by tone.\n- **The evidence class used to break each tie**, and the note that class breaks ties\n  while *reach* decides admissibility: an observation of production outranks a local\n  measurement, which outranks code reading, which outranks docs, comments, and titles,\n  which outrank recollection — but only over the surface the evidence actually touches.\n- **Which candidate hits were re-read** rather than taken from a child's summary. Summaries\n  launder substring false positives into confirmed claims; the reconciler opens the file.\n- **Rounds that changed no verdict.** That is the stop rule firing, and it belongs in the\n  record as the reason the run ended.\n\n### What was decided and why\n\n- **The decision**, one sentence, and what it authorises — including \"authorises nothing\n  destructive\" when that is the truth.\n- **Adversarial concessions**, quoted, each naming the artifact that produced it. A\n  conceded claim is recorded *conceded*, not *validated*; the difference matters to whoever\n  re-opens this.\n- **Marked assumptions.** Every claim depending on an unanswered question is marked\n  assumption-dependent, with the question, the default taken, and the direction the answer\n  would move the conclusion.\n- **Open questions**, with the blocking one labelled as blocking.\n- **The evidence index**: every load-bearing citation as `path:line`, the sha it was read\n  at, and the result counts of the queries behind it. This is what makes the record\n  re-checkable a month later against a moved tree.\n- **A closing paragraph titled \"what this run could not see\"** — surfaces not covered,\n  tools unavailable, questions only a production observation could settle. It closes the\n  record; there is no sixth heading. It is a boundary, not a hedge — and the paragraph a\n  reader deciding how far to trust the rest will go looking for.\n\n## The short form\n\nUnattended runs at the light band write four parts and stop:\n\n1. Header block and invocation.\n2. The complexity assessment — each signal's score, the observable that scored it, and\n   the resulting band.\n3. The decision, with its marked assumptions.\n4. What this run could not see.\n\nNo contradiction table and no evidence index: a light-band run that produced either was\nmis-banded, and the fix is the band, not the record.\n\n## Prohibitions\n\n- **No secret values.** Variable and file names only. Records get committed, and a record\n  is read by people who were not in the room.\n- **No machine-absolute paths.** Repository-relative only. An absolute path under a home\n  directory leaks a username and stops resolving on any other machine.\n- **No chain-of-thought, child transcripts, or raw logs.** The record carries claims,\n  evidence, verdicts and decisions. A transcript is volume, and it re-presents reasoning\n  as if it were a finding.\n- **Minimal personal-data fragments.** Names, addresses, ticket text, customer strings —\n  only where the finding genuinely cannot be stated without them, and preferably as a role.\n- **No unmarked inference.** Every claim carries its basis. Inference written flat, in the\n  same voice as measurement, is the failure this whole family exists to prevent.\n- **No unearned benefit claims.** \"Faster\", \"safer\", \"fixes it\" require something that\n  measured it. Otherwise state what the code does and stop.\n- **Never edit an earlier record.** Append a new dated round section. Records are a\n  history; a rewritten one is a claim about the past with no evidence behind it.\n- **`--document` must not change the answer.** If knowing a record is coming changes what\n  gets searched, what gets conceded, or how confident the conclusion sounds, the record has\n  become the product. Decide first, write second.\n\n## A worked example\n\nA normal-band investigation in a large monorepo, anonymised. Short deliberately — the\nshape matters more than the length.\n\n```markdown\n# Which registry is authoritative for job names?\n\n- repo: `acme/platform` @ `3f9c1ab` — clean\n- run: investigate-codebase, normal band (scope 2, contradiction 2, size 1, ambiguity 0,\n  cost-of-being-wrong 1 = 6), 2026-08-26T09:14Z\n- question: two registries list job names; which one does the runtime read?\n\n## What was searched\n- `git grep -n \"registerJob(\" -- src worker` → 41 hits (round 1)\n- `git grep -nE \"jobs\\.(json|ts)\" -- .` → 6 hits (round 1)\n- read: the generated job registry page, and `worker/boot.ts`\n- not searched: the deploy pipeline's own manifests — not readable from this checkout\n\n## Who searched it\n- child A — searcher, mid tier, by-surface (`src/`), given the question only\n- child B — searcher, mid tier, by-runtime-evidence, forbidden from reading source,\n  given boot output only\n- reconciler — mid tier, re-read every cited hit; A and B could not see each other\n\n## What each found\n- A: `worker/boot.ts:22` imports `jobs.generated.ts` — basis measured\n- B: boot output names 41 jobs, against the 46 listed in the generated page — basis measured\n- not_found: no runtime read of the generated page. Control: `git grep -n \"atlas\" -- worker`\n  → 3 hits, so the pattern matches in that path and the absence is real. Control fired.\n- discarded: `tools/sync-jobs.ts` — writes the page, never read at runtime; rejected\n  after reading it, not after reading its name\n- discarded: 5 of the 41 `registerJob(` hits are test fixtures, not registrations\n\n## How it reconciled\n| claim | source A | source B | evidence A | evidence B | what each evidence CAN prove | verdict | residual |\n|---|---|---|---|---|---|---|---|\n| the generated page is authoritative | its own header | boot output | a doc asserting intent | 41 booted vs 46 listed | doc proves intent; output proves behaviour | refuted | the 5 extra rows are unexplained |\n\nRuntime observation outranks the doc's own claim. The reconciler re-read all 41\n`registerJob(` sites rather than trusting a counted summary; that is where the 5 fixtures\nsurfaced.\n\n## What was decided and why\n- Decision: `jobs.generated.ts` is authoritative at runtime; the generated page has drifted\n  by five entries. Authorises nothing destructive.\n- Concession: the refuter conceded after reading `worker/boot.ts:22` — recorded conceded,\n  not independently validated.\n- Assumption (marked): the deployed image boots the same entrypoint as local. Unanswered;\n  default taken is yes. If false, the drift count is wrong in an unknown direction.\n- Open question (non-blocking): what produced the five extra rows?\n- Evidence index: `worker/boot.ts:22` @ `3f9c1ab`; `jobs.generated.ts` @ `3f9c1ab`;\n  `git grep -n \"registerJob(\" -- src worker` → 41.\n\nWhat this run could not see: the deploy pipeline manifests, any environment whose\nentrypoint differs from local, and job registration that happens per-request rather than\nat boot.\n```\n\n## In-body core (copy verbatim)\n\nEvery skill that supports `--document` embeds the block below in its own body, so the\nconvention survives a reader who never opens this file. Copy it verbatim; the only\npermitted edit is substituting the skill's own name for `<skill-name>`.\n\n```markdown\n**Documenting the run.** Write a full record when the invocation carries `--document` (or\nan unmistakable phrase such as \"document the run\"), at `docs/<skill-name>/<UTC-date>-<slug>.md`\nin the host repository — and always when the run is unattended, in which case it goes to the\nharness scratch directory, never the repository, and its path is named in the final answer;\nif you cannot confirm a human will see and answer a question in THIS run, treat it as\nunattended. Attended with no token: stay silent, offering once only if the run ends with an\nunresolved contradiction or an open blocking question. Five headings, in order: What was\nsearched / Who searched it / What each found / How it reconciled / What was decided and why,\nclosing with what this run could not see. No secret values, machine-absolute paths, child\ntranscripts or raw logs; no unmarked inference or unearned benefit claims; never edit an\nearlier record, and never let writing one change the answer.\n```\n\nFollow it, in the same section, with the sentence below, word for word, linking the words\n`the run-record convention` to `references/documenting-the-run.md`, a path from the skill's\nroot, where `SKILL.md` sits:\n\n```markdown\nRecords are written per the run-record convention.\n```\n\nThe path is given here as code, not as a link: a link resolves from the file that holds it,\nfenced or not, and from this file's folder that path names nothing.\n","bodyHtml":"<h2 id=\"the-run-record---document\">The run record — <code>--document</code></h2>\n<p>A run that reached a good answer and left nothing behind cannot be checked, reused, or\nresumed. The next person — often the same person a week later — repeats the searches,\nrediscovers the same dead ends, and has no way to tell which claims were measured and\nwhich were guessed. A run record fixes exactly that: it says what was searched, who\nsearched it, what each found, how the disagreements were settled, and what was decided.</p>\n<p>It is a byproduct, never the product. Writing one must not change the answer.</p>\n<p>This file is the whole convention. It is carried, byte-identical, by every skill in this\nfamily, and the copies are compared by hash in CI — so edit the convention once and copy\nit, never edit a single skill&#39;s copy. Never link across skills to another copy: a local\nlink that escapes its skill directory fails the catalog verifier.</p>\n<h3 id=\"when-a-record-gets-written\">When a record gets written</h3>\n<p>Three branches, keyed on <strong>attendance</strong>. Attendance is <em>declared</em> — conservatively — and\nnever probed. Do not ask the harness whether someone is watching; decide from what you\nalready know about how the run started.</p>\n<table>\n<thead>\n<tr>\n<th>Branch</th>\n<th>Condition</th>\n<th>Where it goes</th>\n<th>Form</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>Asked for</td>\n<td><code>--document</code>, <code>--document=&lt;path&gt;</code>, or an unambiguous phrase</td>\n<td>host repository</td>\n<td>full</td>\n</tr>\n<tr>\n<td>Unattended</td>\n<td>headless, cron, CI, or dispatched by a parent agent</td>\n<td>harness scratch directory</td>\n<td>full (light band: short)</td>\n</tr>\n<tr>\n<td>Attended, no token</td>\n<td>a human is in the loop and did not ask</td>\n<td>nowhere</td>\n<td>none, plus at most one offer</td>\n</tr>\n</tbody></table>\n<ol>\n<li><p><strong>Asked for.</strong> The invocation carries <code>--document</code> or <code>--document=&lt;path&gt;</code>, or an\nunambiguous natural phrase — &quot;document the run&quot;, &quot;write down how you got there&quot;.\nWrite the <strong>full</strong> record at the host-repository path below. A vague &quot;keep notes&quot;\nis not this branch; treat it as attended and offer.</p>\n</li>\n<li><p><strong>Unattended.</strong> The operative test is one sentence: <em>if you cannot confirm a human\nwill see and answer a question in THIS run, treat it as unattended.</em> An unattended\nrun <strong>always</strong> writes a record, because there is nobody to ask afterwards what it\ndid — and it writes to the <strong>harness scratch directory, never the host repository</strong>.\nAn unattended run does not make unsolicited repository writes; a cron job that leaves\na file in someone&#39;s tree has changed their working state without being asked. Name the\nrecord&#39;s path in the final answer, or the record is unfindable and might as well not\nexist. Normal and deep bands write the full form; the light band writes the short form\nbelow.</p>\n</li>\n<li><p><strong>Attended, no token.</strong> Silent by default. Make <strong>one</strong> offer, and only when the run\nends with an unresolved contradiction or an open blocking question — the two states\nwhere the value of a written record exceeds the cost of the interruption. One offer,\never. A declined offer ends the matter for the run; do not re-offer with better\nframing.</p>\n</li>\n</ol>\n<h3 id=\"where-it-goes\">Where it goes</h3>\n<p>One literal convention:</p>\n<pre><code class=\"language-text\">docs/&lt;skill-name&gt;/&lt;UTC-date&gt;-&lt;slug&gt;.md\n</code></pre>\n<ul>\n<li><code>&lt;skill-name&gt;</code> — the invoking skill&#39;s own name, so records from different skills do\nnot interleave in one directory.</li>\n<li><code>&lt;UTC-date&gt;</code> — <code>YYYY-MM-DD</code>, in UTC. Local dates put two records of the same run on\ndifferent days when the machines sit in different zones.</li>\n<li><code>&lt;slug&gt;</code> — a short kebab-case handle for the question or the change.</li>\n</ul>\n<p>There is no probe cascade. The path is not negotiated with the repository&#39;s existing\ndocumentation layout, because a convention that guesses produces a different answer on\nevery repo and nobody can predict where the file will land. Determinism wins.</p>\n<ul>\n<li><strong>Overridable only by <code>--document=&lt;path&gt;</code>.</strong> No other input moves it.</li>\n<li><strong>Create the directory if absent.</strong> A missing directory is not a reason to skip the\nrecord.</li>\n<li><strong>Never inside a skill directory.</strong> Records are host artifacts; one written under a\nskill directory ships to everyone who installs the pack.</li>\n<li><strong>Never overwrite.</strong> A re-run against an existing path <strong>appends</strong> a new section,\nheaded with its UTC timestamp and round number. Earlier rounds stay exactly as written.</li>\n<li><strong>Assert its existence in the skill&#39;s Verification list</strong>, with the path stated.</li>\n</ul>\n<h3 id=\"what-the-record-contains\">What the record contains</h3>\n<p>A header block, then <strong>five headings, in this order, with these names</strong>:</p>\n<pre><code class=\"language-text\">## What was searched\n## Who searched it\n## What each found\n## How it reconciled\n## What was decided and why\n</code></pre>\n<p>The names are literal and identical across every skill that carries this file. In a skill\nwhose work is mapping, rendering, or landing rather than searching, &quot;searched&quot; covers\nwhatever that skill probed — map queries, gate runs, seeded checks. Do not rename the\nheadings to fit the local vocabulary; the point of fixed names is that a reader who has\nseen one record can read all of them.</p>\n<h4 id=\"the-header-block\">The header block</h4>\n<p>Above the first heading, pin what the record is about and what it was true of:</p>\n<ul>\n<li>Repository identity — remote or name, <strong>never</strong> a machine-absolute path.</li>\n<li>HEAD sha, and the <strong>dirty state</strong>: clean, or the count of modified files. A record\ntaken against an uncommitted tree describes a state nobody else can reconstruct, and\nit has to say so.</li>\n<li>UTC timestamp.</li>\n<li>The invocation: skill, band, and the flags as they were given.</li>\n<li>The question, or the proposed change, in one sentence.</li>\n</ul>\n<h4 id=\"what-was-searched\">What was searched</h4>\n<ul>\n<li>Every query <strong>verbatim</strong>, with the tool that ran it and its result count. A query\nparaphrased into prose cannot be re-run.</li>\n<li>The surface each query covers, and the surfaces deliberately left out.</li>\n<li>Artifacts <em>read</em> as well as searched — generated registries, manifests, migrations,\ndashboards, logs. Reading a registry that already answers the question is a finding,\nnot a shortcut worth hiding.</li>\n<li>Which round each query belongs to, when there was more than one.</li>\n</ul>\n<h4 id=\"who-searched-it\">Who searched it</h4>\n<ul>\n<li>One line per child: <strong>role, tier band, decomposition axis, the input it was given, and\nwhat was withheld from it.</strong> Roles and tiers, never model names — routing identifiers\nbelong to <code>model-routing</code>, and a record naming a model is stale the day it changes.</li>\n<li><strong>Independence.</strong> State which children could see one another&#39;s output. Agreement\nbetween two children that read the same artifact is one reading, counted twice.</li>\n<li>When there were no children — no subagents available, or a light band — say so, and\nsay the passes ran sequentially instead. A record that silently omits this reads as\nif a fan-out happened.</li>\n</ul>\n<h4 id=\"what-each-found\">What each found</h4>\n<ul>\n<li><strong>Claims</strong>, each with its evidence as <code>path:line</code>, its <code>basis</code> — <code>measured</code> or\n<code>inferred</code> — and its confidence expressed as basis × coverage. Never a percentage;\na number nobody computed is a decoration.</li>\n<li><strong><code>not_found[]</code>, each with its control and whether the control fired.</strong> A zero-hit\nsearch is admissible as &quot;absent&quot; <strong>only</strong> with a fired control — a deliberately\npositive variant of the same query, run the same way, that returns hits. Without one,\nrecord <code>inconclusive</code>, not <code>absent</code>. This is not pedantry: in one measured case a\n<code>git grep -E &#39;\\b…&#39;</code> returned nothing and was read as proof of absence, when ERE simply\nignores <code>\\b</code> and the search had never matched anything at all.</li>\n<li><strong>Discarded candidates</strong> — everything looked at and rejected, with the reason for the\nrejection and the artifact that produced it. This is the bullet most often skipped and\nthe one that earns the most: in the suite this family is scored against, four of the\neight scoring keys award credit for a recorded discard, and none award anything for a\ncandidate dropped in silence. A discard is what stops the next reader spending an hour\non a path already walked.</li>\n<li><strong>Blockers</strong> — anything a child could not do, with the reason.</li>\n</ul>\n<h4 id=\"how-it-reconciled\">How it reconciled</h4>\n<ul>\n<li><p><strong>The contradiction table</strong>, with these columns, in this order:</p>\n<pre><code class=\"language-text\">claim | source A | source B | evidence A | evidence B | what each evidence CAN prove | verdict | residual\n</code></pre>\n<p>Verdicts come from a closed set: <code>confirmed</code>, <code>refuted</code>, <code>unresolved (needs X)</code>,\n<code>inconclusive</code>. &quot;What each evidence CAN prove&quot; is the column that does the work — a\ndocument proves intent, a log proves behaviour, and a table that skips this column\nsettles disputes by tone.</p>\n</li>\n<li><p><strong>The evidence class used to break each tie</strong>, and the note that class breaks ties\nwhile <em>reach</em> decides admissibility: an observation of production outranks a local\nmeasurement, which outranks code reading, which outranks docs, comments, and titles,\nwhich outrank recollection — but only over the surface the evidence actually touches.</p>\n</li>\n<li><p><strong>Which candidate hits were re-read</strong> rather than taken from a child&#39;s summary. Summaries\nlaunder substring false positives into confirmed claims; the reconciler opens the file.</p>\n</li>\n<li><p><strong>Rounds that changed no verdict.</strong> That is the stop rule firing, and it belongs in the\nrecord as the reason the run ended.</p>\n</li>\n</ul>\n<h4 id=\"what-was-decided-and-why\">What was decided and why</h4>\n<ul>\n<li><strong>The decision</strong>, one sentence, and what it authorises — including &quot;authorises nothing\ndestructive&quot; when that is the truth.</li>\n<li><strong>Adversarial concessions</strong>, quoted, each naming the artifact that produced it. A\nconceded claim is recorded <em>conceded</em>, not <em>validated</em>; the difference matters to whoever\nre-opens this.</li>\n<li><strong>Marked assumptions.</strong> Every claim depending on an unanswered question is marked\nassumption-dependent, with the question, the default taken, and the direction the answer\nwould move the conclusion.</li>\n<li><strong>Open questions</strong>, with the blocking one labelled as blocking.</li>\n<li><strong>The evidence index</strong>: every load-bearing citation as <code>path:line</code>, the sha it was read\nat, and the result counts of the queries behind it. This is what makes the record\nre-checkable a month later against a moved tree.</li>\n<li><strong>A closing paragraph titled &quot;what this run could not see&quot;</strong> — surfaces not covered,\ntools unavailable, questions only a production observation could settle. It closes the\nrecord; there is no sixth heading. It is a boundary, not a hedge — and the paragraph a\nreader deciding how far to trust the rest will go looking for.</li>\n</ul>\n<h3 id=\"the-short-form\">The short form</h3>\n<p>Unattended runs at the light band write four parts and stop:</p>\n<ol>\n<li>Header block and invocation.</li>\n<li>The complexity assessment — each signal&#39;s score, the observable that scored it, and\nthe resulting band.</li>\n<li>The decision, with its marked assumptions.</li>\n<li>What this run could not see.</li>\n</ol>\n<p>No contradiction table and no evidence index: a light-band run that produced either was\nmis-banded, and the fix is the band, not the record.</p>\n<h3 id=\"prohibitions\">Prohibitions</h3>\n<ul>\n<li><strong>No secret values.</strong> Variable and file names only. Records get committed, and a record\nis read by people who were not in the room.</li>\n<li><strong>No machine-absolute paths.</strong> Repository-relative only. An absolute path under a home\ndirectory leaks a username and stops resolving on any other machine.</li>\n<li><strong>No chain-of-thought, child transcripts, or raw logs.</strong> The record carries claims,\nevidence, verdicts and decisions. A transcript is volume, and it re-presents reasoning\nas if it were a finding.</li>\n<li><strong>Minimal personal-data fragments.</strong> Names, addresses, ticket text, customer strings —\nonly where the finding genuinely cannot be stated without them, and preferably as a role.</li>\n<li><strong>No unmarked inference.</strong> Every claim carries its basis. Inference written flat, in the\nsame voice as measurement, is the failure this whole family exists to prevent.</li>\n<li><strong>No unearned benefit claims.</strong> &quot;Faster&quot;, &quot;safer&quot;, &quot;fixes it&quot; require something that\nmeasured it. Otherwise state what the code does and stop.</li>\n<li><strong>Never edit an earlier record.</strong> Append a new dated round section. Records are a\nhistory; a rewritten one is a claim about the past with no evidence behind it.</li>\n<li><strong><code>--document</code> must not change the answer.</strong> If knowing a record is coming changes what\ngets searched, what gets conceded, or how confident the conclusion sounds, the record has\nbecome the product. Decide first, write second.</li>\n</ul>\n<h3 id=\"a-worked-example\">A worked example</h3>\n<p>A normal-band investigation in a large monorepo, anonymised. Short deliberately — the\nshape matters more than the length.</p>\n<pre><code class=\"language-markdown\"># Which registry is authoritative for job names?\n\n- repo: `acme/platform` @ `3f9c1ab` — clean\n- run: investigate-codebase, normal band (scope 2, contradiction 2, size 1, ambiguity 0,\n  cost-of-being-wrong 1 = 6), 2026-08-26T09:14Z\n- question: two registries list job names; which one does the runtime read?\n\n## What was searched\n- `git grep -n &quot;registerJob(&quot; -- src worker` → 41 hits (round 1)\n- `git grep -nE &quot;jobs\\.(json|ts)&quot; -- .` → 6 hits (round 1)\n- read: the generated job registry page, and `worker/boot.ts`\n- not searched: the deploy pipeline&#39;s own manifests — not readable from this checkout\n\n## Who searched it\n- child A — searcher, mid tier, by-surface (`src/`), given the question only\n- child B — searcher, mid tier, by-runtime-evidence, forbidden from reading source,\n  given boot output only\n- reconciler — mid tier, re-read every cited hit; A and B could not see each other\n\n## What each found\n- A: `worker/boot.ts:22` imports `jobs.generated.ts` — basis measured\n- B: boot output names 41 jobs, against the 46 listed in the generated page — basis measured\n- not_found: no runtime read of the generated page. Control: `git grep -n &quot;atlas&quot; -- worker`\n  → 3 hits, so the pattern matches in that path and the absence is real. Control fired.\n- discarded: `tools/sync-jobs.ts` — writes the page, never read at runtime; rejected\n  after reading it, not after reading its name\n- discarded: 5 of the 41 `registerJob(` hits are test fixtures, not registrations\n\n## How it reconciled\n| claim | source A | source B | evidence A | evidence B | what each evidence CAN prove | verdict | residual |\n|---|---|---|---|---|---|---|---|\n| the generated page is authoritative | its own header | boot output | a doc asserting intent | 41 booted vs 46 listed | doc proves intent; output proves behaviour | refuted | the 5 extra rows are unexplained |\n\nRuntime observation outranks the doc&#39;s own claim. The reconciler re-read all 41\n`registerJob(` sites rather than trusting a counted summary; that is where the 5 fixtures\nsurfaced.\n\n## What was decided and why\n- Decision: `jobs.generated.ts` is authoritative at runtime; the generated page has drifted\n  by five entries. Authorises nothing destructive.\n- Concession: the refuter conceded after reading `worker/boot.ts:22` — recorded conceded,\n  not independently validated.\n- Assumption (marked): the deployed image boots the same entrypoint as local. Unanswered;\n  default taken is yes. If false, the drift count is wrong in an unknown direction.\n- Open question (non-blocking): what produced the five extra rows?\n- Evidence index: `worker/boot.ts:22` @ `3f9c1ab`; `jobs.generated.ts` @ `3f9c1ab`;\n  `git grep -n &quot;registerJob(&quot; -- src worker` → 41.\n\nWhat this run could not see: the deploy pipeline manifests, any environment whose\nentrypoint differs from local, and job registration that happens per-request rather than\nat boot.\n</code></pre>\n<h3 id=\"in-body-core-copy-verbatim\">In-body core (copy verbatim)</h3>\n<p>Every skill that supports <code>--document</code> embeds the block below in its own body, so the\nconvention survives a reader who never opens this file. Copy it verbatim; the only\npermitted edit is substituting the skill&#39;s own name for <code>&lt;skill-name&gt;</code>.</p>\n<pre><code class=\"language-markdown\">**Documenting the run.** Write a full record when the invocation carries `--document` (or\nan unmistakable phrase such as &quot;document the run&quot;), at `docs/&lt;skill-name&gt;/&lt;UTC-date&gt;-&lt;slug&gt;.md`\nin the host repository — and always when the run is unattended, in which case it goes to the\nharness scratch directory, never the repository, and its path is named in the final answer;\nif you cannot confirm a human will see and answer a question in THIS run, treat it as\nunattended. Attended with no token: stay silent, offering once only if the run ends with an\nunresolved contradiction or an open blocking question. Five headings, in order: What was\nsearched / Who searched it / What each found / How it reconciled / What was decided and why,\nclosing with what this run could not see. No secret values, machine-absolute paths, child\ntranscripts or raw logs; no unmarked inference or unearned benefit claims; never edit an\nearlier record, and never let writing one change the answer.\n</code></pre>\n<p>Follow it, in the same section, with the sentence below, word for word, linking the words\n<code>the run-record convention</code> to <code>references/documenting-the-run.md</code>, a path from the skill&#39;s\nroot, where <code>SKILL.md</code> sits:</p>\n<pre><code class=\"language-markdown\">Records are written per the run-record convention.\n</code></pre>\n<p>The path is given here as code, not as a link: a link resolves from the file that holds it,\nfenced or not, and from this file&#39;s folder that path names nothing.</p>\n","words":2722},{"path":"references/output-contract.md","slug":"output-contract","title":"The output contract","body":"# The output contract\n\nOne envelope. It is the map's deliverable, and it is also `visualise-blast-area`'s input, so it\nis built to be **decided on** first and rendered second. Everything a renderer needs is here;\nnothing here exists because it renders well.\n\n```json\n{\n  \"meta\": {\n    \"baseRevision\": \"sha\",\n    \"headRevision\": \"sha or null\",\n    \"dirty\": false,\n    \"resolver\": \"language-server | index | registries | name-based\",\n    \"collisions\": 184,\n    \"toolsUsed\": [\"git grep\", \"language server\", \"database query\"],\n    \"notScanned\": [\"the infrastructure repository\", \"the hosted flag store\"]\n  },\n  \"surfaces\": [\n    {\n      \"id\": \"callers\",\n      \"label\": \"Callers\",\n      \"confidence\": \"measured\",\n      \"searched\": [\n        { \"query\": \"verbatim\", \"tool\": \"git grep\", \"hits\": 41, \"consumers\": 36, \"discards\": 5 }\n      ],\n      \"negatives\": [\n        {\n          \"target\": \"what was looked for\",\n          \"query\": \"verbatim\",\n          \"tool\": \"git grep\",\n          \"control\": \"the positive variant that was run\",\n          \"control_fired\": true,\n          \"verdict\": \"absent | inconclusive\"\n        }\n      ],\n      \"discarded\": [\n        {\n          \"hit\": \"path:line\",\n          \"queryText\": \"the SELECT as written\",\n          \"resolvedTarget\": \"the table it actually names\",\n          \"reason\": \"why it is not a hit on this change\"\n        }\n      ]\n    }\n  ],\n  \"nodes\": [\n    {\n      \"id\": \"n1\",\n      \"label\": \"human-readable\",\n      \"path\": \"path:line\",\n      \"surface\": \"callers\",\n      \"state\": \"changed | affected | unknown\",\n      \"break\": \"compile | runtime | silent | none\",\n      \"note\": \"for a silent break: what is observed instead of an error\"\n    }\n  ],\n  \"edges\": [\n    {\n      \"from\": \"n1\",\n      \"to\": \"n2\",\n      \"kind\": \"calls | reads | writes | derives | registers | renders | deploys-before\",\n      \"confidence\": \"enumerated | measured | sampled | inferred | not checked\",\n      \"evidence\": \"path:line @ sha, or the verbatim query that found it\"\n    }\n  ],\n  \"blindspots\": [\n    {\n      \"id\": \"b1\",\n      \"label\": \"human-readable\",\n      \"surface\": \"docs-and-data-resident\",\n      \"reason\": \"why this is outside the map\",\n      \"probe\": \"what would settle it\"\n    }\n  ]\n}\n```\n\n## `meta`\n\n- **`baseRevision` / `headRevision` / `dirty`** — the tree the map describes. A map drawn against\n  uncommitted work describes a state nobody else has; say so rather than implying HEAD.\n- **`resolver`** — how symbols were resolved, from the four values. This is the single most\n  load-bearing field for a reader deciding how much to trust the caller surface.\n- **`collisions`** — how many exported names in this repository are defined in more than one\n  file, where you could measure it; `null` where you could not, which is itself reportable.\n- **`toolsUsed`** — what actually ran. A renderer pins this into its own metadata.\n- **`notScanned`** — every store, repository or surface deliberately or unavoidably left out.\n  This is the machine-readable half of \"what this map cannot see\"; the prose section still gets\n  written, because the four named limits are an argument, not a list.\n\n## `surfaces`\n\n**All twelve, in the fixed order, always present — including the empty ones.** The ids are fixed\nso that renderers can lay out stable subgraphs and so that two maps diff cleanly:\n\n`callers`, `data-contracts`, `jobs`, `ui`, `tests-and-guards`, `config-and-toolchains`,\n`deploy-ordering`, `docs-and-data-resident`, `external-consumers`, `second-order`,\n`reversibility`, `work-in-flight`.\n\n- **`confidence`** — one word from the fixed vocabulary, describing the *coverage of this\n  surface*, not the certainty of any single node.\n- **`searched`** — the queries that produced the nodes, verbatim, with tool and hit count, and\n  the hit count **split**: `consumers` kept plus `discards` recorded. Verbatim matters: a query\n  paraphrased into prose cannot be re-run, and re-running it is the only way anybody checks this\n  map. **The accounting identity holds per sweep: `hits = consumers + discards`.** A sweep that\n  does not balance has lost a hit somewhere between the search and the map, and the surface is\n  incomplete until it does — the map states the arithmetic rather than leaving it to be derived.\n- **`negatives`** — the searched-empty results. Each carries its control and whether the control\n  fired; a negative whose control did not fire has `verdict: \"inconclusive\"`, never `\"absent\"`.\n  An empty `negatives` array on an empty surface means the surface was **not checked**, and the\n  surface's `confidence` must say `not checked` to match.\n- **`discarded`** — the hits that were returned and not kept. Each carries the `hit` as\n  `path:line`, the `queryText` as written, the `resolvedTarget` it actually names, and the\n  `reason` it is not a hit on this change. A discard is a decision, and a decision with no\n  record is indistinguishable from a hit nobody opened. **Required wherever the surface makes an\n  exclusivity claim** — \"only X reads this\" is a claim about exactly these rows, and it is the\n  claim that authorises a drop. On the `data-contracts` surface the `resolvedTarget` is read out\n  of the query text: a hit is classified by the table the query targets, never by the file's\n  name or the module's domain. `discarded` is also the **other half of the accounting identity**:\n  a hit that is in neither `nodes` nor `discarded` is invisible on its own, and becomes visible\n  only as a number — `hits` exceeding `consumers + discards` by exactly the hits nobody bucketed.\n  Each discard's `evidence` quotes the statement at the hit line itself; citing a different line\n  in the same file leaves the discard unverified.\n\n## `nodes`\n\n- **`state`** — exactly one of `changed` (in the change set itself), `affected` (reached by an\n  edge from something changed), `unknown` (reached, but whether it breaks could not be\n  established). **One state per node**: where several paths reach the same node, the most severe\n  wins — `changed` over `affected` over `unknown` — so a node never renders in two colours and\n  never has to be reconciled at render time. `unknown` is a first-class outcome, not a failure to\n  finish: a node nobody could resolve is information, provided it is labelled as one.\n- **`break`** — the timing class, from `break-timing.md`. `none` is legitimate and useful: an\n  affected-but-unbroken node is what makes the affected set trustworthy.\n- **`note`** — required on every `silent` node, carrying what is observed **instead of** an\n  error. That clause is what turns a silent break into something monitorable.\n- **`path`** — `path:line` wherever one exists. A node with no path is either a datastore row, an\n  external consumer, or a blindspot in disguise; check which.\n\n## `edges`\n\n**Every edge carries `confidence` and `evidence`. No exceptions.** An edge without evidence is a\nguess with an arrowhead on it, and on a rendered diagram it is indistinguishable from a measured\none — which is precisely how an inference becomes a fact in somebody else's planning document.\n\n`kind` comes from a closed set so that a renderer can style by relationship and a reader can\nfilter: `calls`, `reads`, `writes`, `derives`, `registers`, `renders`, `deploys-before`. Add a\nkind only by extending the set deliberately; a free-text kind breaks both the styling and the\ndiff.\n\n`deploys-before` edges are the ordering surface expressed as graph structure. Their evidence is\nthe constraint that forces the order — \"old code selects the column at `path:line`\" — not the\nconclusion.\n\n## `blindspots`\n\nThe parts of the map that are known to be missing. Each needs a **reason** (why it is outside)\nand a **probe** (what would settle it). A blindspot without a probe is a shrug; with one, it is a\ntask somebody can pick up.\n\nBlindspots are rendered **on** the diagram as visible elements, not as a caption — an\nunverifiable criterion is a blind spot, not a failure, and it has to occupy space on the page or\nit will be read as absence.\n\n## Validity\n\nAn envelope is complete when: all twelve surfaces are present; every node has a state and a break\nclass; every `silent` node has its `note`; every edge has confidence and evidence; every empty\nsurface either has a negative with a control or a `not checked` confidence; **every sweep in\n`searched` balances, `hits = consumers + discards`**; every exclusivity claim carries a non-empty\n`discarded`; and `meta.notScanned` agrees with the prose \"what this map cannot see\". A renderer\nmay assume all of this, which is why the map must actually do it.\n","bodyHtml":"<h2 id=\"the-output-contract\">The output contract</h2>\n<p>One envelope. It is the map&#39;s deliverable, and it is also <code>visualise-blast-area</code>&#39;s input, so it\nis built to be <strong>decided on</strong> first and rendered second. Everything a renderer needs is here;\nnothing here exists because it renders well.</p>\n<pre><code class=\"language-json\">{\n  &quot;meta&quot;: {\n    &quot;baseRevision&quot;: &quot;sha&quot;,\n    &quot;headRevision&quot;: &quot;sha or null&quot;,\n    &quot;dirty&quot;: false,\n    &quot;resolver&quot;: &quot;language-server | index | registries | name-based&quot;,\n    &quot;collisions&quot;: 184,\n    &quot;toolsUsed&quot;: [&quot;git grep&quot;, &quot;language server&quot;, &quot;database query&quot;],\n    &quot;notScanned&quot;: [&quot;the infrastructure repository&quot;, &quot;the hosted flag store&quot;]\n  },\n  &quot;surfaces&quot;: [\n    {\n      &quot;id&quot;: &quot;callers&quot;,\n      &quot;label&quot;: &quot;Callers&quot;,\n      &quot;confidence&quot;: &quot;measured&quot;,\n      &quot;searched&quot;: [\n        { &quot;query&quot;: &quot;verbatim&quot;, &quot;tool&quot;: &quot;git grep&quot;, &quot;hits&quot;: 41, &quot;consumers&quot;: 36, &quot;discards&quot;: 5 }\n      ],\n      &quot;negatives&quot;: [\n        {\n          &quot;target&quot;: &quot;what was looked for&quot;,\n          &quot;query&quot;: &quot;verbatim&quot;,\n          &quot;tool&quot;: &quot;git grep&quot;,\n          &quot;control&quot;: &quot;the positive variant that was run&quot;,\n          &quot;control_fired&quot;: true,\n          &quot;verdict&quot;: &quot;absent | inconclusive&quot;\n        }\n      ],\n      &quot;discarded&quot;: [\n        {\n          &quot;hit&quot;: &quot;path:line&quot;,\n          &quot;queryText&quot;: &quot;the SELECT as written&quot;,\n          &quot;resolvedTarget&quot;: &quot;the table it actually names&quot;,\n          &quot;reason&quot;: &quot;why it is not a hit on this change&quot;\n        }\n      ]\n    }\n  ],\n  &quot;nodes&quot;: [\n    {\n      &quot;id&quot;: &quot;n1&quot;,\n      &quot;label&quot;: &quot;human-readable&quot;,\n      &quot;path&quot;: &quot;path:line&quot;,\n      &quot;surface&quot;: &quot;callers&quot;,\n      &quot;state&quot;: &quot;changed | affected | unknown&quot;,\n      &quot;break&quot;: &quot;compile | runtime | silent | none&quot;,\n      &quot;note&quot;: &quot;for a silent break: what is observed instead of an error&quot;\n    }\n  ],\n  &quot;edges&quot;: [\n    {\n      &quot;from&quot;: &quot;n1&quot;,\n      &quot;to&quot;: &quot;n2&quot;,\n      &quot;kind&quot;: &quot;calls | reads | writes | derives | registers | renders | deploys-before&quot;,\n      &quot;confidence&quot;: &quot;enumerated | measured | sampled | inferred | not checked&quot;,\n      &quot;evidence&quot;: &quot;path:line @ sha, or the verbatim query that found it&quot;\n    }\n  ],\n  &quot;blindspots&quot;: [\n    {\n      &quot;id&quot;: &quot;b1&quot;,\n      &quot;label&quot;: &quot;human-readable&quot;,\n      &quot;surface&quot;: &quot;docs-and-data-resident&quot;,\n      &quot;reason&quot;: &quot;why this is outside the map&quot;,\n      &quot;probe&quot;: &quot;what would settle it&quot;\n    }\n  ]\n}\n</code></pre>\n<h3 id=\"meta\"><code>meta</code></h3>\n<ul>\n<li><strong><code>baseRevision</code> / <code>headRevision</code> / <code>dirty</code></strong> — the tree the map describes. A map drawn against\nuncommitted work describes a state nobody else has; say so rather than implying HEAD.</li>\n<li><strong><code>resolver</code></strong> — how symbols were resolved, from the four values. This is the single most\nload-bearing field for a reader deciding how much to trust the caller surface.</li>\n<li><strong><code>collisions</code></strong> — how many exported names in this repository are defined in more than one\nfile, where you could measure it; <code>null</code> where you could not, which is itself reportable.</li>\n<li><strong><code>toolsUsed</code></strong> — what actually ran. A renderer pins this into its own metadata.</li>\n<li><strong><code>notScanned</code></strong> — every store, repository or surface deliberately or unavoidably left out.\nThis is the machine-readable half of &quot;what this map cannot see&quot;; the prose section still gets\nwritten, because the four named limits are an argument, not a list.</li>\n</ul>\n<h3 id=\"surfaces\"><code>surfaces</code></h3>\n<p><strong>All twelve, in the fixed order, always present — including the empty ones.</strong> The ids are fixed\nso that renderers can lay out stable subgraphs and so that two maps diff cleanly:</p>\n<p><code>callers</code>, <code>data-contracts</code>, <code>jobs</code>, <code>ui</code>, <code>tests-and-guards</code>, <code>config-and-toolchains</code>,\n<code>deploy-ordering</code>, <code>docs-and-data-resident</code>, <code>external-consumers</code>, <code>second-order</code>,\n<code>reversibility</code>, <code>work-in-flight</code>.</p>\n<ul>\n<li><strong><code>confidence</code></strong> — one word from the fixed vocabulary, describing the <em>coverage of this\nsurface</em>, not the certainty of any single node.</li>\n<li><strong><code>searched</code></strong> — the queries that produced the nodes, verbatim, with tool and hit count, and\nthe hit count <strong>split</strong>: <code>consumers</code> kept plus <code>discards</code> recorded. Verbatim matters: a query\nparaphrased into prose cannot be re-run, and re-running it is the only way anybody checks this\nmap. <strong>The accounting identity holds per sweep: <code>hits = consumers + discards</code>.</strong> A sweep that\ndoes not balance has lost a hit somewhere between the search and the map, and the surface is\nincomplete until it does — the map states the arithmetic rather than leaving it to be derived.</li>\n<li><strong><code>negatives</code></strong> — the searched-empty results. Each carries its control and whether the control\nfired; a negative whose control did not fire has <code>verdict: &quot;inconclusive&quot;</code>, never <code>&quot;absent&quot;</code>.\nAn empty <code>negatives</code> array on an empty surface means the surface was <strong>not checked</strong>, and the\nsurface&#39;s <code>confidence</code> must say <code>not checked</code> to match.</li>\n<li><strong><code>discarded</code></strong> — the hits that were returned and not kept. Each carries the <code>hit</code> as\n<code>path:line</code>, the <code>queryText</code> as written, the <code>resolvedTarget</code> it actually names, and the\n<code>reason</code> it is not a hit on this change. A discard is a decision, and a decision with no\nrecord is indistinguishable from a hit nobody opened. <strong>Required wherever the surface makes an\nexclusivity claim</strong> — &quot;only X reads this&quot; is a claim about exactly these rows, and it is the\nclaim that authorises a drop. On the <code>data-contracts</code> surface the <code>resolvedTarget</code> is read out\nof the query text: a hit is classified by the table the query targets, never by the file&#39;s\nname or the module&#39;s domain. <code>discarded</code> is also the <strong>other half of the accounting identity</strong>:\na hit that is in neither <code>nodes</code> nor <code>discarded</code> is invisible on its own, and becomes visible\nonly as a number — <code>hits</code> exceeding <code>consumers + discards</code> by exactly the hits nobody bucketed.\nEach discard&#39;s <code>evidence</code> quotes the statement at the hit line itself; citing a different line\nin the same file leaves the discard unverified.</li>\n</ul>\n<h3 id=\"nodes\"><code>nodes</code></h3>\n<ul>\n<li><strong><code>state</code></strong> — exactly one of <code>changed</code> (in the change set itself), <code>affected</code> (reached by an\nedge from something changed), <code>unknown</code> (reached, but whether it breaks could not be\nestablished). <strong>One state per node</strong>: where several paths reach the same node, the most severe\nwins — <code>changed</code> over <code>affected</code> over <code>unknown</code> — so a node never renders in two colours and\nnever has to be reconciled at render time. <code>unknown</code> is a first-class outcome, not a failure to\nfinish: a node nobody could resolve is information, provided it is labelled as one.</li>\n<li><strong><code>break</code></strong> — the timing class, from <code>break-timing.md</code>. <code>none</code> is legitimate and useful: an\naffected-but-unbroken node is what makes the affected set trustworthy.</li>\n<li><strong><code>note</code></strong> — required on every <code>silent</code> node, carrying what is observed <strong>instead of</strong> an\nerror. That clause is what turns a silent break into something monitorable.</li>\n<li><strong><code>path</code></strong> — <code>path:line</code> wherever one exists. A node with no path is either a datastore row, an\nexternal consumer, or a blindspot in disguise; check which.</li>\n</ul>\n<h3 id=\"edges\"><code>edges</code></h3>\n<p><strong>Every edge carries <code>confidence</code> and <code>evidence</code>. No exceptions.</strong> An edge without evidence is a\nguess with an arrowhead on it, and on a rendered diagram it is indistinguishable from a measured\none — which is precisely how an inference becomes a fact in somebody else&#39;s planning document.</p>\n<p><code>kind</code> comes from a closed set so that a renderer can style by relationship and a reader can\nfilter: <code>calls</code>, <code>reads</code>, <code>writes</code>, <code>derives</code>, <code>registers</code>, <code>renders</code>, <code>deploys-before</code>. Add a\nkind only by extending the set deliberately; a free-text kind breaks both the styling and the\ndiff.</p>\n<p><code>deploys-before</code> edges are the ordering surface expressed as graph structure. Their evidence is\nthe constraint that forces the order — &quot;old code selects the column at <code>path:line</code>&quot; — not the\nconclusion.</p>\n<h3 id=\"blindspots\"><code>blindspots</code></h3>\n<p>The parts of the map that are known to be missing. Each needs a <strong>reason</strong> (why it is outside)\nand a <strong>probe</strong> (what would settle it). A blindspot without a probe is a shrug; with one, it is a\ntask somebody can pick up.</p>\n<p>Blindspots are rendered <strong>on</strong> the diagram as visible elements, not as a caption — an\nunverifiable criterion is a blind spot, not a failure, and it has to occupy space on the page or\nit will be read as absence.</p>\n<h3 id=\"validity\">Validity</h3>\n<p>An envelope is complete when: all twelve surfaces are present; every node has a state and a break\nclass; every <code>silent</code> node has its <code>note</code>; every edge has confidence and evidence; every empty\nsurface either has a negative with a control or a <code>not checked</code> confidence; <strong>every sweep in\n<code>searched</code> balances, <code>hits = consumers + discards</code></strong>; every exclusivity claim carries a non-empty\n<code>discarded</code>; and <code>meta.notScanned</code> agrees with the prose &quot;what this map cannot see&quot;. A renderer\nmay assume all of this, which is why the map must actually do it.</p>\n","words":1289},{"path":"references/surface-checklist.md","slug":"surface-checklist","title":"The twelve-surface checklist","body":"# The twelve-surface checklist\n\nWalk them in this order, every time, including the ones you expect to be empty. The order is\nfixed for two reasons: two maps of the same repository become comparable, and an empty surface\nstays visible as an empty surface rather than disappearing into the gap between two others.\n\nEach surface below carries: **what to enumerate**, **how to enumerate it**, **the trap** it\nexists to catch, and **its confidence ceiling** — the best value from the fixed vocabulary\n(`enumerated`, `measured`, `sampled`, `inferred`, `not checked`) that this surface can honestly\nreach with the tools you actually have.\n\n---\n\n## 1. Callers — `callers`\n\n**Enumerate:** every call site of every changed definition, plus re-exports, barrel files,\nwrappers and any place the symbol is passed as a value rather than called.\n\n**How:** a language server or symbol index if one exists — ask it for references to the\n**definition**, not for occurrences of the name. Without one: `git grep -n` on the name, then\nopen every hit and discard the ones that resolve elsewhere. Add the import-side search, because\na rename that leaves the import intact still breaks at the call.\n\n**The trap:** a bare name. In a monorepo of roughly 2,500 TypeScript files, one measured pass\nfound 184 exported names defined in more than one file; the worst offenders were the framework's\nown conventions — one handler name in 271 files, another in 209, a registry key in 143. A search\nkeyed on such a name returns the whole application, and a map built from it is noise with\ncitations.\n\n**Ceiling:** `enumerated` with a compiler-resolved index; `measured` with grep plus opened hits;\nnever better than `measured` where the language permits dynamic access.\n\n---\n\n## 2. Data contracts and derivers — `data-contracts`\n\n**Enumerate:** three buckets, and the third is the one that gets dropped.\n\n- **Writers** — anything that produces the value: inserts, updates, event emitters, fixtures.\n- **Readers** — anything that consumes it: queries, DTOs, deserialisers, exports, API responses.\n- **Derivers** — anything that computes a *second* value from the first: aggregates, scores,\n  cached rollups, denormalised copies, materialised views, report columns.\n\nInclude the schema objects themselves: constraints, indexes, defaults, triggers, generated\ncolumns, and any view that selects the changed thing.\n\n**How:** search the schema, then search **string literals** for the column or field name, in\nevery language in the repository — the query that will break is frequently assembled as text and\ntherefore invisible to every type system present. Then follow each writer one hop to find the\nderivers.\n\n**The trap:** the writer and the reader both stay correct while the transformation between them\nquietly changes what the value means. In one measured case the defect lived exactly there, and\nboth ends passed review.\n\n**The second trap — the discard by filename.** Every literal search on this surface returns hits\nyou will not keep, and how they are dropped decides whether the surface is measured or merely\nplausible. **Classify a hit by the table its query text targets, read out of the query.** Not by\nthe file's name, not by the directory, not by the module's apparent domain: a report module can\nhold a query against the ingest table, an \"export\" helper can select from three tables, and a\ngeneric data-access file can name every table in the schema. Open the hit, find the `FROM` or\nthe builder call, and record the target.\n\nAn **exclusivity claim** — \"only this service reads the column\" — is a statement about the\ndiscards, so it ships with them:\n\n```text\ndiscarded | path:line | query text as written | target it resolves to | why it is not this table\n```\n\nWorked failure: a string-literal `SELECT` against the changed table was discarded because it\nlived in a module whose name belonged to another subject. Nothing about the query was read. The\nmap went out claiming a single reader, the drop was approved on that basis, and the second\nreader failed at runtime — silently, because the query was assembled as text and no type system\never saw it.\n\n**Ceiling:** `enumerated` for constrained relationships the database itself knows (foreign keys,\nview dependencies); `measured` for literal searches; `not checked` for any language you did not\nsearch — say which.\n\n---\n\n## 3. Background jobs and their registries — `jobs`\n\n**Enumerate:** tasks, queue consumers, cron entries, workers, schedulers — and, separately, the\n**registry** each must appear in to run at all: a keys file, a manifest, a decorator scan, an\nimport side effect in an entrypoint.\n\n**How:** read the registry, then open the file it cites, then check the runtime's own\nregistration path. A generated registry is evidence of what its generator saw at generation\ntime — it is not the runtime.\n\n**The trap:** a job that stops registering does not fail. It stops existing. Nothing throws,\nno test turns red, and the symptom is an absence of work that surfaces when someone asks why a\nnumber stopped moving. Treat \"still registered after the change\" as a claim requiring evidence,\nnot as a default.\n\n**Ceiling:** `enumerated` where the registry is the thing the runtime actually reads;\n`measured` where you searched for registrations; `inferred` if you only read a doc.\n\n---\n\n## 4. UI — `ui`\n\n**Enumerate:** screens, routes, components, and the empty, loading and error states that render\nthe changed value. Include admin surfaces, internal tools and anything rendered only for one\nrole — those are the ones nobody remembers.\n\n**How:** search by field name and by prop name, then by the query or selector that fetches it.\nFollow the component tree upward far enough to name the route.\n\n**The trap:** the UI break is invisible until someone opens that route, and a missing value\nfrequently renders as blank rather than as an error. A blank field is a silent break wearing a\nnormal face.\n\n**Ceiling:** `measured`; `sampled` when there are more routes than you opened — state n of N.\n\n---\n\n## 5. Tests and guards that would stop firing — `tests-and-guards`\n\n**Enumerate:** two distinct sets.\n\n- **Tests that would fail** — these are the friendly half. They are the change's alarm system.\n- **Guards that would stop firing** — CI checks, lint rules, architecture-boundary configs,\n  allowlists, denylists, assertion helpers, schema validators, security checks: anything whose\n  behaviour is keyed on a pattern that mentions the thing you are changing.\n\n**How:** grep the guard configurations for the old name. Then, for each guard you depend on,\n**mutate something it should catch and confirm it fails.** A guard that has never been shown to\nfail is a claim, not a control. In one measured repository, four separate guards were born\nunarmed and passed every run while verifying nothing.\n\n**The trap:** a guard whose pattern no longer matches anything does not fail. It passes, green,\nindefinitely — and the protection it advertised is gone at exactly the moment it was needed.\n\n**Ceiling:** `measured` for the pattern search; `enumerated` only for a guard you mutated and\nwatched fail.\n\n---\n\n## 6. Config, infra and every build toolchain — `config-and-toolchains`\n\n**Enumerate:** environment variables, secrets *by name only*, deploy manifests, IaC, container\ndefinitions, feature-flag defaults — and **every compiler, bundler, transpiler or transform\nconfigured to process the changed file**: the typechecker, the test runner's transform, the\napplication build, the deploy bundler, any codegen step.\n\n**How:** count the build manifests rather than assuming one. Then, for each toolchain, establish\nwhat it does with the specific construct being changed — dynamic imports, path aliases, decorator\nmetadata, conditional exports and generated types are where they diverge.\n\n**The trap:** one construct, three toolchains, three behaviours. In one measured monorepo, four\nbuild pipelines processed overlapping file sets, and a module specifier that typechecked cleanly\nand passed the whole test suite was unresolvable in exactly one of them. It was discovered after\ndeploy, because only that pipeline's bundler ever saw it.\n\n**Ceiling:** `enumerated` for the toolchain list itself (the manifests are countable); `measured`\nper toolchain only if you ran it.\n\n---\n\n## 7. Deploy ordering — `deploy-ordering`\n\n**Enumerate:** the halves of the change that land separately, the required order, and what runs\nin the window between them.\n\n**How:** ask which half breaks the other when it runs alone. The full procedure, both directions\nwith their reasons, and the case where neither half can go first, are in `deploy-ordering.md`.\n\n**The trap:** an ordering emitted by habit. Both directions are correct in the same repository\ndepending on which way the change runs, so an unconditional answer is wrong about half the time —\nand an ordering without its reason cannot be checked by the person who has to execute it.\n\n**Ceiling:** `measured` when you can name what runs in the window; `inferred` otherwise, and say\nso.\n\n---\n\n## 8. Docs, prompts and data-resident references — `docs-and-data-resident`\n\n**Enumerate:** prose in the repository that names the thing — and, separately, **rows in a\ndatastore that name it**: prompt templates, saved queries, report definitions, feature-flag\ntargeting rules, seeded configuration, workflow step definitions, tool allowlists.\n\n**How:** grep for the docs. **Query** for the rows. If the store is not reachable from this run,\nthat fact goes on the map as a blindspot with the query that would settle it — not as an empty\ncell.\n\n**The trap:** no code search will ever return a database row, and the break it causes is silent\nby construction. A prompt row naming a renamed tool does not throw; the model simply does\nsomething else, and the output stays plausible. This is the surface most often skipped and most\nreliably expensive.\n\n**Ceiling:** `measured` when you ran the query; `not checked` when you did not — never `absent`.\n\n---\n\n## 9. External consumers — `external-consumers`\n\n**Enumerate:** other repositories, published packages and their dependants, API clients, webhook\nsubscribers, warehouse and analytics jobs, partner integrations, dashboards, saved exports.\n\n**How:** diff the published interface, not the internal one. Check access logs where they exist —\nproduction observation is the highest evidence class available here. Otherwise work from the\nconsumer list assembled in the prerequisites, and mark anything you could not confirm.\n\n**The trap:** the break happens in somebody else's system, at their deploy cadence, and reaches\nyou as a support ticket days later with no obvious connection to your change.\n\n**Ceiling:** `enumerated` only with a real consumer registry or complete access logs; otherwise\n`sampled` or `inferred`, with the gap named.\n\n---\n\n## 10. Second-order readers — `second-order`\n\n**Enumerate:** for every write the change touches, who reads that write — and then, one hop\nfurther, who reads *their* output.\n\n**How:** follow each writer one hop, then one more. Two hops is the working limit; past that,\nrecord the frontier as a blindspot rather than pretending to a full closure.\n\n**The trap:** the first-order map is complete and correct, and the damage lands two hops away in\nan aggregate that keeps producing a number. Nothing throws. The number is just wrong, and it is\nwrong in a report someone trusts.\n\n**Ceiling:** `measured` for the hops you followed; always name the hop at which you stopped.\n\n---\n\n## 11. Reversibility and the undo path — `reversibility`\n\n**Enumerate:** what a revert restores, what it does not, and the data a rollback cannot bring\nback. Classify each element of the change set as:\n\n- **revertible** — a commit revert restores the prior behaviour completely;\n- **compensating** — undo requires a new forward change (a second migration, a backfill);\n- **irreversible** — dropped data, sent messages, deleted rows, external side effects.\n\n**How:** write the rollback steps *before* the change, at the same level of detail as the change\nitself. If they cannot be written, that is the finding.\n\n**The trap:** \"we can always roll it back\" as an unexamined premise. It is true of code and\nfrequently false of data, and the two halves of a change usually differ — which is also why this\nsurface constrains the deploy ordering rather than merely reporting on it.\n\n**Ceiling:** `enumerated` — this one is a property of the change set you wrote down, so there is\nno excuse for `inferred` here.\n\n---\n\n## 12. Work in flight — `work-in-flight`\n\n**Enumerate:** every piece of unmerged or unapplied work that touches the same objects as this\nchange set — open branches, open pull requests, stacked or draft changes, and **migrations that\nare written but not yet run**. The unit is the object, not the file: a branch renaming the same\nsymbol collides even where the two diffs share no line.\n\n**How:** three commands and one query, all cheap.\n\n```sh\ngit branch -a --sort=-committerdate --contains HEAD~0 | head          # what exists\ngit log --oneline HEAD..origin/<default> -- <paths>                   # landed ahead of you\ngit log --all --oneline -S\"<symbol>\" -- <paths>                       # who else touched it\n```\n\nThen the forge, for open pull requests naming the same symbol, path or table — a code search\nscoped to open PRs where the host offers one, or a listing plus a diff scan where it does not.\nAnd the migration directory: anything present in the tree and absent from the applied history is\nin flight by definition, including a version number another open branch has already claimed.\n\n**The trap:** a checkout is one state of the repository, and the map reads as though it were the\nwhole of it. Two changes that each pass every check alone meet in one tree later; the collision\nis reported by this map as an absence, because nothing in the working tree ever mentioned it.\nVersion collisions are the sharpest case — two migrations stamped identically, the second\nsilently skipped as already applied — but a rename landing on a branch while you delete the same\nsymbol is the common one.\n\n**Ceiling:** `enumerated` where the forge is queryable and the applied-migration history is\nreadable; `measured` where you searched branches locally; `not checked` where the forge was out\nof reach — say which, on the page. A surface reported empty because nobody could reach the forge\nis the failure this surface exists to prevent.\n","bodyHtml":"<h2 id=\"the-twelve-surface-checklist\">The twelve-surface checklist</h2>\n<p>Walk them in this order, every time, including the ones you expect to be empty. The order is\nfixed for two reasons: two maps of the same repository become comparable, and an empty surface\nstays visible as an empty surface rather than disappearing into the gap between two others.</p>\n<p>Each surface below carries: <strong>what to enumerate</strong>, <strong>how to enumerate it</strong>, <strong>the trap</strong> it\nexists to catch, and <strong>its confidence ceiling</strong> — the best value from the fixed vocabulary\n(<code>enumerated</code>, <code>measured</code>, <code>sampled</code>, <code>inferred</code>, <code>not checked</code>) that this surface can honestly\nreach with the tools you actually have.</p>\n<hr>\n<h3 id=\"1-callers-callers\">1. Callers — <code>callers</code></h3>\n<p><strong>Enumerate:</strong> every call site of every changed definition, plus re-exports, barrel files,\nwrappers and any place the symbol is passed as a value rather than called.</p>\n<p><strong>How:</strong> a language server or symbol index if one exists — ask it for references to the\n<strong>definition</strong>, not for occurrences of the name. Without one: <code>git grep -n</code> on the name, then\nopen every hit and discard the ones that resolve elsewhere. Add the import-side search, because\na rename that leaves the import intact still breaks at the call.</p>\n<p><strong>The trap:</strong> a bare name. In a monorepo of roughly 2,500 TypeScript files, one measured pass\nfound 184 exported names defined in more than one file; the worst offenders were the framework&#39;s\nown conventions — one handler name in 271 files, another in 209, a registry key in 143. A search\nkeyed on such a name returns the whole application, and a map built from it is noise with\ncitations.</p>\n<p><strong>Ceiling:</strong> <code>enumerated</code> with a compiler-resolved index; <code>measured</code> with grep plus opened hits;\nnever better than <code>measured</code> where the language permits dynamic access.</p>\n<hr>\n<h3 id=\"2-data-contracts-and-derivers-data-contracts\">2. Data contracts and derivers — <code>data-contracts</code></h3>\n<p><strong>Enumerate:</strong> three buckets, and the third is the one that gets dropped.</p>\n<ul>\n<li><strong>Writers</strong> — anything that produces the value: inserts, updates, event emitters, fixtures.</li>\n<li><strong>Readers</strong> — anything that consumes it: queries, DTOs, deserialisers, exports, API responses.</li>\n<li><strong>Derivers</strong> — anything that computes a <em>second</em> value from the first: aggregates, scores,\ncached rollups, denormalised copies, materialised views, report columns.</li>\n</ul>\n<p>Include the schema objects themselves: constraints, indexes, defaults, triggers, generated\ncolumns, and any view that selects the changed thing.</p>\n<p><strong>How:</strong> search the schema, then search <strong>string literals</strong> for the column or field name, in\nevery language in the repository — the query that will break is frequently assembled as text and\ntherefore invisible to every type system present. Then follow each writer one hop to find the\nderivers.</p>\n<p><strong>The trap:</strong> the writer and the reader both stay correct while the transformation between them\nquietly changes what the value means. In one measured case the defect lived exactly there, and\nboth ends passed review.</p>\n<p><strong>The second trap — the discard by filename.</strong> Every literal search on this surface returns hits\nyou will not keep, and how they are dropped decides whether the surface is measured or merely\nplausible. <strong>Classify a hit by the table its query text targets, read out of the query.</strong> Not by\nthe file&#39;s name, not by the directory, not by the module&#39;s apparent domain: a report module can\nhold a query against the ingest table, an &quot;export&quot; helper can select from three tables, and a\ngeneric data-access file can name every table in the schema. Open the hit, find the <code>FROM</code> or\nthe builder call, and record the target.</p>\n<p>An <strong>exclusivity claim</strong> — &quot;only this service reads the column&quot; — is a statement about the\ndiscards, so it ships with them:</p>\n<pre><code class=\"language-text\">discarded | path:line | query text as written | target it resolves to | why it is not this table\n</code></pre>\n<p>Worked failure: a string-literal <code>SELECT</code> against the changed table was discarded because it\nlived in a module whose name belonged to another subject. Nothing about the query was read. The\nmap went out claiming a single reader, the drop was approved on that basis, and the second\nreader failed at runtime — silently, because the query was assembled as text and no type system\never saw it.</p>\n<p><strong>Ceiling:</strong> <code>enumerated</code> for constrained relationships the database itself knows (foreign keys,\nview dependencies); <code>measured</code> for literal searches; <code>not checked</code> for any language you did not\nsearch — say which.</p>\n<hr>\n<h3 id=\"3-background-jobs-and-their-registries-jobs\">3. Background jobs and their registries — <code>jobs</code></h3>\n<p><strong>Enumerate:</strong> tasks, queue consumers, cron entries, workers, schedulers — and, separately, the\n<strong>registry</strong> each must appear in to run at all: a keys file, a manifest, a decorator scan, an\nimport side effect in an entrypoint.</p>\n<p><strong>How:</strong> read the registry, then open the file it cites, then check the runtime&#39;s own\nregistration path. A generated registry is evidence of what its generator saw at generation\ntime — it is not the runtime.</p>\n<p><strong>The trap:</strong> a job that stops registering does not fail. It stops existing. Nothing throws,\nno test turns red, and the symptom is an absence of work that surfaces when someone asks why a\nnumber stopped moving. Treat &quot;still registered after the change&quot; as a claim requiring evidence,\nnot as a default.</p>\n<p><strong>Ceiling:</strong> <code>enumerated</code> where the registry is the thing the runtime actually reads;\n<code>measured</code> where you searched for registrations; <code>inferred</code> if you only read a doc.</p>\n<hr>\n<h3 id=\"4-ui-ui\">4. UI — <code>ui</code></h3>\n<p><strong>Enumerate:</strong> screens, routes, components, and the empty, loading and error states that render\nthe changed value. Include admin surfaces, internal tools and anything rendered only for one\nrole — those are the ones nobody remembers.</p>\n<p><strong>How:</strong> search by field name and by prop name, then by the query or selector that fetches it.\nFollow the component tree upward far enough to name the route.</p>\n<p><strong>The trap:</strong> the UI break is invisible until someone opens that route, and a missing value\nfrequently renders as blank rather than as an error. A blank field is a silent break wearing a\nnormal face.</p>\n<p><strong>Ceiling:</strong> <code>measured</code>; <code>sampled</code> when there are more routes than you opened — state n of N.</p>\n<hr>\n<h3 id=\"5-tests-and-guards-that-would-stop-firing-tests-and-guards\">5. Tests and guards that would stop firing — <code>tests-and-guards</code></h3>\n<p><strong>Enumerate:</strong> two distinct sets.</p>\n<ul>\n<li><strong>Tests that would fail</strong> — these are the friendly half. They are the change&#39;s alarm system.</li>\n<li><strong>Guards that would stop firing</strong> — CI checks, lint rules, architecture-boundary configs,\nallowlists, denylists, assertion helpers, schema validators, security checks: anything whose\nbehaviour is keyed on a pattern that mentions the thing you are changing.</li>\n</ul>\n<p><strong>How:</strong> grep the guard configurations for the old name. Then, for each guard you depend on,\n<strong>mutate something it should catch and confirm it fails.</strong> A guard that has never been shown to\nfail is a claim, not a control. In one measured repository, four separate guards were born\nunarmed and passed every run while verifying nothing.</p>\n<p><strong>The trap:</strong> a guard whose pattern no longer matches anything does not fail. It passes, green,\nindefinitely — and the protection it advertised is gone at exactly the moment it was needed.</p>\n<p><strong>Ceiling:</strong> <code>measured</code> for the pattern search; <code>enumerated</code> only for a guard you mutated and\nwatched fail.</p>\n<hr>\n<h3 id=\"6-config-infra-and-every-build-toolchain-config-and-toolchains\">6. Config, infra and every build toolchain — <code>config-and-toolchains</code></h3>\n<p><strong>Enumerate:</strong> environment variables, secrets <em>by name only</em>, deploy manifests, IaC, container\ndefinitions, feature-flag defaults — and <strong>every compiler, bundler, transpiler or transform\nconfigured to process the changed file</strong>: the typechecker, the test runner&#39;s transform, the\napplication build, the deploy bundler, any codegen step.</p>\n<p><strong>How:</strong> count the build manifests rather than assuming one. Then, for each toolchain, establish\nwhat it does with the specific construct being changed — dynamic imports, path aliases, decorator\nmetadata, conditional exports and generated types are where they diverge.</p>\n<p><strong>The trap:</strong> one construct, three toolchains, three behaviours. In one measured monorepo, four\nbuild pipelines processed overlapping file sets, and a module specifier that typechecked cleanly\nand passed the whole test suite was unresolvable in exactly one of them. It was discovered after\ndeploy, because only that pipeline&#39;s bundler ever saw it.</p>\n<p><strong>Ceiling:</strong> <code>enumerated</code> for the toolchain list itself (the manifests are countable); <code>measured</code>\nper toolchain only if you ran it.</p>\n<hr>\n<h3 id=\"7-deploy-ordering-deploy-ordering\">7. Deploy ordering — <code>deploy-ordering</code></h3>\n<p><strong>Enumerate:</strong> the halves of the change that land separately, the required order, and what runs\nin the window between them.</p>\n<p><strong>How:</strong> ask which half breaks the other when it runs alone. The full procedure, both directions\nwith their reasons, and the case where neither half can go first, are in <code>deploy-ordering.md</code>.</p>\n<p><strong>The trap:</strong> an ordering emitted by habit. Both directions are correct in the same repository\ndepending on which way the change runs, so an unconditional answer is wrong about half the time —\nand an ordering without its reason cannot be checked by the person who has to execute it.</p>\n<p><strong>Ceiling:</strong> <code>measured</code> when you can name what runs in the window; <code>inferred</code> otherwise, and say\nso.</p>\n<hr>\n<h3 id=\"8-docs-prompts-and-data-resident-references-docs-and-data-resident\">8. Docs, prompts and data-resident references — <code>docs-and-data-resident</code></h3>\n<p><strong>Enumerate:</strong> prose in the repository that names the thing — and, separately, <strong>rows in a\ndatastore that name it</strong>: prompt templates, saved queries, report definitions, feature-flag\ntargeting rules, seeded configuration, workflow step definitions, tool allowlists.</p>\n<p><strong>How:</strong> grep for the docs. <strong>Query</strong> for the rows. If the store is not reachable from this run,\nthat fact goes on the map as a blindspot with the query that would settle it — not as an empty\ncell.</p>\n<p><strong>The trap:</strong> no code search will ever return a database row, and the break it causes is silent\nby construction. A prompt row naming a renamed tool does not throw; the model simply does\nsomething else, and the output stays plausible. This is the surface most often skipped and most\nreliably expensive.</p>\n<p><strong>Ceiling:</strong> <code>measured</code> when you ran the query; <code>not checked</code> when you did not — never <code>absent</code>.</p>\n<hr>\n<h3 id=\"9-external-consumers-external-consumers\">9. External consumers — <code>external-consumers</code></h3>\n<p><strong>Enumerate:</strong> other repositories, published packages and their dependants, API clients, webhook\nsubscribers, warehouse and analytics jobs, partner integrations, dashboards, saved exports.</p>\n<p><strong>How:</strong> diff the published interface, not the internal one. Check access logs where they exist —\nproduction observation is the highest evidence class available here. Otherwise work from the\nconsumer list assembled in the prerequisites, and mark anything you could not confirm.</p>\n<p><strong>The trap:</strong> the break happens in somebody else&#39;s system, at their deploy cadence, and reaches\nyou as a support ticket days later with no obvious connection to your change.</p>\n<p><strong>Ceiling:</strong> <code>enumerated</code> only with a real consumer registry or complete access logs; otherwise\n<code>sampled</code> or <code>inferred</code>, with the gap named.</p>\n<hr>\n<h3 id=\"10-second-order-readers-second-order\">10. Second-order readers — <code>second-order</code></h3>\n<p><strong>Enumerate:</strong> for every write the change touches, who reads that write — and then, one hop\nfurther, who reads <em>their</em> output.</p>\n<p><strong>How:</strong> follow each writer one hop, then one more. Two hops is the working limit; past that,\nrecord the frontier as a blindspot rather than pretending to a full closure.</p>\n<p><strong>The trap:</strong> the first-order map is complete and correct, and the damage lands two hops away in\nan aggregate that keeps producing a number. Nothing throws. The number is just wrong, and it is\nwrong in a report someone trusts.</p>\n<p><strong>Ceiling:</strong> <code>measured</code> for the hops you followed; always name the hop at which you stopped.</p>\n<hr>\n<h3 id=\"11-reversibility-and-the-undo-path-reversibility\">11. Reversibility and the undo path — <code>reversibility</code></h3>\n<p><strong>Enumerate:</strong> what a revert restores, what it does not, and the data a rollback cannot bring\nback. Classify each element of the change set as:</p>\n<ul>\n<li><strong>revertible</strong> — a commit revert restores the prior behaviour completely;</li>\n<li><strong>compensating</strong> — undo requires a new forward change (a second migration, a backfill);</li>\n<li><strong>irreversible</strong> — dropped data, sent messages, deleted rows, external side effects.</li>\n</ul>\n<p><strong>How:</strong> write the rollback steps <em>before</em> the change, at the same level of detail as the change\nitself. If they cannot be written, that is the finding.</p>\n<p><strong>The trap:</strong> &quot;we can always roll it back&quot; as an unexamined premise. It is true of code and\nfrequently false of data, and the two halves of a change usually differ — which is also why this\nsurface constrains the deploy ordering rather than merely reporting on it.</p>\n<p><strong>Ceiling:</strong> <code>enumerated</code> — this one is a property of the change set you wrote down, so there is\nno excuse for <code>inferred</code> here.</p>\n<hr>\n<h3 id=\"12-work-in-flight-work-in-flight\">12. Work in flight — <code>work-in-flight</code></h3>\n<p><strong>Enumerate:</strong> every piece of unmerged or unapplied work that touches the same objects as this\nchange set — open branches, open pull requests, stacked or draft changes, and <strong>migrations that\nare written but not yet run</strong>. The unit is the object, not the file: a branch renaming the same\nsymbol collides even where the two diffs share no line.</p>\n<p><strong>How:</strong> three commands and one query, all cheap.</p>\n<pre><code class=\"language-sh\">git branch -a --sort=-committerdate --contains HEAD~0 | head          # what exists\ngit log --oneline HEAD..origin/&lt;default&gt; -- &lt;paths&gt;                   # landed ahead of you\ngit log --all --oneline -S&quot;&lt;symbol&gt;&quot; -- &lt;paths&gt;                       # who else touched it\n</code></pre>\n<p>Then the forge, for open pull requests naming the same symbol, path or table — a code search\nscoped to open PRs where the host offers one, or a listing plus a diff scan where it does not.\nAnd the migration directory: anything present in the tree and absent from the applied history is\nin flight by definition, including a version number another open branch has already claimed.</p>\n<p><strong>The trap:</strong> a checkout is one state of the repository, and the map reads as though it were the\nwhole of it. Two changes that each pass every check alone meet in one tree later; the collision\nis reported by this map as an absence, because nothing in the working tree ever mentioned it.\nVersion collisions are the sharpest case — two migrations stamped identically, the second\nsilently skipped as already applied — but a rename landing on a branch while you delete the same\nsymbol is the common one.</p>\n<p><strong>Ceiling:</strong> <code>enumerated</code> where the forge is queryable and the applied-migration history is\nreadable; <code>measured</code> where you searched branches locally; <code>not checked</code> where the forge was out\nof reach — say which, on the page. A surface reported empty because nobody could reach the forge\nis the failure this surface exists to prevent.</p>\n","words":2324},{"path":"references/worked-blast-map.md","slug":"worked-blast-map","title":"A worked blast map","body":"# A worked blast map\n\nOne change set, mapped end to end, with the parts that usually get skipped left in: the premise\nthat did not survive, the negative that decided the outcome, the silent breaks, and the blindspot\nthat was still there when the map was delivered.\n\nThe repository is a monorepo of roughly 2,500 TypeScript files across four build pipelines, with\na relational database, a background job runner and a dashboard. Names below are generic.\n\n## The brief, as received\n\n> \"Drop the `sync_state` column from `documents`. It's dead — the dashboard stopped showing it\n> months ago, nothing writes it any more, and the only reader is the stale-record job which we\n> are deleting in the same change.\"\n\nThree checkable premises: (a) nothing writes it, (b) the only reader is one job, (c) the\ndashboard no longer shows it.\n\n## Step 1 — restate, and refute what does not hold\n\nChange set, written as things and operations:\n\n| Thing | Operation |\n|---|---|\n| `documents.sync_state` (column) | drop |\n| the stale-record job | delete |\n| the job's registry entry | delete |\n\nFindings against the premises, after the searching:\n\n- **(a) \"nothing writes it\" — refuted, with a number.** Two writers: the import path writes it on\n  every insert (`import/persist.ts:118`), and a repair script sets it in bulk\n  (`ops/repair-sync.ts:44`). The import writer is live; the script last ran in the interval\n  covered by the history search.\n- **(b) \"the only reader is the stale-record job\" — refuted, with a number.** Four readers: the\n  job, a string-built analytics query, a database view, and a report column derived from the\n  view. Three of the four are invisible to the typechecker.\n- **(c) \"the dashboard no longer shows it\" — holds.** No component references the field; the\n  search that established this fired its control.\n\nTwo of three premises fail. The map continues on the surviving one rather than refusing the\nbrief; the refutation itself is the most consequential line in the deliverable, because it\nchanges the change.\n\n## Step 2 — the twelve surfaces\n\n| Surface | Nodes | Break | Confidence |\n|---|---|---|---|\n| `callers` | `import/persist.ts:118` (writer), `jobs/stale-records.ts:31` (reader) | `compile` — both are typed field accesses | `measured` |\n| `data-contracts` | the column; view `v_document_health`; derived report column `health_score` | `runtime` for the view, **`silent`** for `health_score` | `measured` |\n| `jobs` | the stale-record job; its registry entry | `silent` if the registry entry is removed without the job, or the reverse | `enumerated` (the runtime reads this registry) |\n| `ui` | none | `none` | `measured` — control fired |\n| `tests-and-guards` | 3 tests referencing the field; 1 schema-drift guard keyed on the column list | tests `compile`; **the guard `silent`** | `measured` |\n| `config-and-toolchains` | 4 build pipelines process the touched files; 1 generates types from the schema | `compile` in the generator, `none` elsewhere | `enumerated` (manifests counted) |\n| `deploy-ordering` | code-first, two steps | `runtime` inside the window | `measured` |\n| `docs-and-data-resident` | 1 saved analytics query row naming the column | **`silent`** | `measured` — the store was queried |\n| `external-consumers` | none found; warehouse sync does not select it | `none` | `measured` — control fired |\n| `second-order` | `health_score` consumers: 1 report, 1 alert threshold | **`silent`** — the alert stops firing | `measured` |\n| `reversibility` | column drop is **irreversible** for the data; job deletion is revertible | — | `enumerated` |\n| `work-in-flight` | 1 open pull request renames the same job key; 1 written, unapplied migration touches the same table | **`compile`** for the rename collision at merge; **`silent`** for the two migrations, which claim the same version | `enumerated` (forge queried, applied history read) |\n\n### The three silent breaks\n\n1. **`health_score`.** The view keeps returning rows; the derived score keeps computing, now\n   against a missing input absorbed by a `COALESCE`. Nothing throws. The score simply drifts, and\n   it drives an alert threshold two hops downstream. *Observed instead of an error:* the alert\n   stops firing.\n2. **The schema-drift guard.** Its pattern names the column list. With the column gone, the\n   pattern matches nothing and the guard passes — permanently, in green, protecting nothing.\n   Mutating a fixture confirmed the guard currently fires; it will not after the change.\n3. **The saved analytics query row.** A row in a table, not a file. No code search would have\n   returned it. The query fails at execution time inside a scheduled report, which retries and\n   then goes quiet.\n\n## Step 3 — the negative that decided the outcome\n\nThe external-consumers surface was the one everybody expected to be the problem, and it was\nempty. That emptiness is only worth anything because it is recorded as a finding:\n\n```json\n{\n  \"target\": \"warehouse sync selecting documents.sync_state\",\n  \"query\": \"git grep -n \\\"sync_state\\\" -- warehouse/\",\n  \"tool\": \"git grep\",\n  \"hits\": 0,\n  \"control\": \"git grep -n \\\"documents\\\" -- warehouse/ → 27 hits\",\n  \"control_fired\": true,\n  \"verdict\": \"absent\"\n}\n```\n\nThe first attempt at this search used `git grep -E '\\bsync_state\\b'` and returned nothing — as it\nalways would, because POSIX ERE has no `\\b`. Without the control, the map would have recorded an\nabsence that was a property of the regular expression, on the one surface where being wrong meant\nbreaking somebody else's system.\n\nThe literal search on the data-contract surface returned nine hits and kept four, so the map\ncarries the five it dropped — each opened, each classified by the table its query names rather\nthan by the module it sits in. The arithmetic is on the page, because that is what makes a\nsilently dropped hit visible: `git grep -c sync_state → 9 hits: 4 consumers + 5 discards,\n9 = 4 + 5`.\n\n```text\ndiscarded | reports/health.ts:44   | SELECT ... FROM document_health_daily | document_health_daily | rollup table, not the base table\ndiscarded | export/csv.ts:19       | SELECT ... FROM exports              | exports               | different table, shared column name\ndiscarded | jobs/backfill.ts:71    | comment naming sync_state            | —                     | comment, not a query\ndiscarded | test/fixtures/doc.ts:6 | fixture literal                      | —                     | fixture, not a read\ndiscarded | api/status.ts:33       | SELECT ... FROM documents            | documents             | selects the row, never the column\n```\n\nThe last row is the one that matters: it is a query against the changed table, kept out on what\nit selects rather than on where it lives. The map's claim is \"two readers, both in the ingest\npath\" — which is an exclusivity claim, and the five rows above are its evidence.\n\n## Step 4 — deploy ordering, with its reason\n\n**Code-first, two steps.** The schema half would break readers that are live right now: the import\npath writes the column on every insert, so dropping it first fails in the window rather than at\ndeploy time.\n\n1. Deploy the code that stops writing and reading it — import path, job, view, saved query row,\n   guard pattern.\n2. Drain: in-flight imports, the job's current run, and any warm instance of the previous\n   deployment. Then drop the column.\n\nWindow contents: new code against the old schema, which is safe — the column simply goes unused.\nThe reverse window is not.\n\n## Step 5 — what this map cannot see\n\n- **Dynamic dispatch.** Two registries were found and read: the job registry (which the runtime\n  itself reads — `enumerated`) and the generated type registry. Anything dispatched through a\n  string assembled at runtime is outside this map, and one code path assembles a query name from\n  configuration.\n- **Data-resident references.** The application database **was** queried, for saved queries,\n  report definitions and flag rules; one hit, listed above. The hosted feature-flag service was\n  **not** reachable from this run — that is the blindspot below.\n- **Resolution basis.** Name-based, with a language server available for TypeScript only. The\n  measured collision count for this repository is 184 exported names defined in more than one\n  file. The two SQL-embedded readers were found by literal search, not by resolution.\n- **Runtime-only edges.** The alert threshold lives in a monitoring system outside the repository;\n  its dependency on `health_score` was established from a dashboard definition, not from code.\n\n**Precision ceiling.** No compiler-resolved symbol index exists here. `derive-codebase-context`\nargues that such an index is the only thing that answers blast radius correctly in a repository\nwith duplicate exported names, and that it costs about a week — so it is deferred deliberately.\nThis map reports at the ceiling it has: name-based resolution, four surfaces at `measured` rather\nthan `enumerated`.\n\n**Blindspot carried into the deliverable:**\n\n```json\n{\n  \"id\": \"b1\",\n  \"label\": \"hosted feature-flag rules naming sync_state\",\n  \"surface\": \"docs-and-data-resident\",\n  \"reason\": \"the flag service was not reachable from this run; no credentials in this context\",\n  \"probe\": \"export the flag rule set and grep it for the column name\"\n}\n```\n\n## What the map changed\n\nThe brief asked for a column drop and a job deletion. The map returned a two-step deploy, three\nsilent breaks with what each one would look like instead of an error, one guard that needed\nre-arming, one datastore row that no code search would have found, an irreversibility on the data\nhalf, one open pull request renaming the same job key — and a refutation of two of the brief's\nthree premises, with counts. The change that got made was not the change that was asked for,\nwhich is the point.\n","bodyHtml":"<h2 id=\"a-worked-blast-map\">A worked blast map</h2>\n<p>One change set, mapped end to end, with the parts that usually get skipped left in: the premise\nthat did not survive, the negative that decided the outcome, the silent breaks, and the blindspot\nthat was still there when the map was delivered.</p>\n<p>The repository is a monorepo of roughly 2,500 TypeScript files across four build pipelines, with\na relational database, a background job runner and a dashboard. Names below are generic.</p>\n<h3 id=\"the-brief-as-received\">The brief, as received</h3>\n<blockquote>\n<p>&quot;Drop the <code>sync_state</code> column from <code>documents</code>. It&#39;s dead — the dashboard stopped showing it\nmonths ago, nothing writes it any more, and the only reader is the stale-record job which we\nare deleting in the same change.&quot;</p>\n</blockquote>\n<p>Three checkable premises: (a) nothing writes it, (b) the only reader is one job, (c) the\ndashboard no longer shows it.</p>\n<h3 id=\"step-1-restate-and-refute-what-does-not-hold\">Step 1 — restate, and refute what does not hold</h3>\n<p>Change set, written as things and operations:</p>\n<table>\n<thead>\n<tr>\n<th>Thing</th>\n<th>Operation</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><code>documents.sync_state</code> (column)</td>\n<td>drop</td>\n</tr>\n<tr>\n<td>the stale-record job</td>\n<td>delete</td>\n</tr>\n<tr>\n<td>the job&#39;s registry entry</td>\n<td>delete</td>\n</tr>\n</tbody></table>\n<p>Findings against the premises, after the searching:</p>\n<ul>\n<li><strong>(a) &quot;nothing writes it&quot; — refuted, with a number.</strong> Two writers: the import path writes it on\nevery insert (<code>import/persist.ts:118</code>), and a repair script sets it in bulk\n(<code>ops/repair-sync.ts:44</code>). The import writer is live; the script last ran in the interval\ncovered by the history search.</li>\n<li><strong>(b) &quot;the only reader is the stale-record job&quot; — refuted, with a number.</strong> Four readers: the\njob, a string-built analytics query, a database view, and a report column derived from the\nview. Three of the four are invisible to the typechecker.</li>\n<li><strong>(c) &quot;the dashboard no longer shows it&quot; — holds.</strong> No component references the field; the\nsearch that established this fired its control.</li>\n</ul>\n<p>Two of three premises fail. The map continues on the surviving one rather than refusing the\nbrief; the refutation itself is the most consequential line in the deliverable, because it\nchanges the change.</p>\n<h3 id=\"step-2-the-twelve-surfaces\">Step 2 — the twelve surfaces</h3>\n<table>\n<thead>\n<tr>\n<th>Surface</th>\n<th>Nodes</th>\n<th>Break</th>\n<th>Confidence</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><code>callers</code></td>\n<td><code>import/persist.ts:118</code> (writer), <code>jobs/stale-records.ts:31</code> (reader)</td>\n<td><code>compile</code> — both are typed field accesses</td>\n<td><code>measured</code></td>\n</tr>\n<tr>\n<td><code>data-contracts</code></td>\n<td>the column; view <code>v_document_health</code>; derived report column <code>health_score</code></td>\n<td><code>runtime</code> for the view, <strong><code>silent</code></strong> for <code>health_score</code></td>\n<td><code>measured</code></td>\n</tr>\n<tr>\n<td><code>jobs</code></td>\n<td>the stale-record job; its registry entry</td>\n<td><code>silent</code> if the registry entry is removed without the job, or the reverse</td>\n<td><code>enumerated</code> (the runtime reads this registry)</td>\n</tr>\n<tr>\n<td><code>ui</code></td>\n<td>none</td>\n<td><code>none</code></td>\n<td><code>measured</code> — control fired</td>\n</tr>\n<tr>\n<td><code>tests-and-guards</code></td>\n<td>3 tests referencing the field; 1 schema-drift guard keyed on the column list</td>\n<td>tests <code>compile</code>; <strong>the guard <code>silent</code></strong></td>\n<td><code>measured</code></td>\n</tr>\n<tr>\n<td><code>config-and-toolchains</code></td>\n<td>4 build pipelines process the touched files; 1 generates types from the schema</td>\n<td><code>compile</code> in the generator, <code>none</code> elsewhere</td>\n<td><code>enumerated</code> (manifests counted)</td>\n</tr>\n<tr>\n<td><code>deploy-ordering</code></td>\n<td>code-first, two steps</td>\n<td><code>runtime</code> inside the window</td>\n<td><code>measured</code></td>\n</tr>\n<tr>\n<td><code>docs-and-data-resident</code></td>\n<td>1 saved analytics query row naming the column</td>\n<td><strong><code>silent</code></strong></td>\n<td><code>measured</code> — the store was queried</td>\n</tr>\n<tr>\n<td><code>external-consumers</code></td>\n<td>none found; warehouse sync does not select it</td>\n<td><code>none</code></td>\n<td><code>measured</code> — control fired</td>\n</tr>\n<tr>\n<td><code>second-order</code></td>\n<td><code>health_score</code> consumers: 1 report, 1 alert threshold</td>\n<td><strong><code>silent</code></strong> — the alert stops firing</td>\n<td><code>measured</code></td>\n</tr>\n<tr>\n<td><code>reversibility</code></td>\n<td>column drop is <strong>irreversible</strong> for the data; job deletion is revertible</td>\n<td>—</td>\n<td><code>enumerated</code></td>\n</tr>\n<tr>\n<td><code>work-in-flight</code></td>\n<td>1 open pull request renames the same job key; 1 written, unapplied migration touches the same table</td>\n<td><strong><code>compile</code></strong> for the rename collision at merge; <strong><code>silent</code></strong> for the two migrations, which claim the same version</td>\n<td><code>enumerated</code> (forge queried, applied history read)</td>\n</tr>\n</tbody></table>\n<h4 id=\"the-three-silent-breaks\">The three silent breaks</h4>\n<ol>\n<li><strong><code>health_score</code>.</strong> The view keeps returning rows; the derived score keeps computing, now\nagainst a missing input absorbed by a <code>COALESCE</code>. Nothing throws. The score simply drifts, and\nit drives an alert threshold two hops downstream. <em>Observed instead of an error:</em> the alert\nstops firing.</li>\n<li><strong>The schema-drift guard.</strong> Its pattern names the column list. With the column gone, the\npattern matches nothing and the guard passes — permanently, in green, protecting nothing.\nMutating a fixture confirmed the guard currently fires; it will not after the change.</li>\n<li><strong>The saved analytics query row.</strong> A row in a table, not a file. No code search would have\nreturned it. The query fails at execution time inside a scheduled report, which retries and\nthen goes quiet.</li>\n</ol>\n<h3 id=\"step-3-the-negative-that-decided-the-outcome\">Step 3 — the negative that decided the outcome</h3>\n<p>The external-consumers surface was the one everybody expected to be the problem, and it was\nempty. That emptiness is only worth anything because it is recorded as a finding:</p>\n<pre><code class=\"language-json\">{\n  &quot;target&quot;: &quot;warehouse sync selecting documents.sync_state&quot;,\n  &quot;query&quot;: &quot;git grep -n \\&quot;sync_state\\&quot; -- warehouse/&quot;,\n  &quot;tool&quot;: &quot;git grep&quot;,\n  &quot;hits&quot;: 0,\n  &quot;control&quot;: &quot;git grep -n \\&quot;documents\\&quot; -- warehouse/ → 27 hits&quot;,\n  &quot;control_fired&quot;: true,\n  &quot;verdict&quot;: &quot;absent&quot;\n}\n</code></pre>\n<p>The first attempt at this search used <code>git grep -E &#39;\\bsync_state\\b&#39;</code> and returned nothing — as it\nalways would, because POSIX ERE has no <code>\\b</code>. Without the control, the map would have recorded an\nabsence that was a property of the regular expression, on the one surface where being wrong meant\nbreaking somebody else&#39;s system.</p>\n<p>The literal search on the data-contract surface returned nine hits and kept four, so the map\ncarries the five it dropped — each opened, each classified by the table its query names rather\nthan by the module it sits in. The arithmetic is on the page, because that is what makes a\nsilently dropped hit visible: <code>git grep -c sync_state → 9 hits: 4 consumers + 5 discards, 9 = 4 + 5</code>.</p>\n<pre><code class=\"language-text\">discarded | reports/health.ts:44   | SELECT ... FROM document_health_daily | document_health_daily | rollup table, not the base table\ndiscarded | export/csv.ts:19       | SELECT ... FROM exports              | exports               | different table, shared column name\ndiscarded | jobs/backfill.ts:71    | comment naming sync_state            | —                     | comment, not a query\ndiscarded | test/fixtures/doc.ts:6 | fixture literal                      | —                     | fixture, not a read\ndiscarded | api/status.ts:33       | SELECT ... FROM documents            | documents             | selects the row, never the column\n</code></pre>\n<p>The last row is the one that matters: it is a query against the changed table, kept out on what\nit selects rather than on where it lives. The map&#39;s claim is &quot;two readers, both in the ingest\npath&quot; — which is an exclusivity claim, and the five rows above are its evidence.</p>\n<h3 id=\"step-4-deploy-ordering-with-its-reason\">Step 4 — deploy ordering, with its reason</h3>\n<p><strong>Code-first, two steps.</strong> The schema half would break readers that are live right now: the import\npath writes the column on every insert, so dropping it first fails in the window rather than at\ndeploy time.</p>\n<ol>\n<li>Deploy the code that stops writing and reading it — import path, job, view, saved query row,\nguard pattern.</li>\n<li>Drain: in-flight imports, the job&#39;s current run, and any warm instance of the previous\ndeployment. Then drop the column.</li>\n</ol>\n<p>Window contents: new code against the old schema, which is safe — the column simply goes unused.\nThe reverse window is not.</p>\n<h3 id=\"step-5-what-this-map-cannot-see\">Step 5 — what this map cannot see</h3>\n<ul>\n<li><strong>Dynamic dispatch.</strong> Two registries were found and read: the job registry (which the runtime\nitself reads — <code>enumerated</code>) and the generated type registry. Anything dispatched through a\nstring assembled at runtime is outside this map, and one code path assembles a query name from\nconfiguration.</li>\n<li><strong>Data-resident references.</strong> The application database <strong>was</strong> queried, for saved queries,\nreport definitions and flag rules; one hit, listed above. The hosted feature-flag service was\n<strong>not</strong> reachable from this run — that is the blindspot below.</li>\n<li><strong>Resolution basis.</strong> Name-based, with a language server available for TypeScript only. The\nmeasured collision count for this repository is 184 exported names defined in more than one\nfile. The two SQL-embedded readers were found by literal search, not by resolution.</li>\n<li><strong>Runtime-only edges.</strong> The alert threshold lives in a monitoring system outside the repository;\nits dependency on <code>health_score</code> was established from a dashboard definition, not from code.</li>\n</ul>\n<p><strong>Precision ceiling.</strong> No compiler-resolved symbol index exists here. <code>derive-codebase-context</code>\nargues that such an index is the only thing that answers blast radius correctly in a repository\nwith duplicate exported names, and that it costs about a week — so it is deferred deliberately.\nThis map reports at the ceiling it has: name-based resolution, four surfaces at <code>measured</code> rather\nthan <code>enumerated</code>.</p>\n<p><strong>Blindspot carried into the deliverable:</strong></p>\n<pre><code class=\"language-json\">{\n  &quot;id&quot;: &quot;b1&quot;,\n  &quot;label&quot;: &quot;hosted feature-flag rules naming sync_state&quot;,\n  &quot;surface&quot;: &quot;docs-and-data-resident&quot;,\n  &quot;reason&quot;: &quot;the flag service was not reachable from this run; no credentials in this context&quot;,\n  &quot;probe&quot;: &quot;export the flag rule set and grep it for the column name&quot;\n}\n</code></pre>\n<h3 id=\"what-the-map-changed\">What the map changed</h3>\n<p>The brief asked for a column drop and a job deletion. The map returned a two-step deploy, three\nsilent breaks with what each one would look like instead of an error, one guard that needed\nre-arming, one datastore row that no code search would have found, an irreversibility on the data\nhalf, one open pull request renaming the same job key — and a refutation of two of the brief&#39;s\nthree premises, with counts. The change that got made was not the change that was asked for,\nwhich is the point.</p>\n","words":1564}],"body":"# Map a change's blast area\n\n\"What will this break?\" is usually answered with a list of files. A list of files is not a\ndecision. It says where to look, not what happens, not when, and not what the list left\nout — and the changes that hurt are precisely the ones whose damage was never a file a\nsearch would have returned. A column name inside a string literal. A job that stops\nregistering and simply never runs. A guard that starts passing because its pattern now\nmatches nothing. A prompt row in a table naming a tool that got renamed.\n\nThis skill produces a decision surface instead: twelve effect surfaces walked in a fixed\norder; **when** each break would surface — compile time, runtime, or silently — stated per\nitem; a deploy ordering with the reason it is that way round; the searches that established\nevery empty cell; and a mandatory statement of what the map could not see, at a confidence\ndrawn from five fixed words.\n\nIt maps. It changes nothing, and it commits nothing unless a run record is asked for.\n\n## What a map has to carry to be a decision\n\n- **A break time on every item.** \"Affected\" is not actionable. A break that a typechecker\n  catches costs minutes; the same break reached through a string literal costs an incident.\n  In one measured case, dropping a column that only string-built queries selected passed\n  every typecheck and every CI job and failed in production.\n- **Negatives as findings, not as blank space.** An unchecked cell and a checked-and-empty\n  cell look identical on a page. One of them is evidence. The other is the most dangerous\n  element in the document.\n- **One ordering, with its reason.** Schema-first and code-first are both correct, in the\n  same repository, depending on which direction the change runs. Emitting one of them\n  unconditionally is wrong about half the time.\n- **A ceiling that is stated rather than implied.** Name-based resolution over a repository\n  with duplicate exported names has a precision limit, and a map that does not name its own\n  limit will be read as though it had none.\n- **Confidence from a closed vocabulary.** `enumerated`, `measured`, `sampled`, `inferred`,\n  `not checked`. Never a percentage: nobody computed it, and it survives into other people's\n  decisions as though someone had.\n\nComposition: **`investigate-codebase`** does the searching — complexity scoring, the\ndecomposition axes, the control rule on every negative, the contradiction table — and this\nskill arranges what it returns by surface and adds the timing, the ordering and the\nblindspots. **`visualise-blast-area`** consumes the output contract below and renders it.\n**`land-complex-change`** turns the map into a touch-set budget and a regression gate per\naffected surface. **`derive-codebase-context`** builds the durable index that raises this\nmap's ceiling. Install the companions with `npx skills add crissmoldovan/agent-skills`.\n\n## When to Use\n\n- A change is about to be made and someone needs to know what it would hit before it is made.\n- A schema change is in flight — a drop, a rename, a type change — and the readers are not\n  all in one language or one repository.\n- A deletion looks safe. \"Nothing calls this\" is about to be load-bearing.\n- Two candidate fixes need comparing by what each one disturbs rather than by which is nicer.\n- A deploy has two halves and the order they land in matters.\n- A change crosses a boundary — packages, toolchains, services, repositories — and no single\n  compiler sees the whole path.\n- A review asks \"what else does this touch?\" and the honest answer is currently a shrug.\n\nDo not use it to answer one question about how the code works — that is `investigate-codebase`,\nwhich this skill calls for its searching rather than duplicating. Do not use it to draw the\ndiagram: `visualise-blast-area` consumes this skill's output contract, and a map built to be\ndrawn rather than to be decided on will be shaped by what renders well. Do not use it to run a\nreport through to a fix — `resolve-problem-report` owns that pipeline and calls this skill once\nper candidate. Do not use it to actually make the change inside a contained budget; that is\n`land-complex-change`. Do not use it to describe a change that already landed — `describe-changes`\nreads the diff and this skill reads a proposal. Do not use it as a code review over a pull\nrequest: `request-blocks-review` and `blocks` own that loop, and they judge a diff that exists.\n\n## Prerequisites\n\n1. **A change set written as changes, not as an intention.** Every element names a thing —\n   file, symbol, schema object, endpoint, config key — and an operation: add, rename, drop,\n   retype, move, delete. \"Refactor the ingest path\" maps the wrong things.\n   **Complete when:** every element has a thing and an operation, and each thing can be\n   pointed at, at a revision.\n2. **A base revision and its dirty state.** The map is drawn against a tree. If part of the\n   change is already made, record head as well as base.\n   **Complete when:** base sha, head sha where relevant, and dirty state are recorded.\n3. **The repository's resolution capability declared.** A compiler-resolved symbol index, a\n   language server, generated registries, or name-based search only — plus the duplicate\n   exported-name count where you can measure it. This is the map's precision ceiling and it\n   is written into the output, not assumed.\n   **Complete when:** the best available resolver is named and the ceiling clause is drafted.\n4. **The reach of your searches declared.** Which references live somewhere code search\n   cannot go: rows in a datastore, a hosted flag service, an infrastructure repository you do\n   not have, a vendor console, the forge's open branches and pull requests.\n   **Complete when:** each store is either queryable and queried, or named as out of reach.\n5. **The consumers outside this checkout listed.** Other repositories, published packages,\n   API clients, webhook subscribers, warehouse jobs, dashboards.\n   **Complete when:** each is enumerated, or recorded as unknown with the probe that would\n   settle it.\n\n## Procedure\n\n1. **Restate the brief as a change set — and refute the clause that is wrong.** A brief is a\n   hypothesis, not a specification, and partial refutation is the expected outcome rather than\n   an awkward one. Accept the premises that hold, reject the one that does not, and reject it\n   **with a number**: not \"this may not be accurate\" but \"two of these three hold; the third\n   names 41 call sites and there are 3, all in one test file.\" In one measured case exactly\n   that split — two premises true, one false — was the most valuable line in the map, because\n   it changed which change got made. Refuse the whole brief only when nothing in it survives,\n   and then say what does exist instead.\n\n2. **Delegate the searching; do not improvise it.** `investigate-codebase` owns the complexity\n   rubric, the decomposition axes, the child result contract and **the control rule** — a\n   zero-hit search is admissible as \"absent\" only when a control fired. Brief by-symbol\n   children with a **definition site, never a bare name**: in a monorepo of roughly 2,500\n   TypeScript files, one measured pass found 184 exported names defined in more than one file,\n   the worst being the framework's own conventions — one handler name in 271 files, another in\n   209, a registry key in 143. Note also that a blast map's cost-of-being-wrong signal is 2\n   whenever it authorises a migration, a deletion or a deploy, which forces at least the normal\n   band before anything is spent.\n\n3. **Walk all twelve surfaces, in the fixed order, including the ones you expect to be empty.**\n   The order is fixed so that two maps of the same repository are comparable, and so that an\n   empty surface is visibly empty rather than quietly missing. Full probes, worked examples and\n   the trap each surface exists to catch are in\n   [the twelve-surface checklist](references/surface-checklist.md).\n\n   | # | Surface (id) | What to enumerate | Where the break usually surfaces |\n   |---|---|---|---|\n   | 1 | **Callers** (`callers`) | every call site of every changed definition, resolved at the **definition site** | compile time in a typed language; **runtime** through dynamic dispatch; **silent** when the call still typechecks with the argument gone |\n   | 2 | **Data contracts and derivers** (`data-contracts`) | writers, readers, and **derivers** — anything computing a second value from the first; schemas, DTOs, serialisers, migrations | **runtime** for string-built queries; **silent** for a deriver that carries on against a default |\n   | 3 | **Background jobs and their registries** (`jobs`) | tasks, queues, crons, workers — and the registry each must appear in to run at all | **runtime**, at boot or first dispatch; **silent** when registration is skipped and the job simply never runs |\n   | 4 | **UI** (`ui`) | screens, components, routes, and the empty and error states that render the changed value | **runtime**, and only on the route that renders it; **silent** when the field renders blank |\n   | 5 | **Tests and guards that would stop firing** (`tests-and-guards`) | the tests covering it, and the CI guards, lint rules, assertions and allowlists whose pattern mentions it | test failure at CI time; **silent** for a guard whose pattern now matches nothing — it passes |\n   | 6 | **Config, infra and every build toolchain** (`config-and-toolchains`) | env vars, deploy manifests, IaC — and **each compiler, bundler or transform that processes the changed file** | **build time** under one toolchain and **runtime** under another: one construct, three toolchains, three behaviours |\n   | 7 | **Deploy ordering** (`deploy-ordering`) | which half must land first, and what runs in the window between the halves | **runtime**, inside the window; **silent** when the window is short and the errors land in a log nobody reads |\n   | 8 | **Docs, prompts and data-resident references** (`docs-and-data-resident`) | prose that names it — and **rows in a datastore that name it**: prompt templates, saved queries, feature flags, seeded config | **silent, always**. No code search sees a row |\n   | 9 | **External consumers** (`external-consumers`) | other repositories, published packages, API clients, webhook subscribers, warehouse jobs | **runtime, in somebody else's system**, often days later |\n   | 10 | **Second-order readers** (`second-order`) | whoever reads what the changed thing writes — then whoever reads that | **runtime or silent** — typically an aggregate that quietly changes value |\n   | 11 | **Reversibility and the undo path** (`reversibility`) | what a revert restores, what it does not, and the data a rollback cannot bring back | not a break — the timing of the **recovery**; say whether undo is a revert, a compensating change, or nothing |\n   | 12 | **Work in flight** (`work-in-flight`) | open branches and pull requests touching the same files, symbols, tables or migrations — and staged, unapplied migrations already written but not yet run | **compile** where two changes collide in one file; **silent** where they never touch the same line and are only wrong together — or where two migrations claim the same version |\n\n   Surface 8 needs a **query**, not a grep, and surface 6 needs the toolchains **counted**: in\n   one measured monorepo, four separate build pipelines processed overlapping file sets, and a\n   module specifier that typechecked and passed tests was unresolvable in exactly one of them —\n   discovered after deploy, because only that pipeline's bundler ever saw the construct.\n\n   Surface 12 is the one a checkout cannot see. The working tree is one state of the\n   repository; the objects in the change set may already be being changed on a branch nobody\n   has merged, in a pull request opened this morning, or by a migration written last week and\n   still unapplied. A map drawn against HEAD alone reports a collision as absence — and the\n   collision surfaces at merge, or worse, after both halves land and each was correct alone. It\n   costs three commands: the branches and pull requests that touch the same paths, and the\n   migration directory that has not been run.\n\n4. **Put a break time on every item.** Three values, and the third is the reason this skill\n   exists: `compile` (a typechecker, linter, or build rejects it before it ships), `runtime` (it\n   ships and throws where the path executes), `silent` (it ships, executes, throws nothing, and\n   is wrong — or stops happening at all). An item with no break time is not finished. The\n   taxonomy, its decision questions and the language-specific cases are in\n   [break timing](references/break-timing.md).\n\n5. **Write the negatives down as findings — and the discards with them.** Every empty cell\n   carries either the search that established it — verbatim query, tool, hit count, the control\n   and whether the control fired — or the single word `inconclusive`. A search whose control\n   never fired proves nothing about the codebase; the canonical failure is `git grep -E '\\b…'`,\n   which returns nothing and never could, because POSIX ERE has no `\\b`. Read as absence, that\n   is proof of a typo. In one measured case the load-bearing finding of an entire map was an\n   absence: the consumer everyone assumed existed did not, and the map was only trustworthy\n   because the search that established it was on the page next to a control that fired.\n\n   **The accounting identity: every hit is either a consumer or a discard.** For every sweep,\n   the raw hit count must equal the consumers kept plus the discards recorded, and the map\n   **states the arithmetic** next to the query: `git grep -c <term> → N hits: C consumers +\n   D discards, N = C + D`. A hit that appears in neither list is a hit nobody accounted for —\n   the sweep is incomplete, and the map does not ship until it balances. Each discard row\n   carries its own evidence by the rule below; the identity is what makes a hit dropped in\n   silence **visible**, because a row that is missing changes a number on the page.\n\n   **Discard by the table, never by the filename.** A data-contract hit is classified by **the\n   table the query actually targets, read from the query text** — not by the name of the file\n   it sits in, nor by the domain the module appears to belong to. A string-built `SELECT`\n   inside a module named for another subject is still a read of this table, and dropping it\n   because the path looked unrelated is an **unverified discard**: in the finished map it is\n   indistinguishable from a hit that was opened and ruled out. Open the hit, read the target\n   out of the query, and record what the target was. The evidence in a discard row is the\n   query or statement at the hit itself — the very line the sweep matched — never a different\n   line elsewhere in the same file; a discard justified by the file's apparent domain, or by\n   any line other than the hit, is unverified and does not count toward the identity.\n\n   **An exclusivity claim carries its discard list.** \"Only the reporting service reads this\n   column\" is a claim about every hit you did not keep, so the claim ships with them: each\n   discarded hit as `path:line`, the query text that was read, and the target it resolved to.\n   Without the list, exclusivity is an impression with a citation attached — and it is the\n   exact claim that authorises the drop.\n\n6. **Decide the deploy ordering, and say why it is that way round.** Derive it from one\n   question — **which half breaks the other when it runs alone?**\n\n   - **Schema-first** when the new code reads or writes something the schema does not have yet.\n     The code half cannot run without it; the old code keeps working across an additive schema;\n     the window is safe. Additive is the precondition, not a hope.\n   - **Code-first** when applying the schema half would break readers that are live right now —\n     a drop or a rename that current code still selects. Deploy the code that stops reading it,\n     let the old instances drain, then contract. Schema-first here fails inside the window\n     rather than at deploy time, which is why it reads as safe until it is not.\n   - **Neither, when each half breaks the other.** That is not an ordering problem; it is a\n     three-step one — expand, migrate, contract — or a flag, or a dual-write. Say which.\n\n   State the direction, the reason, **and what runs in the window between the halves**: the\n   in-flight requests, the workers mid-job, the cached clients. Worked orderings, the drain\n   question and the expand-migrate-contract shape are in\n   [deploy ordering](references/deploy-ordering.md).\n\n7. **Assign confidence per surface and per edge, from five words.** `enumerated` — a complete\n   list from a source that cannot omit a member: a compiler-resolved index, a registry the\n   runtime itself reads, a foreign key. `measured` — a search or command that ran, with its\n   count and a fired control; complete only over what it searched. `sampled` — n of N inspected,\n   with both numbers. `inferred` — reasoned from convention or naming; nothing was opened.\n   `not checked` — nobody looked, written down rather than left blank. Never a percentage, and\n   never a sixth word.\n\n8. **Assemble the output contract.** One envelope, which `visualise-blast-area` consumes\n   directly. Twelve surfaces in the fixed order with their fixed ids, **present even when\n   empty**; one state per node; **every edge carrying its confidence and its evidence**.\n\n   ```json\n   {\n     \"meta\": { \"baseRevision\": \"sha\", \"headRevision\": \"sha or null\", \"dirty\": false,\n               \"resolver\": \"language-server | index | registries | name-based\",\n               \"toolsUsed\": [\"git grep\", \"…\"], \"notScanned\": [\"…\"] },\n     \"surfaces\": [{ \"id\": \"callers\", \"label\": \"Callers\", \"confidence\": \"measured\",\n                    \"searched\": [{ \"query\": \"verbatim\", \"tool\": \"git grep\", \"hits\": 41,\n                                   \"consumers\": 36, \"discards\": 5 }],\n                    \"negatives\": [{ \"target\": \"…\", \"query\": \"verbatim\", \"control\": \"…\",\n                                    \"control_fired\": true, \"verdict\": \"absent | inconclusive\" }],\n                    \"discarded\": [{ \"hit\": \"path:line\", \"queryText\": \"the SELECT as written\",\n                                    \"resolvedTarget\": \"the table it actually names\",\n                                    \"reason\": \"why it is not a hit on this change\" }] }],\n     \"nodes\": [{ \"id\": \"n1\", \"label\": \"…\", \"path\": \"path:line\", \"surface\": \"callers\",\n                 \"state\": \"changed | affected | unknown\", \"break\": \"compile | runtime | silent | none\",\n                 \"note\": \"…\" }],\n     \"edges\": [{ \"from\": \"n1\", \"to\": \"n2\", \"kind\": \"calls | reads | writes | derives | registers | renders | deploys-before\",\n                 \"confidence\": \"enumerated | measured | sampled | inferred | not checked\",\n                 \"evidence\": \"path:line @ sha, or the query that found it\" }],\n     \"blindspots\": [{ \"id\": \"b1\", \"label\": \"…\", \"surface\": \"docs-and-data-resident\",\n                      \"reason\": \"…\", \"probe\": \"what would settle it\" }]\n   }\n   ```\n\n   An edge without evidence is a guess with an arrowhead on it, and it renders identically to a\n   measured one. A sweep whose `hits` do not equal `consumers + discards` has lost a hit between\n   the search and the map. Field-by-field semantics, the node-state rules and a full worked\n   envelope are in\n   [the output contract](references/output-contract.md).\n\n9. **Write \"What this map cannot see\". It is not optional.** Four named limits, each answered\n   rather than gestured at:\n\n   - **Dynamic dispatch** — which registries were found, by what mechanism, and the statement\n     that anything dispatched through a string built at runtime is outside the map.\n   - **Data-resident references** — whether the datastore was queried, which store, and if it\n     was not reachable, that it was not, on the page.\n   - **Resolution basis** — compiler-resolved or name-based, and where name-based, **the\n     collision count**: how many exported names in this repository are defined in more than one\n     file. If you cannot measure it, say the resolution is name-based and the collision count is\n     unknown.\n   - **Runtime-only edges** — reflection, dependency injection, generated code, webhooks, cron,\n     anything that exists only in a running process.\n\n   Then the **precision-ceiling clause**, stated plainly: without a compiler-resolved symbol\n   index, name-based resolution is this map's ceiling. `derive-codebase-context` makes the\n   argument in full — a symbol index is the only thing that answers blast radius correctly in a\n   repository with duplicate exported names, and it costs roughly a week, which is why the cheap\n   layers come first and layer 4 is deferred deliberately. A map produced under a deferred\n   layer 4 reports at that ceiling and says so; it does not quietly promise the precision of an\n   index it does not have.\n\n10. **Hand the map on, whole.** `visualise-blast-area` renders the envelope, blindspots included\n    as visible nodes. `land-complex-change` converts the surfaces into a touch-set budget and one\n    regression gate per affected surface. `resolve-problem-report` compares candidates by their\n    maps. Hand over the envelope and the coverage together — a consumer given only the nodes will\n    treat the blank cells as checked.\n\n11. **Document the run when the branch calls for it.** The convention is below, and it is\n    identical in every skill of this family that supports it.\n\n### The run record\n\n**Documenting the run.** Write a full record when the invocation carries `--document` (or\nan unmistakable phrase such as \"document the run\"), at `docs/blast-area/<UTC-date>-<slug>.md`\nin the host repository — and always when the run is unattended, in which case it goes to the\nharness scratch directory, never the repository, and its path is named in the final answer;\nif you cannot confirm a human will see and answer a question in THIS run, treat it as\nunattended. Attended with no token: stay silent, offering once only if the run ends with an\nunresolved contradiction or an open blocking question. Five headings, in order: What was\nsearched / Who searched it / What each found / How it reconciled / What was decided and why,\nclosing with what this run could not see. No secret values, machine-absolute paths, child\ntranscripts or raw logs; no unmarked inference or unearned benefit claims; never edit an\nearlier record, and never let writing one change the answer.\n\nRecords are written per [the run-record convention](references/documenting-the-run.md).\n\n## Usage Examples\n\n```text\nI want to drop the status column from the jobs table. Map what that would hit before I write\nthe migration — and tell me for each thing whether it breaks at compile time, at runtime, or\nnot at all until someone notices the number is wrong. Include the deploy ordering and say why\nit is that way round.\n```\n\n```text\nWe are renaming this exported helper across the monorepo. Walk all twelve surfaces, including\nthe ones you think are empty — and for every empty one, show me the search and the control\nthat proves the search was working. I have been burned by a clean grep before.\n```\n\n```text\nBefore I delete this endpoint: who outside this repository calls it? If you cannot see them\nfrom here, say so on the map rather than leaving that surface blank, and tell me what would\nsettle it.\n```\n\n```text\nTwo candidate fixes, same bug. Map each one and compare them by what they disturb and by what\neach one cannot undo — I care more about reversibility than about elegance here.\n```\n\n```text\nMap this change set and document the run (--document) so I can hand the evidence to review\nwith the pull request. I especially want the \"what this map cannot see\" section; last time\nthe surprise was a prompt row in the database that no code search would ever have found.\n```\n\n## Pitfalls\n\n- **A file list handed over as a blast map.** Files say where to look. A decision needs what\n  happens, when it surfaces, and what the list left out.\n- **The blank cell that was never searched.** It renders exactly like a searched-and-empty one,\n  and the reader cannot tell them apart. This is the failure that makes maps dangerous rather\n  than merely incomplete.\n- **A zero-hit search read as absence.** One extra command prevents it. A control that fires\n  proves the apparatus worked; without it, the finding is about your regex.\n- **Grepping for data-resident references.** Prompt rows, saved queries and flag definitions\n  live in a datastore. No code search will ever return them, and the break they cause is silent\n  — the system keeps running and does something else.\n- **Discarding a hit because the filename looked unrelated.** A string-built `SELECT` on this\n  table sat in a module named for another subject; it was dropped on the module name, never\n  opened, and the map went out saying one service read the column. Two did.\n- **A hit that reached neither list.** A preview tool's string-literal `SELECT` was bucketed by\n  its filename's domain and appeared in neither the consumer map nor the discard list, so an\n  exclusivity claim shipped with nothing to falsify it. Nobody re-ran the query; nobody had to.\n  The identity would have shown N−1 and refused the map.\n- **Exclusivity claimed without the discards.** \"Only X reads this\" is a statement about the\n  hits that were dropped, and a claim whose evidence was thrown away cannot be checked by the\n  person it authorises to drop the column.\n- **Mapping HEAD as though it were the repository.** An open branch renaming the same symbol\n  and a written-but-unapplied migration are both invisible to a clean checkout, and both meet\n  this change in one tree later — at merge if you are lucky, in production if you are not.\n- **Counting one compiler.** The file is processed by every toolchain configured to process it,\n  and they disagree. A construct that typechecks, passes tests, and is unresolvable in the\n  deploy bundle is found after deploy or not at all.\n- **Emitting one deploy ordering by habit.** Schema-first and code-first are each correct in\n  one direction and destructive in the other. The ordering without its reason cannot be checked\n  by the person who has to run it.\n- **Forgetting the derivers.** Writers and readers are the obvious two buckets. The third —\n  anything computing a second value from the first — is where the value silently changes while\n  both ends stay correct.\n- **Guards assumed to still fire.** A guard whose pattern no longer matches anything does not\n  fail. It passes, in green, forever.\n- **A bare symbol name in a child brief.** The common names in a real repository are the\n  framework's own conventions, and a name-keyed search returns the whole application.\n- **Confidence as a percentage.** Nobody computed it. It travels into other people's decisions\n  looking like a measurement.\n- **Accepting the whole brief, or rejecting it.** Both are cheaper than the correct answer,\n  which is usually: these premises hold, this one does not, here is the number.\n- **Skipping \"what this map cannot see\" because the map looks complete.** A map that looks\n  complete is exactly when the section is load-bearing.\n- **Shaping the map for the diagram.** Decide first, render second. `visualise-blast-area`\n  consumes the envelope; it does not get a vote in what goes into it.\n\n## Verification\n\n- [ ] The brief was restated as a change set, with a thing and an operation per element.\n- [ ] Any premise that did not hold was rejected explicitly, with a number, and the surviving\n      premises were carried forward rather than the whole brief refused.\n- [ ] The searching was delegated to `investigate-codebase`, and every by-symbol child was\n      briefed with a definition site rather than a bare name.\n- [ ] **All twelve surfaces appear in the output in the fixed order, including empty ones.**\n- [ ] Every item carries a break time: `compile`, `runtime`, or `silent`.\n- [ ] Surface 8 states whether the datastore was queried, and names it — or records that no\n      store was reachable.\n- [ ] Surface 6 names every build toolchain that processes the changed files, counted rather\n      than assumed.\n- [ ] Every empty cell carries its verbatim query, the control, whether the control fired, and\n      a verdict of `absent` or `inconclusive`.\n- [ ] **Every sweep balances**: the raw hit count equals consumers plus discards, and the map\n      states the arithmetic (`N hits: C consumers + D discards, N = C + D`). No hit sits in\n      neither list.\n- [ ] Every data-contract hit was classified by **the table its query text targets**, opened\n      rather than judged by filename or module domain, and every discard names the target it\n      resolved to.\n- [ ] **Every exclusivity claim ships its discard list** — each dropped hit as `path:line` with\n      the query text and the target it resolved to.\n- [ ] Surface 12 names the open branches and pull requests touching the same objects and the\n      staged, unapplied migrations — or records that the forge and the migration directory were\n      not reachable, rather than leaving the surface empty.\n- [ ] Deploy ordering is stated **with its reason and its direction**, plus what runs in the\n      window between the halves — or is recorded as expand-migrate-contract when neither half\n      can go first.\n- [ ] Every surface and every edge carries a confidence from the closed vocabulary:\n      `enumerated`, `measured`, `sampled`, `inferred`, `not checked`. No percentage appears.\n- [ ] **Every edge carries both a confidence and its evidence.**\n- [ ] The output envelope validates: `meta`, `surfaces`, `nodes`, `edges`, `blindspots`, with\n      one state per node and fixed surface ids.\n- [ ] **\"What this map cannot see\" is present**, and answers all four named limits: dynamic\n      dispatch and the registries found; data-resident references and whether the store was\n      queried; resolution basis with the collision count or its absence; runtime-only edges.\n- [ ] The precision-ceiling clause is stated where no compiler-resolved index exists.\n- [ ] Nothing in the repository was changed, and nothing was committed except a run record that\n      was explicitly asked for.\n- [ ] Where a record was written, it exists at `docs/blast-area/<UTC-date>-<slug>.md` (or the\n      harness scratch path for an unattended run, named in the final answer), under the five\n      required headings.\n\n## Deeper reading\n\n- [The twelve-surface checklist](references/surface-checklist.md): every surface with what to\n  enumerate, the probe that enumerates it, the trap it exists to catch, and its default\n  confidence ceiling.\n- [Break timing](references/break-timing.md): the compile / runtime / silent taxonomy, the\n  decision questions that place an item, the language and toolchain cases, and why the silent\n  class is the one worth the walk.\n- [Deploy ordering](references/deploy-ordering.md): both directions with their reasons, the\n  window and the drain question, expand-migrate-contract, and the orderings that are not\n  orderings.\n- [The output contract](references/output-contract.md): the envelope field by field, node\n  states, edge kinds, the confidence vocabulary applied, and a full worked example ready for\n  `visualise-blast-area`.\n- [A worked blast map](references/worked-blast-map.md): one column drop mapped end to end,\n  including the refuted premise, the searched negative that decided it, and the blindspot that\n  survived.\n- [The run-record convention](references/documenting-the-run.md): when a record is written,\n  where it goes, its five headings, the prohibitions, and a worked record.\n","bodyHtml":"<h2 id=\"map-a-changes-blast-area\">Map a change&#39;s blast area</h2>\n<p>&quot;What will this break?&quot; is usually answered with a list of files. A list of files is not a\ndecision. It says where to look, not what happens, not when, and not what the list left\nout — and the changes that hurt are precisely the ones whose damage was never a file a\nsearch would have returned. A column name inside a string literal. A job that stops\nregistering and simply never runs. A guard that starts passing because its pattern now\nmatches nothing. A prompt row in a table naming a tool that got renamed.</p>\n<p>This skill produces a decision surface instead: twelve effect surfaces walked in a fixed\norder; <strong>when</strong> each break would surface — compile time, runtime, or silently — stated per\nitem; a deploy ordering with the reason it is that way round; the searches that established\nevery empty cell; and a mandatory statement of what the map could not see, at a confidence\ndrawn from five fixed words.</p>\n<p>It maps. It changes nothing, and it commits nothing unless a run record is asked for.</p>\n<h3 id=\"what-a-map-has-to-carry-to-be-a-decision\">What a map has to carry to be a decision</h3>\n<ul>\n<li><strong>A break time on every item.</strong> &quot;Affected&quot; is not actionable. A break that a typechecker\ncatches costs minutes; the same break reached through a string literal costs an incident.\nIn one measured case, dropping a column that only string-built queries selected passed\nevery typecheck and every CI job and failed in production.</li>\n<li><strong>Negatives as findings, not as blank space.</strong> An unchecked cell and a checked-and-empty\ncell look identical on a page. One of them is evidence. The other is the most dangerous\nelement in the document.</li>\n<li><strong>One ordering, with its reason.</strong> Schema-first and code-first are both correct, in the\nsame repository, depending on which direction the change runs. Emitting one of them\nunconditionally is wrong about half the time.</li>\n<li><strong>A ceiling that is stated rather than implied.</strong> Name-based resolution over a repository\nwith duplicate exported names has a precision limit, and a map that does not name its own\nlimit will be read as though it had none.</li>\n<li><strong>Confidence from a closed vocabulary.</strong> <code>enumerated</code>, <code>measured</code>, <code>sampled</code>, <code>inferred</code>,\n<code>not checked</code>. Never a percentage: nobody computed it, and it survives into other people&#39;s\ndecisions as though someone had.</li>\n</ul>\n<p>Composition: <strong><code>investigate-codebase</code></strong> does the searching — complexity scoring, the\ndecomposition axes, the control rule on every negative, the contradiction table — and this\nskill arranges what it returns by surface and adds the timing, the ordering and the\nblindspots. <strong><code>visualise-blast-area</code></strong> consumes the output contract below and renders it.\n<strong><code>land-complex-change</code></strong> turns the map into a touch-set budget and a regression gate per\naffected surface. <strong><code>derive-codebase-context</code></strong> builds the durable index that raises this\nmap&#39;s ceiling. Install the companions with <code>npx skills add crissmoldovan/agent-skills</code>.</p>\n<h3 id=\"when-to-use\">When to Use</h3>\n<ul>\n<li>A change is about to be made and someone needs to know what it would hit before it is made.</li>\n<li>A schema change is in flight — a drop, a rename, a type change — and the readers are not\nall in one language or one repository.</li>\n<li>A deletion looks safe. &quot;Nothing calls this&quot; is about to be load-bearing.</li>\n<li>Two candidate fixes need comparing by what each one disturbs rather than by which is nicer.</li>\n<li>A deploy has two halves and the order they land in matters.</li>\n<li>A change crosses a boundary — packages, toolchains, services, repositories — and no single\ncompiler sees the whole path.</li>\n<li>A review asks &quot;what else does this touch?&quot; and the honest answer is currently a shrug.</li>\n</ul>\n<p>Do not use it to answer one question about how the code works — that is <code>investigate-codebase</code>,\nwhich this skill calls for its searching rather than duplicating. Do not use it to draw the\ndiagram: <code>visualise-blast-area</code> consumes this skill&#39;s output contract, and a map built to be\ndrawn rather than to be decided on will be shaped by what renders well. Do not use it to run a\nreport through to a fix — <code>resolve-problem-report</code> owns that pipeline and calls this skill once\nper candidate. Do not use it to actually make the change inside a contained budget; that is\n<code>land-complex-change</code>. Do not use it to describe a change that already landed — <code>describe-changes</code>\nreads the diff and this skill reads a proposal. Do not use it as a code review over a pull\nrequest: <code>request-blocks-review</code> and <code>blocks</code> own that loop, and they judge a diff that exists.</p>\n<h3 id=\"prerequisites\">Prerequisites</h3>\n<ol>\n<li><strong>A change set written as changes, not as an intention.</strong> Every element names a thing —\nfile, symbol, schema object, endpoint, config key — and an operation: add, rename, drop,\nretype, move, delete. &quot;Refactor the ingest path&quot; maps the wrong things.\n<strong>Complete when:</strong> every element has a thing and an operation, and each thing can be\npointed at, at a revision.</li>\n<li><strong>A base revision and its dirty state.</strong> The map is drawn against a tree. If part of the\nchange is already made, record head as well as base.\n<strong>Complete when:</strong> base sha, head sha where relevant, and dirty state are recorded.</li>\n<li><strong>The repository&#39;s resolution capability declared.</strong> A compiler-resolved symbol index, a\nlanguage server, generated registries, or name-based search only — plus the duplicate\nexported-name count where you can measure it. This is the map&#39;s precision ceiling and it\nis written into the output, not assumed.\n<strong>Complete when:</strong> the best available resolver is named and the ceiling clause is drafted.</li>\n<li><strong>The reach of your searches declared.</strong> Which references live somewhere code search\ncannot go: rows in a datastore, a hosted flag service, an infrastructure repository you do\nnot have, a vendor console, the forge&#39;s open branches and pull requests.\n<strong>Complete when:</strong> each store is either queryable and queried, or named as out of reach.</li>\n<li><strong>The consumers outside this checkout listed.</strong> Other repositories, published packages,\nAPI clients, webhook subscribers, warehouse jobs, dashboards.\n<strong>Complete when:</strong> each is enumerated, or recorded as unknown with the probe that would\nsettle it.</li>\n</ol>\n<h3 id=\"procedure\">Procedure</h3>\n<ol>\n<li><p><strong>Restate the brief as a change set — and refute the clause that is wrong.</strong> A brief is a\nhypothesis, not a specification, and partial refutation is the expected outcome rather than\nan awkward one. Accept the premises that hold, reject the one that does not, and reject it\n<strong>with a number</strong>: not &quot;this may not be accurate&quot; but &quot;two of these three hold; the third\nnames 41 call sites and there are 3, all in one test file.&quot; In one measured case exactly\nthat split — two premises true, one false — was the most valuable line in the map, because\nit changed which change got made. Refuse the whole brief only when nothing in it survives,\nand then say what does exist instead.</p>\n</li>\n<li><p><strong>Delegate the searching; do not improvise it.</strong> <code>investigate-codebase</code> owns the complexity\nrubric, the decomposition axes, the child result contract and <strong>the control rule</strong> — a\nzero-hit search is admissible as &quot;absent&quot; only when a control fired. Brief by-symbol\nchildren with a <strong>definition site, never a bare name</strong>: in a monorepo of roughly 2,500\nTypeScript files, one measured pass found 184 exported names defined in more than one file,\nthe worst being the framework&#39;s own conventions — one handler name in 271 files, another in\n209, a registry key in 143. Note also that a blast map&#39;s cost-of-being-wrong signal is 2\nwhenever it authorises a migration, a deletion or a deploy, which forces at least the normal\nband before anything is spent.</p>\n</li>\n<li><p><strong>Walk all twelve surfaces, in the fixed order, including the ones you expect to be empty.</strong>\nThe order is fixed so that two maps of the same repository are comparable, and so that an\nempty surface is visibly empty rather than quietly missing. Full probes, worked examples and\nthe trap each surface exists to catch are in\n<a href=\"references/surface-checklist.md\">the twelve-surface checklist</a>.</p>\n<table>\n<thead>\n<tr>\n<th>#</th>\n<th>Surface (id)</th>\n<th>What to enumerate</th>\n<th>Where the break usually surfaces</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>1</td>\n<td><strong>Callers</strong> (<code>callers</code>)</td>\n<td>every call site of every changed definition, resolved at the <strong>definition site</strong></td>\n<td>compile time in a typed language; <strong>runtime</strong> through dynamic dispatch; <strong>silent</strong> when the call still typechecks with the argument gone</td>\n</tr>\n<tr>\n<td>2</td>\n<td><strong>Data contracts and derivers</strong> (<code>data-contracts</code>)</td>\n<td>writers, readers, and <strong>derivers</strong> — anything computing a second value from the first; schemas, DTOs, serialisers, migrations</td>\n<td><strong>runtime</strong> for string-built queries; <strong>silent</strong> for a deriver that carries on against a default</td>\n</tr>\n<tr>\n<td>3</td>\n<td><strong>Background jobs and their registries</strong> (<code>jobs</code>)</td>\n<td>tasks, queues, crons, workers — and the registry each must appear in to run at all</td>\n<td><strong>runtime</strong>, at boot or first dispatch; <strong>silent</strong> when registration is skipped and the job simply never runs</td>\n</tr>\n<tr>\n<td>4</td>\n<td><strong>UI</strong> (<code>ui</code>)</td>\n<td>screens, components, routes, and the empty and error states that render the changed value</td>\n<td><strong>runtime</strong>, and only on the route that renders it; <strong>silent</strong> when the field renders blank</td>\n</tr>\n<tr>\n<td>5</td>\n<td><strong>Tests and guards that would stop firing</strong> (<code>tests-and-guards</code>)</td>\n<td>the tests covering it, and the CI guards, lint rules, assertions and allowlists whose pattern mentions it</td>\n<td>test failure at CI time; <strong>silent</strong> for a guard whose pattern now matches nothing — it passes</td>\n</tr>\n<tr>\n<td>6</td>\n<td><strong>Config, infra and every build toolchain</strong> (<code>config-and-toolchains</code>)</td>\n<td>env vars, deploy manifests, IaC — and <strong>each compiler, bundler or transform that processes the changed file</strong></td>\n<td><strong>build time</strong> under one toolchain and <strong>runtime</strong> under another: one construct, three toolchains, three behaviours</td>\n</tr>\n<tr>\n<td>7</td>\n<td><strong>Deploy ordering</strong> (<code>deploy-ordering</code>)</td>\n<td>which half must land first, and what runs in the window between the halves</td>\n<td><strong>runtime</strong>, inside the window; <strong>silent</strong> when the window is short and the errors land in a log nobody reads</td>\n</tr>\n<tr>\n<td>8</td>\n<td><strong>Docs, prompts and data-resident references</strong> (<code>docs-and-data-resident</code>)</td>\n<td>prose that names it — and <strong>rows in a datastore that name it</strong>: prompt templates, saved queries, feature flags, seeded config</td>\n<td><strong>silent, always</strong>. No code search sees a row</td>\n</tr>\n<tr>\n<td>9</td>\n<td><strong>External consumers</strong> (<code>external-consumers</code>)</td>\n<td>other repositories, published packages, API clients, webhook subscribers, warehouse jobs</td>\n<td><strong>runtime, in somebody else&#39;s system</strong>, often days later</td>\n</tr>\n<tr>\n<td>10</td>\n<td><strong>Second-order readers</strong> (<code>second-order</code>)</td>\n<td>whoever reads what the changed thing writes — then whoever reads that</td>\n<td><strong>runtime or silent</strong> — typically an aggregate that quietly changes value</td>\n</tr>\n<tr>\n<td>11</td>\n<td><strong>Reversibility and the undo path</strong> (<code>reversibility</code>)</td>\n<td>what a revert restores, what it does not, and the data a rollback cannot bring back</td>\n<td>not a break — the timing of the <strong>recovery</strong>; say whether undo is a revert, a compensating change, or nothing</td>\n</tr>\n<tr>\n<td>12</td>\n<td><strong>Work in flight</strong> (<code>work-in-flight</code>)</td>\n<td>open branches and pull requests touching the same files, symbols, tables or migrations — and staged, unapplied migrations already written but not yet run</td>\n<td><strong>compile</strong> where two changes collide in one file; <strong>silent</strong> where they never touch the same line and are only wrong together — or where two migrations claim the same version</td>\n</tr>\n</tbody></table>\n<p>Surface 8 needs a <strong>query</strong>, not a grep, and surface 6 needs the toolchains <strong>counted</strong>: in\none measured monorepo, four separate build pipelines processed overlapping file sets, and a\nmodule specifier that typechecked and passed tests was unresolvable in exactly one of them —\ndiscovered after deploy, because only that pipeline&#39;s bundler ever saw the construct.</p>\n<p>Surface 12 is the one a checkout cannot see. The working tree is one state of the\nrepository; the objects in the change set may already be being changed on a branch nobody\nhas merged, in a pull request opened this morning, or by a migration written last week and\nstill unapplied. A map drawn against HEAD alone reports a collision as absence — and the\ncollision surfaces at merge, or worse, after both halves land and each was correct alone. It\ncosts three commands: the branches and pull requests that touch the same paths, and the\nmigration directory that has not been run.</p>\n</li>\n<li><p><strong>Put a break time on every item.</strong> Three values, and the third is the reason this skill\nexists: <code>compile</code> (a typechecker, linter, or build rejects it before it ships), <code>runtime</code> (it\nships and throws where the path executes), <code>silent</code> (it ships, executes, throws nothing, and\nis wrong — or stops happening at all). An item with no break time is not finished. The\ntaxonomy, its decision questions and the language-specific cases are in\n<a href=\"references/break-timing.md\">break timing</a>.</p>\n</li>\n<li><p><strong>Write the negatives down as findings — and the discards with them.</strong> Every empty cell\ncarries either the search that established it — verbatim query, tool, hit count, the control\nand whether the control fired — or the single word <code>inconclusive</code>. A search whose control\nnever fired proves nothing about the codebase; the canonical failure is <code>git grep -E &#39;\\b…&#39;</code>,\nwhich returns nothing and never could, because POSIX ERE has no <code>\\b</code>. Read as absence, that\nis proof of a typo. In one measured case the load-bearing finding of an entire map was an\nabsence: the consumer everyone assumed existed did not, and the map was only trustworthy\nbecause the search that established it was on the page next to a control that fired.</p>\n<p><strong>The accounting identity: every hit is either a consumer or a discard.</strong> For every sweep,\nthe raw hit count must equal the consumers kept plus the discards recorded, and the map\n<strong>states the arithmetic</strong> next to the query: <code>git grep -c &lt;term&gt; → N hits: C consumers + D discards, N = C + D</code>. A hit that appears in neither list is a hit nobody accounted for —\nthe sweep is incomplete, and the map does not ship until it balances. Each discard row\ncarries its own evidence by the rule below; the identity is what makes a hit dropped in\nsilence <strong>visible</strong>, because a row that is missing changes a number on the page.</p>\n<p><strong>Discard by the table, never by the filename.</strong> A data-contract hit is classified by <strong>the\ntable the query actually targets, read from the query text</strong> — not by the name of the file\nit sits in, nor by the domain the module appears to belong to. A string-built <code>SELECT</code>\ninside a module named for another subject is still a read of this table, and dropping it\nbecause the path looked unrelated is an <strong>unverified discard</strong>: in the finished map it is\nindistinguishable from a hit that was opened and ruled out. Open the hit, read the target\nout of the query, and record what the target was. The evidence in a discard row is the\nquery or statement at the hit itself — the very line the sweep matched — never a different\nline elsewhere in the same file; a discard justified by the file&#39;s apparent domain, or by\nany line other than the hit, is unverified and does not count toward the identity.</p>\n<p><strong>An exclusivity claim carries its discard list.</strong> &quot;Only the reporting service reads this\ncolumn&quot; is a claim about every hit you did not keep, so the claim ships with them: each\ndiscarded hit as <code>path:line</code>, the query text that was read, and the target it resolved to.\nWithout the list, exclusivity is an impression with a citation attached — and it is the\nexact claim that authorises the drop.</p>\n</li>\n<li><p><strong>Decide the deploy ordering, and say why it is that way round.</strong> Derive it from one\nquestion — <strong>which half breaks the other when it runs alone?</strong></p>\n<ul>\n<li><strong>Schema-first</strong> when the new code reads or writes something the schema does not have yet.\nThe code half cannot run without it; the old code keeps working across an additive schema;\nthe window is safe. Additive is the precondition, not a hope.</li>\n<li><strong>Code-first</strong> when applying the schema half would break readers that are live right now —\na drop or a rename that current code still selects. Deploy the code that stops reading it,\nlet the old instances drain, then contract. Schema-first here fails inside the window\nrather than at deploy time, which is why it reads as safe until it is not.</li>\n<li><strong>Neither, when each half breaks the other.</strong> That is not an ordering problem; it is a\nthree-step one — expand, migrate, contract — or a flag, or a dual-write. Say which.</li>\n</ul>\n<p>State the direction, the reason, <strong>and what runs in the window between the halves</strong>: the\nin-flight requests, the workers mid-job, the cached clients. Worked orderings, the drain\nquestion and the expand-migrate-contract shape are in\n<a href=\"references/deploy-ordering.md\">deploy ordering</a>.</p>\n</li>\n<li><p><strong>Assign confidence per surface and per edge, from five words.</strong> <code>enumerated</code> — a complete\nlist from a source that cannot omit a member: a compiler-resolved index, a registry the\nruntime itself reads, a foreign key. <code>measured</code> — a search or command that ran, with its\ncount and a fired control; complete only over what it searched. <code>sampled</code> — n of N inspected,\nwith both numbers. <code>inferred</code> — reasoned from convention or naming; nothing was opened.\n<code>not checked</code> — nobody looked, written down rather than left blank. Never a percentage, and\nnever a sixth word.</p>\n</li>\n<li><p><strong>Assemble the output contract.</strong> One envelope, which <code>visualise-blast-area</code> consumes\ndirectly. Twelve surfaces in the fixed order with their fixed ids, <strong>present even when\nempty</strong>; one state per node; <strong>every edge carrying its confidence and its evidence</strong>.</p>\n<pre><code class=\"language-json\">{\n  &quot;meta&quot;: { &quot;baseRevision&quot;: &quot;sha&quot;, &quot;headRevision&quot;: &quot;sha or null&quot;, &quot;dirty&quot;: false,\n            &quot;resolver&quot;: &quot;language-server | index | registries | name-based&quot;,\n            &quot;toolsUsed&quot;: [&quot;git grep&quot;, &quot;…&quot;], &quot;notScanned&quot;: [&quot;…&quot;] },\n  &quot;surfaces&quot;: [{ &quot;id&quot;: &quot;callers&quot;, &quot;label&quot;: &quot;Callers&quot;, &quot;confidence&quot;: &quot;measured&quot;,\n                 &quot;searched&quot;: [{ &quot;query&quot;: &quot;verbatim&quot;, &quot;tool&quot;: &quot;git grep&quot;, &quot;hits&quot;: 41,\n                                &quot;consumers&quot;: 36, &quot;discards&quot;: 5 }],\n                 &quot;negatives&quot;: [{ &quot;target&quot;: &quot;…&quot;, &quot;query&quot;: &quot;verbatim&quot;, &quot;control&quot;: &quot;…&quot;,\n                                 &quot;control_fired&quot;: true, &quot;verdict&quot;: &quot;absent | inconclusive&quot; }],\n                 &quot;discarded&quot;: [{ &quot;hit&quot;: &quot;path:line&quot;, &quot;queryText&quot;: &quot;the SELECT as written&quot;,\n                                 &quot;resolvedTarget&quot;: &quot;the table it actually names&quot;,\n                                 &quot;reason&quot;: &quot;why it is not a hit on this change&quot; }] }],\n  &quot;nodes&quot;: [{ &quot;id&quot;: &quot;n1&quot;, &quot;label&quot;: &quot;…&quot;, &quot;path&quot;: &quot;path:line&quot;, &quot;surface&quot;: &quot;callers&quot;,\n              &quot;state&quot;: &quot;changed | affected | unknown&quot;, &quot;break&quot;: &quot;compile | runtime | silent | none&quot;,\n              &quot;note&quot;: &quot;…&quot; }],\n  &quot;edges&quot;: [{ &quot;from&quot;: &quot;n1&quot;, &quot;to&quot;: &quot;n2&quot;, &quot;kind&quot;: &quot;calls | reads | writes | derives | registers | renders | deploys-before&quot;,\n              &quot;confidence&quot;: &quot;enumerated | measured | sampled | inferred | not checked&quot;,\n              &quot;evidence&quot;: &quot;path:line @ sha, or the query that found it&quot; }],\n  &quot;blindspots&quot;: [{ &quot;id&quot;: &quot;b1&quot;, &quot;label&quot;: &quot;…&quot;, &quot;surface&quot;: &quot;docs-and-data-resident&quot;,\n                   &quot;reason&quot;: &quot;…&quot;, &quot;probe&quot;: &quot;what would settle it&quot; }]\n}\n</code></pre>\n<p>An edge without evidence is a guess with an arrowhead on it, and it renders identically to a\nmeasured one. A sweep whose <code>hits</code> do not equal <code>consumers + discards</code> has lost a hit between\nthe search and the map. Field-by-field semantics, the node-state rules and a full worked\nenvelope are in\n<a href=\"references/output-contract.md\">the output contract</a>.</p>\n</li>\n<li><p><strong>Write &quot;What this map cannot see&quot;. It is not optional.</strong> Four named limits, each answered\nrather than gestured at:</p>\n<ul>\n<li><strong>Dynamic dispatch</strong> — which registries were found, by what mechanism, and the statement\nthat anything dispatched through a string built at runtime is outside the map.</li>\n<li><strong>Data-resident references</strong> — whether the datastore was queried, which store, and if it\nwas not reachable, that it was not, on the page.</li>\n<li><strong>Resolution basis</strong> — compiler-resolved or name-based, and where name-based, <strong>the\ncollision count</strong>: how many exported names in this repository are defined in more than one\nfile. If you cannot measure it, say the resolution is name-based and the collision count is\nunknown.</li>\n<li><strong>Runtime-only edges</strong> — reflection, dependency injection, generated code, webhooks, cron,\nanything that exists only in a running process.</li>\n</ul>\n<p>Then the <strong>precision-ceiling clause</strong>, stated plainly: without a compiler-resolved symbol\nindex, name-based resolution is this map&#39;s ceiling. <code>derive-codebase-context</code> makes the\nargument in full — a symbol index is the only thing that answers blast radius correctly in a\nrepository with duplicate exported names, and it costs roughly a week, which is why the cheap\nlayers come first and layer 4 is deferred deliberately. A map produced under a deferred\nlayer 4 reports at that ceiling and says so; it does not quietly promise the precision of an\nindex it does not have.</p>\n</li>\n<li><p><strong>Hand the map on, whole.</strong> <code>visualise-blast-area</code> renders the envelope, blindspots included\nas visible nodes. <code>land-complex-change</code> converts the surfaces into a touch-set budget and one\nregression gate per affected surface. <code>resolve-problem-report</code> compares candidates by their\nmaps. Hand over the envelope and the coverage together — a consumer given only the nodes will\ntreat the blank cells as checked.</p>\n</li>\n<li><p><strong>Document the run when the branch calls for it.</strong> The convention is below, and it is\nidentical in every skill of this family that supports it.</p>\n</li>\n</ol>\n<h4 id=\"the-run-record\">The run record</h4>\n<p><strong>Documenting the run.</strong> Write a full record when the invocation carries <code>--document</code> (or\nan unmistakable phrase such as &quot;document the run&quot;), at <code>docs/blast-area/&lt;UTC-date&gt;-&lt;slug&gt;.md</code>\nin the host repository — and always when the run is unattended, in which case it goes to the\nharness scratch directory, never the repository, and its path is named in the final answer;\nif you cannot confirm a human will see and answer a question in THIS run, treat it as\nunattended. Attended with no token: stay silent, offering once only if the run ends with an\nunresolved contradiction or an open blocking question. Five headings, in order: What was\nsearched / Who searched it / What each found / How it reconciled / What was decided and why,\nclosing with what this run could not see. No secret values, machine-absolute paths, child\ntranscripts or raw logs; no unmarked inference or unearned benefit claims; never edit an\nearlier record, and never let writing one change the answer.</p>\n<p>Records are written per <a href=\"references/documenting-the-run.md\">the run-record convention</a>.</p>\n<h3 id=\"usage-examples\">Usage Examples</h3>\n<pre><code class=\"language-text\">I want to drop the status column from the jobs table. Map what that would hit before I write\nthe migration — and tell me for each thing whether it breaks at compile time, at runtime, or\nnot at all until someone notices the number is wrong. Include the deploy ordering and say why\nit is that way round.\n</code></pre>\n<pre><code class=\"language-text\">We are renaming this exported helper across the monorepo. Walk all twelve surfaces, including\nthe ones you think are empty — and for every empty one, show me the search and the control\nthat proves the search was working. I have been burned by a clean grep before.\n</code></pre>\n<pre><code class=\"language-text\">Before I delete this endpoint: who outside this repository calls it? If you cannot see them\nfrom here, say so on the map rather than leaving that surface blank, and tell me what would\nsettle it.\n</code></pre>\n<pre><code class=\"language-text\">Two candidate fixes, same bug. Map each one and compare them by what they disturb and by what\neach one cannot undo — I care more about reversibility than about elegance here.\n</code></pre>\n<pre><code class=\"language-text\">Map this change set and document the run (--document) so I can hand the evidence to review\nwith the pull request. I especially want the &quot;what this map cannot see&quot; section; last time\nthe surprise was a prompt row in the database that no code search would ever have found.\n</code></pre>\n<h3 id=\"pitfalls\">Pitfalls</h3>\n<ul>\n<li><strong>A file list handed over as a blast map.</strong> Files say where to look. A decision needs what\nhappens, when it surfaces, and what the list left out.</li>\n<li><strong>The blank cell that was never searched.</strong> It renders exactly like a searched-and-empty one,\nand the reader cannot tell them apart. This is the failure that makes maps dangerous rather\nthan merely incomplete.</li>\n<li><strong>A zero-hit search read as absence.</strong> One extra command prevents it. A control that fires\nproves the apparatus worked; without it, the finding is about your regex.</li>\n<li><strong>Grepping for data-resident references.</strong> Prompt rows, saved queries and flag definitions\nlive in a datastore. No code search will ever return them, and the break they cause is silent\n— the system keeps running and does something else.</li>\n<li><strong>Discarding a hit because the filename looked unrelated.</strong> A string-built <code>SELECT</code> on this\ntable sat in a module named for another subject; it was dropped on the module name, never\nopened, and the map went out saying one service read the column. Two did.</li>\n<li><strong>A hit that reached neither list.</strong> A preview tool&#39;s string-literal <code>SELECT</code> was bucketed by\nits filename&#39;s domain and appeared in neither the consumer map nor the discard list, so an\nexclusivity claim shipped with nothing to falsify it. Nobody re-ran the query; nobody had to.\nThe identity would have shown N−1 and refused the map.</li>\n<li><strong>Exclusivity claimed without the discards.</strong> &quot;Only X reads this&quot; is a statement about the\nhits that were dropped, and a claim whose evidence was thrown away cannot be checked by the\nperson it authorises to drop the column.</li>\n<li><strong>Mapping HEAD as though it were the repository.</strong> An open branch renaming the same symbol\nand a written-but-unapplied migration are both invisible to a clean checkout, and both meet\nthis change in one tree later — at merge if you are lucky, in production if you are not.</li>\n<li><strong>Counting one compiler.</strong> The file is processed by every toolchain configured to process it,\nand they disagree. A construct that typechecks, passes tests, and is unresolvable in the\ndeploy bundle is found after deploy or not at all.</li>\n<li><strong>Emitting one deploy ordering by habit.</strong> Schema-first and code-first are each correct in\none direction and destructive in the other. The ordering without its reason cannot be checked\nby the person who has to run it.</li>\n<li><strong>Forgetting the derivers.</strong> Writers and readers are the obvious two buckets. The third —\nanything computing a second value from the first — is where the value silently changes while\nboth ends stay correct.</li>\n<li><strong>Guards assumed to still fire.</strong> A guard whose pattern no longer matches anything does not\nfail. It passes, in green, forever.</li>\n<li><strong>A bare symbol name in a child brief.</strong> The common names in a real repository are the\nframework&#39;s own conventions, and a name-keyed search returns the whole application.</li>\n<li><strong>Confidence as a percentage.</strong> Nobody computed it. It travels into other people&#39;s decisions\nlooking like a measurement.</li>\n<li><strong>Accepting the whole brief, or rejecting it.</strong> Both are cheaper than the correct answer,\nwhich is usually: these premises hold, this one does not, here is the number.</li>\n<li><strong>Skipping &quot;what this map cannot see&quot; because the map looks complete.</strong> A map that looks\ncomplete is exactly when the section is load-bearing.</li>\n<li><strong>Shaping the map for the diagram.</strong> Decide first, render second. <code>visualise-blast-area</code>\nconsumes the envelope; it does not get a vote in what goes into it.</li>\n</ul>\n<h3 id=\"verification\">Verification</h3>\n<ul>\n<li><input disabled=\"\" type=\"checkbox\"> The brief was restated as a change set, with a thing and an operation per element.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Any premise that did not hold was rejected explicitly, with a number, and the surviving\npremises were carried forward rather than the whole brief refused.</li>\n<li><input disabled=\"\" type=\"checkbox\"> The searching was delegated to <code>investigate-codebase</code>, and every by-symbol child was\nbriefed with a definition site rather than a bare name.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>All twelve surfaces appear in the output in the fixed order, including empty ones.</strong></li>\n<li><input disabled=\"\" type=\"checkbox\"> Every item carries a break time: <code>compile</code>, <code>runtime</code>, or <code>silent</code>.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Surface 8 states whether the datastore was queried, and names it — or records that no\nstore was reachable.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Surface 6 names every build toolchain that processes the changed files, counted rather\nthan assumed.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Every empty cell carries its verbatim query, the control, whether the control fired, and\na verdict of <code>absent</code> or <code>inconclusive</code>.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>Every sweep balances</strong>: the raw hit count equals consumers plus discards, and the map\nstates the arithmetic (<code>N hits: C consumers + D discards, N = C + D</code>). No hit sits in\nneither list.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Every data-contract hit was classified by <strong>the table its query text targets</strong>, opened\nrather than judged by filename or module domain, and every discard names the target it\nresolved to.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>Every exclusivity claim ships its discard list</strong> — each dropped hit as <code>path:line</code> with\nthe query text and the target it resolved to.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Surface 12 names the open branches and pull requests touching the same objects and the\nstaged, unapplied migrations — or records that the forge and the migration directory were\nnot reachable, rather than leaving the surface empty.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Deploy ordering is stated <strong>with its reason and its direction</strong>, plus what runs in the\nwindow between the halves — or is recorded as expand-migrate-contract when neither half\ncan go first.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Every surface and every edge carries a confidence from the closed vocabulary:\n<code>enumerated</code>, <code>measured</code>, <code>sampled</code>, <code>inferred</code>, <code>not checked</code>. No percentage appears.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>Every edge carries both a confidence and its evidence.</strong></li>\n<li><input disabled=\"\" type=\"checkbox\"> The output envelope validates: <code>meta</code>, <code>surfaces</code>, <code>nodes</code>, <code>edges</code>, <code>blindspots</code>, with\none state per node and fixed surface ids.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>&quot;What this map cannot see&quot; is present</strong>, and answers all four named limits: dynamic\ndispatch and the registries found; data-resident references and whether the store was\nqueried; resolution basis with the collision count or its absence; runtime-only edges.</li>\n<li><input disabled=\"\" type=\"checkbox\"> The precision-ceiling clause is stated where no compiler-resolved index exists.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Nothing in the repository was changed, and nothing was committed except a run record that\nwas explicitly asked for.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Where a record was written, it exists at <code>docs/blast-area/&lt;UTC-date&gt;-&lt;slug&gt;.md</code> (or the\nharness scratch path for an unattended run, named in the final answer), under the five\nrequired headings.</li>\n</ul>\n<h3 id=\"deeper-reading\">Deeper reading</h3>\n<ul>\n<li><a href=\"references/surface-checklist.md\">The twelve-surface checklist</a>: every surface with what to\nenumerate, the probe that enumerates it, the trap it exists to catch, and its default\nconfidence ceiling.</li>\n<li><a href=\"references/break-timing.md\">Break timing</a>: the compile / runtime / silent taxonomy, the\ndecision questions that place an item, the language and toolchain cases, and why the silent\nclass is the one worth the walk.</li>\n<li><a href=\"references/deploy-ordering.md\">Deploy ordering</a>: both directions with their reasons, the\nwindow and the drain question, expand-migrate-contract, and the orderings that are not\norderings.</li>\n<li><a href=\"references/output-contract.md\">The output contract</a>: the envelope field by field, node\nstates, edge kinds, the confidence vocabulary applied, and a full worked example ready for\n<code>visualise-blast-area</code>.</li>\n<li><a href=\"references/worked-blast-map.md\">A worked blast map</a>: one column drop mapped end to end,\nincluding the refuted premise, the searched negative that decided it, and the blindspot that\nsurvived.</li>\n<li><a href=\"references/documenting-the-run.md\">The run-record convention</a>: when a record is written,\nwhere it goes, its five headings, the prohibitions, and a worked record.</li>\n</ul>\n","outline":["What a map has to carry to be a decision","When to Use","Prerequisites","Procedure","Usage Examples","Pitfalls","Verification","Deeper reading"],"words":5077}
