Updates
What changed recently
Short progress summaries across all my projects, newest first. The detail lives in each project's articles.
Updates are bullet-point summaries generated with AI from my commits and build notes, then checked by me. Project articles and learning notes are written by me.
- Active
- Wrote a test that proves the nightly pipeline cannot reach an image generator: import closure, URL literals, declared dependencies and subprocess call sites, plus a layer-zero assertion that the walk visited real modules, because a denylist over an empty set passes happily. Then watched all six rules fail, one injected fault at a time, before committing any of it.
- That walk had a blind spot the plan had measured wrongly.
@iceniweb/ui/typesis not a third-party package, it is a tsconfig path alias pointing back intosrc/, and bucketing it with the bare specifiers would have stopped the import walk at the repository boundary while still inside the repository. It now reads the alias map from the config, so a new alias is walked the day it is added. - Recorded in the same commit what the guard does not prove: it pins static URL literals, so a URL assembled at runtime or read from an environment variable passes, and the pipeline already derives its model URL from an environment variable. Repurposing the arguments of an already-approved subprocess would pass too.
.env.exampleasserted the reverse of two facts.IMAGE_MODELandIMAGE_SIZEare read by no code anywhere in the repository, andOPENAI_API_KEYis the text reviewer’s key, not an image key. Documentation about a thing that does not exist reads exactly like documentation about a thing that does.- The first real cover attempt died twice before reading its own manifest, and the manifest was fine. PowerShell consumes the standalone
--when it invokes npm’s wrapper, so every flag after it was swallowed. Calling the nativenpm.cmdpreserves it. This is the same defect that published an article by accident five days ago, which means it applies to--dry-runand--no-pushas well as to cover flags. - Generated a first-generation Touareg cover that was accepted on the first candidate: pale concrete, VW roundel and wheel centres, no invented engine badge, and a blank number-plate-shaped panel that got called out in review and accepted deliberately.
- Active
- Deleted a permanent command I had no business building. Stage C needed four rendered prompts, once, as evidence for a visual decision, and what got built was a
covers:promptCLI with flag parsing, two modes, a lister and its own test file. Rendering four files is a tool-shaped problem for about ten minutes; after that it is a supported interface with a maintenance cost. The rendering was done by a throwaway script that imports the real function directly, andpackage.jsonwent back to byte-identical withHEAD. - Two agent sessions shared one checkout and the second inherited the first mid-flight. A plan written at 10:20 whose first item was “run the visual gate on the v1 prompts” was stale before it was read, because the other session had already run that gate, rejected the treatment and advanced to v3. Git records neither the author nor the time of an untracked file, so nothing in
git statusflags that half the pile arrived from somewhere else. - The dark workshop look was rejected in favour of pale concrete, diffused daylight and one orange accent, at a fixed eye-level three-quarter composition. Badges then became their own argument: the first badge-enabled edit invented large MR2 bumper lettering, and a generic Touareg render happily wore a
V6badge the article never claimed. The recipe now requires authentic badges only where the fenced evidence supports them. - Two guides turned out to be unusable as cover evidence, for reasons that are the corpus’s fault rather than the model’s. One description opens with a literal
<p>left over from the migration. Not a control character, not an override phrase, so the sanitiser passes it straight through. The other truncates mid-sentence before the word “SUV”, leaving “the maker of some of the world’s best sports cars” as the prompt’s last word on the subject. Evidence pointing away from the body style is worse than no evidence. - Prompt snapshots are verified by re-rendering and comparing bytes, not appearance, so a “representative example” cannot quietly drift from what the code produces.
- A gate run before the last few files are written is not a gate run on the change:
git diff --checkhad been recorded as clean, then failed on trailing whitespace in two READMEs written after it.
- Deleted a permanent command I had no business building. Stage C needed four rendered prompts, once, as evidence for a visual decision, and what got built was a
- Active
- Removed the
delay_ms(5)after each loop. It added 5 ms on top of about 3.34 ms of work, so the loop ran near 120 Hz against a 200 Hz sensor. Motor jitter dropped straight away. - The controller, encoders and telemetry now advance only on a complete fresh DMP packet, because the loop polls 625 to 770 times a second without the delay.
- Added an
IMonotonicClockinterface for the stale-IMU motor timeout. Measured cost: 616 bytes of flash and 8 bytes of BSS, under 1% of the 256 KB flash.
- Removed the
- Active
- The finding of the session: a green rollback suite that had never rolled anything back. Twenty-four passing tests, and every failure case aborted during validation, before a single byte was written. Undoing nothing always succeeds. Added a seam that injects a failure mid-batch and tests that assert every article is byte-identical afterwards, rather than merely that something threw.
- Cloud sync had renamed two tracked files, leaving them as deletions with byte-identical
(1)twins beside them. Both are named by the build or the test script, so three gates would have failed and every failure would have read as a defect in the new code I was about to commit. Confirm the tree is the tree you think it is before believing a gate failure. git diff --cached --statcaught a test fixture staged asBin 0 -> 10214 bytes: a literal NUL byte written where the escape\u0000was meant. Two other fixtures held literal zero-width characters, which are valid UTF-8 and would not have tripped the check at all, while being invisible to every reviewer. Control characters get written as escapes from now on.- Sharp refused an oversized image from inside the metadata read, which made the explicit pixel-count check unreachable and left “could not be decoded” as the only reportable cause. Judging the declared dimensions first refuses the image before a pixel is read and names the real reason. The decode limit stays as a backstop for a header that lies about its own size.
- Image shape is judged after EXIF orientation is applied, not before. A portrait photograph tagged sideways is still a portrait photograph.
- Article titles reach the image prompt, so they are treated as data: the prompt declares the fenced block non-instructional before the block appears, each fence marker occurs exactly once, and evidence containing a marker is rejected. The blocklist is documented as defence in depth behind the fence, not as the defence.
- Made “do not invent specifics” checkable instead of merely intended. The fixed half of the recipe contains no year, model, trim or place, and a test asserts every number in a finished prompt traces back to the article. Editing the style block to mention an era now fails that test.
- Active
- The first real pipeline run published a live article by accident.
npm exec tsx … --drafts --no-pushconsumed both safety flags before the generator ever saw them, so a run meant to write a local draft committed and pushed. Reverted within minutes, but the fix is the lesson: there is now one supported entry point with the--separator, and a test that proves both flags arrive at the script unchanged. - The second and third runs went as designed. One was rejected by both reviewers and committed only its run record; the next passed at 9/10 from both, with 37% overlap and a 21-word longest run, and became the first machine-written article on the site, as a draft.
- Publication dates were being computed in UTC, which puts an article on the wrong calendar day for anyone who has a calendar. They now come from the site’s declared timezone, with boundary tests.
- Replanned the cover work away from a paid image API inside the nightly job and toward a supervised backfill run from an interactive session on an existing subscription. Articles publish text-only with a placeholder until a cover catches up.
- Cover status is derived from article frontmatter and nothing else. A second, hand-maintained queue of “what still needs a cover” is exactly the file that goes stale and then gets trusted.
- The first real pipeline run published a live article by accident.
- Active
- The site I was verifying was not the site that is deployed.
garagedreams.netis still parked at the registrar, answering 410 from someone else’s server with the registrar’s nameservers; the Pages project deploys togaragedreams.pages.devand always had. Three documents said “Cloudflare is wired”, which is true of the project and false of the domain. - A
draft: truepost 404s in production, and drafts are absent from the sitemap and the feed. The whole burn-in safety argument rests on that and it had never been checked. The first pass reported a false positive:/<slug>/404s for everything, live guides included, because the route is/blog/<slug>/. A 404 test with no live control proves nothing. public/robots.txthad been pointing atjdmgems.com/sitemap-index.xmlsince the fork, so the real sitemap was never advertised. A static asset has no schema and no test, so the build gate cannot catch this class of bug at all. Only looking at the deployed site finds it.--dry-runreturns before the build gate, and the harvest driver passes--dry-runon every run. Soastro buildhad never once run against a model-generated article, across five batches and sixty-plus drafts. Every “published” count in the evidence that set the originality thresholds is an upper bound.- Re-analysed all five archived batches directly instead of trusting their summaries. Claude has passed 58 of 58 Gemma 4 articles. On the shipping model its verdict has never changed an outcome, and the two-reviewer gate is functionally “Codex must pass”. It is not a rubber stamp in general: it rejected 9 of 14 drafts from the weaker model.
- Codex’s mean score is higher than Claude’s while Codex is the one demanding revisions. A threshold fitted to the numeric score would have been fitted to the wrong signal entirely.
- The code’s own docstring denied a real bug. A failed push leaves the commit in place, so the tree is clean and every precondition passes, which is how a job stacks unpushed commits night after night while looking healthy. The comment claimed the next run’s clean-tree check catches it. Fixed with an explicit upstream comparison, made deliberately asymmetric so that being merely behind the other peer does not abort the night.
- The site I was verifying was not the site that is deployed.
- Active
- Built the originality gate in three deliberate stages: record the draft on every outcome, then measure and enforce nothing for three batches, then arm it. Shipping a threshold before there were numbers to set it from would have repeated the dead-knob bug from the 12th.
- The measurement could not have been taken at all. The run log only stored prose on rejection, so the batch where the 26B published 20 of 20 left twenty-one records containing no article text whatsoever. The one batch that most needed examining had thrown away its evidence.
- Three models, 60 drafts, the same 20 sections. Gemma 4 26B copies steadily: median 29% five-gram share, worst case 72%, and that worst case is a straight reflow of a bulleted list into paragraphs that both reviewers passed, because every claim in it is perfectly supported. Gemma 3 4B is bimodal: best median at 15%, and two runs that echoed the source almost whole, 95% and 99%, one with a 577-word unbroken verbatim run.
- Those two catastrophic runs were caught only because a long source pushed them over the word limit. A shorter section would have produced a verbatim copy inside the cap and both reviewers would have passed it. The only thing between total transcription and publication was a rule that happened to correlate.
- The plan predicted the small model would be unpublishable, and it inverted. Gemma 4 E4B, the only one of the three that fits an 8 GB Pi, copies less than the 26B, has no catastrophic tail at all, and runs three times faster. Copying is closer to what a capable model does when told to stay faithful to a source than to what a weak one does.
- Armed at a 30-word verbatim run and a 45% five-gram share, plus a separate fatal rule at 90% that skips rather than revising. Overlap fired in 3 of 20 runs and revision cleared it 3 for 3. The live risk was a fourth rule the model could never satisfy, and that is now retired with evidence rather than hope.
- Active
- Confirmed the MPU6050 interrupt is on PA12, not PB12. EXTI line 12 is shared across ports and the port is chosen in
GPIO_EXTILineConfig. PB12 is the PS2 controller’s chip select. Cross-checked by extracting the netlist from the board schematic PDF. - Withdrew a finding that the 1300 motor deadzone needed rescaling. The vendored reference uses the same 2880 timer period, so the deadzone and the PID gains carry over directly.
- Capped the FIFO drain loop at 3 reads (about 2.5 ms) instead of 32 (about 27 ms on the bit-banged bus). Past the cap it zeroes PWM, resets the FIFO and counts the event.
- Found that a failed IMU read leaves the last PWM command latched on the motors, with nothing expiring it. A stale-data motor cutoff has to land before the gains go up.
- Added hysteresis to the tilt fault: it trips at 40° and clears at 10°, so the loop only restarts near upright.
- Confirmed the MPU6050 interrupt is on PA12, not PB12. EXTI line 12 is shared across ports and the port is chosen in
- Active
MAX_REVIEW_REVISIONSdid nothing: the verdict function still compared against a literal 1. It now takes the budget as a parameter, with tests at 0, 1 and 2 rounds.- Qwen3.6 35B-A3B timed out after 241 s because thinking is on by default. Switched the size experiment to Gemma 4, and noted that its
<|think|>token isn’t stripped by the<think>filter. - Descriptions were cut off at the first “z”: JavaScript has no
\Zanchor, so with theiflag it matched a literal z. Fixed the regex, with a test fixture using car names that contain z. - Read the six drafts the reviewers split on. Codex was right every time, so the plan to loosen it was dropped, along with publishing on a single pass.
- Across three batches (62 runs) the publish count moved 2, 3, 1, which is noise. Lint failures by rule are the useful metric; description failures went from 7 to 0 after the parser fix.
- Gemma 4 26B-A4B published 20 of 20, but shared 41% of its five-word sequences with the source guide. The next step is a deterministic cap on verbatim overlap.
- See What the review gate taught me.
- Active
- Dry runs didn’t consume a section and didn’t write a run log, so twenty test runs measured one section and kept nothing. Dry runs now write to a gitignored harvest folder, and a driver walks the real selection order.
- First baseline over 22 runs: 2 published, 5 died before review. Claude passed 47% and Codex 18%, and neither ever rejected outright. Most objections were claims the source doesn’t support.
- Raised the minimum source section from 200 to 400 words. Eligible sections fell from 1,413 to 438, and the runway from about 3.9 years to 1.2.
- See The 400-word source floor.