{"name":"resolve-problem-report","title":"Resolve a problem report","description":"Take a reported problem end to end: reproduce the claim, find the root cause, offer candidate fixes with trade-offs, spec the chosen one, and land it through review. Symptoms: a user reported X, this is broken in production, a flaky test is hiding something real, someone filed a bug or feature request, this keeps coming back. Use it when the report deserves more than a quick patch; for a one-line fix, just fix it.","compatibility":"Any repository the agent can read and change, with git, plus the report in any form. Reproduction needs what the claim is about — a runnable checkout, or a datastore or logs for production; lacking that, the skill says so rather than use weaker evidence. Companion skills search, map, land, describe and review; without them the gates hold and each says what degraded. Subagents and model choice are optional. Output is the resolution and its artifacts, or a documented refutation with no change.","allowedTools":"Read Write Edit Grep Glob Bash","license":"MIT","kind":"general","useWhen":"a bug report or feature request arrives and deserves more than a quick patch","group":"workflow","lifecycle":"release","version":"1.1.0","author":"crissmoldovan","install":["npx skills add crissmoldovan/agent-skills --skill resolve-problem-report"],"asks":["Here is the report as it came in. Turn it into one sentence that could be false and keep the\ncause they suggested separate from what they observed. When you reach options, include doing\nnothing and check what the ticket already asks for before inventing a new approach.","They say the nightly total double-counts and they quote nine figures. Reproduce all nine before\nyou go near the code — and if only some come out right, the ones that did not are the answer.\nFalsify the mechanism they proposed as its own claim while you are there.","Run this one unattended overnight and document the run (--document). Stop at anything you cannot\ntake back, and file any number that disagrees as its own report rather than holding this open."],"commands":[],"documents":[{"path":"references/assessing-a-report.md","slug":"assessing-a-report","title":"Assessing a report: three questions, its real date, and when a fix is verified","body":"# Assessing a report: three questions, its real date, and when a fix is verified\n\nTwo judgements about a report go wrong when nobody makes them on purpose. At intake, how bad it\nis, how soon it is wanted and how much work it is get answered as one vague sense of urgency, and\neach borrows from the others. At the end, a fix that was released gets called fixed when nobody\nhas looked at it where the reader meets it. This file covers both for `resolve-problem-report`:\nseverity, priority and effort, answered as three separate questions at G0; the date the report\nwas really made; and the steps a fix takes from landed to released to verified.\n\nIt assesses one report. It keeps no register of every report, with their ids, states and the\nlinks between them. A project that keeps one binds where each judgement is recorded (B6), and the\nregister stays the project's.\n\nA project can adapt this file on its own, as the agent-skills\n[project-adaptation guide](https://github.com/crissmoldovan/agent-skills/blob/main/docs/project-adaptation.md)\ndescribes for a reference file. The skill's `SKILL.md` declares no ids, so these are the skill's\nfirst, and a file that declares more continues from them. Where this file sends the reader to the\nrest of the arc, it names the skill (B1) rather than linking to it.\n\n## Bindings\n\n| id | slot | kind | default |\n|---|---|---|---|\n| B1 | where the rest of the arc runs: the claim card, the reproduction, the candidates, the contract, the landing and the resolution note | skill | `resolve-problem-report` |\n| B2 | who rules priority when the report competes with other work | value | the report's owner, asked once; until they rule, the agent's answer is recorded as proposed |\n| B3 | the severity scale: its levels, each defined by the harm a reader takes on this product | value | the four levels under \"Severity\", plus n/a |\n| B4 | the priority scale | value | the four levels under \"Priority\" |\n| B5 | the effort scale, and the work that effort counts beside the edit | value | the five sizes and the list under \"Effort\" |\n| B6 | where each judgement is recorded, with who made it, when and why | value | the claim card, and the run record when one is written |\n| B7 | the sources a report's date is taken from, best first | value | a date the report itself states; then the message or record the reporter sent it in |\n| B8 | where the reader meets the fix: the environment, the surface and the state a reader sees it in | value | the environment the reporter uses, and the surface on the claim card's `reported` field |\n| B9 | who looks where the agent cannot reach, such as a view only a signed-in reader sees | value | ask once |\n\n## Hard lines\n\n- **H1. Severity, priority and effort are three questions, and no answer sets another.** A\n  one-line fix can be critical. A major defect that waits on someone else's ruling can still be\n  backlog for whoever does the work. A defect being someone else's to fix makes it no less severe.\n- **H2. A released fix is not a verified one.** It is verified only where the reader meets it\n  (B8), by evidence that reached that place. Until then it is recorded and reported as released,\n  never as fixed, and it is not closed as fixed, even when someone says to close it.\n- **H3. Nothing is dated or judged from memory.** A date names the source it came from (B7). A\n  judgement recorded after it was made names the source that records it. Where no source records\n  one, the record says unknown or unassessed, and nothing is reconstructed to fill the gap.\n\n## The three questions\n\n| | the question | whose answer it is |\n|---|---|---|\n| **severity** | How much harm does a reader take if this is never fixed? | whoever holds the evidence. It is a finding, so it can be checked, and the agent answers it from the evidence like any other finding |\n| **priority** | When should it be done, given who is waiting and what has been promised? | the person bound as B2, where it competes with other work. The agent proposes it and records it as proposed |\n| **effort** | How much work is it to reach the next state, verification included? | whoever will do the work, with how sure they are |\n\nNone of the three stands in for a measure the arc already takes:\n\n- **Severity is not the band's cost of being wrong.** Severity is the harm of the defect if it\n  stays; cost of being wrong is the harm of a wrong resolution. A minor defect whose resolution\n  closes the report still scores cost of being wrong 2.\n- **Effort is not a candidate's size.** At G0, effort is a first estimate of the work to the next\n  state. At G2 each candidate carries its own size, and once one is chosen, effort is assessed\n  again from it, verification included.\n- **Priority is not who chooses the fix.** Priority says when. Who chooses at G2 is decided by\n  [the confirmation policy](confirmation-policy.md).\n\n## Severity: the harm, if it stays\n\n| level | means |\n|---|---|\n| **critical** | The product stops working for its readers; data is destroyed or silently thinned; one reader's data is visible to another |\n| **major** | A factual error a reader acts on and cannot tell is wrong: a figure, a claim, a document already sent |\n| **medium** | Wrong, stale or confusing, but the right answer is within the reader's reach, or the harm stays on one surface. Also counts that are each correct and do not reconcile |\n| **minor** | Wording, layout, cosmetic. Nothing false |\n| **n/a** | Not a defect. Only when the claim card's `kind` is `feature` or `question` |\n\nJudge against the **worst credible reader**: the one who takes the figure at face value, not a\nreviewer who knows the history. Where the fault reaches everything that quotes it (an export, an\nassistant's answers, a document already sent), its reach is all of them, so judge it at least as\nhigh as the surface it started on.\n\n## Priority: when\n\n| level | means |\n|---|---|\n| **now** | Drop other work. The person bound as B2 has called it urgent |\n| **this release** | Someone outside has been told a fix is coming, or a release is waiting on it |\n| **next release** | Wanted, and it can slip one release without anyone noticing |\n| **backlog** | Nobody is waiting |\n\nA check against the table, adapted from the Chromium project's\n[triage best practices](https://www.chromium.org/for-testers/bug-reporting-guidelines/triage-best-practices/):\nwould someone notice, in a bad way, if this were still there in the release? A yes on a report\nlevelled next release or backlog means finding out who would notice and what they were told. The\nlevel follows from that answer, not from the harm (H1).\n\nHarm that is continuing for readers is evidence for severity, not a priority. It is a reason to put\nthe report to the person bound as B2 at once, with its evidence, rather than at the next review,\nand only their call makes it `now`. Until they rule, the agent proposes a level from who is waiting\nand what was promised, and records it as proposed (S1). An unattended run, which asks nobody, puts\nthe continuing harm first in what it leaves for them.\n\n## Effort: the work to the next state\n\n| size | roughly |\n|---|---|\n| **XS** | under an hour |\n| **S** | half a day |\n| **M** | a day |\n| **L** | several days |\n| **XL** | split it, or it needs someone else's answer first; the size is then for after the answer |\n\nEffort counts the work, not the edit: the blast area, the rebuild and any check of what was\nbuilt, the tests and gates, the release note, and the verification where the reader meets it. In\none project a release took minutes to go from the pre-production environment to production; the\nhours had been spent before it.\n\n## Procedure\n\n1. **S1. Answer the three questions at G0, before G1's deep work.** Record them beside the claim\n   card's `kind` ([the gate contracts](gate-contracts.md)), and where B6 says. Each answer carries\n   its level, whose answer it is and whether that person has given it, its evidence, and the words\n   \"first estimate\". A priority the person bound as B2 has not ruled on is recorded as proposed;\n   an unattended run asks nobody, so its priority is always proposed.\n2. **S2. Date the report from its source.** The date is when the reporter reported it, taken from\n   the first source B7 lists that states one, and the record names that source. A file's date, the\n   first commit that holds the report, or the day a record was copied into a tracker, is when\n   someone wrote it down: a recording date, never the report's. With no source that states when it\n   was reported, the date is unknown (H3). The claim card's `reported` field carries the date and\n   its source.\n3. **S3. Assess again whenever the evidence moves, and keep the old answer beside the new one.**\n   The evidence moves when G1 reproduces a number or refutes a premise, the reporter answers, a\n   candidate is chosen at G2, a release changes what the reader sees, the report turns out to be\n   someone else's call, or a linked report closes. The new answer names what moved it: a file and\n   line, a commit, a count or a message. \"Re-assessed\" names nothing. In one register, one\n   judgement moved from \"possible release blocker\" to \"not a defect\" and another from \"cosmetic\"\n   to \"a factual error a reader sees\", and the record was worth keeping for what changed each.\n4. **S4. Before recording a release, check that the fix is in it.** The fix commit is the one that\n   landed on the line the release was cut from (the merge or squash commit, not the branch's own),\n   and the released commit is the one the release records as built or served, not a branch tip.\n   `git merge-base --is-ancestor <fix commit> <released commit>` must succeed. A fix carried across\n   by a cherry-pick or a backport is a different commit, so check the change itself there, by its\n   patch id (`git patch-id`, or `git cherry`), not the ancestry. A fix merged in time can still\n   miss the release that was cut.\n5. **S5. Once the fix is released, verify where the reader meets it (B8), and say what each check\n   reached.**\n   - A test suite run on a pre-production environment reaches that environment.\n   - A check that the tree released is the tree tested carries the code across, not the data,\n     the configuration or the accounts that differ between the two.\n   - Checks run on production without signing in reach what a signed-out visitor sees.\n   - A person looking (B9) reaches each surface on the chosen candidate's blast area that only\n     they can reach. The record says who looked, when, and what they saw. Asking the reporter to\n     look is a message to them, an act confirmed at the moment of the act\n     ([the confirmation policy](confirmation-policy.md)).\n\n   A surface no check reached is not verified. Write exactly where the fix was checked, for\n   example \"verified on the pre-production environment, not on production\".\n6. **S6. Close a fix as fixed only once it is verified.** A fix moves through three states. It is\n   landed once it is on the line a release is cut from, released once S4 passes, and verified once\n   S5's checks reach where the reader meets it. Where the reader meets a fix as soon as it lands\n   (B8), as with a tool run from its main line, landing is its release. G5 can describe and review\n   a landed fix, but its close waits for verification, and until then the fix is recorded and\n   reported in the state it has reached, with where it was checked. Told to close it before then,\n   answer with what release and verification still need, and leave it in that state (H2). A\n   closing reason other than fixed, such as a ruling, a duplicate or won't-fix, is for a report\n   with no fix in it, never a way to take an unchecked fix off a list. The resolution note and any\n   message to the reporter say landed or released until then, not fixed.\n\n## Mistakes seen, and what to do instead\n\n| mistake | instead |\n|---|---|\n| Letting effort set severity: \"a quick fix, so minor\" | Judge the harm as if the fix were impossible (H1) |\n| Lowering severity because the fix is someone else's | Ownership decides who fixes it. The harm stays the same |\n| Setting priority from severity alone | Ask who is waiting and what was promised |\n| An answer with no evidence | Name the file and line, the count or the message (S3) |\n| The report dated from the file that holds it. In one register a seeding pass gave every record the day it was copied in, so a report raised nine days earlier read as raised that day, and another read as assessed before it was reported | Date it from its source, and name the source (S2) |\n| Judgements backfilled from memory | Record only what a source records (H3). One register's first pass left 33 of 34 severities unassessed, because nothing had ever recorded them, and that was the right answer |\n| A fix recorded against a release that did not carry it. It went out in the next one | Check the ancestry before recording the release (S4) |\n| \"Verified\" taken from a suite that could run only on the pre-production environment, in a project whose production had no signed-in test path at all | Name what each check reached, and ask a person to look at the rest (S5) |\n| A released fix closed as fixed because someone said to close it | Say what verification still needs, and leave it released (S6) |\n","bodyHtml":"<h2 id=\"assessing-a-report-three-questions-its-real-date-and-when-a-fix-is-verified\">Assessing a report: three questions, its real date, and when a fix is verified</h2>\n<p>Two judgements about a report go wrong when nobody makes them on purpose. At intake, how bad it\nis, how soon it is wanted and how much work it is get answered as one vague sense of urgency, and\neach borrows from the others. At the end, a fix that was released gets called fixed when nobody\nhas looked at it where the reader meets it. This file covers both for <code>resolve-problem-report</code>:\nseverity, priority and effort, answered as three separate questions at G0; the date the report\nwas really made; and the steps a fix takes from landed to released to verified.</p>\n<p>It assesses one report. It keeps no register of every report, with their ids, states and the\nlinks between them. A project that keeps one binds where each judgement is recorded (B6), and the\nregister stays the project&#39;s.</p>\n<p>A project can adapt this file on its own, as the agent-skills\n<a href=\"https://github.com/crissmoldovan/agent-skills/blob/main/docs/project-adaptation.md\" target=\"_blank\" rel=\"noreferrer\">project-adaptation guide</a>\ndescribes for a reference file. The skill&#39;s <code>SKILL.md</code> declares no ids, so these are the skill&#39;s\nfirst, and a file that declares more continues from them. Where this file sends the reader to the\nrest of the arc, it names the skill (B1) rather than linking to it.</p>\n<h3 id=\"bindings\">Bindings</h3>\n<table>\n<thead>\n<tr>\n<th>id</th>\n<th>slot</th>\n<th>kind</th>\n<th>default</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>B1</td>\n<td>where the rest of the arc runs: the claim card, the reproduction, the candidates, the contract, the landing and the resolution note</td>\n<td>skill</td>\n<td><code>resolve-problem-report</code></td>\n</tr>\n<tr>\n<td>B2</td>\n<td>who rules priority when the report competes with other work</td>\n<td>value</td>\n<td>the report&#39;s owner, asked once; until they rule, the agent&#39;s answer is recorded as proposed</td>\n</tr>\n<tr>\n<td>B3</td>\n<td>the severity scale: its levels, each defined by the harm a reader takes on this product</td>\n<td>value</td>\n<td>the four levels under &quot;Severity&quot;, plus n/a</td>\n</tr>\n<tr>\n<td>B4</td>\n<td>the priority scale</td>\n<td>value</td>\n<td>the four levels under &quot;Priority&quot;</td>\n</tr>\n<tr>\n<td>B5</td>\n<td>the effort scale, and the work that effort counts beside the edit</td>\n<td>value</td>\n<td>the five sizes and the list under &quot;Effort&quot;</td>\n</tr>\n<tr>\n<td>B6</td>\n<td>where each judgement is recorded, with who made it, when and why</td>\n<td>value</td>\n<td>the claim card, and the run record when one is written</td>\n</tr>\n<tr>\n<td>B7</td>\n<td>the sources a report&#39;s date is taken from, best first</td>\n<td>value</td>\n<td>a date the report itself states; then the message or record the reporter sent it in</td>\n</tr>\n<tr>\n<td>B8</td>\n<td>where the reader meets the fix: the environment, the surface and the state a reader sees it in</td>\n<td>value</td>\n<td>the environment the reporter uses, and the surface on the claim card&#39;s <code>reported</code> field</td>\n</tr>\n<tr>\n<td>B9</td>\n<td>who looks where the agent cannot reach, such as a view only a signed-in reader sees</td>\n<td>value</td>\n<td>ask once</td>\n</tr>\n</tbody></table>\n<h3 id=\"hard-lines\">Hard lines</h3>\n<ul>\n<li><strong>H1. Severity, priority and effort are three questions, and no answer sets another.</strong> A\none-line fix can be critical. A major defect that waits on someone else&#39;s ruling can still be\nbacklog for whoever does the work. A defect being someone else&#39;s to fix makes it no less severe.</li>\n<li><strong>H2. A released fix is not a verified one.</strong> It is verified only where the reader meets it\n(B8), by evidence that reached that place. Until then it is recorded and reported as released,\nnever as fixed, and it is not closed as fixed, even when someone says to close it.</li>\n<li><strong>H3. Nothing is dated or judged from memory.</strong> A date names the source it came from (B7). A\njudgement recorded after it was made names the source that records it. Where no source records\none, the record says unknown or unassessed, and nothing is reconstructed to fill the gap.</li>\n</ul>\n<h3 id=\"the-three-questions\">The three questions</h3>\n<table>\n<thead>\n<tr>\n<th></th>\n<th>the question</th>\n<th>whose answer it is</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><strong>severity</strong></td>\n<td>How much harm does a reader take if this is never fixed?</td>\n<td>whoever holds the evidence. It is a finding, so it can be checked, and the agent answers it from the evidence like any other finding</td>\n</tr>\n<tr>\n<td><strong>priority</strong></td>\n<td>When should it be done, given who is waiting and what has been promised?</td>\n<td>the person bound as B2, where it competes with other work. The agent proposes it and records it as proposed</td>\n</tr>\n<tr>\n<td><strong>effort</strong></td>\n<td>How much work is it to reach the next state, verification included?</td>\n<td>whoever will do the work, with how sure they are</td>\n</tr>\n</tbody></table>\n<p>None of the three stands in for a measure the arc already takes:</p>\n<ul>\n<li><strong>Severity is not the band&#39;s cost of being wrong.</strong> Severity is the harm of the defect if it\nstays; cost of being wrong is the harm of a wrong resolution. A minor defect whose resolution\ncloses the report still scores cost of being wrong 2.</li>\n<li><strong>Effort is not a candidate&#39;s size.</strong> At G0, effort is a first estimate of the work to the next\nstate. At G2 each candidate carries its own size, and once one is chosen, effort is assessed\nagain from it, verification included.</li>\n<li><strong>Priority is not who chooses the fix.</strong> Priority says when. Who chooses at G2 is decided by\n<a href=\"confirmation-policy.md\">the confirmation policy</a>.</li>\n</ul>\n<h3 id=\"severity-the-harm-if-it-stays\">Severity: the harm, if it stays</h3>\n<table>\n<thead>\n<tr>\n<th>level</th>\n<th>means</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><strong>critical</strong></td>\n<td>The product stops working for its readers; data is destroyed or silently thinned; one reader&#39;s data is visible to another</td>\n</tr>\n<tr>\n<td><strong>major</strong></td>\n<td>A factual error a reader acts on and cannot tell is wrong: a figure, a claim, a document already sent</td>\n</tr>\n<tr>\n<td><strong>medium</strong></td>\n<td>Wrong, stale or confusing, but the right answer is within the reader&#39;s reach, or the harm stays on one surface. Also counts that are each correct and do not reconcile</td>\n</tr>\n<tr>\n<td><strong>minor</strong></td>\n<td>Wording, layout, cosmetic. Nothing false</td>\n</tr>\n<tr>\n<td><strong>n/a</strong></td>\n<td>Not a defect. Only when the claim card&#39;s <code>kind</code> is <code>feature</code> or <code>question</code></td>\n</tr>\n</tbody></table>\n<p>Judge against the <strong>worst credible reader</strong>: the one who takes the figure at face value, not a\nreviewer who knows the history. Where the fault reaches everything that quotes it (an export, an\nassistant&#39;s answers, a document already sent), its reach is all of them, so judge it at least as\nhigh as the surface it started on.</p>\n<h3 id=\"priority-when\">Priority: when</h3>\n<table>\n<thead>\n<tr>\n<th>level</th>\n<th>means</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><strong>now</strong></td>\n<td>Drop other work. The person bound as B2 has called it urgent</td>\n</tr>\n<tr>\n<td><strong>this release</strong></td>\n<td>Someone outside has been told a fix is coming, or a release is waiting on it</td>\n</tr>\n<tr>\n<td><strong>next release</strong></td>\n<td>Wanted, and it can slip one release without anyone noticing</td>\n</tr>\n<tr>\n<td><strong>backlog</strong></td>\n<td>Nobody is waiting</td>\n</tr>\n</tbody></table>\n<p>A check against the table, adapted from the Chromium project&#39;s\n<a href=\"https://www.chromium.org/for-testers/bug-reporting-guidelines/triage-best-practices/\" target=\"_blank\" rel=\"noreferrer\">triage best practices</a>:\nwould someone notice, in a bad way, if this were still there in the release? A yes on a report\nlevelled next release or backlog means finding out who would notice and what they were told. The\nlevel follows from that answer, not from the harm (H1).</p>\n<p>Harm that is continuing for readers is evidence for severity, not a priority. It is a reason to put\nthe report to the person bound as B2 at once, with its evidence, rather than at the next review,\nand only their call makes it <code>now</code>. Until they rule, the agent proposes a level from who is waiting\nand what was promised, and records it as proposed (S1). An unattended run, which asks nobody, puts\nthe continuing harm first in what it leaves for them.</p>\n<h3 id=\"effort-the-work-to-the-next-state\">Effort: the work to the next state</h3>\n<table>\n<thead>\n<tr>\n<th>size</th>\n<th>roughly</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><strong>XS</strong></td>\n<td>under an hour</td>\n</tr>\n<tr>\n<td><strong>S</strong></td>\n<td>half a day</td>\n</tr>\n<tr>\n<td><strong>M</strong></td>\n<td>a day</td>\n</tr>\n<tr>\n<td><strong>L</strong></td>\n<td>several days</td>\n</tr>\n<tr>\n<td><strong>XL</strong></td>\n<td>split it, or it needs someone else&#39;s answer first; the size is then for after the answer</td>\n</tr>\n</tbody></table>\n<p>Effort counts the work, not the edit: the blast area, the rebuild and any check of what was\nbuilt, the tests and gates, the release note, and the verification where the reader meets it. In\none project a release took minutes to go from the pre-production environment to production; the\nhours had been spent before it.</p>\n<h3 id=\"procedure\">Procedure</h3>\n<ol>\n<li><p><strong>S1. Answer the three questions at G0, before G1&#39;s deep work.</strong> Record them beside the claim\ncard&#39;s <code>kind</code> (<a href=\"gate-contracts.md\">the gate contracts</a>), and where B6 says. Each answer carries\nits level, whose answer it is and whether that person has given it, its evidence, and the words\n&quot;first estimate&quot;. A priority the person bound as B2 has not ruled on is recorded as proposed;\nan unattended run asks nobody, so its priority is always proposed.</p>\n</li>\n<li><p><strong>S2. Date the report from its source.</strong> The date is when the reporter reported it, taken from\nthe first source B7 lists that states one, and the record names that source. A file&#39;s date, the\nfirst commit that holds the report, or the day a record was copied into a tracker, is when\nsomeone wrote it down: a recording date, never the report&#39;s. With no source that states when it\nwas reported, the date is unknown (H3). The claim card&#39;s <code>reported</code> field carries the date and\nits source.</p>\n</li>\n<li><p><strong>S3. Assess again whenever the evidence moves, and keep the old answer beside the new one.</strong>\nThe evidence moves when G1 reproduces a number or refutes a premise, the reporter answers, a\ncandidate is chosen at G2, a release changes what the reader sees, the report turns out to be\nsomeone else&#39;s call, or a linked report closes. The new answer names what moved it: a file and\nline, a commit, a count or a message. &quot;Re-assessed&quot; names nothing. In one register, one\njudgement moved from &quot;possible release blocker&quot; to &quot;not a defect&quot; and another from &quot;cosmetic&quot;\nto &quot;a factual error a reader sees&quot;, and the record was worth keeping for what changed each.</p>\n</li>\n<li><p><strong>S4. Before recording a release, check that the fix is in it.</strong> The fix commit is the one that\nlanded on the line the release was cut from (the merge or squash commit, not the branch&#39;s own),\nand the released commit is the one the release records as built or served, not a branch tip.\n<code>git merge-base --is-ancestor &lt;fix commit&gt; &lt;released commit&gt;</code> must succeed. A fix carried across\nby a cherry-pick or a backport is a different commit, so check the change itself there, by its\npatch id (<code>git patch-id</code>, or <code>git cherry</code>), not the ancestry. A fix merged in time can still\nmiss the release that was cut.</p>\n</li>\n<li><p><strong>S5. Once the fix is released, verify where the reader meets it (B8), and say what each check\nreached.</strong></p>\n<ul>\n<li>A test suite run on a pre-production environment reaches that environment.</li>\n<li>A check that the tree released is the tree tested carries the code across, not the data,\nthe configuration or the accounts that differ between the two.</li>\n<li>Checks run on production without signing in reach what a signed-out visitor sees.</li>\n<li>A person looking (B9) reaches each surface on the chosen candidate&#39;s blast area that only\nthey can reach. The record says who looked, when, and what they saw. Asking the reporter to\nlook is a message to them, an act confirmed at the moment of the act\n(<a href=\"confirmation-policy.md\">the confirmation policy</a>).</li>\n</ul>\n<p>A surface no check reached is not verified. Write exactly where the fix was checked, for\nexample &quot;verified on the pre-production environment, not on production&quot;.</p>\n</li>\n<li><p><strong>S6. Close a fix as fixed only once it is verified.</strong> A fix moves through three states. It is\nlanded once it is on the line a release is cut from, released once S4 passes, and verified once\nS5&#39;s checks reach where the reader meets it. Where the reader meets a fix as soon as it lands\n(B8), as with a tool run from its main line, landing is its release. G5 can describe and review\na landed fix, but its close waits for verification, and until then the fix is recorded and\nreported in the state it has reached, with where it was checked. Told to close it before then,\nanswer with what release and verification still need, and leave it in that state (H2). A\nclosing reason other than fixed, such as a ruling, a duplicate or won&#39;t-fix, is for a report\nwith no fix in it, never a way to take an unchecked fix off a list. The resolution note and any\nmessage to the reporter say landed or released until then, not fixed.</p>\n</li>\n</ol>\n<h3 id=\"mistakes-seen-and-what-to-do-instead\">Mistakes seen, and what to do instead</h3>\n<table>\n<thead>\n<tr>\n<th>mistake</th>\n<th>instead</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>Letting effort set severity: &quot;a quick fix, so minor&quot;</td>\n<td>Judge the harm as if the fix were impossible (H1)</td>\n</tr>\n<tr>\n<td>Lowering severity because the fix is someone else&#39;s</td>\n<td>Ownership decides who fixes it. The harm stays the same</td>\n</tr>\n<tr>\n<td>Setting priority from severity alone</td>\n<td>Ask who is waiting and what was promised</td>\n</tr>\n<tr>\n<td>An answer with no evidence</td>\n<td>Name the file and line, the count or the message (S3)</td>\n</tr>\n<tr>\n<td>The report dated from the file that holds it. In one register a seeding pass gave every record the day it was copied in, so a report raised nine days earlier read as raised that day, and another read as assessed before it was reported</td>\n<td>Date it from its source, and name the source (S2)</td>\n</tr>\n<tr>\n<td>Judgements backfilled from memory</td>\n<td>Record only what a source records (H3). One register&#39;s first pass left 33 of 34 severities unassessed, because nothing had ever recorded them, and that was the right answer</td>\n</tr>\n<tr>\n<td>A fix recorded against a release that did not carry it. It went out in the next one</td>\n<td>Check the ancestry before recording the release (S4)</td>\n</tr>\n<tr>\n<td>&quot;Verified&quot; taken from a suite that could run only on the pre-production environment, in a project whose production had no signed-in test path at all</td>\n<td>Name what each check reached, and ask a person to look at the rest (S5)</td>\n</tr>\n<tr>\n<td>A released fix closed as fixed because someone said to close it</td>\n<td>Say what verification still needs, and leave it released (S6)</td>\n</tr>\n</tbody></table>\n","words":2400},{"path":"references/build-contract.md","slug":"build-contract","title":"The build contract","body":"# The build contract\n\nA spec that describes an approach is read as advice. A contract states requirements that can be\nchecked one at a time, by someone who was not in the investigation, against a diff they did not\nwrite. That is the difference this artifact exists to make.\n\n## The template\n\n```text\nBUILD CONTRACT  <report handle>  base <sha>  band <light|normal|deep>  candidate <chosen>\n\nCLAIM       <the G0 claim, one sentence — what this build is supposed to make false>\nEVIDENCE    <the G1 finding this rests on, at its class, with path:line at a sha>\n\nR1  <one checkable requirement, in one sentence>\n    FILES     <the paths this requirement owns — disjoint from every other requirement>\n    PROVES    <the test that proves it: path + test name>\n    MUTATION  <the edit to the implementation that must make that test fail>\n    OUT       <what this requirement explicitly does not do>\n\nR2  <…>\n\nMUTATIONS   Every test named above is watched failing under its own mutation before the\n            implementation lands. A test that has never been observed failing is a claim.\nNOT IN SCOPE  <the candidates that lost, and what each would have fixed>\nSTANDING INSTRUCTION  Report brief errors instead of implementing them. If a requirement\n            contradicts the code, another requirement, or itself, stop and return the\n            contradiction with its evidence. Do not implement around it, and do not pick\n            the reading that is easiest to build.\n```\n\n## Field semantics\n\n- **CLAIM and EVIDENCE** travel with the contract so the builder can tell when a requirement has\n  drifted from the report. A requirement that no longer serves the claim is a brief error, and\n  the builder can only see that if the claim is in front of them.\n- **R-lines are checkable sentences.** \"Handle the empty case\" is not one. \"When the filter\n  matches no rows, the endpoint returns an empty list and status 200, not 500\" is.\n- **FILES is ownership, not a guess.** It is what makes requirements independently revertible\n  and what lets a reviewer attribute a defect to one requirement. It also feeds the landing\n  skill's touch-set budget, which is derived from the blast map and this list together.\n- **PROVES names one test.** If a requirement needs three assertions, that is one test with\n  three assertions or three requirements — decide which, and write it down.\n- **MUTATION is the edit that must break that test.** Not \"change something\"; the specific edit.\n  See the forms below.\n- **OUT is per requirement** and is different from NOT IN SCOPE, which is per contract. OUT stops\n  a requirement from quietly growing; NOT IN SCOPE records the candidates that lost.\n\n## Disjoint file sets\n\nTwo requirements owning the same file means: no independent revert, no attribution in review,\nand a regression in one rolling back both. Three ways out, in preference order:\n\n1. **Split the file's responsibilities** so each requirement owns a part — usually the right\n   answer, and usually already wanted.\n2. **Merge the requirements** into one, with one test and one mutation. Two requirements that\n   cannot be separated in the code were one requirement.\n3. **Declare and sequence.** Where the overlap is real and unavoidable — a registry file, a\n   shared schema — say so explicitly: \"R2 and R4 both touch the registry; R2 lands first, R4\n   rebases on it.\" A declared overlap is fine. An undeclared one is discovered at revert time.\n\n## Mutation forms, per requirement kind\n\nThe mutation is the cheapest evidence in the pipeline: about a minute, and it converts \"there is\na test\" into \"there is a test that can fail\". Pick the form that matches what the requirement\nchanges.\n\n| Requirement kind | The mutation that must kill the test |\n|---|---|\n| new behaviour | delete the new branch, or return the pre-change value |\n| bug fix | restore the defect: put back the off-by-one, the missing await, the wrong operand |\n| validation or refusal | remove the check and pass the input that should be refused |\n| data shape | rename or drop the field the requirement adds, and run the same test |\n| a guard, lint rule or CI check | introduce the exact violation it is supposed to catch, in a scratch copy |\n| removal or deprecation | re-introduce the removed path and assert the test notices |\n| ordering or idempotency | run the steps in the wrong order, or run twice |\n| performance | remove the optimisation and check the assertion's threshold actually trips |\n\nTwo measured reasons this line is not ceremony. In one repository four separate CI guards were\nadded that had never been capable of failing — each passed from the day it landed and each was\nreported as coverage. In another, a swallow-by-design path made its own test decorative: the\ntest asserted that nothing threw, which the surrounding code guaranteed, so it proved the\nfunction existed and nothing else. Both would have been caught by one deliberate break.\n\nWatch the failure **for the right reason**, too: a test that fails because the file does not\nexist yet, or because of a typo in the test name, has not been armed.\n\n## The standing instruction\n\n**Report brief errors instead of implementing them.** It sits in the contract because that is\nthe text the builder actually reads — a rule stated only in the conversation that produced the\ncontract does not travel with it.\n\nWhat counts as a brief error:\n\n- a requirement that contradicts the code as it stands (the function it names does not exist,\n  the field it renames was already renamed);\n- two requirements that cannot both hold;\n- a requirement whose proving test cannot be written as stated;\n- a requirement that no longer serves the CLAIM;\n- a FILES list that does not contain the code the requirement is about.\n\nWhat the builder returns instead of a diff: the requirement number, the contradiction, the\nevidence for it, and — where there is one — the reading that would work. Not a best guess\nimplemented and flagged in the summary: by then the diff exists, review is anchored on it, and\nthe cheapest moment to fix the brief has gone.\n\n## A worked contract\n\n```text\nBUILD CONTRACT  export-zero-rows  base 4f1c9ab  band deep    candidate C3 (scope the filter at\n                                  the query, matching the precedent in the reporting module)\n\nCLAIM       The export endpoint returns rows for one account and zero rows for another, for the\n            same filter.\nEVIDENCE    The filter is applied after the account scope is dropped by the shared query\n            builder — services/reporting/query.ts:88, at 4f1c9ab. Measured: 6 of 9 reported\n            counts reproduced; the 3 that diverged are all accounts created after the scope\n            change.\n\nR1  The query builder keeps the account scope when a filter is supplied.\n    FILES     services/reporting/query.ts\n    PROVES    test/reporting/query.test.ts :: \"keeps account scope under a filter\"\n    MUTATION  drop the scope clause from the filtered branch; the test must fail\n    OUT       does not change how the scope is chosen, only that it survives the filter\n\nR2  The export endpoint returns an empty list and 200 when the scoped query matches nothing.\n    FILES     services/export/handler.ts\n    PROVES    test/export/handler.test.ts :: \"empty result is 200 with an empty list\"\n    MUTATION  return 500 on the empty branch; the test must fail\n    OUT       does not change the non-empty response shape\n\nMUTATIONS   Both mutations run and both tests watched failing before implementation.\nNOT IN SCOPE  C1 (patch the endpoint only) would fix the export and leave every other reader of\n            the shared builder wrong. C2 (do nothing) rejected: 3 accounts affected today and\n            the number grows with account creation.\nSTANDING INSTRUCTION  Report brief errors instead of implementing them. …\n```\n","bodyHtml":"<h2 id=\"the-build-contract\">The build contract</h2>\n<p>A spec that describes an approach is read as advice. A contract states requirements that can be\nchecked one at a time, by someone who was not in the investigation, against a diff they did not\nwrite. That is the difference this artifact exists to make.</p>\n<h3 id=\"the-template\">The template</h3>\n<pre><code class=\"language-text\">BUILD CONTRACT  &lt;report handle&gt;  base &lt;sha&gt;  band &lt;light|normal|deep&gt;  candidate &lt;chosen&gt;\n\nCLAIM       &lt;the G0 claim, one sentence — what this build is supposed to make false&gt;\nEVIDENCE    &lt;the G1 finding this rests on, at its class, with path:line at a sha&gt;\n\nR1  &lt;one checkable requirement, in one sentence&gt;\n    FILES     &lt;the paths this requirement owns — disjoint from every other requirement&gt;\n    PROVES    &lt;the test that proves it: path + test name&gt;\n    MUTATION  &lt;the edit to the implementation that must make that test fail&gt;\n    OUT       &lt;what this requirement explicitly does not do&gt;\n\nR2  &lt;…&gt;\n\nMUTATIONS   Every test named above is watched failing under its own mutation before the\n            implementation lands. A test that has never been observed failing is a claim.\nNOT IN SCOPE  &lt;the candidates that lost, and what each would have fixed&gt;\nSTANDING INSTRUCTION  Report brief errors instead of implementing them. If a requirement\n            contradicts the code, another requirement, or itself, stop and return the\n            contradiction with its evidence. Do not implement around it, and do not pick\n            the reading that is easiest to build.\n</code></pre>\n<h3 id=\"field-semantics\">Field semantics</h3>\n<ul>\n<li><strong>CLAIM and EVIDENCE</strong> travel with the contract so the builder can tell when a requirement has\ndrifted from the report. A requirement that no longer serves the claim is a brief error, and\nthe builder can only see that if the claim is in front of them.</li>\n<li><strong>R-lines are checkable sentences.</strong> &quot;Handle the empty case&quot; is not one. &quot;When the filter\nmatches no rows, the endpoint returns an empty list and status 200, not 500&quot; is.</li>\n<li><strong>FILES is ownership, not a guess.</strong> It is what makes requirements independently revertible\nand what lets a reviewer attribute a defect to one requirement. It also feeds the landing\nskill&#39;s touch-set budget, which is derived from the blast map and this list together.</li>\n<li><strong>PROVES names one test.</strong> If a requirement needs three assertions, that is one test with\nthree assertions or three requirements — decide which, and write it down.</li>\n<li><strong>MUTATION is the edit that must break that test.</strong> Not &quot;change something&quot;; the specific edit.\nSee the forms below.</li>\n<li><strong>OUT is per requirement</strong> and is different from NOT IN SCOPE, which is per contract. OUT stops\na requirement from quietly growing; NOT IN SCOPE records the candidates that lost.</li>\n</ul>\n<h3 id=\"disjoint-file-sets\">Disjoint file sets</h3>\n<p>Two requirements owning the same file means: no independent revert, no attribution in review,\nand a regression in one rolling back both. Three ways out, in preference order:</p>\n<ol>\n<li><strong>Split the file&#39;s responsibilities</strong> so each requirement owns a part — usually the right\nanswer, and usually already wanted.</li>\n<li><strong>Merge the requirements</strong> into one, with one test and one mutation. Two requirements that\ncannot be separated in the code were one requirement.</li>\n<li><strong>Declare and sequence.</strong> Where the overlap is real and unavoidable — a registry file, a\nshared schema — say so explicitly: &quot;R2 and R4 both touch the registry; R2 lands first, R4\nrebases on it.&quot; A declared overlap is fine. An undeclared one is discovered at revert time.</li>\n</ol>\n<h3 id=\"mutation-forms-per-requirement-kind\">Mutation forms, per requirement kind</h3>\n<p>The mutation is the cheapest evidence in the pipeline: about a minute, and it converts &quot;there is\na test&quot; into &quot;there is a test that can fail&quot;. Pick the form that matches what the requirement\nchanges.</p>\n<table>\n<thead>\n<tr>\n<th>Requirement kind</th>\n<th>The mutation that must kill the test</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>new behaviour</td>\n<td>delete the new branch, or return the pre-change value</td>\n</tr>\n<tr>\n<td>bug fix</td>\n<td>restore the defect: put back the off-by-one, the missing await, the wrong operand</td>\n</tr>\n<tr>\n<td>validation or refusal</td>\n<td>remove the check and pass the input that should be refused</td>\n</tr>\n<tr>\n<td>data shape</td>\n<td>rename or drop the field the requirement adds, and run the same test</td>\n</tr>\n<tr>\n<td>a guard, lint rule or CI check</td>\n<td>introduce the exact violation it is supposed to catch, in a scratch copy</td>\n</tr>\n<tr>\n<td>removal or deprecation</td>\n<td>re-introduce the removed path and assert the test notices</td>\n</tr>\n<tr>\n<td>ordering or idempotency</td>\n<td>run the steps in the wrong order, or run twice</td>\n</tr>\n<tr>\n<td>performance</td>\n<td>remove the optimisation and check the assertion&#39;s threshold actually trips</td>\n</tr>\n</tbody></table>\n<p>Two measured reasons this line is not ceremony. In one repository four separate CI guards were\nadded that had never been capable of failing — each passed from the day it landed and each was\nreported as coverage. In another, a swallow-by-design path made its own test decorative: the\ntest asserted that nothing threw, which the surrounding code guaranteed, so it proved the\nfunction existed and nothing else. Both would have been caught by one deliberate break.</p>\n<p>Watch the failure <strong>for the right reason</strong>, too: a test that fails because the file does not\nexist yet, or because of a typo in the test name, has not been armed.</p>\n<h3 id=\"the-standing-instruction\">The standing instruction</h3>\n<p><strong>Report brief errors instead of implementing them.</strong> It sits in the contract because that is\nthe text the builder actually reads — a rule stated only in the conversation that produced the\ncontract does not travel with it.</p>\n<p>What counts as a brief error:</p>\n<ul>\n<li>a requirement that contradicts the code as it stands (the function it names does not exist,\nthe field it renames was already renamed);</li>\n<li>two requirements that cannot both hold;</li>\n<li>a requirement whose proving test cannot be written as stated;</li>\n<li>a requirement that no longer serves the CLAIM;</li>\n<li>a FILES list that does not contain the code the requirement is about.</li>\n</ul>\n<p>What the builder returns instead of a diff: the requirement number, the contradiction, the\nevidence for it, and — where there is one — the reading that would work. Not a best guess\nimplemented and flagged in the summary: by then the diff exists, review is anchored on it, and\nthe cheapest moment to fix the brief has gone.</p>\n<h3 id=\"a-worked-contract\">A worked contract</h3>\n<pre><code class=\"language-text\">BUILD CONTRACT  export-zero-rows  base 4f1c9ab  band deep    candidate C3 (scope the filter at\n                                  the query, matching the precedent in the reporting module)\n\nCLAIM       The export endpoint returns rows for one account and zero rows for another, for the\n            same filter.\nEVIDENCE    The filter is applied after the account scope is dropped by the shared query\n            builder — services/reporting/query.ts:88, at 4f1c9ab. Measured: 6 of 9 reported\n            counts reproduced; the 3 that diverged are all accounts created after the scope\n            change.\n\nR1  The query builder keeps the account scope when a filter is supplied.\n    FILES     services/reporting/query.ts\n    PROVES    test/reporting/query.test.ts :: &quot;keeps account scope under a filter&quot;\n    MUTATION  drop the scope clause from the filtered branch; the test must fail\n    OUT       does not change how the scope is chosen, only that it survives the filter\n\nR2  The export endpoint returns an empty list and 200 when the scoped query matches nothing.\n    FILES     services/export/handler.ts\n    PROVES    test/export/handler.test.ts :: &quot;empty result is 200 with an empty list&quot;\n    MUTATION  return 500 on the empty branch; the test must fail\n    OUT       does not change the non-empty response shape\n\nMUTATIONS   Both mutations run and both tests watched failing before implementation.\nNOT IN SCOPE  C1 (patch the endpoint only) would fix the export and leave every other reader of\n            the shared builder wrong. C2 (do nothing) rejected: 3 accounts affected today and\n            the number grows with account creation.\nSTANDING INSTRUCTION  Report brief errors instead of implementing them. …\n</code></pre>\n","words":1272},{"path":"references/candidate-offers.md","slug":"candidate-offers","title":"Candidate offers","body":"# Candidate offers\n\nThe offer gate exists because the choice between fixes is a decision about consequences, and\nconsequences are not visible in a description of an approach. Two candidates described in prose\nare compared on how well each was written. Two candidates with a blast area each are compared on\nwhat they disturb, which is the thing the chooser actually cares about.\n\n## Five fields, every candidate\n\n| Field | What it holds | Failure if omitted |\n|---|---|---|\n| **blast area** | the surfaces the change would touch, each with its break time (compile / runtime / silent), plus the deploy ordering and its reason | the cheap-looking candidate wins, and the cost surfaces after it is chosen |\n| **what it does not fix** | the part of the report this candidate leaves standing, in the reporter's own terms | the fix ships, the report reopens, and everyone believes it regressed |\n| **reversibility** | what a revert restores, what it does not, and what data written in between survives it | \"revertible\" is assumed, and a rollback becomes an incident |\n| **size** | a rung, not an estimate: one file / one surface / several surfaces / crosses a boundary | precision nobody has is offered, and it will be quoted back |\n| **evidence** | what the candidate rests on from G1 — which finding, at which class | a candidate built on the premise that was refuted at G1 |\n\nCall the mapping skill **once per candidate**. It is more work than mapping the favourite, and it\nis the only version of this gate that produces a comparison rather than a recommendation with\ndecoration. Where a map genuinely cannot be produced for one candidate, say so in that\ncandidate's row: \"effects reasoned, not enumerated.\"\n\n## The four candidate classes that must be considered every time\n\nThese are the ones a pipeline drops, because none of them is satisfying to say and all four are\nfrequently correct.\n\n### 1. Already fixed, or retracted\n\nThe behaviour changed at a revision after the report was written, or the premise it rested on no\nlonger holds. Requires: the revision that changed it, what it changed, and a re-run of the\nreproduction table at HEAD. The work is dating, not building.\n\nSay it in the reporter's terms and without triumph — \"this was happening; it stopped at this\nrevision; here is what changed\" — and check whether the *symptom* stopped or only the *mechanism\nthey named* stopped. Those come apart more often than you would like.\n\n### 2. Do nothing, deliberately\n\nNot \"won't fix\" and not silence. A do-nothing candidate carries:\n\n- what the report costs if left — frequency, who hits it, what they do instead;\n- what would make it worth revisiting: a threshold, a date, a dependency that lands;\n- what to tell the reporter, which is the part that makes this an honest outcome rather than an\n  ignored ticket.\n\nA pipeline that cannot produce this candidate will produce a change for every report it is ever\nhanded, including the ones whose correct answer was \"this is working as designed and here is\nwhy\".\n\n### 3. The precedent this repository already used\n\nThe same problem, solved elsewhere in the tree, possibly under another word. A four-step search,\nin cost order:\n\n1. **Name it three ways** — the reporter's words, the domain word this codebase uses, and the\n   identifier form (symbol, slug, route segment, column name). Most already-solved problems are\n   missed because they were searched under one of the three.\n2. **Search the whole tree by name**, unscoped. The precedent is usually in a package you would\n   not have thought to look in.\n3. **Search the history** — a closed report, a reverted attempt, a commit message naming the\n   same symptom. A reverted attempt is especially valuable: somebody already learned why the\n   obvious fix does not work.\n4. **Search work in flight** — open branches and open pull requests. The tree is the product\n   minus everything currently being built.\n\nMatching an existing solution costs less to review, less to maintain, and arrives with a blast\narea someone has already walked. Diverging from one is a legitimate choice — say why in one\nsentence, because the next reader will ask.\n\n### 4. The sibling requirement already in the ticket\n\nReports and requests rarely carry one requirement. When the one that stalled is ambiguous,\nexpensive, or blocked on a limit, look at what sits **next to it in the same ticket**: an\nadjacent requirement, usually better specified, frequently delivering most of the value the\nreporter actually described, at a fraction of the cost and with nothing left to interpret.\n\nThat sibling is **a real candidate**, ranked in the same table as the others — not a consolation\nprize produced after the ambiguous one fails, and not a scope reduction smuggled in as a\nsimplification. It carries the same five fields as everything else, including **what it does not\nfix**, which is where the part of the ask it drops has to be stated plainly and in the reporter's\nown terms.\n\nTwo rules keep it honest:\n\n- **The reporter or owner chooses it, not the agent** — swapping one requirement for its\n  neighbour changes what gets delivered, so it goes through the same choice as any other\n  candidate, above the light band.\n- **The stalled requirement stays on the table.** Offering the sibling is not a verdict that the\n  first one is infeasible; where the block was a limit, that claim needs the limit decomposed at\n  G1 before it can be made at all.\n\n## The comparison table\n\nRank by consequence, not by elegance. One table, candidates as rows:\n\n```text\ncandidate | fixes | does NOT fix | surfaces touched (break times) | reversibility | size | evidence\n```\n\nThen one sentence: which you would take and why. The recommendation is welcome; it is not the\ngate. The gate is that somebody else could reach a different conclusion from the same table and\nbe right.\n\nTwo to four candidates. Fewer than two is not an offer. More than four is usually two real ones\nand a decorative spread — and it pushes the decision back to the reader by volume.\n\n## Recording the choice\n\nThe chosen candidate is recorded with **who chose it** and **when**: the reporter, the owning\nperson, or the agent under the light-band default. This single field decides what the resolution\nnote says at the end and whether a surprise at G4 is a conversation or an accusation. Where the\nconfirmation policy made the choice the agent's, record the one-line notice that was given.\n\n## Anti-patterns\n\n- **The strawman spread.** One real candidate flanked by two nobody would pick. It looks like a\n  choice and functions as a recommendation.\n- **Candidates that differ only in effort.** Small / medium / large versions of one approach.\n  That is a sizing question inside one candidate, not three candidates.\n- **The candidate whose blast area is \"unknown\".** Either map it or say it is reasoned; an empty\n  cell reads as a small blast area.\n- **Ranking by how clean the diff would be.** The chooser is not going to read the diff. They\n  are going to live with what it disturbs.\n- **Dropping \"what it does not fix\".** The most useful field on the table, and the first one to\n  disappear under time pressure — because writing it means admitting the fix is partial, which\n  is exactly what the reporter needs to know before it ships.\n","bodyHtml":"<h2 id=\"candidate-offers\">Candidate offers</h2>\n<p>The offer gate exists because the choice between fixes is a decision about consequences, and\nconsequences are not visible in a description of an approach. Two candidates described in prose\nare compared on how well each was written. Two candidates with a blast area each are compared on\nwhat they disturb, which is the thing the chooser actually cares about.</p>\n<h3 id=\"five-fields-every-candidate\">Five fields, every candidate</h3>\n<table>\n<thead>\n<tr>\n<th>Field</th>\n<th>What it holds</th>\n<th>Failure if omitted</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><strong>blast area</strong></td>\n<td>the surfaces the change would touch, each with its break time (compile / runtime / silent), plus the deploy ordering and its reason</td>\n<td>the cheap-looking candidate wins, and the cost surfaces after it is chosen</td>\n</tr>\n<tr>\n<td><strong>what it does not fix</strong></td>\n<td>the part of the report this candidate leaves standing, in the reporter&#39;s own terms</td>\n<td>the fix ships, the report reopens, and everyone believes it regressed</td>\n</tr>\n<tr>\n<td><strong>reversibility</strong></td>\n<td>what a revert restores, what it does not, and what data written in between survives it</td>\n<td>&quot;revertible&quot; is assumed, and a rollback becomes an incident</td>\n</tr>\n<tr>\n<td><strong>size</strong></td>\n<td>a rung, not an estimate: one file / one surface / several surfaces / crosses a boundary</td>\n<td>precision nobody has is offered, and it will be quoted back</td>\n</tr>\n<tr>\n<td><strong>evidence</strong></td>\n<td>what the candidate rests on from G1 — which finding, at which class</td>\n<td>a candidate built on the premise that was refuted at G1</td>\n</tr>\n</tbody></table>\n<p>Call the mapping skill <strong>once per candidate</strong>. It is more work than mapping the favourite, and it\nis the only version of this gate that produces a comparison rather than a recommendation with\ndecoration. Where a map genuinely cannot be produced for one candidate, say so in that\ncandidate&#39;s row: &quot;effects reasoned, not enumerated.&quot;</p>\n<h3 id=\"the-four-candidate-classes-that-must-be-considered-every-time\">The four candidate classes that must be considered every time</h3>\n<p>These are the ones a pipeline drops, because none of them is satisfying to say and all four are\nfrequently correct.</p>\n<h4 id=\"1-already-fixed-or-retracted\">1. Already fixed, or retracted</h4>\n<p>The behaviour changed at a revision after the report was written, or the premise it rested on no\nlonger holds. Requires: the revision that changed it, what it changed, and a re-run of the\nreproduction table at HEAD. The work is dating, not building.</p>\n<p>Say it in the reporter&#39;s terms and without triumph — &quot;this was happening; it stopped at this\nrevision; here is what changed&quot; — and check whether the <em>symptom</em> stopped or only the <em>mechanism\nthey named</em> stopped. Those come apart more often than you would like.</p>\n<h4 id=\"2-do-nothing-deliberately\">2. Do nothing, deliberately</h4>\n<p>Not &quot;won&#39;t fix&quot; and not silence. A do-nothing candidate carries:</p>\n<ul>\n<li>what the report costs if left — frequency, who hits it, what they do instead;</li>\n<li>what would make it worth revisiting: a threshold, a date, a dependency that lands;</li>\n<li>what to tell the reporter, which is the part that makes this an honest outcome rather than an\nignored ticket.</li>\n</ul>\n<p>A pipeline that cannot produce this candidate will produce a change for every report it is ever\nhanded, including the ones whose correct answer was &quot;this is working as designed and here is\nwhy&quot;.</p>\n<h4 id=\"3-the-precedent-this-repository-already-used\">3. The precedent this repository already used</h4>\n<p>The same problem, solved elsewhere in the tree, possibly under another word. A four-step search,\nin cost order:</p>\n<ol>\n<li><strong>Name it three ways</strong> — the reporter&#39;s words, the domain word this codebase uses, and the\nidentifier form (symbol, slug, route segment, column name). Most already-solved problems are\nmissed because they were searched under one of the three.</li>\n<li><strong>Search the whole tree by name</strong>, unscoped. The precedent is usually in a package you would\nnot have thought to look in.</li>\n<li><strong>Search the history</strong> — a closed report, a reverted attempt, a commit message naming the\nsame symptom. A reverted attempt is especially valuable: somebody already learned why the\nobvious fix does not work.</li>\n<li><strong>Search work in flight</strong> — open branches and open pull requests. The tree is the product\nminus everything currently being built.</li>\n</ol>\n<p>Matching an existing solution costs less to review, less to maintain, and arrives with a blast\narea someone has already walked. Diverging from one is a legitimate choice — say why in one\nsentence, because the next reader will ask.</p>\n<h4 id=\"4-the-sibling-requirement-already-in-the-ticket\">4. The sibling requirement already in the ticket</h4>\n<p>Reports and requests rarely carry one requirement. When the one that stalled is ambiguous,\nexpensive, or blocked on a limit, look at what sits <strong>next to it in the same ticket</strong>: an\nadjacent requirement, usually better specified, frequently delivering most of the value the\nreporter actually described, at a fraction of the cost and with nothing left to interpret.</p>\n<p>That sibling is <strong>a real candidate</strong>, ranked in the same table as the others — not a consolation\nprize produced after the ambiguous one fails, and not a scope reduction smuggled in as a\nsimplification. It carries the same five fields as everything else, including <strong>what it does not\nfix</strong>, which is where the part of the ask it drops has to be stated plainly and in the reporter&#39;s\nown terms.</p>\n<p>Two rules keep it honest:</p>\n<ul>\n<li><strong>The reporter or owner chooses it, not the agent</strong> — swapping one requirement for its\nneighbour changes what gets delivered, so it goes through the same choice as any other\ncandidate, above the light band.</li>\n<li><strong>The stalled requirement stays on the table.</strong> Offering the sibling is not a verdict that the\nfirst one is infeasible; where the block was a limit, that claim needs the limit decomposed at\nG1 before it can be made at all.</li>\n</ul>\n<h3 id=\"the-comparison-table\">The comparison table</h3>\n<p>Rank by consequence, not by elegance. One table, candidates as rows:</p>\n<pre><code class=\"language-text\">candidate | fixes | does NOT fix | surfaces touched (break times) | reversibility | size | evidence\n</code></pre>\n<p>Then one sentence: which you would take and why. The recommendation is welcome; it is not the\ngate. The gate is that somebody else could reach a different conclusion from the same table and\nbe right.</p>\n<p>Two to four candidates. Fewer than two is not an offer. More than four is usually two real ones\nand a decorative spread — and it pushes the decision back to the reader by volume.</p>\n<h3 id=\"recording-the-choice\">Recording the choice</h3>\n<p>The chosen candidate is recorded with <strong>who chose it</strong> and <strong>when</strong>: the reporter, the owning\nperson, or the agent under the light-band default. This single field decides what the resolution\nnote says at the end and whether a surprise at G4 is a conversation or an accusation. Where the\nconfirmation policy made the choice the agent&#39;s, record the one-line notice that was given.</p>\n<h3 id=\"anti-patterns\">Anti-patterns</h3>\n<ul>\n<li><strong>The strawman spread.</strong> One real candidate flanked by two nobody would pick. It looks like a\nchoice and functions as a recommendation.</li>\n<li><strong>Candidates that differ only in effort.</strong> Small / medium / large versions of one approach.\nThat is a sizing question inside one candidate, not three candidates.</li>\n<li><strong>The candidate whose blast area is &quot;unknown&quot;.</strong> Either map it or say it is reasoned; an empty\ncell reads as a small blast area.</li>\n<li><strong>Ranking by how clean the diff would be.</strong> The chooser is not going to read the diff. They\nare going to live with what it disturbs.</li>\n<li><strong>Dropping &quot;what it does not fix&quot;.</strong> The most useful field on the table, and the first one to\ndisappear under time pressure — because writing it means admitting the fix is partial, which\nis exactly what the reporter needs to know before it ships.</li>\n</ul>\n","words":1257},{"path":"references/confirmation-policy.md","slug":"confirmation-policy","title":"The confirmation policy","body":"# The confirmation policy\n\nTwo questions, kept apart because they have different answers. **Who chooses the fix** is a\nquestion about consequence, answered once at the offer gate by reading two columns. **Whether to\ntake an act that cannot be undone** is a question about permission, answered at the act, every\ntime, regardless of what the columns said.\n\nConfusing them produces the two failure modes this policy exists to prevent: a pipeline that\nasks about everything, which nobody runs unattended twice; and a pipeline that asks about\nnothing, which eventually mails a person or drops a table.\n\n## The two-column rule, at G2\n\nRead both columns. **Either one turning it on is enough.**\n\n| Column | What it reads | Effect |\n|---|---|---|\n| **Cost of being wrong** | the complexity rubric's fifth signal scored **2**: the resolution authorises a migration, a deletion, a production write, an outbound message, or closing the report | confirmation **default ON** |\n| **Reversibility spread** | the candidates **differ** in what a revert restores — one is a config flip, another rewrites stored rows | confirmation **default ON** |\n| neither | a light-band report whose candidates are all equally revertible | **default OFF**, with a one-line notice |\n\nScoring the first column is not a judgement call for a report: **closing the report and messaging\nthe reporter both score it 2**, and almost every resolution ends in one of them. That is\ndeliberate. It means most reports get one confirmation, at the offer, which is the cheapest place\nto put it — before a contract is written and before anything is built.\n\nThe second column catches the case the first misses: two candidates that are both reversible in\nthe ordinary sense but not equally. \"Both can be reverted\" is not the same as \"a revert of either\nleaves the same state\", and the difference is exactly what somebody else should decide.\n\n## What \"confirmation at G2\" means\n\nOne message, containing the comparison table, the recommendation in one sentence, and the\nquestion: which candidate. Not a request for approval of a plan; a choice between named options\nwith their consequences attached. The answer is recorded in the candidate table as who chose it.\n\nOne confirmation at G2 carries the rest of the pipeline. The contract, the build and the review\ndo not each need their own — they are the chosen candidate being executed, and re-asking teaches\npeople to skim.\n\n## Default-off, and why it is not a loophole\n\nA pipeline that stops to ask about the wording of an error message stops being run unattended,\nand then it stops being run. Default-off applies only where both columns are cold: light band,\ncandidates equally revertible, nothing irreversible in the plan. It is never silent — the notice\nis mandatory:\n\n```text\nresolve-problem-report · light band, no confirmation gate — took C2 (widen the help text to\nname both flags). Reversible by reverting one commit; nothing else was touched. Say the word\nand I will take C1 instead.\n```\n\nOne line, and it carries three things: what was taken, how to undo it, and that an alternative\nexisted. A default-off run that does not say what it did has converted a policy into a habit.\n\n## The act gate\n\nSeparately from all of the above, and always: **every irreversible act is confirmed at the moment\nof the act.** Not at the plan — at plan time nothing is imminent and the person answering has no\ncontext; at act time they have both.\n\nThe four things to state, then wait:\n\n```text\nAbout to: apply the pending migration to the production database.\nTouches:  the rows table — adds one nullable column; no data rewritten.\nCannot undo: the applied-history record. A revert of the code does not remove it; removing the\n          column afterwards is its own change.\nIf not done: the build stays staged and the fix does not take effect for anyone.\n```\n\nThe standing irreversible classes for a report:\n\n- applying a migration;\n- writing to production data, including a \"small\" backfill and including running a job whose\n  effect is a write;\n- deleting anything not restorable from history;\n- **closing the report**;\n- **any outbound message to the reporter** — mail, chat, ticket comment, a status change that\n  notifies.\n\nThe last two are the ones that get forgotten. They are cheap to perform, they feel like\npaperwork, and they reach a person. A wrong resolution note read by the reporter is not undone by\nediting it afterwards; they have already read it and told someone.\n\n## Unattended runs\n\n**An unattended run takes no irreversible act at all.** It stops, leaves the work staged, and\nreports exactly what remains — including which act it stopped at and the four lines it would have\nstated. A cron job that closed a report because closing was the natural next step made a decision\nnobody was present to make.\n\nAttendance is **declared conservatively and never probed**: if you cannot confirm a human will see\nand answer a question in this run, it is unattended. Dispatched by a parent agent counts as\nunattended. Being run in a terminal somebody opened three hours ago counts as unattended.\n\n## When a confirmation goes unanswered\n\n- **Attended, no reply yet:** wait. Do not take the default because the wait is boring.\n- **The run ends without an answer:** deliver the offer as the deliverable. The comparison table\n  *is* a result, and it is the one the chooser needs.\n- **Unattended, above the light band:** proceed only through candidates that contain no\n  irreversible act, and stop at the first one that does — with everything up to it staged and\n  reported.\n- **Never:** proceed with the riskier candidate on the grounds that it is more complete.\n\n## Degradations and anti-patterns\n\n| Situation | What to do |\n|---|---|\n| no channel to the reporter | confirm with the owner; record that the reporter was not consulted |\n| the harness cannot wait for input | treat as unattended: no irreversible acts, staged output |\n| the chooser answers \"you decide\" | take the recommendation, record it as delegated, and keep the notice |\n| a confirmation arrives after the run ended | do not resume silently; restate what changed since |\n\n- **Asking at the plan.** Consent given before anything is imminent is consent to a description.\n- **Bundling.** \"Shall I fix it, close the report and mail them?\" is three acts in one answer,\n  and the yes belongs to the first.\n- **Re-asking at every gate.** Teaches skimming, which is how the one question that mattered gets\n  a reflexive yes.\n- **Treating a light-band default as silence.** The notice is the price of the default.\n- **Counting the reporter's original request as consent.** They asked for a fix; they did not\n  approve a migration, a backfill, or the message you are about to send in their name.\n","bodyHtml":"<h2 id=\"the-confirmation-policy\">The confirmation policy</h2>\n<p>Two questions, kept apart because they have different answers. <strong>Who chooses the fix</strong> is a\nquestion about consequence, answered once at the offer gate by reading two columns. <strong>Whether to\ntake an act that cannot be undone</strong> is a question about permission, answered at the act, every\ntime, regardless of what the columns said.</p>\n<p>Confusing them produces the two failure modes this policy exists to prevent: a pipeline that\nasks about everything, which nobody runs unattended twice; and a pipeline that asks about\nnothing, which eventually mails a person or drops a table.</p>\n<h3 id=\"the-two-column-rule-at-g2\">The two-column rule, at G2</h3>\n<p>Read both columns. <strong>Either one turning it on is enough.</strong></p>\n<table>\n<thead>\n<tr>\n<th>Column</th>\n<th>What it reads</th>\n<th>Effect</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><strong>Cost of being wrong</strong></td>\n<td>the complexity rubric&#39;s fifth signal scored <strong>2</strong>: the resolution authorises a migration, a deletion, a production write, an outbound message, or closing the report</td>\n<td>confirmation <strong>default ON</strong></td>\n</tr>\n<tr>\n<td><strong>Reversibility spread</strong></td>\n<td>the candidates <strong>differ</strong> in what a revert restores — one is a config flip, another rewrites stored rows</td>\n<td>confirmation <strong>default ON</strong></td>\n</tr>\n<tr>\n<td>neither</td>\n<td>a light-band report whose candidates are all equally revertible</td>\n<td><strong>default OFF</strong>, with a one-line notice</td>\n</tr>\n</tbody></table>\n<p>Scoring the first column is not a judgement call for a report: <strong>closing the report and messaging\nthe reporter both score it 2</strong>, and almost every resolution ends in one of them. That is\ndeliberate. It means most reports get one confirmation, at the offer, which is the cheapest place\nto put it — before a contract is written and before anything is built.</p>\n<p>The second column catches the case the first misses: two candidates that are both reversible in\nthe ordinary sense but not equally. &quot;Both can be reverted&quot; is not the same as &quot;a revert of either\nleaves the same state&quot;, and the difference is exactly what somebody else should decide.</p>\n<h3 id=\"what-confirmation-at-g2-means\">What &quot;confirmation at G2&quot; means</h3>\n<p>One message, containing the comparison table, the recommendation in one sentence, and the\nquestion: which candidate. Not a request for approval of a plan; a choice between named options\nwith their consequences attached. The answer is recorded in the candidate table as who chose it.</p>\n<p>One confirmation at G2 carries the rest of the pipeline. The contract, the build and the review\ndo not each need their own — they are the chosen candidate being executed, and re-asking teaches\npeople to skim.</p>\n<h3 id=\"default-off-and-why-it-is-not-a-loophole\">Default-off, and why it is not a loophole</h3>\n<p>A pipeline that stops to ask about the wording of an error message stops being run unattended,\nand then it stops being run. Default-off applies only where both columns are cold: light band,\ncandidates equally revertible, nothing irreversible in the plan. It is never silent — the notice\nis mandatory:</p>\n<pre><code class=\"language-text\">resolve-problem-report · light band, no confirmation gate — took C2 (widen the help text to\nname both flags). Reversible by reverting one commit; nothing else was touched. Say the word\nand I will take C1 instead.\n</code></pre>\n<p>One line, and it carries three things: what was taken, how to undo it, and that an alternative\nexisted. A default-off run that does not say what it did has converted a policy into a habit.</p>\n<h3 id=\"the-act-gate\">The act gate</h3>\n<p>Separately from all of the above, and always: <strong>every irreversible act is confirmed at the moment\nof the act.</strong> Not at the plan — at plan time nothing is imminent and the person answering has no\ncontext; at act time they have both.</p>\n<p>The four things to state, then wait:</p>\n<pre><code class=\"language-text\">About to: apply the pending migration to the production database.\nTouches:  the rows table — adds one nullable column; no data rewritten.\nCannot undo: the applied-history record. A revert of the code does not remove it; removing the\n          column afterwards is its own change.\nIf not done: the build stays staged and the fix does not take effect for anyone.\n</code></pre>\n<p>The standing irreversible classes for a report:</p>\n<ul>\n<li>applying a migration;</li>\n<li>writing to production data, including a &quot;small&quot; backfill and including running a job whose\neffect is a write;</li>\n<li>deleting anything not restorable from history;</li>\n<li><strong>closing the report</strong>;</li>\n<li><strong>any outbound message to the reporter</strong> — mail, chat, ticket comment, a status change that\nnotifies.</li>\n</ul>\n<p>The last two are the ones that get forgotten. They are cheap to perform, they feel like\npaperwork, and they reach a person. A wrong resolution note read by the reporter is not undone by\nediting it afterwards; they have already read it and told someone.</p>\n<h3 id=\"unattended-runs\">Unattended runs</h3>\n<p><strong>An unattended run takes no irreversible act at all.</strong> It stops, leaves the work staged, and\nreports exactly what remains — including which act it stopped at and the four lines it would have\nstated. A cron job that closed a report because closing was the natural next step made a decision\nnobody was present to make.</p>\n<p>Attendance is <strong>declared conservatively and never probed</strong>: if you cannot confirm a human will see\nand answer a question in this run, it is unattended. Dispatched by a parent agent counts as\nunattended. Being run in a terminal somebody opened three hours ago counts as unattended.</p>\n<h3 id=\"when-a-confirmation-goes-unanswered\">When a confirmation goes unanswered</h3>\n<ul>\n<li><strong>Attended, no reply yet:</strong> wait. Do not take the default because the wait is boring.</li>\n<li><strong>The run ends without an answer:</strong> deliver the offer as the deliverable. The comparison table\n<em>is</em> a result, and it is the one the chooser needs.</li>\n<li><strong>Unattended, above the light band:</strong> proceed only through candidates that contain no\nirreversible act, and stop at the first one that does — with everything up to it staged and\nreported.</li>\n<li><strong>Never:</strong> proceed with the riskier candidate on the grounds that it is more complete.</li>\n</ul>\n<h3 id=\"degradations-and-anti-patterns\">Degradations and anti-patterns</h3>\n<table>\n<thead>\n<tr>\n<th>Situation</th>\n<th>What to do</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>no channel to the reporter</td>\n<td>confirm with the owner; record that the reporter was not consulted</td>\n</tr>\n<tr>\n<td>the harness cannot wait for input</td>\n<td>treat as unattended: no irreversible acts, staged output</td>\n</tr>\n<tr>\n<td>the chooser answers &quot;you decide&quot;</td>\n<td>take the recommendation, record it as delegated, and keep the notice</td>\n</tr>\n<tr>\n<td>a confirmation arrives after the run ended</td>\n<td>do not resume silently; restate what changed since</td>\n</tr>\n</tbody></table>\n<ul>\n<li><strong>Asking at the plan.</strong> Consent given before anything is imminent is consent to a description.</li>\n<li><strong>Bundling.</strong> &quot;Shall I fix it, close the report and mail them?&quot; is three acts in one answer,\nand the yes belongs to the first.</li>\n<li><strong>Re-asking at every gate.</strong> Teaches skimming, which is how the one question that mattered gets\na reflexive yes.</li>\n<li><strong>Treating a light-band default as silence.</strong> The notice is the price of the default.</li>\n<li><strong>Counting the reporter&#39;s original request as consent.</strong> They asked for a fix; they did not\napprove a migration, a backfill, or the message you are about to send in their name.</li>\n</ul>\n","words":1153},{"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/gate-contracts.md","slug":"gate-contracts","title":"The gate contracts","body":"# The gate contracts\n\nSix gates, six artifacts. A gate is not a checklist item and not a status; it is a thing that\nexists on the page or does not. The discipline is one sentence: **a gate opens when its artifact\nexists, never when the work feels finished.** Everything else in this file is the field list for\neach artifact, the checks that open the gate, and what to hand back when a gate will not open.\n\nThe single most common way this pipeline fails is not a wrong answer. It is a gate that was\ndeclared open because the next step was obvious.\n\n## G0 — intake\n\n**Artifact: the claim card.**\n\n| Field | What it holds |\n|---|---|\n| `claim` | one sentence that could be false, with every noun resolved to something you can point at |\n| `falsifier` | the observation that would prove the claim wrong, and whether it is reachable from here |\n| `premises[]` | each cause, mechanism or attribution the report asserts — recorded **separately**, one per row, each with its own falsifier |\n| `kind` | `bug` \\| `feature` \\| `question` — it decides what G1 has to produce |\n| `reported` | the date, the reporter's role, and the surface they were on |\n| `numbers[]` | every figure in the report, verbatim, with what the reporter says each one measured |\n| `readings[]` | every reading the requirement's **own wording** admits, one per row, each with what it would cost to build |\n| `consequence` | what a wrong resolution would cause someone to do |\n\n**Opens when:** the claim is falsifiable; the falsifier is checkable with the reach declared in\nthe prerequisites, or its unreachability is recorded; the asserted cause sits in `premises[]`\nrather than inside `claim`; `readings[]` is enumerated from the requirement's own words; and\n`kind` is set.\n\n**Enumerate the ambiguity from the requirement's own words, not from the symptom.** A failure\nsymptom is one thing that went wrong once; the requirement's wording is what a builder will be\nheld to, and it is where the ambiguity that stops the build actually lives. Read the requirement\nclause by clause and write down every reading its own words admit, each with the work it implies:\n\n| reading | what the words that admit it say | what it would cost | what it would deliver |\n|---|---|---|---|\n\nWorked: *\"the export must fit in one message\"* admits at least three readings — one message per\nexport, one message per record with the export split across many, or one message carrying a link\nto the export. They differ by an order of magnitude in cost and they are all faithful to the\nsentence. A run that enumerates only what the failure suggested — \"the export was too big\" —\nfinds one of the three and builds it, and the disagreement surfaces at review.\n\nWhere two readings imply different work and no bounded probe separates them, that is the blocking\nquestion. It blocks G3: the contract cannot be written over an unresolved reading, and a builder\nhanded the ambiguity will resolve it silently, in favour of whichever is easiest to build.\n\n**Restatement, worked.** \"Exports are broken\" → claim: *the export endpoint returns rows for one\naccount and zero rows for another, given the same filter*; falsifier: *a run of both returning\nrows*; premise (theirs): *\"because the filter was changed last week\"*; kind: bug. The premise is\nnow a separate thing that can be refuted without refuting the report — which matters, because\nthe reporter is usually right about the symptom and guessing about the cause.\n\n**What a blocked G0 hands back.** The report restated as far as it goes, plus the specific\nambiguity: which of two referents, or which observation would settle it. This is the cheapest\nquestion in the pipeline and the one most worth asking.\n\n## G1 — analyse\n\n**Artifact: the finding at its class, plus the reproduction table.**\n\n| Field | What it holds |\n|---|---|\n| `finding` | the cause (bug) or the implications (feature), one paragraph |\n| `class` | the evidence class the claim requires, and the class actually achieved |\n| `evidence[]` | `path:line` at a sha, a command with its output, or an observation with its source |\n| `reproduction[]` | one row per reported number: reported, what it measured, measured here, delta, verdict |\n| `premise_verdicts[]` | each intake premise: `confirmed` \\| `refuted` \\| `unresolved` \\| `inconclusive`, with what refuted it |\n| `dated[]` | every inherited claim with the sha it was checked at, and where it stopped holding |\n| `limits[]` | every size, duration, count or quota the report or the requirement cites, decomposed into its contributors with a measurement each |\n| `not_searched[]` | what was out of reach, and the probe that would settle it |\n\n**Opens when:** the finding is stated at the required class or the shortfall is named; every\nnumber has a verdict; **every causal claim has its own row and its own falsification**; every\ncited limit is decomposed; every load-bearing negative names a control that fired; every\ninherited claim is dated.\n\n**Decompose a limit before reasoning about it.** A cited limit — \"must fit in 4 MB\", \"must\nfinish inside the window\", \"no more than 200 rows\" — is an aggregate, and an aggregate is the\none number from which nothing follows. Measure the composition first:\n\n| contributor | measured size / duration / count | share | would the change move it? |\n|---|---|---|---|\n\nThen the remedies argue over the rows rather than over the total. **An infeasibility claim built\non an aggregate is an over-claim** — \"it cannot be done inside the limit\" is a statement about\nevery contributor at once, made without measuring any of them. The recurring shape: a payload\ndeclared too large for the limit turned out to be dominated by one field that nothing downstream\nread; dropping it put the payload inside the limit with room to spare, and the alternative on the\ntable had been a redesign. The measurement costs one command, and it is also the thing that makes\na genuine infeasibility believable when it is real.\n\n**What a blocked G1 hands back.** The reproduction table as far as it got, plus the missing\nreach stated as an access request — \"this needs one query against the store that holds the\ncounts; here is the query\". Half of the reports that stall here stall on a permission, not on a\ndifficulty.\n\n## G2 — offer\n\n**Artifact: the candidate table.** Fields per candidate, and the rules that decide which\ncandidates must be present, are in the candidate-offers reference. The gate itself:\n\n**Opens when:** at least two candidates carry all five fields; the already-fixed, do-nothing and\nsibling-requirement lines have each been evaluated and are either present or dismissed with a\nreason; each blast area came from the mapping skill or names why it could not; and the chosen\ncandidate is recorded **with who chose it** — the reporter, the owner, or the agent under the\nlight-band default.\n\n**What a blocked G2 hands back.** The candidates that do exist, with the one field that could\nnot be filled and why. A candidate with no blast area is not a candidate; it is a suggestion.\n\n## G3 — spec\n\n**Artifact: the build contract.** Its template and field semantics are in the build-contract\nreference.\n\n**Opens when:** every requirement names files, a proving test and a mutation; file sets are\ndisjoint or the overlap is declared and sequenced; the losing candidates appear under NOT IN\nSCOPE; the standing brief-error instruction is present in the text the builder receives.\n\n**What a blocked G3 hands back.** The requirement that cannot be made provable, named. A\nrequirement no test can prove is either not a requirement or not understood yet, and both of\nthose are worth saying before a builder starts.\n\n## G4 — implement\n\n**Artifact: the landed change with its budget and gate ladder** — produced by the landing skill,\nnot here. This gate's job is to hand over the right context and to check what comes back.\n\n**Opens when:** the budget and the ladder return with the diff; every affected surface has a\nladder row with its rung; every rung-1 guard has quoted fail-before evidence; every budget\nbreach is recorded with its disposition — extend, split or abandon.\n\n**What a blocked G4 hands back.** The staged work, the budget as it stood, and the breach that\nstopped it. A breach that invalidates the chosen candidate is not a G4 problem; it re-enters at\nG2 with the new fact, because the comparison that chose the candidate was made on a map that has\njust been shown to be wrong.\n\n## G5 — verify and describe\n\n**Artifact: the resolution note, plus one filed report per disagreement.**\n\n| Field | What it holds |\n|---|---|\n| `per_requirement[]` | each R with the evidence that it holds, at its own class |\n| `re_measured[]` | the G1 reproduction table, run again after the change |\n| `filed[]` | every disagreement found during verification, with the handle it was filed under |\n| `note` | the resolution note, from the description skill's registers |\n| `residuals[]` | the map's silent items and the unguarded surfaces, each with the observation that would settle it |\n\n**Opens when:** every requirement is verified at its own class; the reporter's numbers are\nre-measured; each disagreement is filed rather than chased; and the note distinguishes what was\ntrue in the report from what was not.\n\n**What a blocked G5 hands back.** The change, landed, with the verification that could not be\ncompleted stated as a residual and — where it matters — as its own filed report.\n\n## Re-entry, and the direction it runs\n\nGates are ordered, but the pipeline is not one-way. Three re-entries are legitimate and each has\none destination:\n\n| What happened | Re-enter at | Why not somewhere else |\n|---|---|---|\n| The budget was breached by a fact the map missed | **G2** | the candidate comparison used that map; it has to be redone before the build continues |\n| Reproduction refuted the claim itself, not just a premise | **G0** | the report is about something else, and the claim card has to say what |\n| Verification found a disagreement in a neighbouring value | **file a new report** | it is a different claim with a different falsifier; this one closes on its own contract |\n\nThe re-entry nobody should take is the fourth: continuing with a widened scope and mentioning it\nin the note at the end.\n\n## Degradations\n\nEvery companion can be missing. The gates still hold; each one says what it lost.\n\n| Missing | Effect | What the artifact says |\n|---|---|---|\n| the investigation skill | G1 is run inline, without the fan-out and the child contract | \"single-pass analysis; no independent corroboration\" |\n| the mapping skill | candidates carry a reasoned effect list instead of a map | \"blast area reasoned, not enumerated — surfaces may be missing\" |\n| the landing skill | the build runs without a budget or a ladder | \"no declared touch-set; regressions guarded by the existing suite only\" |\n| the description skill | the note is written here, from the diff | \"note written inline; registers not separated\" |\n| the review skill | review is human-only | \"no automated review pass; findings from one reader\" |\n| subagents | the bands become sequential passes | the wall-clock cost, stated |\n| a queryable store | data-resident references cannot be checked | \"unchecked, not empty\" — never the second |\n\n## What the run record's five headings carry, for a report\n\nThe convention and its headings belong to the run-record reference; this is only which of a\nreport's own artifacts goes under which heading:\n\n| Heading | What goes under it |\n|---|---|\n| What was searched | the searches G1 delegated, verbatim, with their controls |\n| Who searched it | the children and their axes, or the statement that the run was single-pass |\n| What each found | the claim card and the reproduction table |\n| How it reconciled | the refuted premises, the contradiction table, the readings that were costed |\n| What was decided and why | the candidate table, the choice, and who made it |\n| what this run could not see | unreproducible claims, unguarded surfaces, and anything filed as its own report |\n\nQuote the reporter only as far as the claim needs.\n","bodyHtml":"<h2 id=\"the-gate-contracts\">The gate contracts</h2>\n<p>Six gates, six artifacts. A gate is not a checklist item and not a status; it is a thing that\nexists on the page or does not. The discipline is one sentence: <strong>a gate opens when its artifact\nexists, never when the work feels finished.</strong> Everything else in this file is the field list for\neach artifact, the checks that open the gate, and what to hand back when a gate will not open.</p>\n<p>The single most common way this pipeline fails is not a wrong answer. It is a gate that was\ndeclared open because the next step was obvious.</p>\n<h3 id=\"g0-intake\">G0 — intake</h3>\n<p><strong>Artifact: the claim card.</strong></p>\n<table>\n<thead>\n<tr>\n<th>Field</th>\n<th>What it holds</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><code>claim</code></td>\n<td>one sentence that could be false, with every noun resolved to something you can point at</td>\n</tr>\n<tr>\n<td><code>falsifier</code></td>\n<td>the observation that would prove the claim wrong, and whether it is reachable from here</td>\n</tr>\n<tr>\n<td><code>premises[]</code></td>\n<td>each cause, mechanism or attribution the report asserts — recorded <strong>separately</strong>, one per row, each with its own falsifier</td>\n</tr>\n<tr>\n<td><code>kind</code></td>\n<td><code>bug</code> | <code>feature</code> | <code>question</code> — it decides what G1 has to produce</td>\n</tr>\n<tr>\n<td><code>reported</code></td>\n<td>the date, the reporter&#39;s role, and the surface they were on</td>\n</tr>\n<tr>\n<td><code>numbers[]</code></td>\n<td>every figure in the report, verbatim, with what the reporter says each one measured</td>\n</tr>\n<tr>\n<td><code>readings[]</code></td>\n<td>every reading the requirement&#39;s <strong>own wording</strong> admits, one per row, each with what it would cost to build</td>\n</tr>\n<tr>\n<td><code>consequence</code></td>\n<td>what a wrong resolution would cause someone to do</td>\n</tr>\n</tbody></table>\n<p><strong>Opens when:</strong> the claim is falsifiable; the falsifier is checkable with the reach declared in\nthe prerequisites, or its unreachability is recorded; the asserted cause sits in <code>premises[]</code>\nrather than inside <code>claim</code>; <code>readings[]</code> is enumerated from the requirement&#39;s own words; and\n<code>kind</code> is set.</p>\n<p><strong>Enumerate the ambiguity from the requirement&#39;s own words, not from the symptom.</strong> A failure\nsymptom is one thing that went wrong once; the requirement&#39;s wording is what a builder will be\nheld to, and it is where the ambiguity that stops the build actually lives. Read the requirement\nclause by clause and write down every reading its own words admit, each with the work it implies:</p>\n<table>\n<thead>\n<tr>\n<th>reading</th>\n<th>what the words that admit it say</th>\n<th>what it would cost</th>\n<th>what it would deliver</th>\n</tr>\n</thead>\n</table>\n<p>Worked: <em>&quot;the export must fit in one message&quot;</em> admits at least three readings — one message per\nexport, one message per record with the export split across many, or one message carrying a link\nto the export. They differ by an order of magnitude in cost and they are all faithful to the\nsentence. A run that enumerates only what the failure suggested — &quot;the export was too big&quot; —\nfinds one of the three and builds it, and the disagreement surfaces at review.</p>\n<p>Where two readings imply different work and no bounded probe separates them, that is the blocking\nquestion. It blocks G3: the contract cannot be written over an unresolved reading, and a builder\nhanded the ambiguity will resolve it silently, in favour of whichever is easiest to build.</p>\n<p><strong>Restatement, worked.</strong> &quot;Exports are broken&quot; → claim: <em>the export endpoint returns rows for one\naccount and zero rows for another, given the same filter</em>; falsifier: <em>a run of both returning\nrows</em>; premise (theirs): <em>&quot;because the filter was changed last week&quot;</em>; kind: bug. The premise is\nnow a separate thing that can be refuted without refuting the report — which matters, because\nthe reporter is usually right about the symptom and guessing about the cause.</p>\n<p><strong>What a blocked G0 hands back.</strong> The report restated as far as it goes, plus the specific\nambiguity: which of two referents, or which observation would settle it. This is the cheapest\nquestion in the pipeline and the one most worth asking.</p>\n<h3 id=\"g1-analyse\">G1 — analyse</h3>\n<p><strong>Artifact: the finding at its class, plus the reproduction table.</strong></p>\n<table>\n<thead>\n<tr>\n<th>Field</th>\n<th>What it holds</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><code>finding</code></td>\n<td>the cause (bug) or the implications (feature), one paragraph</td>\n</tr>\n<tr>\n<td><code>class</code></td>\n<td>the evidence class the claim requires, and the class actually achieved</td>\n</tr>\n<tr>\n<td><code>evidence[]</code></td>\n<td><code>path:line</code> at a sha, a command with its output, or an observation with its source</td>\n</tr>\n<tr>\n<td><code>reproduction[]</code></td>\n<td>one row per reported number: reported, what it measured, measured here, delta, verdict</td>\n</tr>\n<tr>\n<td><code>premise_verdicts[]</code></td>\n<td>each intake premise: <code>confirmed</code> | <code>refuted</code> | <code>unresolved</code> | <code>inconclusive</code>, with what refuted it</td>\n</tr>\n<tr>\n<td><code>dated[]</code></td>\n<td>every inherited claim with the sha it was checked at, and where it stopped holding</td>\n</tr>\n<tr>\n<td><code>limits[]</code></td>\n<td>every size, duration, count or quota the report or the requirement cites, decomposed into its contributors with a measurement each</td>\n</tr>\n<tr>\n<td><code>not_searched[]</code></td>\n<td>what was out of reach, and the probe that would settle it</td>\n</tr>\n</tbody></table>\n<p><strong>Opens when:</strong> the finding is stated at the required class or the shortfall is named; every\nnumber has a verdict; <strong>every causal claim has its own row and its own falsification</strong>; every\ncited limit is decomposed; every load-bearing negative names a control that fired; every\ninherited claim is dated.</p>\n<p><strong>Decompose a limit before reasoning about it.</strong> A cited limit — &quot;must fit in 4 MB&quot;, &quot;must\nfinish inside the window&quot;, &quot;no more than 200 rows&quot; — is an aggregate, and an aggregate is the\none number from which nothing follows. Measure the composition first:</p>\n<table>\n<thead>\n<tr>\n<th>contributor</th>\n<th>measured size / duration / count</th>\n<th>share</th>\n<th>would the change move it?</th>\n</tr>\n</thead>\n</table>\n<p>Then the remedies argue over the rows rather than over the total. <strong>An infeasibility claim built\non an aggregate is an over-claim</strong> — &quot;it cannot be done inside the limit&quot; is a statement about\nevery contributor at once, made without measuring any of them. The recurring shape: a payload\ndeclared too large for the limit turned out to be dominated by one field that nothing downstream\nread; dropping it put the payload inside the limit with room to spare, and the alternative on the\ntable had been a redesign. The measurement costs one command, and it is also the thing that makes\na genuine infeasibility believable when it is real.</p>\n<p><strong>What a blocked G1 hands back.</strong> The reproduction table as far as it got, plus the missing\nreach stated as an access request — &quot;this needs one query against the store that holds the\ncounts; here is the query&quot;. Half of the reports that stall here stall on a permission, not on a\ndifficulty.</p>\n<h3 id=\"g2-offer\">G2 — offer</h3>\n<p><strong>Artifact: the candidate table.</strong> Fields per candidate, and the rules that decide which\ncandidates must be present, are in the candidate-offers reference. The gate itself:</p>\n<p><strong>Opens when:</strong> at least two candidates carry all five fields; the already-fixed, do-nothing and\nsibling-requirement lines have each been evaluated and are either present or dismissed with a\nreason; each blast area came from the mapping skill or names why it could not; and the chosen\ncandidate is recorded <strong>with who chose it</strong> — the reporter, the owner, or the agent under the\nlight-band default.</p>\n<p><strong>What a blocked G2 hands back.</strong> The candidates that do exist, with the one field that could\nnot be filled and why. A candidate with no blast area is not a candidate; it is a suggestion.</p>\n<h3 id=\"g3-spec\">G3 — spec</h3>\n<p><strong>Artifact: the build contract.</strong> Its template and field semantics are in the build-contract\nreference.</p>\n<p><strong>Opens when:</strong> every requirement names files, a proving test and a mutation; file sets are\ndisjoint or the overlap is declared and sequenced; the losing candidates appear under NOT IN\nSCOPE; the standing brief-error instruction is present in the text the builder receives.</p>\n<p><strong>What a blocked G3 hands back.</strong> The requirement that cannot be made provable, named. A\nrequirement no test can prove is either not a requirement or not understood yet, and both of\nthose are worth saying before a builder starts.</p>\n<h3 id=\"g4-implement\">G4 — implement</h3>\n<p><strong>Artifact: the landed change with its budget and gate ladder</strong> — produced by the landing skill,\nnot here. This gate&#39;s job is to hand over the right context and to check what comes back.</p>\n<p><strong>Opens when:</strong> the budget and the ladder return with the diff; every affected surface has a\nladder row with its rung; every rung-1 guard has quoted fail-before evidence; every budget\nbreach is recorded with its disposition — extend, split or abandon.</p>\n<p><strong>What a blocked G4 hands back.</strong> The staged work, the budget as it stood, and the breach that\nstopped it. A breach that invalidates the chosen candidate is not a G4 problem; it re-enters at\nG2 with the new fact, because the comparison that chose the candidate was made on a map that has\njust been shown to be wrong.</p>\n<h3 id=\"g5-verify-and-describe\">G5 — verify and describe</h3>\n<p><strong>Artifact: the resolution note, plus one filed report per disagreement.</strong></p>\n<table>\n<thead>\n<tr>\n<th>Field</th>\n<th>What it holds</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><code>per_requirement[]</code></td>\n<td>each R with the evidence that it holds, at its own class</td>\n</tr>\n<tr>\n<td><code>re_measured[]</code></td>\n<td>the G1 reproduction table, run again after the change</td>\n</tr>\n<tr>\n<td><code>filed[]</code></td>\n<td>every disagreement found during verification, with the handle it was filed under</td>\n</tr>\n<tr>\n<td><code>note</code></td>\n<td>the resolution note, from the description skill&#39;s registers</td>\n</tr>\n<tr>\n<td><code>residuals[]</code></td>\n<td>the map&#39;s silent items and the unguarded surfaces, each with the observation that would settle it</td>\n</tr>\n</tbody></table>\n<p><strong>Opens when:</strong> every requirement is verified at its own class; the reporter&#39;s numbers are\nre-measured; each disagreement is filed rather than chased; and the note distinguishes what was\ntrue in the report from what was not.</p>\n<p><strong>What a blocked G5 hands back.</strong> The change, landed, with the verification that could not be\ncompleted stated as a residual and — where it matters — as its own filed report.</p>\n<h3 id=\"re-entry-and-the-direction-it-runs\">Re-entry, and the direction it runs</h3>\n<p>Gates are ordered, but the pipeline is not one-way. Three re-entries are legitimate and each has\none destination:</p>\n<table>\n<thead>\n<tr>\n<th>What happened</th>\n<th>Re-enter at</th>\n<th>Why not somewhere else</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>The budget was breached by a fact the map missed</td>\n<td><strong>G2</strong></td>\n<td>the candidate comparison used that map; it has to be redone before the build continues</td>\n</tr>\n<tr>\n<td>Reproduction refuted the claim itself, not just a premise</td>\n<td><strong>G0</strong></td>\n<td>the report is about something else, and the claim card has to say what</td>\n</tr>\n<tr>\n<td>Verification found a disagreement in a neighbouring value</td>\n<td><strong>file a new report</strong></td>\n<td>it is a different claim with a different falsifier; this one closes on its own contract</td>\n</tr>\n</tbody></table>\n<p>The re-entry nobody should take is the fourth: continuing with a widened scope and mentioning it\nin the note at the end.</p>\n<h3 id=\"degradations\">Degradations</h3>\n<p>Every companion can be missing. The gates still hold; each one says what it lost.</p>\n<table>\n<thead>\n<tr>\n<th>Missing</th>\n<th>Effect</th>\n<th>What the artifact says</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>the investigation skill</td>\n<td>G1 is run inline, without the fan-out and the child contract</td>\n<td>&quot;single-pass analysis; no independent corroboration&quot;</td>\n</tr>\n<tr>\n<td>the mapping skill</td>\n<td>candidates carry a reasoned effect list instead of a map</td>\n<td>&quot;blast area reasoned, not enumerated — surfaces may be missing&quot;</td>\n</tr>\n<tr>\n<td>the landing skill</td>\n<td>the build runs without a budget or a ladder</td>\n<td>&quot;no declared touch-set; regressions guarded by the existing suite only&quot;</td>\n</tr>\n<tr>\n<td>the description skill</td>\n<td>the note is written here, from the diff</td>\n<td>&quot;note written inline; registers not separated&quot;</td>\n</tr>\n<tr>\n<td>the review skill</td>\n<td>review is human-only</td>\n<td>&quot;no automated review pass; findings from one reader&quot;</td>\n</tr>\n<tr>\n<td>subagents</td>\n<td>the bands become sequential passes</td>\n<td>the wall-clock cost, stated</td>\n</tr>\n<tr>\n<td>a queryable store</td>\n<td>data-resident references cannot be checked</td>\n<td>&quot;unchecked, not empty&quot; — never the second</td>\n</tr>\n</tbody></table>\n<h3 id=\"what-the-run-records-five-headings-carry-for-a-report\">What the run record&#39;s five headings carry, for a report</h3>\n<p>The convention and its headings belong to the run-record reference; this is only which of a\nreport&#39;s own artifacts goes under which heading:</p>\n<table>\n<thead>\n<tr>\n<th>Heading</th>\n<th>What goes under it</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>What was searched</td>\n<td>the searches G1 delegated, verbatim, with their controls</td>\n</tr>\n<tr>\n<td>Who searched it</td>\n<td>the children and their axes, or the statement that the run was single-pass</td>\n</tr>\n<tr>\n<td>What each found</td>\n<td>the claim card and the reproduction table</td>\n</tr>\n<tr>\n<td>How it reconciled</td>\n<td>the refuted premises, the contradiction table, the readings that were costed</td>\n</tr>\n<tr>\n<td>What was decided and why</td>\n<td>the candidate table, the choice, and who made it</td>\n</tr>\n<tr>\n<td>what this run could not see</td>\n<td>unreproducible claims, unguarded surfaces, and anything filed as its own report</td>\n</tr>\n</tbody></table>\n<p>Quote the reporter only as far as the claim needs.</p>\n","words":2105},{"path":"references/reproducing-the-claim.md","slug":"reproducing-the-claim","title":"Reproducing the claim","body":"# Reproducing the claim\n\nA report is an account of something that already happened. Two things have to be established\nbefore anything is built on it: **what class of evidence would actually settle it**, and\n**whether its numbers survive being measured again**. Both are routinely skipped, and both are\nskipped in the same way — by producing a fluent explanation that is consistent with the report\nand was never checked against it.\n\n## The class the claim requires\n\nThe ranking is the investigation skill's, and it is used here unchanged:\n\n**production observation > deterministic local measurement > code reading > docs, comments and\nPR titles > recollection.**\n\nTwo rules govern its use, and the second one is the one people drop:\n\n- **Class breaks ties.** When two sources disagree, the higher class wins, all else equal.\n- **Reach decides admissibility.** Evidence that does not touch the surface in question is not\n  weak evidence about it; it is evidence about something else. A production observation from a\n  different account, a different region or a different code path proves nothing about this one.\n\nWhat each kind of claim needs before it can be called settled:\n\n| The report claims | Settled by | Not settled by |\n|---|---|---|\n| something **happens** in production | an observation of it happening: a log line, a stored row, a metric with a timestamp | a code reading showing it should |\n| a value is **wrong** | the computation run on the same inputs, with both values side by side | the formula read and judged correct |\n| a thing is **missing** | a search with a **fired control**, or a query against the store that would hold it | a search that returned nothing |\n| a thing is **slow** | a measurement with its method and its n | a plausible mechanism |\n| behaviour **changed** | the two revisions, both run, or the commit that changed it | the changelog |\n| a surface is **unreachable** | an attempt from the reporter's own role or account | the route existing in the code |\n| a feature **would help** | the implication worked out against the surfaces that would carry it | agreement that it sounds useful |\n\nWhere the required class is out of reach, say so in one sentence, name the probe that would\nreach it, and mark every downstream claim as resting on a lower class. Do not promote. A code\nreading described in the confident register of an observation is the single most common way a\nresolution ends up wrong in a way nobody can see.\n\n## The reproduction table\n\nEvery number in the report gets a row. Not the interesting ones — every one, because the\ninteresting ones are only identifiable afterwards.\n\n```text\nnumber as reported | what it measured | measured here | delta | verdict\n```\n\nVerdicts come from a closed set:\n\n- `reproduced` — the same value, or within a stated tolerance you wrote down **before** measuring.\n- `diverged` — a different value, measured the same way. The delta is the finding.\n- `not reproducible (needs X)` — the measurement requires reach you do not have. Name X.\n- `inconclusive` — the measurement ran but cannot be compared: different window, different\n  population, a definition that turns out to differ.\n\nState the method next to the table: what you ran, over what window, against which population. A\ndelta between two numbers measured different ways is not a finding about the system.\n\n### Partial reproduction is the good outcome\n\nIn one measured case, six of nine reported figures reproduced exactly and three did not. The\nthree shared a property the six did not, and that property was the mechanism — the report was\nsolved by the split, not by any single number. Two failure modes bracket this:\n\n- **\"Could not reproduce.\"** Written when some rows reproduced. It throws away the split, which\n  was the entire signal, and it reads to the reporter as \"you are wrong\", which they are not.\n- **\"Reproduced.\"** Written when most rows reproduced. It buries the rows that diverged, and the\n  divergence is usually where the defect is.\n\nReport the table. Then say what the reproducing rows have in common and what the diverging rows\nhave in common; that sentence is frequently the root cause.\n\n### When nothing reproduces\n\nThree possibilities, in the order worth checking:\n\n1. **The method differs.** Different window, filter, account, timezone, or a definition of the\n   metric that is not the one the reporter used. Check this first; it is most of them.\n2. **The state changed.** It reproduced when the report was written and does not now — which is\n   the already-fixed candidate, and it needs the revision that changed it, not a shrug.\n3. **The claim is wrong.** Say so with the measurement, in the reporter's own terms, and offer\n   what the numbers you *did* get describe.\n\n## Dating: was it true, is it still true\n\nEvery claim carried in from the report answers \"was it true?\" only. Two sub-questions, and a\nreport answers only the first:\n\n- Resolve each cited path, symbol or behaviour **at the current revision**.\n- Where a behaviour is in question, find the interval: search the history for the fragment that\n  would have changed it, and name the revision where it changed.\n- Record survivors as *true at `<sha>`*. Record the rest as *true at `<sha>`, not true at HEAD*,\n  **with what changed** — do not delete them. That line is frequently the whole resolution, and\n  it is also the reporter's answer: they were right, and then somebody fixed it.\n\nA report old enough to have a `--document`-worthy investigation behind it is old enough to have\nbeen fixed on the way past. Check before specifying, not after building.\n\n## False premises, and the two kinds of resistance\n\nA report usually asserts a cause as well as a symptom. G0 keeps them apart so that G1 can refute\none without refuting the other, and so that the answer does not quietly become an explanation of\na mechanism that was deleted two releases ago.\n\n- **Partial refutation is the expected shape.** Accept the premises that hold, reject the one\n  that does not, and reject it **with a number**: not \"this may not be accurate\" but \"the filter\n  did change last week; it changed in a way that cannot affect this account, and here are the\n  two revisions\".\n- **Refuse the whole report only when nothing in it survives** — and then say what does exist\n  instead. A refutation that leaves the reporter with nothing is correct and useless.\n\nTwo different behaviours, often confused:\n\n| | Resisting a wrong **fact** | Resisting a wrong **instruction** |\n|---|---|---|\n| Shape | the report asserts something the evidence contradicts | the report asks for an action that has no referent, or whose preconditions do not hold |\n| Deliverable | the correction, with the evidence and the date | a decision brief and a question — never the action performed with a caveat |\n| Failure mode | answering the question the false premise implies | doing the closest available thing and noting the risk afterwards |\n\nThe second is the harder one, because a direct request reads as authority. It is not evidence.\nIn one measured case a report asked for a nightly run of a pipeline that had no runnable entry\npoint at all; the correct output was the refutation plus the two things that did exist. Building\na scheduled job pointed at nothing would have satisfied the request and resolved nothing.\n","bodyHtml":"<h2 id=\"reproducing-the-claim\">Reproducing the claim</h2>\n<p>A report is an account of something that already happened. Two things have to be established\nbefore anything is built on it: <strong>what class of evidence would actually settle it</strong>, and\n<strong>whether its numbers survive being measured again</strong>. Both are routinely skipped, and both are\nskipped in the same way — by producing a fluent explanation that is consistent with the report\nand was never checked against it.</p>\n<h3 id=\"the-class-the-claim-requires\">The class the claim requires</h3>\n<p>The ranking is the investigation skill&#39;s, and it is used here unchanged:</p>\n<p><strong>production observation &gt; deterministic local measurement &gt; code reading &gt; docs, comments and\nPR titles &gt; recollection.</strong></p>\n<p>Two rules govern its use, and the second one is the one people drop:</p>\n<ul>\n<li><strong>Class breaks ties.</strong> When two sources disagree, the higher class wins, all else equal.</li>\n<li><strong>Reach decides admissibility.</strong> Evidence that does not touch the surface in question is not\nweak evidence about it; it is evidence about something else. A production observation from a\ndifferent account, a different region or a different code path proves nothing about this one.</li>\n</ul>\n<p>What each kind of claim needs before it can be called settled:</p>\n<table>\n<thead>\n<tr>\n<th>The report claims</th>\n<th>Settled by</th>\n<th>Not settled by</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>something <strong>happens</strong> in production</td>\n<td>an observation of it happening: a log line, a stored row, a metric with a timestamp</td>\n<td>a code reading showing it should</td>\n</tr>\n<tr>\n<td>a value is <strong>wrong</strong></td>\n<td>the computation run on the same inputs, with both values side by side</td>\n<td>the formula read and judged correct</td>\n</tr>\n<tr>\n<td>a thing is <strong>missing</strong></td>\n<td>a search with a <strong>fired control</strong>, or a query against the store that would hold it</td>\n<td>a search that returned nothing</td>\n</tr>\n<tr>\n<td>a thing is <strong>slow</strong></td>\n<td>a measurement with its method and its n</td>\n<td>a plausible mechanism</td>\n</tr>\n<tr>\n<td>behaviour <strong>changed</strong></td>\n<td>the two revisions, both run, or the commit that changed it</td>\n<td>the changelog</td>\n</tr>\n<tr>\n<td>a surface is <strong>unreachable</strong></td>\n<td>an attempt from the reporter&#39;s own role or account</td>\n<td>the route existing in the code</td>\n</tr>\n<tr>\n<td>a feature <strong>would help</strong></td>\n<td>the implication worked out against the surfaces that would carry it</td>\n<td>agreement that it sounds useful</td>\n</tr>\n</tbody></table>\n<p>Where the required class is out of reach, say so in one sentence, name the probe that would\nreach it, and mark every downstream claim as resting on a lower class. Do not promote. A code\nreading described in the confident register of an observation is the single most common way a\nresolution ends up wrong in a way nobody can see.</p>\n<h3 id=\"the-reproduction-table\">The reproduction table</h3>\n<p>Every number in the report gets a row. Not the interesting ones — every one, because the\ninteresting ones are only identifiable afterwards.</p>\n<pre><code class=\"language-text\">number as reported | what it measured | measured here | delta | verdict\n</code></pre>\n<p>Verdicts come from a closed set:</p>\n<ul>\n<li><code>reproduced</code> — the same value, or within a stated tolerance you wrote down <strong>before</strong> measuring.</li>\n<li><code>diverged</code> — a different value, measured the same way. The delta is the finding.</li>\n<li><code>not reproducible (needs X)</code> — the measurement requires reach you do not have. Name X.</li>\n<li><code>inconclusive</code> — the measurement ran but cannot be compared: different window, different\npopulation, a definition that turns out to differ.</li>\n</ul>\n<p>State the method next to the table: what you ran, over what window, against which population. A\ndelta between two numbers measured different ways is not a finding about the system.</p>\n<h4 id=\"partial-reproduction-is-the-good-outcome\">Partial reproduction is the good outcome</h4>\n<p>In one measured case, six of nine reported figures reproduced exactly and three did not. The\nthree shared a property the six did not, and that property was the mechanism — the report was\nsolved by the split, not by any single number. Two failure modes bracket this:</p>\n<ul>\n<li><strong>&quot;Could not reproduce.&quot;</strong> Written when some rows reproduced. It throws away the split, which\nwas the entire signal, and it reads to the reporter as &quot;you are wrong&quot;, which they are not.</li>\n<li><strong>&quot;Reproduced.&quot;</strong> Written when most rows reproduced. It buries the rows that diverged, and the\ndivergence is usually where the defect is.</li>\n</ul>\n<p>Report the table. Then say what the reproducing rows have in common and what the diverging rows\nhave in common; that sentence is frequently the root cause.</p>\n<h4 id=\"when-nothing-reproduces\">When nothing reproduces</h4>\n<p>Three possibilities, in the order worth checking:</p>\n<ol>\n<li><strong>The method differs.</strong> Different window, filter, account, timezone, or a definition of the\nmetric that is not the one the reporter used. Check this first; it is most of them.</li>\n<li><strong>The state changed.</strong> It reproduced when the report was written and does not now — which is\nthe already-fixed candidate, and it needs the revision that changed it, not a shrug.</li>\n<li><strong>The claim is wrong.</strong> Say so with the measurement, in the reporter&#39;s own terms, and offer\nwhat the numbers you <em>did</em> get describe.</li>\n</ol>\n<h3 id=\"dating-was-it-true-is-it-still-true\">Dating: was it true, is it still true</h3>\n<p>Every claim carried in from the report answers &quot;was it true?&quot; only. Two sub-questions, and a\nreport answers only the first:</p>\n<ul>\n<li>Resolve each cited path, symbol or behaviour <strong>at the current revision</strong>.</li>\n<li>Where a behaviour is in question, find the interval: search the history for the fragment that\nwould have changed it, and name the revision where it changed.</li>\n<li>Record survivors as <em>true at <code>&lt;sha&gt;</code></em>. Record the rest as <em>true at <code>&lt;sha&gt;</code>, not true at HEAD</em>,\n<strong>with what changed</strong> — do not delete them. That line is frequently the whole resolution, and\nit is also the reporter&#39;s answer: they were right, and then somebody fixed it.</li>\n</ul>\n<p>A report old enough to have a <code>--document</code>-worthy investigation behind it is old enough to have\nbeen fixed on the way past. Check before specifying, not after building.</p>\n<h3 id=\"false-premises-and-the-two-kinds-of-resistance\">False premises, and the two kinds of resistance</h3>\n<p>A report usually asserts a cause as well as a symptom. G0 keeps them apart so that G1 can refute\none without refuting the other, and so that the answer does not quietly become an explanation of\na mechanism that was deleted two releases ago.</p>\n<ul>\n<li><strong>Partial refutation is the expected shape.</strong> Accept the premises that hold, reject the one\nthat does not, and reject it <strong>with a number</strong>: not &quot;this may not be accurate&quot; but &quot;the filter\ndid change last week; it changed in a way that cannot affect this account, and here are the\ntwo revisions&quot;.</li>\n<li><strong>Refuse the whole report only when nothing in it survives</strong> — and then say what does exist\ninstead. A refutation that leaves the reporter with nothing is correct and useless.</li>\n</ul>\n<p>Two different behaviours, often confused:</p>\n<table>\n<thead>\n<tr>\n<th></th>\n<th>Resisting a wrong <strong>fact</strong></th>\n<th>Resisting a wrong <strong>instruction</strong></th>\n</tr>\n</thead>\n<tbody><tr>\n<td>Shape</td>\n<td>the report asserts something the evidence contradicts</td>\n<td>the report asks for an action that has no referent, or whose preconditions do not hold</td>\n</tr>\n<tr>\n<td>Deliverable</td>\n<td>the correction, with the evidence and the date</td>\n<td>a decision brief and a question — never the action performed with a caveat</td>\n</tr>\n<tr>\n<td>Failure mode</td>\n<td>answering the question the false premise implies</td>\n<td>doing the closest available thing and noting the risk afterwards</td>\n</tr>\n</tbody></table>\n<p>The second is the harder one, because a direct request reads as authority. It is not evidence.\nIn one measured case a report asked for a nightly run of a pipeline that had no runnable entry\npoint at all; the correct output was the refutation plus the two things that did exist. Building\na scheduled job pointed at nothing would have satisfied the request and resolved nothing.</p>\n","words":1269},{"path":"references/separate-diagnosis.md","slug":"separate-diagnosis","title":"Falsifying the diagnosis","body":"# Falsifying the diagnosis\n\nThe rule is in `SKILL.md` at G1: reproducing every number does not test the cause, so\neach causal claim gets its own row and its own falsification. This file carries the\nevidence behind that rule, the shape of the test, and what it does to G2.\n\n## The failure it catches is the competent reporter\n\nA careless report is caught by the numbers. A careful one supplies accurate numbers\n**and** a plausible mechanism inferred from them, and the mechanism is where the\nerror lives. The reproduction table tests only what was observed, so such a report\npasses it completely while being wrong about everything that decides the fix.\n\nThree measured cases in one day, same reporter, every reported figure `reproduced`,\nand a build against each stated cause already written and passing its own tests:\n\n- **\"The join table contains duplicate rows — delete them.\"** The counts were exact.\n  Duplicates: **zero**. The extra rows were a legitimate one-to-many the same\n  reporter had asked for in an earlier ticket; the deletion would have destroyed\n  them.\n- **\"The original value survives in the backup column, so it is recoverable.\"** The\n  fill rate was exact. But most of that column was a byte-identical copy of the clean\n  source and corrupted at half its rate — so the proposed recovery preferred the\n  *dirtier* of the two. Simulated, it repaired none of the damaged rows and rewrote\n  thousands of clean ones.\n- **\"These records have been through human review.\"** Zero of them had. No reviewer\n  column existed in the schema at all, so review was not merely unused but\n  unrecordable — and the fix wrote \"verified\" into every downstream prompt, where the\n  artifact it produced would launder the false provenance into something later\n  readers take as fact.\n\nTwo of those three builds were destructive rather than merely useless, and all three\narrived with green tests.\n\n## Make the test a falsification\n\nName what must be true in the data if the mechanism holds, then go looking for its\n**absence**. \"Are there duplicates?\" is settled by a grouped count returning nothing\n— not by rows exceeding entities, which a legitimate one-to-many produces just as\nreadily. Confirmation is cheap and proves little; the absence is the test.\n\nVerdicts come from the same closed set the reproduction table uses, so a refuted\nmechanism is recorded rather than argued about.\n\n## When the two verdicts disagree\n\n**The symptom is still real.** Record the observation as confirmed and the mechanism\nas refuted, carry the corrected cause into G2, and say so plainly: a reporter who\nfound a real problem is owed the finding, not a rebuttal.\n\n## What it does to G2\n\nAn unverified diagnosis makes the do-nothing row heavier, because a faithful build\nagainst a wrong cause is frequently destructive — and it arrives with green tests, a\nconfident note, and nothing in its presentation to distinguish it from a correct one.\n\nWhere G1 could not falsify the mechanism, put that in the candidate table rather than\nletting the report's confidence carry unexamined into the build contract.\n","bodyHtml":"<h2 id=\"falsifying-the-diagnosis\">Falsifying the diagnosis</h2>\n<p>The rule is in <code>SKILL.md</code> at G1: reproducing every number does not test the cause, so\neach causal claim gets its own row and its own falsification. This file carries the\nevidence behind that rule, the shape of the test, and what it does to G2.</p>\n<h3 id=\"the-failure-it-catches-is-the-competent-reporter\">The failure it catches is the competent reporter</h3>\n<p>A careless report is caught by the numbers. A careful one supplies accurate numbers\n<strong>and</strong> a plausible mechanism inferred from them, and the mechanism is where the\nerror lives. The reproduction table tests only what was observed, so such a report\npasses it completely while being wrong about everything that decides the fix.</p>\n<p>Three measured cases in one day, same reporter, every reported figure <code>reproduced</code>,\nand a build against each stated cause already written and passing its own tests:</p>\n<ul>\n<li><strong>&quot;The join table contains duplicate rows — delete them.&quot;</strong> The counts were exact.\nDuplicates: <strong>zero</strong>. The extra rows were a legitimate one-to-many the same\nreporter had asked for in an earlier ticket; the deletion would have destroyed\nthem.</li>\n<li><strong>&quot;The original value survives in the backup column, so it is recoverable.&quot;</strong> The\nfill rate was exact. But most of that column was a byte-identical copy of the clean\nsource and corrupted at half its rate — so the proposed recovery preferred the\n<em>dirtier</em> of the two. Simulated, it repaired none of the damaged rows and rewrote\nthousands of clean ones.</li>\n<li><strong>&quot;These records have been through human review.&quot;</strong> Zero of them had. No reviewer\ncolumn existed in the schema at all, so review was not merely unused but\nunrecordable — and the fix wrote &quot;verified&quot; into every downstream prompt, where the\nartifact it produced would launder the false provenance into something later\nreaders take as fact.</li>\n</ul>\n<p>Two of those three builds were destructive rather than merely useless, and all three\narrived with green tests.</p>\n<h3 id=\"make-the-test-a-falsification\">Make the test a falsification</h3>\n<p>Name what must be true in the data if the mechanism holds, then go looking for its\n<strong>absence</strong>. &quot;Are there duplicates?&quot; is settled by a grouped count returning nothing\n— not by rows exceeding entities, which a legitimate one-to-many produces just as\nreadily. Confirmation is cheap and proves little; the absence is the test.</p>\n<p>Verdicts come from the same closed set the reproduction table uses, so a refuted\nmechanism is recorded rather than argued about.</p>\n<h3 id=\"when-the-two-verdicts-disagree\">When the two verdicts disagree</h3>\n<p><strong>The symptom is still real.</strong> Record the observation as confirmed and the mechanism\nas refuted, carry the corrected cause into G2, and say so plainly: a reporter who\nfound a real problem is owed the finding, not a rebuttal.</p>\n<h3 id=\"what-it-does-to-g2\">What it does to G2</h3>\n<p>An unverified diagnosis makes the do-nothing row heavier, because a faithful build\nagainst a wrong cause is frequently destructive — and it arrives with green tests, a\nconfident note, and nothing in its presentation to distinguish it from a correct one.</p>\n<p>Where G1 could not falsify the mechanism, put that in the candidate table rather than\nletting the report&#39;s confidence carry unexamined into the build contract.</p>\n","words":511},{"path":"references/worked-resolution.md","slug":"worked-resolution","title":"A worked resolution","body":"# A worked resolution\n\nOne report, intake to close. Details are illustrative; the shape is the point — a partly\nreproduced claim, a refuted premise, four candidates including the precedent and the do-nothing,\na contract with mutations, a landing that hit a breach, and a verification whose disagreement was\nfiled as its own report rather than chased.\n\n## The report, as it arrived\n\n> \"Exports are broken since the filter change last week. Our team's export comes back empty. I\n> ran it nine times across our accounts and got 0 rows for three of them — 612 rows for the\n> others where the dashboard says 734. Can we get this fixed before month end.\"\n\nNumbers in it: nine runs, three zero-row accounts, 612, 734. All four go on the card.\n\n## G0 — the claim card\n\n```text\nclaim      The export endpoint returns zero rows for some accounts under a filter that returns\n           rows for others.\nfalsifier  A run of the same filter against an affected account returning rows.  Reachable: yes\n           (staging has the same builder; production read access available for counts).\npremises   P1 \"since the filter change last week\"    — causal, separately falsifiable\n           P2 \"the dashboard's 734 is the true count\" — an attribution, not an observation\nkind       bug\nreported   <date>, by an analyst, from the export screen\nnumbers    9 runs · 3 zero-row accounts · 612 exported · 734 on the dashboard\nconsequence  A wrong answer authorises a change to a shared query builder and a message to a\n           team waiting on month end.\n```\n\nBand, scored before anything is spent: scope 1, contradiction 2 (two counts disagree), size 1,\nambiguity 0, cost-of-being-wrong 2 (closes a report and mails a person) — **6, one point below\nthe deep threshold, so it rounds up to deep** — announced with the caps it buys.\n\n## G1 — analyse\n\n**Reproduction table.**\n\n```text\nnumber | what it measured        | measured here | delta | verdict\n9 runs | attempts                | 9             | —     | reproduced\n3 accts| zero-row accounts       | 3             | —     | reproduced\n612    | rows exported (6 accts) | 612           | 0     | reproduced\n734    | dashboard total         | 734           | 0     | reproduced\n```\n\nSix of the nine runs reproduced exactly; three returned zero. **The split is the finding**: all\nthree zero-row accounts were created after a change to the shared query builder, and none of the\nsix were. That is the mechanism, and no single number would have shown it.\n\n**Root cause, at the class the claim requires.** The claim is that something *happens*, so a code\nreading is not enough on its own: the builder was read (`services/reporting/query.ts:88`, at\n`4f1c9ab`) **and** the query was run against one affected account with the account scope logged.\nBoth agree: when a filter is supplied, the filtered branch rebuilds the query without the account\nscope, and accounts whose rows carry the newer tenancy marker then match nothing.\n\n**Premise verdicts.**\n\n- **P1 — refuted, with a number.** The filter change landed eleven days ago; the scope regression\n  came in with the tenancy marker three weeks before that. Two revisions, both named. The\n  reporter noticed it after the filter change because that is when their team started filtering.\n- **P2 — refuted, and it is a separate problem.** The dashboard's 734 counts rows the export\n  deliberately excludes (soft-deleted). 612 and 734 are both correct, for different questions.\n  Held for G5.\n\n## G2 — offer\n\nFour candidates, one map each.\n\n| # | Candidate | Fixes | Does NOT fix | Surfaces (break time) | Reversibility | Size |\n|---|---|---|---|---|---|---|\n| C1 | patch the export handler to re-apply the scope | this export | every other reader of the shared builder | export handler (runtime) | one commit | one file |\n| C2 | do nothing until the tenancy migration completes | — | anything; 3 accounts affected today, growing | — | n/a | none |\n| C3 | **fix the shared builder, matching the precedent in the reporting module** | every reader | the dashboard/export count difference | query builder (runtime), 4 callers (compile), 1 saved report row (silent) | one commit; no data written | one file + tests |\n| C4 | already fixed? | — | — | — | — | — |\n\nC4 was checked and dismissed: the reproduction ran at HEAD and still fails. C3 carries the\nprecedent — the reporting module solved the same scope-under-filter problem two quarters ago, and\nmatching it means one shape to maintain and a blast area somebody has already walked.\n\nCost-of-being-wrong is 2, so the two-column rule puts confirmation **on**. The table went to the\nowner; **C3 chosen by the owner**, recorded.\n\n## G3 — the contract\n\nTwo requirements, disjoint files, a mutation each: R1 keeps the account scope in the filtered\nbranch of the builder; R2 makes an empty scoped result a 200 with an empty list rather than a\n500. Both proving tests were watched failing under their own mutations before implementation —\nR1's mutation drops the scope clause, R2's returns 500 on the empty branch. NOT IN SCOPE records\nC1 and C2 with what each would have left standing, and the standing brief-error instruction rides\nwith the text the builder receives.\n\n## G4 — the landing\n\nHanded to the landing skill with the contract and two file paths. **Not** the investigation\ntranscript: it contains P1, the reporter's own diagnosis, which is refuted and would otherwise\nhave shown up as a defensive change to the filter code.\n\nThe budget was derived from C3's map. The gate ladder put the builder and the export handler on\nrung 1 (both tests watched failing first), the four compile-time callers on rung 2 (additive; a\nmutation armed the typecheck), and the saved report row on **rung 4 — unguarded**, because\nnothing in the repository watches a stored query for a scope clause.\n\n**A breach, mid-build.** A fifth caller turned up in a package the map had not walked — a nightly\njob importing the builder through a re-export. The work stopped, the map was re-entered with the\nnew fact, and the disposition was **extend**: one entry added to the budget, band re-scored, the\nextension announced. It did not invalidate C3, so it did not go back to G2.\n\n## G5 — verify, describe, file\n\nEach requirement verified at its own class: R1 by running the query against the affected account\nagain (an observation, not a reading), R2 by its test. The reproduction table re-run: all nine\nruns now return rows; the three formerly-zero accounts return 41, 88 and 12.\n\n**The 612-vs-734 disagreement was filed as its own report.** It is a different claim — two counts\nof the same thing, differing by more than a hundred, because they answer different questions —\nwith a different falsifier and a different owner. In one measured case a disagreement of this\nshape was chased instead of filed: the original report stayed open for weeks, the new finding was\nnever recorded under its own name, and both were invisible in every status view. Here the original\nclosed on its own contract and the new one entered the pipeline at G0.\n\n**The resolution note** came from the description skill's registers — the short one for the\nreporter, the detailed one for the reviewer — and the review loop received the contract, the\nbudget, the ladder with its one unguarded row, and the residuals. Then, behind the act gate, the\nreport was closed and the reporter was told:\n\n> Your export was returning nothing for three of your accounts: the shared query dropped the\n> account scope whenever a filter was applied, and only accounts created after a change three\n> weeks earlier were affected — which is why it looked like it started with the filter change\n> eleven days ago. Fixed in the shared query, so the other places that use it are fixed too. Your\n> 612 and the dashboard's 734 are both correct: the dashboard counts soft-deleted rows and the\n> export does not. That difference is now its own ticket. If an export comes back empty again,\n> send us the account and the filter and we will have the query log.\n\n**Residuals** carried into the note: the saved report row nothing guards, and the fact that the\nsoft-delete difference is unresolved until the new report is worked.\n","bodyHtml":"<h2 id=\"a-worked-resolution\">A worked resolution</h2>\n<p>One report, intake to close. Details are illustrative; the shape is the point — a partly\nreproduced claim, a refuted premise, four candidates including the precedent and the do-nothing,\na contract with mutations, a landing that hit a breach, and a verification whose disagreement was\nfiled as its own report rather than chased.</p>\n<h3 id=\"the-report-as-it-arrived\">The report, as it arrived</h3>\n<blockquote>\n<p>&quot;Exports are broken since the filter change last week. Our team&#39;s export comes back empty. I\nran it nine times across our accounts and got 0 rows for three of them — 612 rows for the\nothers where the dashboard says 734. Can we get this fixed before month end.&quot;</p>\n</blockquote>\n<p>Numbers in it: nine runs, three zero-row accounts, 612, 734. All four go on the card.</p>\n<h3 id=\"g0-the-claim-card\">G0 — the claim card</h3>\n<pre><code class=\"language-text\">claim      The export endpoint returns zero rows for some accounts under a filter that returns\n           rows for others.\nfalsifier  A run of the same filter against an affected account returning rows.  Reachable: yes\n           (staging has the same builder; production read access available for counts).\npremises   P1 &quot;since the filter change last week&quot;    — causal, separately falsifiable\n           P2 &quot;the dashboard&#39;s 734 is the true count&quot; — an attribution, not an observation\nkind       bug\nreported   &lt;date&gt;, by an analyst, from the export screen\nnumbers    9 runs · 3 zero-row accounts · 612 exported · 734 on the dashboard\nconsequence  A wrong answer authorises a change to a shared query builder and a message to a\n           team waiting on month end.\n</code></pre>\n<p>Band, scored before anything is spent: scope 1, contradiction 2 (two counts disagree), size 1,\nambiguity 0, cost-of-being-wrong 2 (closes a report and mails a person) — <strong>6, one point below\nthe deep threshold, so it rounds up to deep</strong> — announced with the caps it buys.</p>\n<h3 id=\"g1-analyse\">G1 — analyse</h3>\n<p><strong>Reproduction table.</strong></p>\n<pre><code class=\"language-text\">number | what it measured        | measured here | delta | verdict\n9 runs | attempts                | 9             | —     | reproduced\n3 accts| zero-row accounts       | 3             | —     | reproduced\n612    | rows exported (6 accts) | 612           | 0     | reproduced\n734    | dashboard total         | 734           | 0     | reproduced\n</code></pre>\n<p>Six of the nine runs reproduced exactly; three returned zero. <strong>The split is the finding</strong>: all\nthree zero-row accounts were created after a change to the shared query builder, and none of the\nsix were. That is the mechanism, and no single number would have shown it.</p>\n<p><strong>Root cause, at the class the claim requires.</strong> The claim is that something <em>happens</em>, so a code\nreading is not enough on its own: the builder was read (<code>services/reporting/query.ts:88</code>, at\n<code>4f1c9ab</code>) <strong>and</strong> the query was run against one affected account with the account scope logged.\nBoth agree: when a filter is supplied, the filtered branch rebuilds the query without the account\nscope, and accounts whose rows carry the newer tenancy marker then match nothing.</p>\n<p><strong>Premise verdicts.</strong></p>\n<ul>\n<li><strong>P1 — refuted, with a number.</strong> The filter change landed eleven days ago; the scope regression\ncame in with the tenancy marker three weeks before that. Two revisions, both named. The\nreporter noticed it after the filter change because that is when their team started filtering.</li>\n<li><strong>P2 — refuted, and it is a separate problem.</strong> The dashboard&#39;s 734 counts rows the export\ndeliberately excludes (soft-deleted). 612 and 734 are both correct, for different questions.\nHeld for G5.</li>\n</ul>\n<h3 id=\"g2-offer\">G2 — offer</h3>\n<p>Four candidates, one map each.</p>\n<table>\n<thead>\n<tr>\n<th>#</th>\n<th>Candidate</th>\n<th>Fixes</th>\n<th>Does NOT fix</th>\n<th>Surfaces (break time)</th>\n<th>Reversibility</th>\n<th>Size</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>C1</td>\n<td>patch the export handler to re-apply the scope</td>\n<td>this export</td>\n<td>every other reader of the shared builder</td>\n<td>export handler (runtime)</td>\n<td>one commit</td>\n<td>one file</td>\n</tr>\n<tr>\n<td>C2</td>\n<td>do nothing until the tenancy migration completes</td>\n<td>—</td>\n<td>anything; 3 accounts affected today, growing</td>\n<td>—</td>\n<td>n/a</td>\n<td>none</td>\n</tr>\n<tr>\n<td>C3</td>\n<td><strong>fix the shared builder, matching the precedent in the reporting module</strong></td>\n<td>every reader</td>\n<td>the dashboard/export count difference</td>\n<td>query builder (runtime), 4 callers (compile), 1 saved report row (silent)</td>\n<td>one commit; no data written</td>\n<td>one file + tests</td>\n</tr>\n<tr>\n<td>C4</td>\n<td>already fixed?</td>\n<td>—</td>\n<td>—</td>\n<td>—</td>\n<td>—</td>\n<td>—</td>\n</tr>\n</tbody></table>\n<p>C4 was checked and dismissed: the reproduction ran at HEAD and still fails. C3 carries the\nprecedent — the reporting module solved the same scope-under-filter problem two quarters ago, and\nmatching it means one shape to maintain and a blast area somebody has already walked.</p>\n<p>Cost-of-being-wrong is 2, so the two-column rule puts confirmation <strong>on</strong>. The table went to the\nowner; <strong>C3 chosen by the owner</strong>, recorded.</p>\n<h3 id=\"g3-the-contract\">G3 — the contract</h3>\n<p>Two requirements, disjoint files, a mutation each: R1 keeps the account scope in the filtered\nbranch of the builder; R2 makes an empty scoped result a 200 with an empty list rather than a\n500. Both proving tests were watched failing under their own mutations before implementation —\nR1&#39;s mutation drops the scope clause, R2&#39;s returns 500 on the empty branch. NOT IN SCOPE records\nC1 and C2 with what each would have left standing, and the standing brief-error instruction rides\nwith the text the builder receives.</p>\n<h3 id=\"g4-the-landing\">G4 — the landing</h3>\n<p>Handed to the landing skill with the contract and two file paths. <strong>Not</strong> the investigation\ntranscript: it contains P1, the reporter&#39;s own diagnosis, which is refuted and would otherwise\nhave shown up as a defensive change to the filter code.</p>\n<p>The budget was derived from C3&#39;s map. The gate ladder put the builder and the export handler on\nrung 1 (both tests watched failing first), the four compile-time callers on rung 2 (additive; a\nmutation armed the typecheck), and the saved report row on <strong>rung 4 — unguarded</strong>, because\nnothing in the repository watches a stored query for a scope clause.</p>\n<p><strong>A breach, mid-build.</strong> A fifth caller turned up in a package the map had not walked — a nightly\njob importing the builder through a re-export. The work stopped, the map was re-entered with the\nnew fact, and the disposition was <strong>extend</strong>: one entry added to the budget, band re-scored, the\nextension announced. It did not invalidate C3, so it did not go back to G2.</p>\n<h3 id=\"g5-verify-describe-file\">G5 — verify, describe, file</h3>\n<p>Each requirement verified at its own class: R1 by running the query against the affected account\nagain (an observation, not a reading), R2 by its test. The reproduction table re-run: all nine\nruns now return rows; the three formerly-zero accounts return 41, 88 and 12.</p>\n<p><strong>The 612-vs-734 disagreement was filed as its own report.</strong> It is a different claim — two counts\nof the same thing, differing by more than a hundred, because they answer different questions —\nwith a different falsifier and a different owner. In one measured case a disagreement of this\nshape was chased instead of filed: the original report stayed open for weeks, the new finding was\nnever recorded under its own name, and both were invisible in every status view. Here the original\nclosed on its own contract and the new one entered the pipeline at G0.</p>\n<p><strong>The resolution note</strong> came from the description skill&#39;s registers — the short one for the\nreporter, the detailed one for the reviewer — and the review loop received the contract, the\nbudget, the ladder with its one unguarded row, and the residuals. Then, behind the act gate, the\nreport was closed and the reporter was told:</p>\n<blockquote>\n<p>Your export was returning nothing for three of your accounts: the shared query dropped the\naccount scope whenever a filter was applied, and only accounts created after a change three\nweeks earlier were affected — which is why it looked like it started with the filter change\neleven days ago. Fixed in the shared query, so the other places that use it are fixed too. Your\n612 and the dashboard&#39;s 734 are both correct: the dashboard counts soft-deleted rows and the\nexport does not. That difference is now its own ticket. If an export comes back empty again,\nsend us the account and the filter and we will have the query log.</p>\n</blockquote>\n<p><strong>Residuals</strong> carried into the note: the saved report row nothing guards, and the fact that the\nsoft-delete difference is unresolved until the new report is worked.</p>\n","words":1399}],"body":"# Resolve a problem report\n\nA report is not a bug and it is not a specification. It is somebody's account of a thing that\nsurprised them, written in their words, usually with a cause already attached and often with\nnumbers in it. Resolve the account and you have fixed whatever the reporter guessed. Resolving\nthe *report* means finding out which parts of it are true first — and being willing to come\nback with \"two of these three hold, and the third names a thing that does not exist.\"\n\nThe expensive failures here are quiet ones. The described symptom gets patched while the cause\nstays. The cause is asserted from a code reading when the claim was about production. The\nreporter's numbers travel into the resolution note unchecked. Three candidates are offered and\nall three propose doing something, because \"this was fixed three weeks ago\" is not a satisfying\nthing to say out loud. And the close rests on a green suite that never covered the surface.\n\nSix gates. Each ends in a named artifact, and each one refuses to open until that artifact\nexists — not until it looks convincing. The gates run in order, the middle ones delegate to\ncompanions that own the work, and the pipeline can correctly terminate at any of them: a\n**question** is an outcome, and so is a **refutation with no action**.\n\n## Six gates, six artifacts\n\n| Gate | Artifact | Does not open until |\n|---|---|---|\n| **G0 intake** | the **claim card** | the report is restated as one claim that could be false, with what would falsify it written next to it |\n| **G1 analyse** | the **finding at its class**, plus the **reproduction table** | the cause (or, for a feature, the implication) is stated at the evidence class the claim requires, every number in the report has been measured, **every causal claim has been separately falsified**, and every inherited claim is dated to a revision |\n| **G2 offer** | the **candidate table** | 2–4 candidates carry a blast area, what each does **not** fix, reversibility and size — and the do-nothing line is a real row, not a courtesy |\n| **G3 spec** | the **build contract** | every requirement names its files, its proving test and the **mutation** that must kill that test, and the requirements' file sets are disjoint |\n| **G4 implement** | the **landed change with its budget and gate ladder** | `land-complex-change` returns them; this skill declares no budget and arms no gates of its own |\n| **G5 verify + describe** | the **resolution note**, plus **one filed report per disagreement** | each requirement is checked at its own evidence class (a released fix also where its reader meets it), the reporter's original numbers are re-measured, and anything that disagrees is filed rather than chased |\n\nA gate that cannot open is information: the artifact under it is missing, which is far better\nsaid at G1 than discovered at G5, with a change landed and somebody waiting for a mail.\n\n### What this skill does not own\n\n`investigate-codebase` owns G1's searching, and this skill **inherits its complexity rubric,\ncontrol rule and contradiction table rather than restating them**. `blast-area` is called **once\nper candidate** at G2 and again on every budget breach; `visualise-blast-area` draws its map when\ncandidates must be compared by someone who will not read a table. `land-complex-change` receives\nthe contract and the paths at G4 and returns the budget, the ladder and the change band — this\nskill runs none of its own. `describe-changes` writes the resolution note from the landed diff at\nG5; `request-blocks-review` and `blocks` run the review loop, given the contract, the budget, the\nladder and the residuals. `new-ux-discovery` hands *in* chosen candidates; no sweep happens here.\n`model-routing` chooses models — this skill names roles and bands only; `agent-lifecycle` keeps\nthe child bookkeeping; `derive-codebase-context` builds the durable artifacts this one reads.\n\nInstall the companions with `npx skills add crissmoldovan/agent-skills`.\n\n## When to Use\n\n- A bug report arrived with a cause already attached, and the cause is doing load-bearing work.\n- A report quotes numbers — counts, durations, percentages — and the resolution will be judged\n  against them.\n- A feature request needs its implications worked out before anyone agrees to it.\n- Two reports may be the same report, or the same report may be two.\n- The obvious patch would fix the symptom described and leave the mechanism in place.\n- A report has been open long enough that \"is this still true?\" is a real question.\n- The last attempt at this one turned into a scope argument, because nobody wrote down what the\n  chosen fix was **not** going to do.\n\nDo not use it to answer a question about how the code works — that is `investigate-codebase`,\nwhich this skill calls at G1 rather than improvising its own searching. Do not use it to map\nwhat a change would hit; `blast-area` owns that, and this skill calls it per candidate. Do not\nuse it to build a change already decided with no report behind it — a roadmap item, a dependency\nbump, a deprecation with a date — that is `land-complex-change`, which this skill delegates to at\nG4 and which is **not a superset of this one, in either direction**: a report can correctly end\nwith no change at all, a change frequently starts with no report, and manufacturing one to feed a\npipeline produces intake artifacts that are fiction. Do not use it to describe a change that\nalready landed — `describe-changes` reads the diff — or to run the review loop over a pull\nrequest, which is `request-blocks-review` and `blocks`. Do not use it to go looking for\nimprovements nobody has filed; `new-ux-discovery` sweeps for those and hands the chosen ones\nhere. And do not use it as ticket hygiene: a pipeline that always produces a change will produce\none for the report whose correct answer was a question.\n\n## Prerequisites\n\n1. **The report in its original words, with its numbers intact.** Not a summary: the phrasing\n   carries which surface they were on and what they expected, and paraphrase silently repairs\n   the false premise you most needed to see.\n   **Complete when:** the text, its date and the source it was taken from, the reporter's role and\n   every number in it are in hand — or their absence is recorded.\n2. **A readable checkout at a named revision.** The sha, and whether the tree is dirty. A cause\n   measured against uncommitted work describes a state nobody else has.\n   **Complete when:** revision and dirty state are recorded.\n3. **The reach needed to reproduce, declared before reproducing.** A claim about production\n   needs production observation; a computed value needs the computation run; behaviour on a\n   surface needs that surface reachable. Some of it will not be reachable from here.\n   **Complete when:** each claim is marked reproducible here, reproducible only with access you\n   do not have, or not reproducible at all — with the reason.\n4. **The reporter reachable, or explicitly not.** Reports stall for one sentence from the\n   person who filed them.\n   **Complete when:** the channel is known, or the run is marked unreachable and every falsifier\n   can be checked without them.\n5. **The repository's own checks located and runnable here.** Test command, typecheck, lint,\n   build, and any manual step that constitutes a check.\n   **Complete when:** each is named with the command that runs it, and at least one has been run\n   in this checkout to prove the apparatus works.\n6. **Every irreversible act this resolution could reach, enumerated.** A migration, a\n   production write, a deletion nothing restores, **closing the report**, **any outbound message\n   to the reporter** — the last two get forgotten for being cheap to perform and impossible to\n   retract.\n   **Complete when:** the list exists — or is empty and says so.\n7. **Attendance declared, conservatively.** If you cannot confirm a human will see and answer a\n   question in this run it is unattended, which changes the act policy and the run record.\n   **Complete when:** the run is marked attended or unattended before G0.\n\n## Procedure\n\n1. **Score the band before spending anything, and announce it on one code path.** The rubric\n   belongs to `investigate-codebase`: run *that* one, do not restate it and do not invent a\n   second. Two things are this skill's own: **a report whose resolution ends in closing the\n   report or mailing the reporter scores cost-of-being-wrong 2**, which forces at least the\n   normal band and arms the act gates in step 6; and the rubric is **re-scored after G1**, in\n   either direction, because reproduction routinely moves the scope signal by an order of\n   magnitude. Announce band, signal scores with their observables, any override and the caps it\n   buys — before the first child is dispatched, watched or not. Never ask which mode to run.\n\n2. **G0 — restate the report as a claim that could be false, and write its falsifier.** One\n   sentence, nouns resolved to things you can point at, next to one sentence saying what\n   observation would prove it wrong. \"Exports are broken\" is not a claim; \"the export endpoint\n   returns rows for one account and none for another, for the same query\" is, and its falsifier\n   is a run of both. Classify the report as **bug**, **feature**, or **question** — they need\n   different evidence at G1 — and record the **premises separately from the claim**, because a\n   report usually asserts a cause as well as a symptom and those two are falsified by different\n   observations. Partial refutation is normal and is not an accusation: accept the premises that\n   hold, reject the one that does not, and reject it with a number. The card's fields and the worked\n   restatements are in [the gate contracts](references/gate-contracts.md). Answer severity, priority\n   and effort separately, each by its owner: [assessing a report](references/assessing-a-report.md).\n\n   **Enumerate the readings from the requirement's own words.** The ambiguity that stops a build\n   lives in the wording a builder will be held to — not in the failure symptom, which is one\n   thing that went wrong once. Read the requirement clause by clause, list every reading its own\n   words admit, and **cost each one**; where two imply different work and no bounded probe\n   separates them, that is the blocking question, and it blocks G3 rather than being settled by\n   whoever writes the contract.\n\n   **Cannot proceed until:** the claim is falsifiable, the falsifier is checkable with the reach\n   declared in prerequisite 3, the report's asserted cause is written as a premise rather than\n   absorbed into the claim, and the readings its own words admit are enumerated and costed.\n\n3. **G1 — analyse, at the class the claim requires, and reproduce every number.** Delegate the\n   searching to `investigate-codebase`: it owns the decomposition axes, the child result\n   contract, the control rule (a zero-hit search is \"absent\" only when a control fired) and the\n   contradiction table. This gate adds two requirements of its own.\n\n   **The evidence class is set by the claim, not by what is convenient.** The ranking —\n   production observation > deterministic local measurement > code reading > docs, comments and\n   PR titles > recollection — decides ties, and **reach decides admissibility**: a production\n   observation from a surface the report was not about proves nothing about the report. A claim\n   that something *happens* is not settled by a code reading that says it *should*. Where the\n   required class is out of reach, say so and mark every downstream claim as resting on a lower\n   class; do not quietly promote a code reading into an observation.\n\n   **Reproduce the numbers — all of them, one row each.**\n\n   ```text\n   number as reported | what it measured | measured here | delta | verdict\n   ```\n\n   Verdicts from a closed set: `reproduced`, `diverged`, `not reproducible (needs X)`,\n   `inconclusive`. **A partial reproduction is a finding, not a failure.** In one measured case\n   six of nine reported figures reproduced exactly and three did not — and the three were the\n   answer, because they shared a property the six did not and that property was the mechanism.\n   An agent that reports \"could not reproduce\" over that table has thrown the result away. And\n   date everything inherited: a report is an account of a past state, so every claim carried\n   from it answers \"was it true?\" only. Resolve each at the current revision and record it as\n   *true at `<sha>`, not true at HEAD* where it has stopped holding — frequently the entire\n   resolution. Class rules, the table worked through, and unreproducible claims are in\n   [reproducing the claim](references/reproducing-the-claim.md).\n\n   **THE SEPARATE-DIAGNOSIS RULE: reproducing every number does not test the cause.** A number is\n   evidence *for* a mechanism, not the mechanism, and the two carry independent truth values. So\n   add a row per causal claim and **make its test a falsification** — name what must be true if\n   the mechanism holds, then look for its absence. Where the verdicts disagree the symptom is\n   still real: confirm the observation, refute the mechanism, carry the corrected cause into G2.\n   This catches the *competent* reporter, and a build against a wrong cause is frequently\n   destructive while looking exactly like a correct one — three measured cases, the shape of the\n   test and its weight at G2 are in [falsifying the diagnosis](references/separate-diagnosis.md).\n\n   **Decompose every limit before arguing about it.** Where the report or the requirement cites\n   a size, a duration, a count or a quota, measure **what the number is made of** — each\n   contributor, its share, and whether the change would move it — before reasoning about\n   remedies. **An infeasibility claim built on an aggregate is an over-claim.** In one measured\n   case a payload declared too large for its limit was dominated by a single field nothing\n   downstream read; removing it fitted the limit with room to spare, against a redesign that was\n   already on the table.\n\n   **Cannot proceed until:** the cause (bug) or the implications (feature) are stated at the\n   required class with `path:line` at a sha behind them; every reported number has a verdict;\n   every cited limit is decomposed into its contributors; every load-bearing negative names a\n   control that fired; and every inherited claim is dated.\n\n4. **G2 — offer 2–4 candidates, and make the honest ones real candidates.** Call `blast-area`\n   **once per candidate** — comparing fixes by what each disturbs is the entire point of the\n   gate, and it is the comparison that a list of approaches cannot make. Every candidate carries\n   five fields: its **blast area** (surfaces, break times, deploy ordering), **what it does not\n   fix**, **reversibility** (what a revert restores and what it does not), **size**, and the\n   **evidence it rests on**. Four candidate classes must be considered every time, and included\n   whenever they survive contact with G1:\n\n   - **Already fixed, or retracted.** The behaviour changed at some revision after the report\n     was written, or the premise the report rested on is gone. This is a *result*, and the work\n     is dating the claim, not building anything.\n   - **Do nothing, deliberately.** With what the report costs if left, and what would make it\n     worth revisiting. A pipeline that cannot output this will output a change for every report\n     it is handed.\n   - **The precedent this repository already used.** The same problem, solved elsewhere in the\n     tree, possibly under another word. Search for it before inventing a fourth approach: an\n     existing solution costs less to review and maintain, and its blast area is already known.\n   - **The sibling requirement already in the ticket.** When the requirement that stalled is\n     ambiguous or blocked on a limit, the better-specified one beside it frequently delivers most\n     of the value at a fraction of the cost. It is a real candidate carrying the same five fields\n     — ranked in the table, chosen by the reporter or the owner, and stating what it does **not**\n     fix — never a consolation prize produced once the first one fails.\n\n   Rank by consequence, not by elegance, and say which one you would take and why in one\n   sentence. Then apply step 6: above the light band the choice is the reporter's or the owner's,\n   not yours. Candidate rules, the comparison columns and a worked offer are in\n   [candidate offers](references/candidate-offers.md).\n\n   **Cannot proceed until:** at least two candidates exist with all five fields filled; the\n   already-fixed, do-nothing and sibling-requirement lines have each been evaluated and are\n   present or explicitly dismissed with a reason; each candidate's blast area came from the mapping\n   skill or names the reason it could not; and the chosen candidate is recorded with who chose it.\n\n5. **G3 — write the build contract, and make every requirement provable.** The spec is not\n   prose about an approach; it is a contract a builder can be held to and a reviewer can check\n   line by line. One template:\n\n   ```text\n   BUILD CONTRACT  <report handle>  base <sha>  band <light|normal|deep>  candidate <chosen>\n\n   R1  <one checkable requirement, in one sentence>\n       FILES     <the paths this requirement owns — disjoint from every other requirement>\n       PROVES    <the test that proves it: path + test name>\n       MUTATION  <the edit to the implementation that must make that test fail>\n       OUT       <what this requirement explicitly does not do>\n\n   R2  …\n\n   MUTATIONS   Every test named above is watched failing under its own mutation before the\n               implementation lands. A test that has never been observed failing is a claim.\n   NOT IN SCOPE  <the candidates that lost, and what each would have fixed>\n   STANDING INSTRUCTION  Report brief errors instead of implementing them. If a requirement\n               contradicts the code, another requirement, or itself, stop and return the\n               contradiction with its evidence. Do not implement around it, and do not pick\n               the reading that is easiest to build.\n   ```\n\n   **Disjoint file sets** are what make requirements independently revertible and reviewable;\n   where two genuinely need the same file, say so and sequence them. **The mutation line is the\n   load-bearing one.** In one measured repository four CI guards were added that had never been\n   capable of failing — each passed from the day it landed and each was reported as coverage. In\n   another, a swallow-by-design path made its own test decorative: it asserted that nothing\n   threw, which the code guaranteed. A mutation costs a minute and converts both into evidence.\n   Template, disjointness, mutation forms and a worked contract are in\n   [the build contract](references/build-contract.md).\n\n   **Cannot proceed until:** every requirement has files, a proving test and a mutation; the\n   file sets are disjoint or the overlap is declared and sequenced; the losing candidates appear\n   under NOT IN SCOPE; and the standing instruction is in the text the builder actually receives.\n\n6. **Confirm by the two-column rule — and confirm at the act, never at the plan.** The default\n   is read off two columns, and either one turning it on is enough:\n\n   | Column | What it reads | Confirmation at G2 |\n   |---|---|---|\n   | **Cost of being wrong** | the rubric's fifth signal scored **2** — the resolution authorises a migration, a deletion, a production write, an outbound message, or closing the report | **default ON** |\n   | **Reversibility spread** | the candidates **differ** in what a revert would restore | **default ON** |\n   | neither | a light-band report whose candidates are equally revertible | **default OFF**, with a one-line notice naming the candidate taken and how to undo it |\n\n   Default-off is deliberate: a pipeline that stops to ask about every typo in help text stops\n   being run. Above that line one confirmation at G2 — the candidate, not the implementation —\n   carries the rest of the pipeline.\n\n   Separately and always: **any irreversible act is confirmed at the moment of the act**, with\n   four things stated — what is about to happen, what it touches, what it cannot undo, and what\n   happens if it is not done — and then a wait. Closing the report and mailing the reporter are\n   irreversible acts; they feel like paperwork and they reach a person. **An unattended run\n   takes no irreversible act at all**: it stops, leaves the work staged, and reports exactly\n   what remains. The full policy, the notice wording and the degradations are in\n   [the confirmation policy](references/confirmation-policy.md).\n\n7. **G4 — hand the build to `land-complex-change`, with the contract and the paths and nothing\n   else.** That skill owns the landing half and returns three artifacts this one does not build: the\n   **side-effect budget** (the touch-set declared from the blast map, with its out-of-bounds classes\n   and its on-breach rule), the **regression gate ladder** (one guard per affected surface, watched\n   failing before and passing after, unguarded surfaces recorded visibly), and the **change band\n   with its act gates**. Its breach rule applies here as written: work outside the budget **stops**,\n   re-enters `blast-area`, and resolves to **extend, split or abandon** — never silent absorption. A\n   breach that invalidates the chosen candidate returns to G2, not to the reporter as a surprise.\n\n   **Context is the contract plus the file paths — never the investigation transcript**, which\n   carries discarded hypotheses, refuted premises and the reporter's own diagnosis; a builder\n   handed all of it will implement some of it. It belongs in the run record.\n\n   **Cannot proceed until:** the budget and the ladder come back with the diff; every affected\n   surface has a ladder row with its rung; every rung-1 guard has quoted fail-before evidence;\n   and every breach is recorded with its disposition.\n\n8. **G5 — verify at the class, describe, review — and file what verification turns up.**\n   Verification is not the test suite going green, nor the fix being released; it is each numbered\n   requirement checked at the evidence class **its own claim** requires and, once released, where\n   the reader meets it, plus a re-measurement of the reporter's original numbers against the same\n   table from G1. A green suite over a surface nothing guarded is evidence about the other surfaces.\n\n   **A verification that opens a new report is a success.** When the re-measurement turns up a\n   figure that disagrees with the system's own — two counts of the same thing differing by more\n   than a hundred rows is the classic shape — **file it as its own report and close this one on\n   its own contract**. Chased instead, in one measured case, the original stayed open for weeks\n   and the new finding was never filed under its own name: two problems, invisible in one row.\n\n   Hand the landed diff to `describe-changes` for the resolution note — its short register is\n   the reporter's line, its detailed register is the reviewer's — and the pull request loop to\n   `request-blocks-review` and `blocks`, giving them the contract, the budget, the ladder and\n   the residuals alongside the diff. Then, behind step 6's act gate, close the report (a fix only\n   once it is verified where its reader meets it) and tell the reporter what was true in their\n   account, what was not, what changed, what it does **not** fix, and what to do if it recurs.\n\n9. **Deliver the outcome the evidence supports, including the ones with no change in them.**\n   Three terminal outcomes are legitimate and each is delivered with its evidence:\n\n   - **A resolution** — a landed change with its contract, its gates and its residuals.\n   - **A question** — the report needs one answer no bounded probe can settle, and the\n     deliverable is that question with its established facts, the branches with their costs, and\n     the default if nobody answers. Probe what a probe can settle; ask only the rest.\n   - **A refutation with no action** — the premise does not hold, the thing was fixed already,\n     or the requested action has no referent: one report asked for a nightly run of a pipeline\n     with no runnable entry point, and the correct output was the refutation plus the two things\n     that did exist. **Resisting a wrong fact and resisting a wrong instruction are different\n     behaviours** — the second returns a decision brief and a question, not a completed action\n     with a caveat attached.\n\n10. **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/resolve-problem-report/<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\nHere is the report as it came in. Turn it into one sentence that could be false and keep the\ncause they suggested separate from what they observed. When you reach options, include doing\nnothing and check what the ticket already asks for before inventing a new approach.\n```\n\n```text\nThey say the nightly total double-counts and they quote nine figures. Reproduce all nine before\nyou go near the code — and if only some come out right, the ones that did not are the answer.\nFalsify the mechanism they proposed as its own claim while you are there.\n```\n\n```text\nRun this one unattended overnight and document the run (--document). Stop at anything you cannot\ntake back, and file any number that disagrees as its own report rather than holding this open.\n```\n\n## Pitfalls\n\n- **Resolving the reporter's diagnosis instead of their report.** The cause they attached is a\n  premise, and the part most likely to be wrong: they saw a symptom and reasoned backwards.\n- **Answering at the wrong evidence class.** A code reading that says the value *should* be\n  written does not settle a report saying it *is not there*. Class breaks ties; reach decides\n  whether the evidence was about this at all.\n- **The numbers nobody re-ran.** They travel into the resolution note unchecked, and the note is\n  believed because it has figures in it.\n- **Treating a partial reproduction as a failure to reproduce.** Six of nine reproducing is the\n  most informative result available: the three that did not are a filter on the mechanism.\n- **Infeasibility declared over an aggregate.** \"It will not fit\" is a claim about every\n  contributor at once, made without measuring one of them — and the dominant one is usually the\n  one nothing downstream reads.\n- **The ambiguity located in the symptom.** The words a builder is held to are the\n  requirement's, and a reading nobody costed is one the builder resolves silently, in favour of\n  whichever is cheapest to write.\n- **A stale claim built on.** The report describes a past state; anything inherited from it\n  answers \"was it true?\" and needs a current-state check before it becomes a requirement.\n- **Accurate numbers taken as a verified cause.** The expensive miss is a careful report whose\n  figures reproduce and whose mechanism does not, because nothing downstream reopens a question\n  the table appeared to close — see [falsifying the diagnosis](references/separate-diagnosis.md).\n- **All candidates propose doing something.** If \"already fixed\" and \"do nothing\" are never\n  offered they were never considered, and the pipeline has an outcome it cannot reach. The\n  fourth invented approach usually already exists in the tree under a different word, which is\n  why searching for the precedent is a named step and not a hope.\n- **Candidates compared by description.** Without a blast area each, the comparison is between\n  two summaries and the more confident one wins.\n- **A contract whose file sets overlap.** No requirement can then be reverted alone, review\n  cannot attribute a defect, and the first regression rolls back all of them.\n- **A test that could never have failed.** Green from the day it was written, reported as\n  coverage. The mutation is a minute; skipping it is how a suite becomes decorative.\n- **Handing the builder the investigation transcript.** It contains the refuted premises and the\n  discarded approaches, and some of them will end up in the diff.\n- **Confirmation asked at the plan and not at the act.** At plan time nothing irreversible is\n  imminent and the person answering has no context; at act time they have both. Closing the\n  report and mailing the reporter are two of those acts — cheap to perform, and no revert takes\n  them back off a person's screen.\n- **Chasing the disagreement verification found.** File it: holding this report open to chase\n  it hides two problems in one row that reads as in-progress.\n- **Closing on a green suite.** A suite passing over an unguarded surface is evidence about the\n  surfaces it covers, not about the one the report was filed against.\n\n## Verification\n\n- [ ] The band was scored with `investigate-codebase`'s rubric (not a second, local one) and\n      announced before any child was dispatched, with signal scores and the caps it buys.\n- [ ] Cost-of-being-wrong was scored **2** where the resolution closes the report or messages\n      the reporter, and the band floor and act gates followed from it.\n- [ ] **G0:** the claim is one falsifiable sentence with its falsifier written down, the report\n      is classified bug / feature / question, and the reporter's asserted cause is recorded as a\n      **premise**, separately; severity, priority and effort are three answers, each with its owner.\n- [ ] **G0:** the readings the **requirement's own words** admit are enumerated and costed — not\n      only the ones the failure symptom suggested — and any unresolved reading blocks G3.\n- [ ] **G1:** the cause or implication is stated at the evidence class the claim requires, with\n      `path:line` at a sha — or the required class is named as out of reach and the downstream\n      claims are marked as resting on a lower one.\n- [ ] **G1:** every number in the report has a row and a verdict from the closed set, and a\n      partial reproduction is reported as a finding rather than as a failure.\n- [ ] **G1:** every causal claim has its own row and its own falsification, and where the numbers\n      reproduce but the mechanism does not, the corrected cause is what reaches G2.\n- [ ] **G1:** every limit the report or the requirement cites was decomposed into its\n      contributors before any remedy was argued, and no infeasibility claim rests on an\n      aggregate nobody measured.\n- [ ] **G1:** every inherited claim is dated to a revision, anything that stopped holding is\n      recorded as true at one sha and not at HEAD, and every load-bearing negative names a\n      control that fired.\n- [ ] **G2:** 2–4 candidates carry blast area, what-it-does-not-fix, reversibility, size and\n      evidence — each blast area from the mapping skill, or with the reason it could not be.\n- [ ] **G2:** already-fixed, do-nothing and the **sibling requirement** already in the ticket\n      were each evaluated, and the repository was searched for a precedent before a new approach\n      was proposed.\n- [ ] The choice is recorded with **who made it**, and the two-column rule decided whether it\n      needed confirming.\n- [ ] **G3:** every requirement names its files, its proving test and the mutation that must\n      kill that test; the file sets are disjoint or the overlap is declared and sequenced.\n- [ ] **G3:** the losing candidates appear under NOT IN SCOPE, the standing instruction to\n      **report brief errors instead of implementing them** is in the text the builder received,\n      and every proving test was watched failing under its own mutation before landing.\n- [ ] **G4:** the build was handed to `land-complex-change` with the contract and the paths and\n      **not** the investigation transcript, and it returned a budget and a gate ladder.\n- [ ] Every budget breach stopped the work, re-entered `blast-area`, and resolved to extend,\n      split or abandon — with any breach that invalidated the chosen candidate returning to G2.\n- [ ] **G5:** each requirement was verified at its own evidence class, a released fix where its\n      reader meets it, and the reporter's original numbers were re-measured against the G1 table.\n- [ ] **Every disagreement verification turned up was filed as its own report**, and this one\n      was closed on its own contract rather than held open to chase it.\n- [ ] The resolution note came from `describe-changes` and the review loop from\n      `request-blocks-review`, which received the contract, the budget, the ladder and the\n      residuals alongside the diff.\n- [ ] No irreversible act — migration apply, production write, deletion, report close, outbound\n      message — was taken without consent at the act; **none was taken in an unattended run**.\n- [ ] Where the outcome was a **question** or a **refutation with no action**, it was delivered\n      with its evidence and its branches, and no change was manufactured to fill the gap.\n- [ ] Where a record was written, it exists at\n      `docs/resolve-problem-report/<UTC-date>-<slug>.md` (or the harness scratch path for an\n      unattended run, named in the final answer), under the five required headings.\n\n## Deeper reading\n\nEach file carries the detail its section summarises: the gates and their artifacts in\n[gate contracts](references/gate-contracts.md); classes, the reproduction table and false premises\nin [reproducing the claim](references/reproducing-the-claim.md); the falsification test, its three\nmeasured cases and its weight at G2 in [falsifying the diagnosis](references/separate-diagnosis.md);\nthe five fields, mandatory classes and precedent search in\n[candidate offers](references/candidate-offers.md); the template, disjoint file sets and mutation\nforms in [the build contract](references/build-contract.md); the two-column rule, act-gate script\nand unattended stop in [the confirmation policy](references/confirmation-policy.md); severity,\npriority, effort and released fixes in [assessing a report](references/assessing-a-report.md); the\nfive headings and prohibitions in [the run-record convention](references/documenting-the-run.md);\nand one report end to end — partly reproduced, premise refuted, disagreement filed as its own report\n— in [a worked resolution](references/worked-resolution.md).\n","bodyHtml":"<h2 id=\"resolve-a-problem-report\">Resolve a problem report</h2>\n<p>A report is not a bug and it is not a specification. It is somebody&#39;s account of a thing that\nsurprised them, written in their words, usually with a cause already attached and often with\nnumbers in it. Resolve the account and you have fixed whatever the reporter guessed. Resolving\nthe <em>report</em> means finding out which parts of it are true first — and being willing to come\nback with &quot;two of these three hold, and the third names a thing that does not exist.&quot;</p>\n<p>The expensive failures here are quiet ones. The described symptom gets patched while the cause\nstays. The cause is asserted from a code reading when the claim was about production. The\nreporter&#39;s numbers travel into the resolution note unchecked. Three candidates are offered and\nall three propose doing something, because &quot;this was fixed three weeks ago&quot; is not a satisfying\nthing to say out loud. And the close rests on a green suite that never covered the surface.</p>\n<p>Six gates. Each ends in a named artifact, and each one refuses to open until that artifact\nexists — not until it looks convincing. The gates run in order, the middle ones delegate to\ncompanions that own the work, and the pipeline can correctly terminate at any of them: a\n<strong>question</strong> is an outcome, and so is a <strong>refutation with no action</strong>.</p>\n<h3 id=\"six-gates-six-artifacts\">Six gates, six artifacts</h3>\n<table>\n<thead>\n<tr>\n<th>Gate</th>\n<th>Artifact</th>\n<th>Does not open until</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><strong>G0 intake</strong></td>\n<td>the <strong>claim card</strong></td>\n<td>the report is restated as one claim that could be false, with what would falsify it written next to it</td>\n</tr>\n<tr>\n<td><strong>G1 analyse</strong></td>\n<td>the <strong>finding at its class</strong>, plus the <strong>reproduction table</strong></td>\n<td>the cause (or, for a feature, the implication) is stated at the evidence class the claim requires, every number in the report has been measured, <strong>every causal claim has been separately falsified</strong>, and every inherited claim is dated to a revision</td>\n</tr>\n<tr>\n<td><strong>G2 offer</strong></td>\n<td>the <strong>candidate table</strong></td>\n<td>2–4 candidates carry a blast area, what each does <strong>not</strong> fix, reversibility and size — and the do-nothing line is a real row, not a courtesy</td>\n</tr>\n<tr>\n<td><strong>G3 spec</strong></td>\n<td>the <strong>build contract</strong></td>\n<td>every requirement names its files, its proving test and the <strong>mutation</strong> that must kill that test, and the requirements&#39; file sets are disjoint</td>\n</tr>\n<tr>\n<td><strong>G4 implement</strong></td>\n<td>the <strong>landed change with its budget and gate ladder</strong></td>\n<td><code>land-complex-change</code> returns them; this skill declares no budget and arms no gates of its own</td>\n</tr>\n<tr>\n<td><strong>G5 verify + describe</strong></td>\n<td>the <strong>resolution note</strong>, plus <strong>one filed report per disagreement</strong></td>\n<td>each requirement is checked at its own evidence class (a released fix also where its reader meets it), the reporter&#39;s original numbers are re-measured, and anything that disagrees is filed rather than chased</td>\n</tr>\n</tbody></table>\n<p>A gate that cannot open is information: the artifact under it is missing, which is far better\nsaid at G1 than discovered at G5, with a change landed and somebody waiting for a mail.</p>\n<h4 id=\"what-this-skill-does-not-own\">What this skill does not own</h4>\n<p><code>investigate-codebase</code> owns G1&#39;s searching, and this skill <strong>inherits its complexity rubric,\ncontrol rule and contradiction table rather than restating them</strong>. <code>blast-area</code> is called <strong>once\nper candidate</strong> at G2 and again on every budget breach; <code>visualise-blast-area</code> draws its map when\ncandidates must be compared by someone who will not read a table. <code>land-complex-change</code> receives\nthe contract and the paths at G4 and returns the budget, the ladder and the change band — this\nskill runs none of its own. <code>describe-changes</code> writes the resolution note from the landed diff at\nG5; <code>request-blocks-review</code> and <code>blocks</code> run the review loop, given the contract, the budget, the\nladder and the residuals. <code>new-ux-discovery</code> hands <em>in</em> chosen candidates; no sweep happens here.\n<code>model-routing</code> chooses models — this skill names roles and bands only; <code>agent-lifecycle</code> keeps\nthe child bookkeeping; <code>derive-codebase-context</code> builds the durable artifacts this one reads.</p>\n<p>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 bug report arrived with a cause already attached, and the cause is doing load-bearing work.</li>\n<li>A report quotes numbers — counts, durations, percentages — and the resolution will be judged\nagainst them.</li>\n<li>A feature request needs its implications worked out before anyone agrees to it.</li>\n<li>Two reports may be the same report, or the same report may be two.</li>\n<li>The obvious patch would fix the symptom described and leave the mechanism in place.</li>\n<li>A report has been open long enough that &quot;is this still true?&quot; is a real question.</li>\n<li>The last attempt at this one turned into a scope argument, because nobody wrote down what the\nchosen fix was <strong>not</strong> going to do.</li>\n</ul>\n<p>Do not use it to answer a question about how the code works — that is <code>investigate-codebase</code>,\nwhich this skill calls at G1 rather than improvising its own searching. Do not use it to map\nwhat a change would hit; <code>blast-area</code> owns that, and this skill calls it per candidate. Do not\nuse it to build a change already decided with no report behind it — a roadmap item, a dependency\nbump, a deprecation with a date — that is <code>land-complex-change</code>, which this skill delegates to at\nG4 and which is <strong>not a superset of this one, in either direction</strong>: a report can correctly end\nwith no change at all, a change frequently starts with no report, and manufacturing one to feed a\npipeline produces intake artifacts that are fiction. Do not use it to describe a change that\nalready landed — <code>describe-changes</code> reads the diff — or to run the review loop over a pull\nrequest, which is <code>request-blocks-review</code> and <code>blocks</code>. Do not use it to go looking for\nimprovements nobody has filed; <code>new-ux-discovery</code> sweeps for those and hands the chosen ones\nhere. And do not use it as ticket hygiene: a pipeline that always produces a change will produce\none for the report whose correct answer was a question.</p>\n<h3 id=\"prerequisites\">Prerequisites</h3>\n<ol>\n<li><strong>The report in its original words, with its numbers intact.</strong> Not a summary: the phrasing\ncarries which surface they were on and what they expected, and paraphrase silently repairs\nthe false premise you most needed to see.\n<strong>Complete when:</strong> the text, its date and the source it was taken from, the reporter&#39;s role and\nevery number in it are in hand — or their absence is recorded.</li>\n<li><strong>A readable checkout at a named revision.</strong> The sha, and whether the tree is dirty. A cause\nmeasured against uncommitted work describes a state nobody else has.\n<strong>Complete when:</strong> revision and dirty state are recorded.</li>\n<li><strong>The reach needed to reproduce, declared before reproducing.</strong> A claim about production\nneeds production observation; a computed value needs the computation run; behaviour on a\nsurface needs that surface reachable. Some of it will not be reachable from here.\n<strong>Complete when:</strong> each claim is marked reproducible here, reproducible only with access you\ndo not have, or not reproducible at all — with the reason.</li>\n<li><strong>The reporter reachable, or explicitly not.</strong> Reports stall for one sentence from the\nperson who filed them.\n<strong>Complete when:</strong> the channel is known, or the run is marked unreachable and every falsifier\ncan be checked without them.</li>\n<li><strong>The repository&#39;s own checks located and runnable here.</strong> Test command, typecheck, lint,\nbuild, and any manual step that constitutes a check.\n<strong>Complete when:</strong> each is named with the command that runs it, and at least one has been run\nin this checkout to prove the apparatus works.</li>\n<li><strong>Every irreversible act this resolution could reach, enumerated.</strong> A migration, a\nproduction write, a deletion nothing restores, <strong>closing the report</strong>, <strong>any outbound message\nto the reporter</strong> — the last two get forgotten for being cheap to perform and impossible to\nretract.\n<strong>Complete when:</strong> the list exists — or is empty and says so.</li>\n<li><strong>Attendance declared, conservatively.</strong> If you cannot confirm a human will see and answer a\nquestion in this run it is unattended, which changes the act policy and the run record.\n<strong>Complete when:</strong> the run is marked attended or unattended before G0.</li>\n</ol>\n<h3 id=\"procedure\">Procedure</h3>\n<ol>\n<li><p><strong>Score the band before spending anything, and announce it on one code path.</strong> The rubric\nbelongs to <code>investigate-codebase</code>: run <em>that</em> one, do not restate it and do not invent a\nsecond. Two things are this skill&#39;s own: <strong>a report whose resolution ends in closing the\nreport or mailing the reporter scores cost-of-being-wrong 2</strong>, which forces at least the\nnormal band and arms the act gates in step 6; and the rubric is <strong>re-scored after G1</strong>, in\neither direction, because reproduction routinely moves the scope signal by an order of\nmagnitude. Announce band, signal scores with their observables, any override and the caps it\nbuys — before the first child is dispatched, watched or not. Never ask which mode to run.</p>\n</li>\n<li><p><strong>G0 — restate the report as a claim that could be false, and write its falsifier.</strong> One\nsentence, nouns resolved to things you can point at, next to one sentence saying what\nobservation would prove it wrong. &quot;Exports are broken&quot; is not a claim; &quot;the export endpoint\nreturns rows for one account and none for another, for the same query&quot; is, and its falsifier\nis a run of both. Classify the report as <strong>bug</strong>, <strong>feature</strong>, or <strong>question</strong> — they need\ndifferent evidence at G1 — and record the <strong>premises separately from the claim</strong>, because a\nreport usually asserts a cause as well as a symptom and those two are falsified by different\nobservations. Partial refutation is normal and is not an accusation: accept the premises that\nhold, reject the one that does not, and reject it with a number. The card&#39;s fields and the worked\nrestatements are in <a href=\"references/gate-contracts.md\">the gate contracts</a>. Answer severity, priority\nand effort separately, each by its owner: <a href=\"references/assessing-a-report.md\">assessing a report</a>.</p>\n<p><strong>Enumerate the readings from the requirement&#39;s own words.</strong> The ambiguity that stops a build\nlives in the wording a builder will be held to — not in the failure symptom, which is one\nthing that went wrong once. Read the requirement clause by clause, list every reading its own\nwords admit, and <strong>cost each one</strong>; where two imply different work and no bounded probe\nseparates them, that is the blocking question, and it blocks G3 rather than being settled by\nwhoever writes the contract.</p>\n<p><strong>Cannot proceed until:</strong> the claim is falsifiable, the falsifier is checkable with the reach\ndeclared in prerequisite 3, the report&#39;s asserted cause is written as a premise rather than\nabsorbed into the claim, and the readings its own words admit are enumerated and costed.</p>\n</li>\n<li><p><strong>G1 — analyse, at the class the claim requires, and reproduce every number.</strong> Delegate the\nsearching to <code>investigate-codebase</code>: it owns the decomposition axes, the child result\ncontract, the control rule (a zero-hit search is &quot;absent&quot; only when a control fired) and the\ncontradiction table. This gate adds two requirements of its own.</p>\n<p><strong>The evidence class is set by the claim, not by what is convenient.</strong> The ranking —\nproduction observation &gt; deterministic local measurement &gt; code reading &gt; docs, comments and\nPR titles &gt; recollection — decides ties, and <strong>reach decides admissibility</strong>: a production\nobservation from a surface the report was not about proves nothing about the report. A claim\nthat something <em>happens</em> is not settled by a code reading that says it <em>should</em>. Where the\nrequired class is out of reach, say so and mark every downstream claim as resting on a lower\nclass; do not quietly promote a code reading into an observation.</p>\n<p><strong>Reproduce the numbers — all of them, one row each.</strong></p>\n<pre><code class=\"language-text\">number as reported | what it measured | measured here | delta | verdict\n</code></pre>\n<p>Verdicts from a closed set: <code>reproduced</code>, <code>diverged</code>, <code>not reproducible (needs X)</code>,\n<code>inconclusive</code>. <strong>A partial reproduction is a finding, not a failure.</strong> In one measured case\nsix of nine reported figures reproduced exactly and three did not — and the three were the\nanswer, because they shared a property the six did not and that property was the mechanism.\nAn agent that reports &quot;could not reproduce&quot; over that table has thrown the result away. And\ndate everything inherited: a report is an account of a past state, so every claim carried\nfrom it answers &quot;was it true?&quot; only. Resolve each at the current revision and record it as\n<em>true at <code>&lt;sha&gt;</code>, not true at HEAD</em> where it has stopped holding — frequently the entire\nresolution. Class rules, the table worked through, and unreproducible claims are in\n<a href=\"references/reproducing-the-claim.md\">reproducing the claim</a>.</p>\n<p><strong>THE SEPARATE-DIAGNOSIS RULE: reproducing every number does not test the cause.</strong> A number is\nevidence <em>for</em> a mechanism, not the mechanism, and the two carry independent truth values. So\nadd a row per causal claim and <strong>make its test a falsification</strong> — name what must be true if\nthe mechanism holds, then look for its absence. Where the verdicts disagree the symptom is\nstill real: confirm the observation, refute the mechanism, carry the corrected cause into G2.\nThis catches the <em>competent</em> reporter, and a build against a wrong cause is frequently\ndestructive while looking exactly like a correct one — three measured cases, the shape of the\ntest and its weight at G2 are in <a href=\"references/separate-diagnosis.md\">falsifying the diagnosis</a>.</p>\n<p><strong>Decompose every limit before arguing about it.</strong> Where the report or the requirement cites\na size, a duration, a count or a quota, measure <strong>what the number is made of</strong> — each\ncontributor, its share, and whether the change would move it — before reasoning about\nremedies. <strong>An infeasibility claim built on an aggregate is an over-claim.</strong> In one measured\ncase a payload declared too large for its limit was dominated by a single field nothing\ndownstream read; removing it fitted the limit with room to spare, against a redesign that was\nalready on the table.</p>\n<p><strong>Cannot proceed until:</strong> the cause (bug) or the implications (feature) are stated at the\nrequired class with <code>path:line</code> at a sha behind them; every reported number has a verdict;\nevery cited limit is decomposed into its contributors; every load-bearing negative names a\ncontrol that fired; and every inherited claim is dated.</p>\n</li>\n<li><p><strong>G2 — offer 2–4 candidates, and make the honest ones real candidates.</strong> Call <code>blast-area</code>\n<strong>once per candidate</strong> — comparing fixes by what each disturbs is the entire point of the\ngate, and it is the comparison that a list of approaches cannot make. Every candidate carries\nfive fields: its <strong>blast area</strong> (surfaces, break times, deploy ordering), <strong>what it does not\nfix</strong>, <strong>reversibility</strong> (what a revert restores and what it does not), <strong>size</strong>, and the\n<strong>evidence it rests on</strong>. Four candidate classes must be considered every time, and included\nwhenever they survive contact with G1:</p>\n<ul>\n<li><strong>Already fixed, or retracted.</strong> The behaviour changed at some revision after the report\nwas written, or the premise the report rested on is gone. This is a <em>result</em>, and the work\nis dating the claim, not building anything.</li>\n<li><strong>Do nothing, deliberately.</strong> With what the report costs if left, and what would make it\nworth revisiting. A pipeline that cannot output this will output a change for every report\nit is handed.</li>\n<li><strong>The precedent this repository already used.</strong> The same problem, solved elsewhere in the\ntree, possibly under another word. Search for it before inventing a fourth approach: an\nexisting solution costs less to review and maintain, and its blast area is already known.</li>\n<li><strong>The sibling requirement already in the ticket.</strong> When the requirement that stalled is\nambiguous or blocked on a limit, the better-specified one beside it frequently delivers most\nof the value at a fraction of the cost. It is a real candidate carrying the same five fields\n— ranked in the table, chosen by the reporter or the owner, and stating what it does <strong>not</strong>\nfix — never a consolation prize produced once the first one fails.</li>\n</ul>\n<p>Rank by consequence, not by elegance, and say which one you would take and why in one\nsentence. Then apply step 6: above the light band the choice is the reporter&#39;s or the owner&#39;s,\nnot yours. Candidate rules, the comparison columns and a worked offer are in\n<a href=\"references/candidate-offers.md\">candidate offers</a>.</p>\n<p><strong>Cannot proceed until:</strong> at least two candidates exist with all five fields filled; the\nalready-fixed, do-nothing and sibling-requirement lines have each been evaluated and are\npresent or explicitly dismissed with a reason; each candidate&#39;s blast area came from the mapping\nskill or names the reason it could not; and the chosen candidate is recorded with who chose it.</p>\n</li>\n<li><p><strong>G3 — write the build contract, and make every requirement provable.</strong> The spec is not\nprose about an approach; it is a contract a builder can be held to and a reviewer can check\nline by line. One template:</p>\n<pre><code class=\"language-text\">BUILD CONTRACT  &lt;report handle&gt;  base &lt;sha&gt;  band &lt;light|normal|deep&gt;  candidate &lt;chosen&gt;\n\nR1  &lt;one checkable requirement, in one sentence&gt;\n    FILES     &lt;the paths this requirement owns — disjoint from every other requirement&gt;\n    PROVES    &lt;the test that proves it: path + test name&gt;\n    MUTATION  &lt;the edit to the implementation that must make that test fail&gt;\n    OUT       &lt;what this requirement explicitly does not do&gt;\n\nR2  …\n\nMUTATIONS   Every test named above is watched failing under its own mutation before the\n            implementation lands. A test that has never been observed failing is a claim.\nNOT IN SCOPE  &lt;the candidates that lost, and what each would have fixed&gt;\nSTANDING INSTRUCTION  Report brief errors instead of implementing them. If a requirement\n            contradicts the code, another requirement, or itself, stop and return the\n            contradiction with its evidence. Do not implement around it, and do not pick\n            the reading that is easiest to build.\n</code></pre>\n<p><strong>Disjoint file sets</strong> are what make requirements independently revertible and reviewable;\nwhere two genuinely need the same file, say so and sequence them. <strong>The mutation line is the\nload-bearing one.</strong> In one measured repository four CI guards were added that had never been\ncapable of failing — each passed from the day it landed and each was reported as coverage. In\nanother, a swallow-by-design path made its own test decorative: it asserted that nothing\nthrew, which the code guaranteed. A mutation costs a minute and converts both into evidence.\nTemplate, disjointness, mutation forms and a worked contract are in\n<a href=\"references/build-contract.md\">the build contract</a>.</p>\n<p><strong>Cannot proceed until:</strong> every requirement has files, a proving test and a mutation; the\nfile sets are disjoint or the overlap is declared and sequenced; the losing candidates appear\nunder NOT IN SCOPE; and the standing instruction is in the text the builder actually receives.</p>\n</li>\n<li><p><strong>Confirm by the two-column rule — and confirm at the act, never at the plan.</strong> The default\nis read off two columns, and either one turning it on is enough:</p>\n<table>\n<thead>\n<tr>\n<th>Column</th>\n<th>What it reads</th>\n<th>Confirmation at G2</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><strong>Cost of being wrong</strong></td>\n<td>the rubric&#39;s fifth signal scored <strong>2</strong> — the resolution authorises a migration, a deletion, a production write, an outbound message, or closing the report</td>\n<td><strong>default ON</strong></td>\n</tr>\n<tr>\n<td><strong>Reversibility spread</strong></td>\n<td>the candidates <strong>differ</strong> in what a revert would restore</td>\n<td><strong>default ON</strong></td>\n</tr>\n<tr>\n<td>neither</td>\n<td>a light-band report whose candidates are equally revertible</td>\n<td><strong>default OFF</strong>, with a one-line notice naming the candidate taken and how to undo it</td>\n</tr>\n</tbody></table>\n<p>Default-off is deliberate: a pipeline that stops to ask about every typo in help text stops\nbeing run. Above that line one confirmation at G2 — the candidate, not the implementation —\ncarries the rest of the pipeline.</p>\n<p>Separately and always: <strong>any irreversible act is confirmed at the moment of the act</strong>, with\nfour things stated — what is about to happen, what it touches, what it cannot undo, and what\nhappens if it is not done — and then a wait. Closing the report and mailing the reporter are\nirreversible acts; they feel like paperwork and they reach a person. <strong>An unattended run\ntakes no irreversible act at all</strong>: it stops, leaves the work staged, and reports exactly\nwhat remains. The full policy, the notice wording and the degradations are in\n<a href=\"references/confirmation-policy.md\">the confirmation policy</a>.</p>\n</li>\n<li><p><strong>G4 — hand the build to <code>land-complex-change</code>, with the contract and the paths and nothing\nelse.</strong> That skill owns the landing half and returns three artifacts this one does not build: the\n<strong>side-effect budget</strong> (the touch-set declared from the blast map, with its out-of-bounds classes\nand its on-breach rule), the <strong>regression gate ladder</strong> (one guard per affected surface, watched\nfailing before and passing after, unguarded surfaces recorded visibly), and the <strong>change band\nwith its act gates</strong>. Its breach rule applies here as written: work outside the budget <strong>stops</strong>,\nre-enters <code>blast-area</code>, and resolves to <strong>extend, split or abandon</strong> — never silent absorption. A\nbreach that invalidates the chosen candidate returns to G2, not to the reporter as a surprise.</p>\n<p><strong>Context is the contract plus the file paths — never the investigation transcript</strong>, which\ncarries discarded hypotheses, refuted premises and the reporter&#39;s own diagnosis; a builder\nhanded all of it will implement some of it. It belongs in the run record.</p>\n<p><strong>Cannot proceed until:</strong> the budget and the ladder come back with the diff; every affected\nsurface has a ladder row with its rung; every rung-1 guard has quoted fail-before evidence;\nand every breach is recorded with its disposition.</p>\n</li>\n<li><p><strong>G5 — verify at the class, describe, review — and file what verification turns up.</strong>\nVerification is not the test suite going green, nor the fix being released; it is each numbered\nrequirement checked at the evidence class <strong>its own claim</strong> requires and, once released, where\nthe reader meets it, plus a re-measurement of the reporter&#39;s original numbers against the same\ntable from G1. A green suite over a surface nothing guarded is evidence about the other surfaces.</p>\n<p><strong>A verification that opens a new report is a success.</strong> When the re-measurement turns up a\nfigure that disagrees with the system&#39;s own — two counts of the same thing differing by more\nthan a hundred rows is the classic shape — <strong>file it as its own report and close this one on\nits own contract</strong>. Chased instead, in one measured case, the original stayed open for weeks\nand the new finding was never filed under its own name: two problems, invisible in one row.</p>\n<p>Hand the landed diff to <code>describe-changes</code> for the resolution note — its short register is\nthe reporter&#39;s line, its detailed register is the reviewer&#39;s — and the pull request loop to\n<code>request-blocks-review</code> and <code>blocks</code>, giving them the contract, the budget, the ladder and\nthe residuals alongside the diff. Then, behind step 6&#39;s act gate, close the report (a fix only\nonce it is verified where its reader meets it) and tell the reporter what was true in their\naccount, what was not, what changed, what it does <strong>not</strong> fix, and what to do if it recurs.</p>\n</li>\n<li><p><strong>Deliver the outcome the evidence supports, including the ones with no change in them.</strong>\nThree terminal outcomes are legitimate and each is delivered with its evidence:</p>\n<ul>\n<li><strong>A resolution</strong> — a landed change with its contract, its gates and its residuals.</li>\n<li><strong>A question</strong> — the report needs one answer no bounded probe can settle, and the\ndeliverable is that question with its established facts, the branches with their costs, and\nthe default if nobody answers. Probe what a probe can settle; ask only the rest.</li>\n<li><strong>A refutation with no action</strong> — the premise does not hold, the thing was fixed already,\nor the requested action has no referent: one report asked for a nightly run of a pipeline\nwith no runnable entry point, and the correct output was the refutation plus the two things\nthat did exist. <strong>Resisting a wrong fact and resisting a wrong instruction are different\nbehaviours</strong> — the second returns a decision brief and a question, not a completed action\nwith a caveat attached.</li>\n</ul>\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/resolve-problem-report/&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\">Here is the report as it came in. Turn it into one sentence that could be false and keep the\ncause they suggested separate from what they observed. When you reach options, include doing\nnothing and check what the ticket already asks for before inventing a new approach.\n</code></pre>\n<pre><code class=\"language-text\">They say the nightly total double-counts and they quote nine figures. Reproduce all nine before\nyou go near the code — and if only some come out right, the ones that did not are the answer.\nFalsify the mechanism they proposed as its own claim while you are there.\n</code></pre>\n<pre><code class=\"language-text\">Run this one unattended overnight and document the run (--document). Stop at anything you cannot\ntake back, and file any number that disagrees as its own report rather than holding this open.\n</code></pre>\n<h3 id=\"pitfalls\">Pitfalls</h3>\n<ul>\n<li><strong>Resolving the reporter&#39;s diagnosis instead of their report.</strong> The cause they attached is a\npremise, and the part most likely to be wrong: they saw a symptom and reasoned backwards.</li>\n<li><strong>Answering at the wrong evidence class.</strong> A code reading that says the value <em>should</em> be\nwritten does not settle a report saying it <em>is not there</em>. Class breaks ties; reach decides\nwhether the evidence was about this at all.</li>\n<li><strong>The numbers nobody re-ran.</strong> They travel into the resolution note unchecked, and the note is\nbelieved because it has figures in it.</li>\n<li><strong>Treating a partial reproduction as a failure to reproduce.</strong> Six of nine reproducing is the\nmost informative result available: the three that did not are a filter on the mechanism.</li>\n<li><strong>Infeasibility declared over an aggregate.</strong> &quot;It will not fit&quot; is a claim about every\ncontributor at once, made without measuring one of them — and the dominant one is usually the\none nothing downstream reads.</li>\n<li><strong>The ambiguity located in the symptom.</strong> The words a builder is held to are the\nrequirement&#39;s, and a reading nobody costed is one the builder resolves silently, in favour of\nwhichever is cheapest to write.</li>\n<li><strong>A stale claim built on.</strong> The report describes a past state; anything inherited from it\nanswers &quot;was it true?&quot; and needs a current-state check before it becomes a requirement.</li>\n<li><strong>Accurate numbers taken as a verified cause.</strong> The expensive miss is a careful report whose\nfigures reproduce and whose mechanism does not, because nothing downstream reopens a question\nthe table appeared to close — see <a href=\"references/separate-diagnosis.md\">falsifying the diagnosis</a>.</li>\n<li><strong>All candidates propose doing something.</strong> If &quot;already fixed&quot; and &quot;do nothing&quot; are never\noffered they were never considered, and the pipeline has an outcome it cannot reach. The\nfourth invented approach usually already exists in the tree under a different word, which is\nwhy searching for the precedent is a named step and not a hope.</li>\n<li><strong>Candidates compared by description.</strong> Without a blast area each, the comparison is between\ntwo summaries and the more confident one wins.</li>\n<li><strong>A contract whose file sets overlap.</strong> No requirement can then be reverted alone, review\ncannot attribute a defect, and the first regression rolls back all of them.</li>\n<li><strong>A test that could never have failed.</strong> Green from the day it was written, reported as\ncoverage. The mutation is a minute; skipping it is how a suite becomes decorative.</li>\n<li><strong>Handing the builder the investigation transcript.</strong> It contains the refuted premises and the\ndiscarded approaches, and some of them will end up in the diff.</li>\n<li><strong>Confirmation asked at the plan and not at the act.</strong> At plan time nothing irreversible is\nimminent and the person answering has no context; at act time they have both. Closing the\nreport and mailing the reporter are two of those acts — cheap to perform, and no revert takes\nthem back off a person&#39;s screen.</li>\n<li><strong>Chasing the disagreement verification found.</strong> File it: holding this report open to chase\nit hides two problems in one row that reads as in-progress.</li>\n<li><strong>Closing on a green suite.</strong> A suite passing over an unguarded surface is evidence about the\nsurfaces it covers, not about the one the report was filed against.</li>\n</ul>\n<h3 id=\"verification\">Verification</h3>\n<ul>\n<li><input disabled=\"\" type=\"checkbox\"> The band was scored with <code>investigate-codebase</code>&#39;s rubric (not a second, local one) and\nannounced before any child was dispatched, with signal scores and the caps it buys.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Cost-of-being-wrong was scored <strong>2</strong> where the resolution closes the report or messages\nthe reporter, and the band floor and act gates followed from it.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>G0:</strong> the claim is one falsifiable sentence with its falsifier written down, the report\nis classified bug / feature / question, and the reporter&#39;s asserted cause is recorded as a\n<strong>premise</strong>, separately; severity, priority and effort are three answers, each with its owner.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>G0:</strong> the readings the <strong>requirement&#39;s own words</strong> admit are enumerated and costed — not\nonly the ones the failure symptom suggested — and any unresolved reading blocks G3.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>G1:</strong> the cause or implication is stated at the evidence class the claim requires, with\n<code>path:line</code> at a sha — or the required class is named as out of reach and the downstream\nclaims are marked as resting on a lower one.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>G1:</strong> every number in the report has a row and a verdict from the closed set, and a\npartial reproduction is reported as a finding rather than as a failure.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>G1:</strong> every causal claim has its own row and its own falsification, and where the numbers\nreproduce but the mechanism does not, the corrected cause is what reaches G2.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>G1:</strong> every limit the report or the requirement cites was decomposed into its\ncontributors before any remedy was argued, and no infeasibility claim rests on an\naggregate nobody measured.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>G1:</strong> every inherited claim is dated to a revision, anything that stopped holding is\nrecorded as true at one sha and not at HEAD, and every load-bearing negative names a\ncontrol that fired.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>G2:</strong> 2–4 candidates carry blast area, what-it-does-not-fix, reversibility, size and\nevidence — each blast area from the mapping skill, or with the reason it could not be.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>G2:</strong> already-fixed, do-nothing and the <strong>sibling requirement</strong> already in the ticket\nwere each evaluated, and the repository was searched for a precedent before a new approach\nwas proposed.</li>\n<li><input disabled=\"\" type=\"checkbox\"> The choice is recorded with <strong>who made it</strong>, and the two-column rule decided whether it\nneeded confirming.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>G3:</strong> every requirement names its files, its proving test and the mutation that must\nkill that test; the file sets are disjoint or the overlap is declared and sequenced.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>G3:</strong> the losing candidates appear under NOT IN SCOPE, the standing instruction to\n<strong>report brief errors instead of implementing them</strong> is in the text the builder received,\nand every proving test was watched failing under its own mutation before landing.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>G4:</strong> the build was handed to <code>land-complex-change</code> with the contract and the paths and\n<strong>not</strong> the investigation transcript, and it returned a budget and a gate ladder.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Every budget breach stopped the work, re-entered <code>blast-area</code>, and resolved to extend,\nsplit or abandon — with any breach that invalidated the chosen candidate returning to G2.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>G5:</strong> each requirement was verified at its own evidence class, a released fix where its\nreader meets it, and the reporter&#39;s original numbers were re-measured against the G1 table.</li>\n<li><input disabled=\"\" type=\"checkbox\"> <strong>Every disagreement verification turned up was filed as its own report</strong>, and this one\nwas closed on its own contract rather than held open to chase it.</li>\n<li><input disabled=\"\" type=\"checkbox\"> The resolution note came from <code>describe-changes</code> and the review loop from\n<code>request-blocks-review</code>, which received the contract, the budget, the ladder and the\nresiduals alongside the diff.</li>\n<li><input disabled=\"\" type=\"checkbox\"> No irreversible act — migration apply, production write, deletion, report close, outbound\nmessage — was taken without consent at the act; <strong>none was taken in an unattended run</strong>.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Where the outcome was a <strong>question</strong> or a <strong>refutation with no action</strong>, it was delivered\nwith its evidence and its branches, and no change was manufactured to fill the gap.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Where a record was written, it exists at\n<code>docs/resolve-problem-report/&lt;UTC-date&gt;-&lt;slug&gt;.md</code> (or the harness scratch path for an\nunattended run, named in the final answer), under the five required headings.</li>\n</ul>\n<h3 id=\"deeper-reading\">Deeper reading</h3>\n<p>Each file carries the detail its section summarises: the gates and their artifacts in\n<a href=\"references/gate-contracts.md\">gate contracts</a>; classes, the reproduction table and false premises\nin <a href=\"references/reproducing-the-claim.md\">reproducing the claim</a>; the falsification test, its three\nmeasured cases and its weight at G2 in <a href=\"references/separate-diagnosis.md\">falsifying the diagnosis</a>;\nthe five fields, mandatory classes and precedent search in\n<a href=\"references/candidate-offers.md\">candidate offers</a>; the template, disjoint file sets and mutation\nforms in <a href=\"references/build-contract.md\">the build contract</a>; the two-column rule, act-gate script\nand unattended stop in <a href=\"references/confirmation-policy.md\">the confirmation policy</a>; severity,\npriority, effort and released fixes in <a href=\"references/assessing-a-report.md\">assessing a report</a>; the\nfive headings and prohibitions in <a href=\"references/documenting-the-run.md\">the run-record convention</a>;\nand one report end to end — partly reproduced, premise refuted, disagreement filed as its own report\n— in <a href=\"references/worked-resolution.md\">a worked resolution</a>.</p>\n","outline":["Six gates, six artifacts","When to Use","Prerequisites","Procedure","Usage Examples","Pitfalls","Verification","Deeper reading"],"words":5687}
