Skip to content
GTHome
Back home

Writing

Blog

Things I got wrong first, written up once I understood why. Mostly notes from shipping real systems: domain modelling, testing what fails silently, and picking defaults that fail in the direction you can live with.

Subscribe via RSS
3 min read

The lock was blocked by its own sign-in

Every stolen-phone guide says lock the phone remotely. From a borrowed phone, the sign-in code goes to the SIM in the stolen phone. That loop is why Phoneless marks actions Ready, Later or Blocked instead of handing out a checklist.

Product DesignSecurity2FAMobile
Read post
3 min read

The help page and my Samsung disagreed

I wrote Phoneless's settings steps from help pages, then followed them on a Samsung Galaxy A06. Two had the wrong menu names, and in a safety drill a wrong step means false confidence, so both failures stay in the test log.

TestingAndroidUX WritingMobile
Read post
3 min read

Every tester said it looked bad

The checks passed and the words were clear, but every tester said Phoneless looked bad. I rebuilt the interface, re-ran every accessibility check on the new design, and admit what I failed to record.

UXAccessibilityUser TestingDesign
Read post
4 min read

A paid invoice doesn't prove who you paid

A Lightning preimage proves an invoice was paid, not that it was the recipient's. Rota's receipts pass five checks on each member's phone, against the circle's own record, and the M-Pesa route people in Kenya actually use only allows the weaker address proof.

BitcoinLightningPaymentsSecurity
Read post
4 min read

Who joined first, with no server

In a savings circle, seat order is money. With no database, a late joiner could backdate a Nostr event and take an earlier seat, and any member could copy another's receipt. A signed roster and a recipient-signed record fixed both, and one of them is still only someone's word.

NostrSystem DesignCryptographySecurity
Read post
3 min read

Where my pitch stops being true

"Rota can pay one contribution a month on your behalf, and nothing else" holds for a capped Nostr Wallet Connect wallet. The threat model showed it doesn't hold for the built-in wallet against a compromised web host, and why I said so instead of hiding it.

Threat ModelingSecurityBitcoinWallets
Read post
4 min read

The quote photo gave the model orders

A fake quote photo told Amazon Nova to record a different supplier and price, and it did, twice, despite a system prompt forbidding it. What held was asking the model to copy every word it saw and letting code decide what to believe, and what that still doesn't stop.

AI SafetyPrompt InjectionAmazon NovaPayments
Read post
4 min read

The guard passed a number the photo planted

Every number in Hakika's owner summary has to appear in the facts the model was given. A planted quote still got "KES 1,000" through, because those facts quoted words from the photo. The fix was to give the model less, and a number guard still can't check meaning.

AI SafetyGuardrailsLLMsTesting
Read post
4 min read

PayPal pays the supplier, not us

Hakika never holds anyone's money: each PayPal order names the verified supplier as the payee. That was the first thing tested, with a $1 sandbox order, and it shaped everything after it: server-side amounts, verified payees, shillings in and dollars out, and no model on the money path.

PaymentsPayPalSystem DesignFintech
Read post
4 min read

Logic proven, feel unproven

Jumpwise was built, tested and demonstrated in a preview, with a mouse for a hand and no glasses. All six tests pass, and I still don't know if it's any good. Why the README keeps those two claims apart, and how one test turned part of a feel question into a logic one.

ARTestingSpectaclesLens Studio
Read post
4 min read

The tests passed against the wrong order

My jump-start guide's brief was missing a step: start the dead car before any clamp comes off. The coding agent built the brief faithfully and six tests confirmed it, because the tests came from the brief too. Checking one outside source caught it.

TestingSpecificationsAI AgentsSafety
Read post
4 min read

One drop rule for a hand and a mouse

A clamp lands on a terminal if its tip is close in 3D, or if the line from your eye through it passes close. The second test makes mouse dragging work in the preview. It has no distance limit, and the tests line up on it the same way the mouse does, so it's the part to change for real glasses.

ARInteraction DesignTypeScriptLens Studio
Read post
4 min read

Black is invisible on an additive display

Spectacles can only add light, so black is see-through. The rule was in my design brief, the UI kit's dark grey defaults broke it, and the preview showed me the version that works. What I changed, and why no test could have caught it.

ARUI DesignSpectaclesAccessibility
Read post
4 min read

All 22 ran, and that proves less than it sounds

My wig try-on app passed every task in a live test on AI-generated faces. Then two people used it on their own phones and the blend check gave neither of them a result. What each test could actually say, and how I wrote that down.

TestingAI APIsEvaluationNext.js
Read post
3 min read

The task succeeded and put the wrong face on me

A try-on API reported success, charged for the work, and returned a stranger's face on my body. The cause looks like the seller's photo, not the code, which changes where a marketplace has to do its checking.

AI APIsProductTypeScriptYouCam API
Read post
4 min read

Statistics decide, the model explains

In a caregiving agent, "is something wrong?" is the question that wakes a family at 7am, so a language model never answers it. Robust baselines and a drift test with a guard week decide; Amazon Nova only explains what the tools returned, and every quiet morning keeps its reason.

TypeScriptStatisticsLLMsAmazon Bedrock
Read post
3 min read

A test that shares your assumption cannot catch it

My webhook parser and my event simulator were written from the same wrong reading of Ring's payload, so a thousand replayed events were accepted and every test passed. The fix was not more tests but a source of truth neither of them wrote: Ring's documented examples, pasted in verbatim.

TestingWebhooksTypeScriptRing API
Read post
6 min read

A rule enforced in one place is not enforced

One rule about client money ended up in four places: the domain, a database trigger, a repository translation, and the ordering of two writes. Each answers a different question, and removing any one leaves a system that passes its tests and is wrong on a busy afternoon.

TypeScriptEffectPostgresDomain Modelling
Read post
5 min read

The failures that cost the most are the silent ones

Two chart bars drew in nothing on a page whose figures had already been checked in a browser. A sign-in refusal rendered as ordinary body text. Neither threw, neither logged, and neither was findable by looking, so I started parsing the stylesheet in a test.

CSSTestingAccessibilityVitest
Read post
5 min read

The default is the control, not the flag

Making a public demo's affordances conditional took an afternoon. Deciding which way the condition should fail took longer and mattered more, because one direction is a dull afternoon and the other publishes a one-click administrator login.

SecurityConfigurationDeployment
Read post