More posts

Field Notes

Correct by Coincidence

A discount amount is stored using the configured VAT rate. The approval check uses 20 hardcoded in Apex. Identical today, divergent the day an admin edits the config.

· 3 min read

Framework

Read the Design Document Against Itself First

One technical design excluded a channel in §15.8 and advertised support for it in §16, and specified two mutually exclusive mechanisms as both in scope. Self-contradiction needs no environment to find.

· 3 min read

Framework

Same Word, Different Flow

Cancel and Terminate sounded like one journey. Different actor, different entry point, different charging rules — and a test written with the wrong actor passes for the wrong reason.

· 3 min read

Framework

The Negative Test That Can Never Fail

Two negative tests that looked mandatory and were worthless — one because the invalid state was architecturally unreachable, one because the rule was enforced by training, not by the system.

· 3 min read

Framework

A Bug's "Done" Status Never Closes the Root Cause

Two defects recurred on seams that were already in the pattern bank. Both earlier fixes were applied at data level, and the RCA item was closed the moment the ticket went Done. What a real closure rule looks like.

· 3 min read

Framework

Every Rendered Output Is Its Own Assertion

The same line item disappeared from an email and a PDF. Four porting bugs turned out to be one missing assertion. When a value fans out to several targets, each target is a separate test.

· 3 min read

Field Notes

Four Hundred-Thousandths of a Penny

A discount at exactly the configured ceiling was routed to a manager instead of auto-approving. The cause was 0.00004 of a penny, and the textbook boundary pair walks straight past it.

· 3 min read

Framework

Grade Every Claim Next to the Claim

Six conclusions reached in one day, then withdrawn. Five came from reasoning about the UI instead of reading the source. A simple evidence grading system that separates confident findings from correct ones.

· 3 min read

Framework

The Pathology Driven Development Manifesto

A satirical manifesto of seven delivery anti-patterns — formalism over common sense, testing in production, people as replaceable parts. Written from real projects. If one sounds familiar, you have a problem.

· 3 min read