testing

67 posts

The rule the guard enforced and nobody had written
Estudos
Nov 17, 2026

The rule the guard enforced and nobody had written

An audit guard demanded four provenance fields on every work plan. I ran it against the archive and found that 1 of 500 plans complied — 0.2%. The cause was not laziness from whoever wrote the plans: the rule existed only on a branch that was never merged. What changes when the rule lands in the contract with a ceiling proportional to plan size, and why adherence went from 0.2% to 15% in three days.

Continue reading →
The test that didn't know about hidden posts — when E2E drifted from the production filter
Descobertas
Aug 18, 2026

The test that didn't know about hidden posts — when E2E drifted from the production filter

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.

Continue reading →