WEB-PATTERNS.md tracks what the browser can do. This file tracks what the process gets wrong,
and it exists because the process has now produced more false conclusions than the engine has produced
crashes.
The rule it enforces:
Every number has a harness, and the harness is part of the number. A gate that has never been proven to go red is not known to work.
In a single session (ticks 25–29), the process — not the code — produced thirty-five false or unusable conclusions. Every one of them made the browser look better or worse than it is, and not one was a bug in the browser:
| # | The process defect | What it did | The mechanism that now prevents it |
|---|---|---|---|
| 1 | Compiled while the oracle crawl ran | Contaminated the hang count; result thrown away | Part 27.1, self-reported; the crawl is the only thing on the machine |
| 2 | Widened the crawl 4 jobs → 12 to "go faster" | Hang rate read 12.5% → 49% on the same binary in the same hour. The concurrency was mine. | oracle-crawl.sh warns loudly at a non-baseline job count |
| 3 | Reported a crawl I had killed at 92/265 | STATUS.md printed ORACLE_HANGS: 33 as fact. An interrupted crawl always under-reports — the sites that hang are the ones still running when you kill it. |
status-update.sh refuses to print a partial crawl |
| 4 | Stragglers wrote into a fresh run | export -f one_site means xargs children survive a pkill of the driver. Two experiments merged under one name; caught only because the two script versions happened to use different status labels. |
Every record carries a RUN_ID; the crawl refuses to start on live workers; status-update.sh refuses a mixed-run directory |
| 5 | The Bar 0 metric measured Chromium | "73 of 265 sites HANG (27.5%)" — the headline that set the schedule for several ticks — was the oracle process hitting a watchdog that wraps Chromium's render too. Chromium is the slower engine on 84% of this corpus. The real number is 4.4%. | TIMEOUT is attributed to nobody; Bar 0 is computed from manuk_ms, our own clock |
| 6 | The self-audit lied about itself | Its SPA check counted files in tests/spa/ (three: apps/, build.sh, README.md) and concluded the miner had never run. It had run against all eight frameworks and produced five engine fixes. |
The check now asserts the apps exist and that what the miner found is pinned by a gate |
| 7 | A gate passed while measuring nothing | The first G_DEDUP called Page::load — the sync path, which never fetches. FETCHES was 0, so assert_eq!(dupes, 0) passed. It would have been green through the entire duplicate-fetch storm it was written to catch. |
G_DEDUP asserts it measured something before asserting the thing is fine; and scripts/falsify.sh proves every gate can go red |
| 8 | The dedup metric conflated cache hits with bandwidth | "nytimes: 507 duplicate fetches" counted repeat fetch() calls, most of them free cache hits. The number that costs bandwidth — the same URL on the wire twice — was 4. |
NET_REQUESTS / NET_DUPES count the wire; FETCHES counts calls; the gate asserts on the wire |
| 9 | The falsifier needed falsifying | On its first run scripts/falsify.sh reported G_LOAD VACUOUS. It was not. The mutation removed the outer tokio::time::timeout, but finish_loading_inner carries its own per-phase budget — so the guarantee survived, and the gate was right to stay green. A weak mutation produces a false "vacuous" verdict, which is a defect in the meta-gate itself. |
A falsifier must mutate the guarantee at its source, not one implementation of it. G_LOAD's now disables load_budget() itself, which feeds every layer. |
| 10 | G_LOAD was vacuous for its entire life | The gate named for the page budget was being protected by the per-request timeout. falsify.sh deleted load_budget() outright and the gate stayed green: three dead subresources at 1s each is 3s, comfortably under its 10s ceiling, budget or no budget. It would have been green if the budget had been deleted in production. | The ceiling is now 2× the budget (assert the promise it is named for, not "the page eventually finished"), and the request deadline is set longer than the budget so the budget is the only thing that can satisfy it |
| 11 | Two gates raced over a process-global OnceLock | g_load_budget set MANUK_NET_TIMEOUT_MS=5000; the other test in the same binary set 1000. request_timeout() memoises, cargo runs tests in parallel, so whichever touched it first decided for both. The gate's verdict depended on thread scheduling — and this is why #10 could not be fixed until it was found. | One test file is one binary: the tests are split (g_load_budget.rs, g_load_document.rs), each owning its own process and its own OnceLock |
| 12 | A gate re-derived the constant it was checking | the_document_gets_a_longer_deadline_than_its_subresources carried its own copy of the 30. It was asserting a relationship between two constants it had itself written down. Change fetch_document's real default to 5s and it would have passed, cheerfully, while the browser became unable to open a slow site. | manuk_net::document_timeout() is now the only derivation, and the gate calls it. Proven: MANUK_DOC_TIMEOUT_MS=500 now makes it fail |
| 13 | pkill -f <pattern> matched its own shell | Three times this session a cleanup command killed the very shell running it, because the pattern appeared in its own command line. Once it killed a build mid-flight and reported a spurious failure. | Never pkill -f on a string that appears in the command; split the literal ("oracle-cra""wl") or match on the binary path |
| 14 | The falsifier POISONED the source tree | A falsify run was killed before its EXIT trap fired, leaving MAX_TASKS_PER_DRAIN = u32::MAX in event_loop.rs. The next run then backed up the already-mutated file, mutated it again, and faithfully "restored" the corruption. A Bar 0 code path was now broken in the tree, and the next verify.sh hung on a genuinely broken engine — looking exactly like a real regression. The safety tool corrupted the thing it was protecting. | Every mutation carries a MUTATION marker. falsify.sh refuses to start if a target file already contains one (a previous run died), and verifies its own restore afterwards — a restore that silently fails is the same bug one layer down |
| 15 | A non-compiling mutation read as "gate goes red" | cargo test returns non-zero for a compile error exactly as it does for a failing assertion. I wrote a mutation calling a function that did not exist; it would have "proven" G_FIRST_PAINT falsifiable while testing nothing. The tool that certifies the gates was itself uncertified. | falsify.sh builds first, and a build failure is reported as FALSIFIER BROKEN, loudly — never as evidence about the gate |
| 16 | G_FIRST_PAINT's first version was vacuous | It called Page::load, which has never fetched an image in its life. It would have passed before the fix, after the fix, and with the fix reverted. The images were on the paint path in exactly one place — prefetch_document, the function the shell calls — and the gate was not testing it. | The gate now drives prefetch_document over real HTTP, and additionally asserts the images are still pending (deferred, not dropped — "fast" must not mean "never loads them") |
| 17 | Two JS tests in one binary segfault NONDETERMINISTICALLY | g_defer had two #[test]s, each standing up a SpiderMonkey context. The leaked per-process runtime tears down messily when they co-run: the binary passed, then segfaulted, then passed. A flaky gate is worse than a missing one — it gets ignored, and an ignored gate protects nothing. | One test per JS gate binary, on purpose. js_conformance has been one giant test for exactly this reason, and the reason is now written where the next person will look |
| 18 | A split behaviour change was applied to 2 of its 3 call sites | Page::load and from_prefetched got the new deferred pass; load_async did not. Every SPA in the suite silently stopped mounting — a Vite bundle is a module, deferred by default, nothing ran the deferred pass, and the root element sat there correctly sized and empty. | G_DEFER asserts Page::load still runs every script. The rule: every path that used to run all the scripts must still run all the scripts. Exactly one caller may split them — the shell — because it is the only one with a human waiting |
| 19 | A capability audit run from the wrong ORIGIN reported the browser as broken | The first CAPABILITIES.md opened with "localStorage — 27% of the web — THROWS. Not a gap, an outage." False. A real, persisted, per-origin localStorage had existed for ages; it threw because the probe was a file:// URL — an opaque origin, which gets no storage in every browser. I had already written a replacement shim. One more step and I would have shipped a worse duplicate of a working feature and reported a 27%-of-the-web win that did not exist. | The capability probe is served over real HTTP (docs/loop/capability-probe.html), never opened from disk. Support numbers are measured from a real origin or they are not measured |
| 20 | I implemented a duplicate of a working feature. Twice, in two ticks. | localStorage (tick 33) and FormData/URLSearchParams (tick 34) both already existed and both worked. I wrote replacements for both. The second time the shim was dead on arrival — guarded by typeof === 'undefined' — and I only noticed because the behaviour did not change when I "fixed" it. | The cause was never carelessness about the code: it was trusting a capability probe that did not test the capability. The probe is the AUTHORITY. If it does not test something, that capability's status is UNKNOWN — and "unknown" must never be silently read as "missing", which is exactly how you ship a worse copy of working code. capability-probe.html now tests everything before I touch it. |
| 21 | A third untested assumption in three ticks | CAPABILITIES.md said position: sticky was "laid out, does not stick". It was never tested. apply_sticky had existed all along and works — a sticky header pins correctly at scroll 500. Same shape as localStorage (#19) and FormData (#20). | The pattern is now unmistakable and it is one rule: if the probe does not test it, its status is UNKNOWN — and I must go and test it before writing a status, not after. Three ticks in a row I wrote "❌ missing" where the truth was "✅ works, untested". |
| 22 | The crawl report announced "coverage 2.8%" for a browser that renders fine | I wrote crawl-report.sh to make the speed/coverage rule mechanical — and on its first run it lumped all three divergence kinds together and called the result Bar 1. geometry (123,796 of them) means the node exists, at the same size, in a different place — that is Bar 2, deferred by settled decision, not a rendering failure. The real Bar 1 number is 92.2% node presence. I nearly reported a catastrophic regression that did not exist. | The report now separates missing (the node is not there → Bar 1), display (there, shown differently → Bar 1) and geometry (there, same size, moved → Bar 2, reported, never scored). The instrument built to stop me trusting bad numbers produced one on its first run — which is the fourth time an instrument has done that here, and the reason none of them get to be trusted on sight. |
| 23 | The pre-commit hook refused a tick for a stale entry from a DIFFERENT EPOCH | The tick counter has been reset at least once, so ## Tick 38 exists twice — once from 2026-07-12 and once from now. The hook took the first match, handed itself an entry from a numbering scheme that predates the TICK-SHAPE rule, found no shape, and blamed the author. | The journal is append-only, so the current entry for tick N is the most recent one — always. The hook now takes the last match. A check that fails closed on its own bug is still a broken check — and this is the fourth time this specific hook has refused its own author. |
| 24 | An optimisation was never asked what it DROPPED | RuleIndex (tick 14) made the cascade 1.7× faster by bucketing rules by their rightmost selector. It read each StyleRule's selectors and block and never looked at its rules field — the nested rules. 41% of the corpus (a floor) had every nested rule silently thrown away. It shipped, was measured for speed, and passed every gate for 25 ticks. | An optimisation that makes a data structure smaller must be asked what it dropped. No gate could see this: every gate compared boxes, and the boxes were internally consistent — they were just consistently wrong. G_SELECTOR now asserts a nested rule applies AND that every selector that already worked still does. |
| 25 | A fifth "✅ untested" in the capability ledger | CAPABILITIES.md said :has() ✅ "(Stylo)". It was never tested. Stylo's servo build hardcodes parse_has() -> false, so every :has() rule is dropped as unparseable — 13% of sites. | Same rule, fifth instance: if the probe does not test it, its status is UNKNOWN. The selector conformance probe now covers :has(), nesting, :is/:where/:not, attribute selectors and combinators. |
| 26 | The self-audit checked 4 of 12 gates and reported "all proven" | Its falsifier check hardcoded G_DEDUP G_LOAD G_RUNAWAY G2 — the four gates that existed when it was written. Six more had shipped since and it knew about none of them. It was reporting the wall as certified while checking a third of it, and would have said so forever. | The gate list is now derived from verify.sh, never carried as a copy. Same defect as a test re-deriving the constant it checks (#12) and a ledger whose ✅ was never tested (#19/#20/#21/#25): a check that keeps its own copy of the list it is checking will drift from reality, silently. |
| 27 | G1 — the visual-fidelity gate — could not fail | Its floor is applied to the structural score, and coverage returned 1.0 when probed == 0. example.com was in G1's default URL list and has no [id] elements at all — so it probed nothing, scored a perfect 100%, and inflated the mean of the gate whose entire job is catching missing content. Mutation-testing found it: emptying node_rects() so the browser renders nothing still scored 100% there. | coverage is NaN when nothing was probed, report fails loudly on it, and G1's URL list now contains only pages it can actually measure. |
| 28 | G6 — clickability — could not fail either | MISSED is 0 when the page has no links at all, so a browser that finds nothing scored a perfect clickability. Found by the same mutation pass. | The gate now refuses fewer than 50 links as vacuous ("fix the harness, not the threshold") — the same "did it measure anything?" guard G_DEDUP needed (#7). It now reports 3 unclickable of 484 links. |
| 29 | Three more weak mutations, three more false "VACUOUS" verdicts | Falsifiers aimed at Page::links() (G6 uses the DOM directly), a dead _mutation_stall() nobody calls (G_INTERACT), shell/src/tab.rs (G_TEARDOWN scans only the shipping exit paths), and a black canvas (G1's floor is structural, not visual). Each time the gate was right and the mutation was wrong. | Restated, because it keeps recurring: mutate the guarantee at its SOURCE, and confirm the mutation reaches the code the gate drives. A "VACUOUS" verdict is a claim about the gate — verify it before believing it, exactly as you would any other measurement. |
| 30 | I "fixed" a file that is not compiled | Flipped parse_has() -> true in ./stylo/style/servo/selector_parser.rs and rebuilt clean — and :has() rules were still dropped. The workspace depends on stylo = "0.19" from crates.io; ./stylo is a reference checkout that nothing builds. The edit was inert. | Before editing a vendored directory, confirm the build actually uses it (grep the Cargo.toml for a path = or [patch.crates-io]). A source tree sitting in the repo is not evidence that it is the source. This also re-prices the :has() decision: it is not a one-line flag delta, it is vendoring Stylo — a genuine fork — or a hand-rolled supplement. |
| 31 | The falsifier reported FALSIFIER BROKEN for a linker OOM | expect_red builds the mutation first and treats a build failure as "the mutation is broken" — correctly, for a compile error. But ld terminated with signal 9 [Killed] is the machine running out of memory, not a bad mutation. It reported two perfectly good falsifiers as broken. | The verdict was not believed on sight (PROCESS #29's rule, applied), and a retry at CARGO_BUILD_JOBS=2 proved both. A build failure is still the right default — it is loud and it stops the run — but "the falsifier is broken" is a claim, and claims get verified. |
| 32 | I destroyed working code chasing a regression that did not exist | G_GLOBALS "failed", so I git checkout'd two files to bisect — losing an hour of real work (the browsing-context tree, the whole document lifecycle, insertAdjacentText, Page::fire_lifecycle). The gate was never broken. I had run it as cargo test -p manuk-page --test g_globals, and manuk-page does not enable spidermonkey by default — verify.sh runs it with --features stylo,spidermonkey. So the engine had no JS engine at all, no script ran, and "-" was the correct output of a working browser with JS disabled. I was measuring a browser no user has, and I trusted it enough to delete code. | PROCESS #29's rule applies to RED verdicts, not just green ones: a verdict is a CLAIM. Extended to a hard rule in docs/foundation/CLAUDE.MD: never git checkout/git stash a file with uncommitted work to test a hypothesis — bisect by copying aside or commenting out, never by reverting the only copy. And: run a gate the way verify.sh runs it, or you are not running the gate. |
| 33 | A falsifier declared a WORKING gate broken — because of pipefail | G_NO_PHANTOM_FORK's falsifier piped verify.sh \| grep -q. Under set -o pipefail the pipeline returns non-zero because verify itself exits non-zero — which is exactly what the falsifier WANTED it to do. So grep matched, the gate had gone red correctly, and the falsifier reported "✗ STAYED GREEN — the gate does not notice a dirty clone." | I did not believe it (PROCESS #29, again) and reproduced by hand: the gate fired perfectly. Capture the output first, then grep it. And the standing rule earns another entry: the falsifier is an instrument, and instruments get verified. Every layer of this stack — gate, falsifier, auditor — has now produced at least one false verdict. |
| 34 | A gate had never been proven to go red, and only the SELF-AUDIT noticed | G_NO_PHANTOM_FORK shipped in tick 45 with no falsify.sh target. I had checked it by hand once — which is not the same thing. It sat unfalsified for six ticks, and the thing that caught it was the overdue self-audit, not me. | The self-audit derives its gate list from verify.sh and cross-checks it against falsify.sh, so a gate without a falsifier is a mechanical finding, not a remembered one. This is the audit paying for itself: the cadence hook blocked every commit until it ran, and it immediately found something six ticks of my own attention had missed. |
| 35 | The LEDGER sent me to build a feature that already worked — the FOURTH time | The platform map named "loading & viewport awareness" the single biggest breadth-per-tick item on the board, and said "the engine paints at scroll 0 and never tells anything the viewport moved." It was already built. A two-minute probe found the whole chain live: scrollY updates, scroll fires, IntersectionObserver FIRES, the lazy-loader's img.src swap happens, and the engine queues the new URL for fetching. The ledger had simply never been corrected after the work landed. | The prior three (localStorage, FormData, position: sticky) were caught the same way and produced the same rule — and the rule was not ENFORCED, only written. So now it is mechanical: a capability claimed as MISSING must be probed before it is implemented, and a capability that WORKS must be GATED — because a capability with no gate is indistinguishable from a capability that does not exist, which is precisely how the ledger went stale. G_VIEWPORT now proves the whole loop and is falsifiable. An absent measurement is not a negative measurement. |
| 36 | My screenshot flag froze the clock I was measuring with | I fixed the demo's stage timings (Date::now() is coarse to 1ms, so every stage rounded to "0ms") by switching to performance.now(). Rebuilt, screenshotted headless — still 0ms. I was one step from concluding the fix had failed and going back into the Rust. The Rust was correct. My screenshot command passed --virtual-time-budget, which makes Chromium virtualize the clock: CPU-bound work advances it by zero. Re-run without the flag: parse 18ms, cascade 54ms, layout 50ms, raster 57.1ms — the numbers had been there the whole time. The observer's own instrument was reporting the absence of the thing it was blind to. Same family as the TMP collision (#31): my instrument broke the build it was measuring. | Timing claims are never read from a virtual-time run. scripts/demo-build.sh's verification step drives the demo with a real clock and asserts parseMs > 0 — a build whose provenance panel reads all-zero is a build that FAILS, so this can never again be mistaken for a fact about the engine. |
| 37 | I ran git checkout on uncommitted work — the SECOND time, while quoting the rule against it | Hunting a broken boot in the demo, I typed git checkout demo/www/index.html to get back to a known state. That file held the entire uncommitted tick-61 rewrite — grouped nav, provenance panel, inspector, link routing — and git checkout is not an undo, it is a delete. 306 lines gone in one keystroke. This is PROCESS #32 verbatim, and I had the rule in front of me: I wrote the words "NO. Never git-checkout uncommitted work (PROCESS #32)" into the very same shell command, on the line after the one that destroyed it. Recovered only because the file had been created with a Write tool call, so the session transcript still held its bytes — pure luck, and not a mechanism. | The lesson was already written and it did not hold, so the lesson is not the fix. The fix cannot be a rule, so it is a mechanism: scripts/snap.sh, called first thing by verify.sh, falsify.sh, demo-build.sh and tick.sh — the four things that run constantly. It writes the whole working tree to a dangling commit (git stash create → refs/manuk/snapshots/*), which touches neither the index, the branch, nor git status, and costs nothing when nothing changed. So a snapshot is never more than one command old. --restore unpacks the newest into a scratch dir and refuses to write over the live tree, because restoring on top of live files is the same class of mistake one layer down. It does not make git checkout safe; it makes it recoverable, which is the only property that survives my being wrong about this a third time. Proven by doing it: destroyed index.html with the exact command, recovered it byte-for-byte. The rule still stands and now has no wiggle room — the only safe way to test "what if this file were different" is to make a different file — but the rule is no longer what is load-bearing. |
| 38 | The gate I wrote to catch #36 was itself vacuous — it passed a canvas that was never painted | G_DEMO_LIVE asserts the engine PAINTED by sampling the canvas. Version one asked "is any colour channel != 255?" — i.e. "is anything non-white?". A canvas nobody has drawn to is transparent black (0,0,0,0), which satisfies that trivially. So the check reported PAINTED for a blank canvas, and a mutation that deleted the putImageData call outright sailed straight through it, green. The gate written to stop an instrument lying was an instrument lying, in the same tick, about the same demo. | The check now counts distinct colours in the sample and demands more than two — a property only real rasterized content has (an empty canvas has exactly one; anti-aliased text alone has dozens). And it is not trusted because it is green: it is trusted because it was proven to go RED — twice, against a frozen clock and against a deleted paint call. Every new gate gets mutated before it is believed. |
| 39 | The gate I added to protect the demo was the only thing that stopped it shipping | G_DEMO_LIVE launches a headless Chrome, sleeps 3 seconds, and connects to its debug port. On my laptop Chrome was up in well under 3s. On a GitHub runner it was not — so the probe hit Connection refused, demo-build.sh exited 1, and the GitHub Pages deploy failed. The demo itself was perfect. This is PROCESS #31 wearing a different hat (TMP=$(mktemp) in ci-run.sh broke the Windows build it was measuring), and the root cause is the same one as #36: a fixed sleep standing in for the condition I actually care about. | The probe polls the condition — it retries the CDP endpoint until it answers, up to 40s, and if the browser died it prints what the browser said instead of reporting a refused connection. The general rule, which has now cost this loop three separate defects: never sleep where you can wait for the thing. A timeout is a backstop, not a measurement. |
| 40 | The release cadence was green, and shipping nothing | The user asked for a mechanically enforced interval on binary releases, so release.yml gates on the tick declaring itself a capability change — by grepping the commit message for TICK SHAPE:. But the pre-commit hook enforces TICK SHAPE: in the JOURNAL, not the commit message. Two sources of truth for one claim, and the release gate read the one nobody is required to write to. When a message happened to repeat the shape (tick 60) it shipped; when it did not (tick 62 — a real capability win: you can now quit the browser without losing your session) the gate found nothing, took the else branch, printed "not a capability tick", and reported ✅ success. A cadence that never fires and never complains is worse than no cadence, because the green check certifies that it works. And the fix's own first draft had the same disease one layer down: awk "/^## Tick 62/,/^## Tick [0-9]/" — awk tests a range's END pattern on the START line too, so the range collapsed to one line, the shape was never in it, and it silently reported "no shape declared" for every tick in the file. | One claim, one place it is written, one place it is read: the gate now reads the journal — the same file, by the same awk ... ,0 construct tick.sh uses — and the extraction is proven against the real journal for real ticks (59 → ship, 60 → ship, 61 → skip, 62 → ship) before being trusted. The general rule: a check whose source of truth differs from the enforcement mechanism's is a check that silently never fires. |
| 41 | The ledger said React renders nothing. React renders. (PROCESS #35, FIFTH recurrence) | WEB-PATTERNS.md carried "React committing its render — ❌ still silent. Mounts, schedules, throws nothing, renders nothing" for an unknown number of ticks, and I was one step from opening a tick to fix it. The methodology's own first rule says build the probe first, so I ran the real Vite/React bundle through the engine before touching anything: #root gets its 6 children, the app's own text ("Count is 0"), 59 elements, zero errors. It has presumably worked for many ticks. The ❌ was never measured — it was inherited. | This is the fifth time (localStorage, FormData, position: sticky, the viewport, now React) and the rule has not changed, so the rule is not the fix: an absent measurement is not a negative measurement. What is new is that the probe found something the ledger could not have: the real gap was next door — DOM methods were own-properties of every element, so Element.prototype.setAttribute was undefined and patching a prototype was a silent no-op. The probe you write to check a claim is worth more than the claim. Every ❌ in the pattern ledger now needs a probe behind it or it is a rumour; the ones without are being converted, a tick at a time. |
| 42 | The ledger's top THREE priorities were all phantoms — and it is the file that decides what gets built | Having caught it twice in one tick (the hangs, React), I probed every remaining ❌ in WEB-PATTERNS.md. append, prepend, before, after, replaceWith, insertAdjacentHTML, outerHTML, innerText, Range, getSelection, Blob, File, FileReader, MutationObserver, ResizeObserver and structuredClone all work. Every one was marked missing. Its #1 ("~1 site in 4 hangs — nothing else matters at this ratio") is really 4 sites in 265 — off by 16×. Its #2 (React) renders. Its #3 (append/insertAdjacentHTML/outerHTML) already worked. Three of the top three. The loop had been aiming at ghosts, and the roadmap that aims it was the least-verified file in the repo. | The lesson was already written five times (#19, #20, #21, #35, #41) and did not hold, so it is no longer a lesson: G_CAPABILITY runs the ledger's claims as assertions on every wall. A ✅ that stops being true fails the tick (which is the RATCHET — never regress capability — made mechanical), and every ❌ now carries a printed receipt from the same run, so nobody can inherit a rumour again. The ledger cannot drift from reality, because reality is what runs. |
| 43 | A new mod line silently STOLE the cfg of the one below it | I added pub mod canvas; immediately above pub mod dom_bindings;. The line above that was #[cfg(feature = "_sm")] — and an attribute applies to the item that follows it. So the cfg now guarded canvas, and dom_bindings — the entire JS binding layer — became unconditional. It compiled perfectly in every build I was running (all of which have the JS feature) and produced 283 errors in the no-feature build, which is the one the wall runs and I never do by hand. The failure surfaced as "manuk-agent tests failed", three crates away from the cause. | The wall builds the no-default-features configuration precisely because my daily build does not, and it caught this before it left the machine. The rule the code now states at the site: when inserting a module declaration, put the cfg on the new line too — an attribute belongs to whatever follows it, and "whatever follows it" just changed. Generalised: any edit that inserts a line between an attribute and its item is a silent semantic change to the item. |
| 44 | The falsifier's poison-guard could not tell its own marker from the English word | falsify.sh refuses to run if a target file already contains a mutation marker — a good rule (PROCESS #14), and the marker was the bare word MUTATION. So the guard refused to mutate engine/js/src/mutation_js.rs, a file whose entirely legitimate contents include pub const MUTATION_JS. It declared a clean tree poisoned, and blocked the gate for a brand-new capability. The safety mechanism did not misfire on a bug; it misfired on a file that talks about the thing it guards. | The marker is MANUK_FALSIFY_MUTATION — a string that cannot occur by accident — and every one of the 37 mutations carries it. The general rule: a guard whose signal is a common substring will eventually fire on a file that merely discusses the subject. A sentinel must be unmistakable, not merely descriptive. |
| 45 | I recorded a missing instrument that already existed — in the PROCESS ledger itself | A bundle of individually-correct createEvent fixes made its own target file worse (76/279 → 40/279), and I could not localize it. I concluded — and wrote into this file — that the WPT harness "records subtest counts, not subtest names", so a regression inside a file is invisible, and named building that as the next tick. It was already built. manuk-wpt wpt <subset> --show-failures prints every failing subtest's name and its assertion message, and has for many ticks. I asserted an absent measurement without running the one command that would have checked, and then enshrined the false claim in the ledger whose entire purpose is to stop exactly that. | The correction is the point, and so is what it bought: running --show-failures across dom/ and histogramming the messages produced a ranked work list in one command — setAttributeNS is not a function (160 subtests), createProcessingInstruction is not a function (103), defaultPrevented expected false but got true (57). The first of those, fixed in an hour, was +170 subtests. The most expensive thing in this loop is still guessing, and the cheapest instrument is the one you already have and did not run. PROCESS #35's rule now applies to this file too: an entry claiming something is missing must name the command that was run to establish it. |
| 46 | The verify wall could not tell a KILLED gate from a FAILING one — and it landed a tick anyway | The crate-suite loop was grep 'test result: ok' and bad on anything else. So a suite that was OOM-killed, or whose build was starved out under memory pressure, produced no test result line at all and was reported as a RED GATE. It happened three times in one session (G_FORM, G_IFRAME, manuk-shell) — every time only when the wall shared the machine with a heavy WPT release build, and every time the suite passed 3/3 in isolation a minute later. Worse: on tick 80 my standalone wall went red on manuk-shell while tick.sh's own wall went green, and the tick landed. A wall that is green non-deterministically proves nothing — and it teaches you to re-run until it is green, which is exactly how a real regression gets shipped. | The project already knew the fix, because the WPT harness learned it first: separate the ENGINE's verdict from the INSTRUMENT's. WPT calls a lost row SHORT and refuses to score it. The wall now does the same: an explicit test result: FAILED is red, immediately, never retried; no verdict at all (signal, OOM, starved build) is an instrument fault — retried once, alone, with nothing else running — and if it still yields no verdict it fails as INSTRUMENT FAULT, because unmeasurable is not passing either. Both branches are proven: a genuine failing test goes red with no retry, and a killed one recovers. A lesson learned in one instrument is not learned until it is applied to the others. |
| 47 | Ten ticks were spent on 9% of the ground that was already checked out | Ticks 71–81 worked dom/ — carefully, correctly, +652 subtests. dom/ is 6,484 subtests. Sitting in the same checkout, never once measured, was html/dom: 59,818 subtests — nine times larger — and 80% of its failures were a single mechanism (attribute reflection) worth ~38,000 subtests. The loop optimised the area it happened to be looking at, and never asked whether it was looking at the right one. A per-directory score tells you where you are losing; only a histogram of failure messages tells you what is losing, and those are different questions with wildly different answers. | docs/loop/GRIND.md — the search policy, mechanical and standing: measure every area every tick, histogram the failure messages of the largest, and fix the MECHANISM with the highest count, never the instance. Both commands are one line and both already existed. The exhaustion rule is explicit: keep taking the largest mechanism (≥500 subtests) wherever it lives, re-measure all areas after each one, and only go narrow when no mechanism of that size remains anywhere. A mechanism you have not looked for cannot appear in your ranking. |
| 48 | The perf floor could not tell a slow MACHINE from slow CODE — and said the engine had regressed 65% | The wall failed F2 pipeline 139ms > 125ms with zero engine changes since the tick that measured 88ms on the same machine. The governor was in powersave, and a memory-bound workload like layout does not make it ramp — sampled during the bench, the cores sat at 1.4–2.3GHz. mid went 14.4→23.2ms and large went 88→152ms together: the machine got ~1.7× slower and the floor announced, with total confidence, that the engine had. I then nearly shipped a CPU-calibration loop that would have made it worse: a tight ALU loop does make the governor ramp, so it reported a healthy machine while the memory-bound bench crawled. The calibrator must be the same shape as the workload. | The binding floor is now a RATIO between two engine workloads of different size (large/mid). Machine speed divides out exactly — both pages slow together — while the thing F2 exists to catch, superlinear scaling, survives untouched. Absolute ms is still printed and still logged to the cadence ledger (a uniform slowdown is real and must be visible over time), it just cannot be judged from one run on one machine. This is the FIFTH instrument to need the same lesson (WPT's SHORT-vs-CRASH, the crate suite, the sweep, the parallel gates, now the floors): an instrument must be able to distinguish its own condition from the thing it measures. |
| 49 | Nothing checked the MAP. Every instrument could only see what was already on it. | Twice in one session the loop made an order-of-magnitude leap, and both times a human had to point at it — "measure html/dom, not just dom/" (+9,940 subtests, an area sitting un-measured in the same checkout for ten ticks) and "histogram the failure messages" (a flag that had existed for many ticks and had never been run). Neither was hard analysis. Both were aperture failures: orient ranked WPT areas, constellation scored capability classes, ratchet refused regressions — and all of them were blind in exactly the same way. The map itself was drawn from memory, and this project's memory has been wrong six times. A ranking inside the wrong frame is a confident wrong answer. | Three mechanisms, all now in the tick. blindspot.sh enumerates every WPT area upstream — including ones never checked out, which the sparse clone can still see in its index — and the rule is rank APERTURES before MECHANISMS: if the largest invisible area beats the largest visible mechanism, the tick is to open the aperture. recon.sh cheaply samples every materialised area so "biggest" is measured, not assumed. surface-audit.sh forces the loop OUT of its own frame every 10 ticks — search the web, reconcile against Interop/other engines, and add what the world names that our map does not. Its first run added 20 capabilities and raised UNKNOWN from 14 to 32, which is the audit working: the ratchet's invariant was rewritten to MEASURED, not unknown, precisely so that discovery is never punished — only rot is. |
| 50 | The FAILING COUNT off an area's summary line churns as freely as the pass total, and only the failing NAME LIST holds still. | t1435 read css/css-grid twice on the SAME binary and got 9740/13985 and 9889/14134 — a 149-subtest swing in the numerator with an identical 4245 failing count, so the tick concluded "quote the failing count". t1436 then read css/css-sizing at failing 1360 and 1361 across builds whose --show-failures name lists were byte-identical (1331 both). Two ticks came within one arithmetic step of reverting a correct fix (−336 on a flat grid; +1 on a flat sizing), and a third saw a 63-subtest one-run spike in a single animation-interpolation file — more than that tick's entire real signal, and enough to false-red the RATCHET on an area mark. | The rule is now diff the NAMES, and it is mechanical: manuk-wpt wpt <area> --show-failures > f.raw 2>&1 (⚠ failures go to stderr; 2>/dev/null silently yields an empty diff), then awk '/^ FILE /{f=$2} /^ +FAIL/{print f" || "$0}' f.raw \| sort and comm -13/-23. Every area number in ticks 1436–1442 was read that way, and it is what let t1440 report 474 fixed, 16 shifted, no file regressed instead of a single net integer. |
| 51 | A fixture's own SYMMETRY certified two more bugs, and the class is now large enough to be a checklist item rather than a surprise. | t1437's ten hand-written wrap-reverse rows all had zero cross-axis margins, so border box and margin box agreed in every one: the fix was exact on the whole fixture and 80 subtests worse on the real WPT file, whose item carries margin:-100px. t1438's rows were all 80×80 squares, where the two candidate cross sizes are equal — so a predicate that picked the wrong AXIS still read the right number, and a physical expression applied to logical coordinates survived a full gate. With width:0 (t1424), a symmetric scale() (t1426) and a zero border (t1424), that is five instruments of one shape. | The question is now asked per TERM rather than per rule: for every term in a new rule, name the fixture DIMENSION that would have to be non-degenerate to see it — and put that row in the gate. t1438's gate carries an 80×120 container for exactly this reason, t1437's carries a negative margin, and both say so in the row's own justification. |
| 52 | A gate reported a mutation GREEN and said its own coverage was incomplete — and that honest report was worth more than the arm would have been. | t1436's g_flex_stretch_can_shrink recorded mutation M5 (row == writing_mode.is_vertical() → !row) as GREEN, stating plainly that its writing-mode row was pinned but not discriminated. Two ticks later the expression turned out not merely to be undiscriminated but WRONG — it was a physical predicate applied to logical coordinates, and it was costing 80 subtests. Because the previous tick had written down which term was unguarded, the discriminating fixture cost nothing to find. | The practice is now explicit in the gate template: a mutation that comes back green is REPORTED, with the reason it could not be caught, never quietly dropped from the ledger. A gate that names what it cannot catch beats one that pretends — and this is the first case where the thing it could not catch was a live bug rather than a hypothetical. |
Eight of the twenty-three were found by an accounting check, not by the gate that was supposed to catch them.
Defect #20 is the one with a general shape worth naming, because it is the same shape as #5 (the Bar 0 metric), #16 (the vacuous gate) and #19 (the file:// probe):
An absent measurement is not a negative measurement. "The probe did not say yes" and "the probe said no" are different facts, and treating the first as the second is how a project spends a tick rebuilding something it already had — or, worse, reports the rebuild as a win.
Defect #14 is the one to be frightened of. Every other entry here produced a wrong number. This one produced wrong code, in the working tree, in a Bar 0 path, and the failure it caused was indistinguishable from a real regression — I would have gone looking for a bug in the event loop that I had put there myself, with a tool whose entire purpose is safety.
A tool that can leave the tree in a worse state than it found it must be able to prove it did not. Not "should be careful". Must be able to prove it — a marker it can look for, and a check it runs on the way out. That is the signal this file exists to act on.
Defect #9 is the one worth staring at: the tool built to detect vacuous gates was itself, on its first run, wrong in the same way. It reported a false positive — a working gate declared vacuous — because its mutation was too weak to actually remove the guarantee. There is no bottom to this: the instrument that checks the instrument is also an instrument. What makes it tractable is not paranoia but a rule about where to cut:
Mutate the guarantee at its source, not one implementation of it. If the promise is "a dead subresource cannot hold the document hostage", then break
load_budget()— the thing every layer reads — not one of the two places that happens to call it. A mutation that a redundant code path can survive is testing the redundancy, not the promise.
| Mechanism | Catches |
|---|---|
scripts/falsify.sh |
a gate that cannot go red — mutation-tests the wall against itself |
scripts/verify.sh gate receipt |
verifying one version of a diff and committing another |
scripts/hooks/pre-commit |
a tick with no journal entry, no cluster ID, an overdue audit, an untouched pattern ledger, a credential shape |
scripts/self-audit.sh |
anything the methodology prescribes that has never been built |
scripts/status-update.sh |
a partial crawl, a mixed-run crawl, a hand-narrated status |
scripts/oracle-crawl.sh |
a non-baseline job count, a crawl started on top of live workers |
STATUS.md Lessons |
a lesson that recurred and therefore should have been a gate |
Every entry above is one sentence, stated twice:
The instrument is part of the experiment, and it is the part that lies to you. A measurement harness gets the same scrutiny as the code under test — more, because nothing is watching it.
A gate is not "a test that passes". A gate is a test that is known to fail when the thing it protects is broken. Those are different claims, and only one of them is worth anything.
G_DEDUP passed for its first ten minutes of life while measuring nothing. G_CONTAIN has always
been trustworthy for exactly one reason: it deliberately panics a build and asserts the page dies and
the process does not. It proves itself.
So: every gate declares how to break it, and scripts/falsify.sh actually breaks each one and
asserts it goes red. A gate that stays green under its own mutation is vacuous, and vacuous is worse
than absent, because absent is honest.
This runs on the self-audit cadence, not every tick — it is expensive by construction, since it builds a deliberately broken engine once per gate.
On its first run it found three defects (#10, #11, #12), all in one gate, and the gate in question was
G_LOAD — a Bar 0 gate, the one standing between the user and a frozen tab. It had never once tested
the thing it was named for. Nothing else in the process was going to find that: it passed every tick, it
looked right, and it was written by someone who believed it.
The pattern underneath all three is one sentence:
A test that can pass without the code it protects is not a test. Not a weak test — not a test. The only way to know is to take the code away and watch it fail.
When the process produces a false conclusion — a number you believed and shouldn't have, a check that passed and shouldn't have, a measurement you had to throw away — it goes here before the fix does. The row is: what it did, and what now makes it impossible. If you cannot name the mechanism, you have not finished.
A defect that only produces a lesson is not closed. A lesson you can recite while breaking it is a decoration — and that has been demonstrated, in this project, three times in one day.