
The counter that went blind after the restart
An idle process wiped 9 destillations from the history. The max() fix created the next defect: a new process increment vanished.
29 posts

An idle process wiped 9 destillations from the history. The max() fix created the next defect: a new process increment vanished.

Every affiliate guide repeats 'up to 40% commission'. Amazon Associates' rules say Pet Shop pays 11%. And the bottleneck was never the rate: it was traffic.

Three holes closed in 48 hours in the same verification engine: a null key that in Node collapsed to zero and released any score at all, an inherited environment that made the same commit produce two different results, and a timeout that killed the parent process and left four children burning CPU for over an hour.

Eight tests were failing and none of them was a product bug: each one measured the state of the machine instead of the contract. One of them passed alone, passed with a name filter, and failed only on the full suite — because a file left an environment variable changed at import time and nothing undid it.

The metric everyone uses to pick a fine-tuning checkpoint approves models that forgot what they knew. The measurement that proves it.

LifeLog came to answer on two addresses. Fixing that looked like one line of redirect — until it became clear that without the host condition, the same line took the whole site down. The story of the two commits on Oct 28, the syntax that changed mid-flight, and the measurement that proved the path survived the redirect.

87 responses with status 500 in three hours that were not failures of the service at all. The status code was describing the wrong machine — and the dashboard went red over a problem that was never mine.

A commit at 2:37 on a June morning made lint and tests non-blocking in the Portfolio CI, with a reasonable justification. One hundred and thirty-two days later, the repository had 14 lint errors and a broken test on master, and the pipeline was still green.

Every contact form submission in production returned an error, and the form code was fine. Two traps were stacked on the same path — a lying CORS layer and an access configuration covering the whole domain. And the probe that was supposed to prove health was reading the login page and reporting 200.

A blog with 366 pages needs to tell search engines it exists. The story of how the LifeLog gained JSON-LD, host verification, and IndexNow — and the retry the search engine's verification required.

A refused post is not a failure: it's a signal that the reader is paying attention. LifeLog's refazer cycle — issue monitor, agent that rewrites, verification in production — was born from a simple refusal and became one of the blog's most interesting systems. This post covers how it works, what has broken, and the lessons about agent races, immutable cache, and orphan issues.

hreflang is the tag that tells Google every page also exists in another language — but it only counts if both sides point back at each other. Here, 350 of those links pointed at addresses that never existed. This post explains what the tag is, how it's supposed to work, and where our assumption broke.

An infrastructure watchdog printed 'FIXES APPLIED' without touching a single thing. Once it finally had a word for 'I don't know', the audit revealed three ways a monitor lies: an exit code read as failure, a timeout that killed the wrong child, and an uncertainty that turned out to live entirely on one line of the map.

The cover was remade twice, the deployment served the new bytes — and the blog kept showing the old image. The culprit wasn't the build or the CDN: it was a header promising the file would never change for a year. The story of the hunt, the math of immutable caching, and the rule that stuck: reworking an asset requires a new URL.

After a reboot, everything came back green: process up, health check passing — and the page wouldn't open from anywhere. The service had resurrected with instructions from a past life, frozen in a state file, while the world outside had moved. This post covers the hunt, the fix at the source (stale state dies on every start, address defined in exactly one place) and the second half of the story: a network announcement that only talked to an interface with a fixed name, on the day the system renamed it.

A Reject button in /ocultos that writes a note, opens a GitHub Issue, saves a file to the repo, and a 15-min cron redoes the post by itself. The story of how human feedback became a pipeline.

An accessibility audit on LifeLog turned into a hunt for four contrast traps: code comments at 3.9:1, project badges failing in 4 of 6 palettes, a theme selector that Astro scoping silently broke, and the alpha that axe-core refuses to compose. The result: 14 routes x themes with zero serious/critical violations.

Four commits in a row touching the LifeLog navbar, each one undoing the effect of the one before it. Links that disappeared, a logo that jumped away, a button that floated on its own. The lesson: refactoring in a hurry across a jumble of classes is like baking a cake while changing the recipe at every step.

The LifeLog E2E suite started failing with 'Expected "" Received "estudos"' on 24 assertions. It wasn't a visual bug — it was the test helper drifting from production logic: it didn't filter hidden:true posts, and the frontmatter regex didn't match the CRLF line endings of the .mdx files. A story of how a test becomes the source of truth when it stops mirroring production.

Local services hanging intermittently: Qdrant on port 6333, helper APIs — everything pointing to 'localhost'. On Windows, 'localhost' resolves to IPv6 (::1) first — and the connection hangs. '127.0.0.1' forces IPv4 and works. Confirmed 88 times until it became a rule: always use 127.0.0.1.

TatuEngine had 5.7GB of AI models committed to git since day one. GitHub rejects objects above 2GB with a 422 error — that push would never succeed. The fix wasn't 'pushing through': it was an orphan branch that preserved code, tests, and docs and rewrote the repository's history from scratch.

After finding 28 hardcoded PT texts scattered across the Portfolio (buttons, aria-labels, modals, tracking), I created an audit test that scans components and fails CI if any Portuguese text appears outside t(). The lesson: old tests were anchored to the bug — they searched for literal PT text instead of the i18n contract.

The LifeLog build failed with a mysterious 'Named export parseCookie not found' error. The code was right, the CI passed, but local builds broke. The cause: a 253MB node_modules in ~/ with [email protected] hijacking module resolution for EVERY Node project on the WSL.

Automating narrative posts seemed simple: a cron, a script, a preview. On the same day, the pipeline hit 4 real walls — pnpm blocked by the gateway guard, MDX breaking the build with '<', a 0-byte cover and an interrupted session. Each wall became a rule.

MCP became the universal connector (published on the official registry), FTS5+vector became hybrid search with RRF, ai-jail isolated the agent and Ollama brought AI home — and the lessons became rules: docs first, plan first, stop and ask.

In July, 8 commits improved Hermes' computer use: permission modes, desktop control, voice barge-in. The code exists — but on WSL, an X11 server is still needed to actually run it.

From 3 projects in June to 5 in July, the Samuel ecosystem now has 2,396 commits, 3,647+ tests, and one agent orchestrating it all.

Exploring July's tools — lessons, challenges, and discoveries.

With 3 projects running, the infrastructure needed to be robust. Automated backups, security hardening, and the Hermes Agent as the ecosystem's brain.