[{"data":1,"prerenderedAt":756},["ShallowReactive",2],{"post-\u002Fblog\u002Ftwo-validators-one-gate":3,"blog-all":254},{"id":4,"title":5,"author":6,"body":7,"category":235,"date":236,"description":237,"draft":238,"extension":239,"image":240,"meta":241,"navigation":242,"path":243,"project":244,"readingMinutes":245,"seo":246,"series":247,"seriesOrder":247,"stem":248,"tags":249,"__hash__":253},"blog\u002Fblog\u002Ftwo-validators-one-gate.md","Two Validators, One Gate","EkoHacks Team",{"type":8,"value":9,"toc":229},"minimark",[10,18,23,48,111,122,131,135,138,145,149,152,181,187,191,194,222,225],[11,12,13,14],"p",{},"Here is a small thing we found by reading our own code carefully, and the decision it led to. It is a good example of a lesson that matters more than it looks: ",[15,16,17],"strong",{},"validating the same input twice is not twice the safety. It is one gate and one piece of drift waiting to happen.",[19,20,22],"h2",{"id":21},"what-we-found","What we found",[11,24,25,26,29,30,34,35,38,39,43,44,47],{},"Our API validates request bodies in two places. First, every route declares a ",[15,27,28],{},"Fastify JSON Schema"," on its ",[31,32,33],"code",{},"schema.body",". Fastify checks the incoming request against that schema and, if it is malformed, returns a 400 ",[15,36,37],{},"before the handler runs at all",". Second, several handlers ",[40,41,42],"em",{},"also"," start with a ",[15,45,46],{},"Zod"," check:",[49,50,55],"pre",{"className":51,"code":52,"language":53,"meta":54,"style":54},"language-ts shiki shiki-themes github-dark","const parsed = CreateParticipantSchema.safeParse(request.body);\nif (!parsed.success) return reply.badRequest(parsed.error.message);\n","ts","",[31,56,57,84],{"__ignoreMap":54},[58,59,62,66,70,73,77,81],"span",{"class":60,"line":61},"line",1,[58,63,65],{"class":64},"snl16","const",[58,67,69],{"class":68},"sDLfK"," parsed",[58,71,72],{"class":64}," =",[58,74,76],{"class":75},"s95oV"," CreateParticipantSchema.",[58,78,80],{"class":79},"svObZ","safeParse",[58,82,83],{"class":75},"(request.body);\n",[58,85,87,90,93,96,99,102,105,108],{"class":60,"line":86},2,[58,88,89],{"class":64},"if",[58,91,92],{"class":75}," (",[58,94,95],{"class":64},"!",[58,97,98],{"class":75},"parsed.success) ",[58,100,101],{"class":64},"return",[58,103,104],{"class":75}," reply.",[58,106,107],{"class":79},"badRequest",[58,109,110],{"class":75},"(parsed.error.message);\n",[11,112,113,114,117,118,121],{},"Read those two facts together and something falls out: by the time that Zod line runs, Fastify has already rejected anything malformed. The ",[31,115,116],{},"if (!parsed.success)"," branch is ",[15,119,120],{},"unreachable",". It is dead code, a guard for a case that can no longer happen. We are validating the same body twice, and the second validation never fires.",[11,123,124,125,127,128,130],{},"We did not guess this. We grepped for every ",[31,126,80],{}," call site, confirmed each route also had a Fastify ",[31,129,33],{}," covering the same fields, and wrote it down so it would not be rediscovered from scratch.",[19,132,134],{"id":133},"why-it-happened-and-why-it-is-not-free","Why it happened, and why it is not free",[11,136,137],{},"It happened the way most redundancy happens: two reasonable habits met in the middle. Fastify's schema is the framework's own way to validate, and it is declared where the route is declared. Zod is the popular TypeScript way to validate, and it is easy to reach for out of habit. Neither is wrong on its own. Together they describe the same input twice.",[11,139,140,141,144],{},"And two descriptions of one thing is not safety, it is a ",[15,142,143],{},"drift risk",". The day someone adds a field to the Fastify schema but not the Zod one (or the reverse), the two disagree, and now the truth about \"what is a valid participant\" depends on which validator you read. Redundant validation quietly turns one clear rule into two rules that can fall out of sync.",[19,146,148],{"id":147},"the-decision","The decision",[11,150,151],{},"We kept one runtime gate and gave each tool the job it is actually good at:",[153,154,155,162,172],"ul",{},[156,157,158,161],"li",{},[15,159,160],{},"Fastify JSON Schema stays the runtime validator."," It sits at the framework boundary, runs before the handler, generates our OpenAPI document, and drives the response serializer. It earns its place.",[156,163,164,167,168,171],{},[15,165,166],{},"Zod stays for type inference, not runtime checking."," Its real value here is ",[31,169,170],{},"z.infer\u003Ctypeof CreateParticipantSchema>",", which gives the handler a TypeScript type for the input from a single source. That is worth keeping.",[156,173,174,180],{},[15,175,176,177,179],{},"The redundant ",[31,178,80],{}," branches go."," One caveat before deleting: confirm the check is not enforcing something the Fastify schema cannot express, a cross field rule, say. If it is, move that specific check rather than dropping it.",[11,182,183,184],{},"So the shape we are moving to is: ",[15,185,186],{},"one validator at runtime, one source of types, no overlap.",[19,188,190],{"id":189},"the-lesson","The lesson",[11,192,193],{},"The instinct that \"more validation is safer\" is wrong often enough to be worth unlearning. Two validators for one input are not a belt and braces; they are two belts that can be buckled to different notches. The discipline is:",[153,195,196,202,216],{},[156,197,198,201],{},[15,199,200],{},"One source of truth per concern."," One thing decides what a valid request is.",[156,203,204,207,208,211,212,215],{},[15,205,206],{},"Know why each layer exists."," We did not remove Zod because Zod is bad; we removed the ",[40,209,210],{},"duplicate runtime check"," because Fastify already does it, and we kept the ",[40,213,214],{},"type inference"," because nothing else does it. Reach for a tool for the job it is best at, not out of habit.",[156,217,218,221],{},[15,219,220],{},"Find redundancy by reading, then write it down."," This was not caught by a test failing; it was caught by reading two facts and noticing they could not both matter. When you find dead code, record it so the next person does not have to rediscover it.",[11,223,224],{},"Deleting code you understand is one of the most satisfying things you will do as an engineer. This is a small, safe, well understood deletion, which is exactly why it makes a good first issue.",[226,227,228],"style",{},"html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":54,"searchDepth":86,"depth":86,"links":230},[231,232,233,234],{"id":21,"depth":86,"text":22},{"id":133,"depth":86,"text":134},{"id":147,"depth":86,"text":148},{"id":189,"depth":86,"text":190},"Design and Architecture","2026-07-07T22:06:46.000Z","Validating one request body twice, with a Fastify schema and again with Zod, is not double safety. The second gate is unreachable. One validator; Zod for types.",false,"md","\u002Fimages\u002Fblog\u002Ftwo-validators-one-gate-hero.jpg",{},true,"\u002Fblog\u002Ftwo-validators-one-gate","The Dojo",3,{"title":5,"description":237},null,"blog\u002Ftwo-validators-one-gate",[250,251,252],"design","validation","typescript","ilYRJnbbuDJ_iO7QRi3okOW7n0LhPPD_IDrpMrVzytc",[255,267,280,288,300,307,316,323,330,339,347,356,363,370,382,390,397,404,413,421,429,439,446,454,461,467,473,482,490,500,508,515,526,534,540,550,559,567,575,583,591,598,606,614,621,627,634,643,651,658,665,674,680,688,694,702,708,710,717,724,732,738,744,750],{"path":256,"title":257,"description":258,"date":259,"author":6,"image":260,"readingMinutes":261,"category":262,"project":244,"tags":263,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fa-branch-is-inventory","A Branch Is Inventory","Unintegrated code is stock in a warehouse, and it depreciates. Our branch was one merge behind the trunk and that was enough for a conflict. What waiting costs.","2026-07-09T09:38:00.000Z","\u002Fimages\u002Fblog\u002Fa-branch-is-inventory-hero.jpg",6,"Craft and Practice",[264,265,266],"git","continuous-integration","craft",{"path":268,"title":269,"description":270,"date":271,"author":6,"image":247,"readingMinutes":272,"category":273,"project":274,"tags":275,"draft":238,"series":279,"seriesOrder":245},"\u002Fblog\u002Fa-map-drawn-by-the-build","A Map Drawn by the Build","Thirty six of our pages had never been visited by Google because nothing said they existed. The sitemap is drawn from the build, and it found a draft.","2026-08-22T20:30:00.000Z",7,"Shipping and Operations","ekohacks.com",[276,277,278],"seo","operations","nuxt","From Invisible to Findable",{"path":281,"title":282,"description":283,"date":284,"author":6,"image":247,"readingMinutes":261,"category":273,"project":274,"tags":285,"draft":238,"series":279,"seriesOrder":287},"\u002Fblog\u002Fa-privacy-policy-you-can-diff","A Privacy Policy You Can Diff","Our legal pages are files in the same repository as the site. Each now lists every change to its text, with the date and the diff, drawn from git at build time.","2026-08-23T16:00:00.000Z",[286,277,278],"privacy",9,{"path":289,"title":290,"description":291,"date":292,"author":6,"image":293,"readingMinutes":272,"category":294,"project":295,"tags":296,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fan-off-switch-not-a-disguise","An Off Switch, Not a Disguise","A Nullable differs from a stub in whether production code can tell the fake is there. Finding the word fixed a socket wrapper that had been lying to its tests.","2026-07-20T09:05:00.000Z","\u002Fimages\u002Fblog\u002Fan-off-switch-not-a-disguise-hero.jpg","Testing and TDD","EkoLite",[297,298,299],"nullables","testing","websocket",{"path":301,"title":302,"description":303,"date":304,"author":6,"image":305,"readingMinutes":306,"category":262,"project":247,"tags":247,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fbuilding-engineering-teams-that-learn-together","Building Engineering Teams That Learn Together","The strongest engineering teams are not the ones with the most talented individuals. They are the ones that have learned how to learn together.","2026-02-05T09:00:00.000Z","\u002Fimages\u002Fblog\u002Fteams-that-learn-together-hero.jpg",4,{"path":308,"title":309,"description":310,"date":311,"author":6,"image":312,"readingMinutes":306,"category":273,"project":244,"tags":313,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fderived-state-recompute","The Fix Was Merged, but the Numbers Were Still Wrong","We fixed a scoring bug, reviewed it, merged it, and production still showed the old numbers. Derived data is a cache that goes stale, and it must be recomputed.","2026-07-08T21:43:55.000Z","\u002Fimages\u002Fblog\u002Fderived-state-recompute-hero.jpg",[277,314,315],"deployment","idempotency",{"path":317,"title":318,"description":319,"date":320,"author":321,"image":322,"readingMinutes":261,"category":273,"project":247,"tags":247,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fdockerising-nestjs-nuxt-monorepo-with-pnpm","Dockerising a NestJS and Nuxt Monorepo with pnpm","Dockerising a NestJS and Nuxt monorepo with pnpm: separate multi stage Dockerfiles for development and production, one Compose file, reproducible environments.","2026-02-09T09:00:00.000Z","Ogochukwu Okpala","\u002Fimages\u002Fblog\u002Fdocker-monorepo-hero.png",{"path":324,"title":325,"description":326,"date":327,"author":6,"image":247,"readingMinutes":272,"category":273,"project":274,"tags":328,"draft":238,"series":279,"seriesOrder":329},"\u002Fblog\u002Ffifty-posts-and-an-empty-robots-txt","Fifty Posts and an Empty robots.txt","Our site scored 100 for SEO and nobody could find it. The audit that started a series on making a site findable, and on what measuring visitors costs them.","2026-08-21T14:30:00.000Z",[276,277,266],0,{"path":331,"title":332,"description":333,"date":334,"author":6,"image":335,"readingMinutes":306,"category":262,"project":244,"tags":336,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Ffrom-convention-to-plugin","From Convention to Plugin","A five step procedure for webhook signature checks, easy to forget and silent when you did, became one Fastify plugin. The safe path is now impossible to skip.","2026-04-17T08:26:12.000Z","\u002Fimages\u002Fblog\u002Ffrom-convention-to-plugin-hero.jpg",[266,337,338],"fastify","security",{"path":340,"title":341,"description":342,"date":343,"author":6,"image":344,"readingMinutes":345,"category":273,"project":244,"tags":346,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fintegrate-against-the-trunk","Integrate Against the Trunk, Not Your Copy of It","A rebase onto a stale local main succeeds, looks resolved, and leaves the pull request conflicting. Everything on your machine is a photograph of the trunk.","2026-07-09T09:22:00.000Z","\u002Fimages\u002Fblog\u002Fintegrate-against-the-trunk-hero.jpg",5,[264,265,277],{"path":348,"title":349,"description":350,"date":351,"author":6,"image":352,"readingMinutes":306,"category":262,"project":244,"tags":353,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Flandmines","Landmines","Most CLAUDE.md files grow because documenting a convention feels like progress. Ours holds landmines only: facts the code cannot tell you, costly to step on.","2026-04-17T10:15:06.000Z","\u002Fimages\u002Fblog\u002Flandmines-hero.jpg",[266,354,355],"documentation","ai-agents",{"path":357,"title":358,"description":359,"date":360,"author":6,"image":361,"readingMinutes":261,"category":273,"project":244,"tags":362,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fnever-break-the-build","Never Break the Build","If the software worked five minutes ago, only five minutes of change can be to blame. What a green trunk buys, who pays for it, and a check that could not fail.","2026-07-09T09:54:00.000Z","\u002Fimages\u002Fblog\u002Fnever-break-the-build-hero.jpg",[265,277,298],{"path":364,"title":365,"description":366,"date":367,"author":6,"image":247,"readingMinutes":272,"category":273,"project":274,"tags":368,"draft":238,"series":279,"seriesOrder":86},"\u002Fblog\u002Fone-address-per-page","One Address per Page","Every page on our site answered with a redirect before it answered with a page. How we made the build emit one address, declare it, and check it live.","2026-08-22T18:30:00.000Z",[276,277,278,369],"netlify",{"path":371,"title":372,"description":373,"date":374,"author":6,"image":375,"readingMinutes":306,"category":235,"project":376,"tags":377,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fone-command-three-policies","One Command, Three Policies, Zero Duplication","Preflight, cut and ship each worked alone before one command composed them. Why the composition layer is forty lines, and how the scrollback became the record.","2026-07-21T17:20:00.000Z","\u002Fimages\u002Fblog\u002Fone-command-three-policies-hero.jpg","The EkoHacks CLI",[378,379,380,381],"composition","cli-design","narration","encoding-the-release",{"path":383,"title":384,"description":385,"date":386,"author":6,"image":387,"readingMinutes":272,"category":235,"project":295,"tags":388,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fone-way-to-fail","One Way to Fail","Closing the convergence so an upload fails in the same error shape as every other call, mostly by deleting the code that made the two shapes differ.","2026-07-20T10:05:00.000Z","\u002Fimages\u002Fblog\u002Fone-way-to-fail-hero.jpg",[250,297,389],"error handling",{"path":391,"title":392,"description":393,"date":394,"author":6,"image":395,"readingMinutes":261,"category":273,"project":244,"tags":396,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fready-to-ship-not-ready-to-release","Ready to Ship, Not Ready to Release","Most teams hide a delay between saying done and being able to ship. Being ready to release at any moment, and why our deploy ships the commit that was tested.","2026-07-09T10:02:00.000Z","\u002Fimages\u002Fblog\u002Fready-to-ship-hero.jpg",[265,314,277],{"path":398,"title":399,"description":400,"date":401,"author":6,"image":402,"readingMinutes":261,"category":262,"project":244,"tags":403,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Frebase-or-merge-is-the-wrong-argument","Rebase or Merge Is the Wrong Argument","Both commands reconcile the same commits and hit the same conflicts. What differs is when you resolve them. The loud argument hides a quiet one: long branches.","2026-07-09T09:30:00.000Z","\u002Fimages\u002Fblog\u002Frebase-or-merge-hero.jpg",[264,265,266],{"path":405,"title":406,"description":407,"date":408,"author":6,"image":409,"readingMinutes":245,"category":235,"project":244,"tags":410,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Freconstructing-the-past","Reconstructing the Past","Connect a repository with a year of history and a trend curve reaches back months. How a system shows a past it never saw, recomputed from one source of truth.","2026-07-07T21:26:35.000Z","\u002Fimages\u002Fblog\u002Freconstructing-the-past-hero.jpg",[250,411,412],"data","onboarding",{"path":414,"title":415,"description":416,"date":417,"author":6,"image":247,"readingMinutes":261,"category":294,"project":376,"tags":418,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fretiring-a-board","Retiring a Board: User Testing a CLI Before You Ship It","An afternoon of user testing against a real Linear board, and the four findings a green test suite could never have written.","2026-08-01T10:20:00.000Z",[419,297,379,420],"user-testing","linear",{"path":422,"title":423,"description":424,"date":425,"author":6,"image":426,"readingMinutes":345,"category":294,"project":244,"tags":427,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fretrofitting-testing-without-mocks","Retrofitting Testing Without Mocks","The server had 37 vi.mock calls and no test that touched the database. Five steps to remove every mock with Nullables: real logic, real data, sociable tests.","2026-04-17T12:30:37.000Z","\u002Fimages\u002Fblog\u002Fretrofitting-without-mocks-hero.jpg",[298,297,428],"mocks",{"path":430,"title":431,"description":432,"date":433,"author":6,"image":434,"readingMinutes":306,"category":273,"project":376,"tags":435,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Frun-it-by-hand-until-it-is-boring","Run It by Hand Until It Is Boring","Releasing EkoLite was a document before it was a command, and stayed one until running it by hand had nothing left to teach us. Why we automate operations last.","2026-07-21T17:00:00.000Z","\u002Fimages\u002Fblog\u002Frun-it-by-hand-hero.jpg",[436,437,438,381],"automation","releasing","process",{"path":440,"title":441,"description":442,"date":408,"author":6,"image":443,"readingMinutes":245,"category":273,"project":244,"tags":444,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fsafe-to-run-twice","Safe to Run Twice","Connect the same repository twice, or let a webhook redeliver an event. Idempotency in two halves: writes through a natural key, side effects behind a ledger.","\u002Fimages\u002Fblog\u002Fsafe-to-run-twice-hero.jpg",[277,315,445],"webhooks",{"path":447,"title":448,"description":449,"date":450,"author":6,"image":247,"readingMinutes":261,"category":273,"project":244,"tags":451,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fsource-or-execute","Source or Execute","Our dojo laptops are provisioned by one bash script of nearly twelve hundred lines. Splitting it into modules is two decisions, not one, and we chose a hybrid.","2026-08-01T09:00:00.000Z",[452,453,378,277],"shell","provisioning",{"path":455,"title":456,"description":457,"date":247,"author":458,"image":459,"readingMinutes":61,"category":235,"project":460,"tags":247,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fstage-then-transform-why-your-crawler-should-never-touch-production-tables","Stage, Then Transform: Crawlers Stay Out of Production","Where data from an external source lands first decides whether the pipeline still works in six months. The staging pattern, shown with a crawler we build now.","EkoHacks","\u002Fimages\u002Fblog\u002Fstage-then-transform-hero.jpg","Propi",{"path":462,"title":463,"description":464,"date":465,"author":6,"image":247,"readingMinutes":272,"category":294,"project":274,"tags":466,"draft":238,"series":279,"seriesOrder":345},"\u002Fblog\u002Ftelling-the-machine-what-the-page-is","Telling the Machine What the Page Is","Structured data on every post, and a test that runs after each build and fails it when a page lacks what a crawler needs. First run: forty nine problems.","2026-08-22T23:30:00.000Z",[276,298,278],{"path":468,"title":469,"description":470,"date":471,"author":6,"image":472,"readingMinutes":86,"category":294,"project":247,"tags":247,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Ftest-driven-development-is-not-about-tests","Test Driven Development Is Not About Tests","TDD is widely misunderstood. It is not a testing strategy. It is a design tool that produces simpler, more focused code by making you think before you type.","2026-02-01T09:00:00.000Z","\u002Fimages\u002Fblog\u002Ftdd-not-about-tests-hero.jpg",{"path":474,"title":475,"description":476,"date":477,"author":6,"image":478,"readingMinutes":345,"category":294,"project":376,"tags":479,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Ftesting-a-release-without-releasing","Testing a Release Without Releasing","How to test watch CI until green, then merge, hundreds of times a day with no CI in sight. Nullables, output trackers, and a fake that copies GitHub shapes.","2026-07-21T17:10:00.000Z","\u002Fimages\u002Fblog\u002Ftesting-a-release-without-releasing-hero.jpg",[297,480,481,381],"testing-without-mocks","james-shore",{"path":483,"title":484,"description":485,"date":486,"author":6,"image":247,"readingMinutes":261,"category":294,"project":244,"tags":487,"draft":238,"series":489,"seriesOrder":61},"\u002Fblog\u002Fthe-best-coverage-number-in-the-room","The Best Coverage Number in the Room","Same commit, same spec, same test count. The mocked suite ran 5.6 times faster, covered 3.5 fewer points of real code, and posted the best branch coverage.","2026-08-27T12:00:00.000Z",[298,297,428,488],"coverage","What Mocks Cost",{"path":491,"title":492,"description":493,"date":494,"author":6,"image":495,"readingMinutes":345,"category":235,"project":295,"tags":496,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-bug-that-resolved-successfully","The Bug That Resolved Successfully","A bug that threw no error and dropped every document because the client guessed a collection from a name. The fix was one honest field on the ready message.","2026-07-05T10:16:16.000Z","\u002Fimages\u002Fblog\u002Fbug-resolved-successfully-hero.jpg",[497,498,298,499],"protocol","pubsub","tdd",{"path":501,"title":502,"description":503,"date":504,"author":6,"image":505,"readingMinutes":261,"category":294,"project":295,"tags":506,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-clock-that-learned-to-walk","The Clock That Learned to Walk","A stub clock that teleported to the end of the window instead of passing through time, so a timer set inside another never fired. A real clock model fixed it.","2026-07-07T22:44:42.000Z","\u002Fimages\u002Fblog\u002Fthe-clock-that-learned-to-walk-hero.jpg",[297,298,507],"refactoring",{"path":509,"title":510,"description":511,"date":512,"author":6,"image":513,"readingMinutes":345,"category":262,"project":244,"tags":514,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-conflict-nobody-wrote","The Conflict Nobody Wrote","A pull request conflicted in a file neither author had typed into. A generated document recorded test line numbers, both branches shifted them, git merges text.","2026-07-09T09:14:00.000Z","\u002Fimages\u002Fblog\u002Fthe-conflict-nobody-wrote-hero.jpg",[264,265,266],{"path":516,"title":517,"description":518,"date":519,"author":6,"image":520,"readingMinutes":521,"category":273,"project":244,"tags":522,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-container-that-wasnt-there","The Container That Wasn't There","Production served HTML where the browser asked for JavaScript, and nothing in our code had changed. A week debugging a platform we cannot see inside.","2026-07-17T14:30:00.000Z","\u002Fimages\u002Fblog\u002Fcontainer-that-wasnt-there-hero.jpg",8,[277,523,524,525],"debugging","european-tech","community",{"path":527,"title":528,"description":529,"date":530,"author":6,"image":531,"readingMinutes":261,"category":235,"project":295,"tags":532,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-design-we-never-drew","The Design We Never Drew","How the upload path in EkoLite arrived rather than being drawn, and the two habits, test first and integrate always, that turn an emerging shape into a design.","2026-07-20T10:00:00.000Z","\u002Fimages\u002Fblog\u002Fthe-design-we-never-drew-hero.jpg",[250,499,533],"continuous integration",{"path":535,"title":536,"description":537,"date":538,"author":6,"image":539,"readingMinutes":306,"category":262,"project":247,"tags":247,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-dojo-way-deliberate-practice-for-software-developers","The Dojo Way: Deliberate Practice for Software Developers","Most developers learn on the job, and the job rarely teaches the fundamentals. The Dojo borrows from martial arts to make a space for deliberate practice.","2026-01-22T09:00:00.000Z","\u002Fimages\u002Fblog\u002Fthe-dojo-way-hero.jpg",{"path":541,"title":542,"description":543,"date":544,"author":6,"image":545,"readingMinutes":272,"category":262,"project":244,"tags":546,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-done-column-is-a-syllabus","The Done Column Is a Syllabus","We asked Linear for every story our team has ever finished, all 187 of them, and read the column end to end. It turned out to be the course we teach.","2026-07-31T09:00:00.000Z","\u002Fimages\u002Fblog\u002Fdone-column-syllabus-hero.jpg",[547,548,549,420],"graphql","stories","xp",{"path":551,"title":552,"description":553,"date":554,"author":6,"image":555,"readingMinutes":345,"category":294,"project":376,"tags":556,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-failing-test-is-the-review","The Failing Test Is the Review","Every behaviour in the CLI landed as two commits: a red test, then the code that makes it green. Reviewing intent before implementation, and why red never bent.","2026-07-21T17:05:00.000Z","\u002Fimages\u002Fblog\u002Fthe-failing-test-is-the-review-hero.jpg",[499,557,558,381],"red-first","code-review",{"path":560,"title":561,"description":562,"date":563,"author":6,"image":564,"readingMinutes":345,"category":273,"project":376,"tags":565,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-first-real-run-said-no","The First Real Run Said No","The tool's first real outing ended with FAIL and a stopped rail, and we count it as a success. A naive sounding question then uncovered a quiet failure mode.","2026-07-21T17:25:00.000Z","\u002Fimages\u002Fblog\u002Fthe-first-real-run-said-no-hero.jpg",[437,566,264,381],"preflight",{"path":568,"title":569,"description":570,"date":571,"author":6,"image":572,"readingMinutes":345,"category":273,"project":295,"tags":573,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-five-second-goodbye","The Five Second Goodbye","A shutdown that arms its own deadline so a hung close cannot strand the process, with the policy lifted out of the boot shell so every decision can be tested.","2026-07-05T12:03:00.000Z","\u002Fimages\u002Fblog\u002Fthe-five-second-goodbye-hero.jpg",[574,297,298],"shutdown",{"path":576,"title":577,"description":578,"date":579,"author":6,"image":580,"readingMinutes":261,"category":273,"project":295,"tags":581,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-framework-in-the-description-field","The Framework in the Description Field","Our package called itself a framework, but it could not be installed. The fix was to stop trusting the build and become the stranger who installs the tarball.","2026-07-08T17:28:39.000Z","\u002Fimages\u002Fblog\u002Fframework-description-field-hero.jpg",[582,298,266],"packaging",{"path":584,"title":585,"description":586,"date":587,"author":6,"image":588,"readingMinutes":306,"category":235,"project":376,"tags":589,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-gate-always-asks","The Gate Always Asks","A release automates things you cannot take back, so which of them may a machine do without asking a human? Pauses, and a yes flag that opens no door.","2026-07-21T17:15:00.000Z","\u002Fimages\u002Fblog\u002Fthe-gate-always-asks-hero.jpg",[436,590,250,381],"human-in-the-loop",{"path":592,"title":593,"description":594,"date":595,"author":6,"image":596,"readingMinutes":261,"category":273,"project":244,"tags":597,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-gate-went-red-and-it-was-right","The Gate Went Red, and It Was Right","We added the missing check on our API specification and it failed on its first run, because the file was never a function of the source. A clean machine saw it.","2026-07-09T10:10:00.000Z","\u002Fimages\u002Fblog\u002Fgate-went-red-hero.jpg",[265,277,266],{"path":599,"title":600,"description":601,"date":602,"author":6,"image":603,"readingMinutes":261,"category":273,"project":295,"tags":604,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-knock-and-the-axe","The Knock and the Axe","SIGTERM is a request your process can hear and SIGKILL is removal it never sees, and the fixed window between them is exactly where graceful shutdown lives.","2026-07-20T12:00:00.000Z","\u002Fimages\u002Fblog\u002Fthe-knock-and-the-axe-hero.jpg",[574,277,605],"signals",{"path":607,"title":608,"description":609,"date":610,"author":6,"image":611,"readingMinutes":521,"category":262,"project":295,"tags":612,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-line-nothing-could-see","The Line Nothing Could See","Reviewing the reasoning under a refactor, not only the diff. Ask of every line what can observe it, and back each review claim with a test the author can run.","2026-07-07T22:43:00.000Z","\u002Fimages\u002Fblog\u002Fthe-line-nothing-could-see-hero.jpg",[558,507,613,298],"teaching",{"path":615,"title":616,"description":617,"date":618,"author":6,"image":619,"readingMinutes":261,"category":235,"project":295,"tags":620,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-long-way-round","The Long Way Round","The count a method computes reaches the screen not through its return value but by being written into a collection a client subscribes to, EkoLite's channel.","2026-07-20T11:05:00.000Z","\u002Fimages\u002Fblog\u002Fthe-long-way-round-hero.jpg",[250,498,297],{"path":622,"title":623,"description":624,"date":625,"author":6,"image":247,"readingMinutes":272,"category":273,"project":274,"tags":626,"draft":238,"series":279,"seriesOrder":61},"\u002Fblog\u002Fthe-page-that-existed-only-when-someone-linked-to-it","The Page That Existed Only When Someone Linked to It","Our blog vanished in production while passing every local check. How we found the cause, fixed it twice, and how the fix gave every page a twin.","2026-08-22T16:00:00.000Z",[276,277,278],{"path":628,"title":629,"description":630,"date":631,"author":6,"image":632,"readingMinutes":521,"category":273,"project":244,"tags":633,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-previews-that-served-production","The Previews That Served Production","Two weeks after the container that was not there, the same impossible error came back. The orphans were our own pull request previews. One diagnosis was wrong.","2026-07-31T17:00:00.000Z","\u002Fimages\u002Fblog\u002Fpreviews-served-production-hero.jpg",[277,523,524,525],{"path":635,"title":636,"description":637,"date":638,"author":6,"image":639,"readingMinutes":306,"category":262,"project":376,"tags":640,"draft":242,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-release-is-the-acceptance-test","The Release Is the Acceptance Test","Not a green suite, not a good demo: a real version of a real package, live on npm, shipped by the tool. What red first tests proved, and what only reality did.","2026-07-21T17:35:00.000Z","\u002Fimages\u002Fblog\u002Frelease-acceptance-test-hero.jpg",[437,641,642,381],"dogfooding","acceptance-testing",{"path":644,"title":645,"description":646,"date":647,"author":6,"image":648,"readingMinutes":272,"category":294,"project":295,"tags":649,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-script-that-never-ran","The Script That Never Ran","Joining two abilities EkoLite already had, a method that runs and a runner that shells out, and proving the join with a nulled runner before any script exists.","2026-07-20T11:00:00.000Z","\u002Fimages\u002Fblog\u002Fthe-script-that-never-ran-hero.jpg",[298,297,650],"scriptrunner",{"path":652,"title":653,"description":654,"date":655,"author":6,"image":247,"readingMinutes":521,"category":273,"project":274,"tags":656,"draft":238,"series":279,"seriesOrder":261},"\u002Fblog\u002Fthe-small-things-the-crawler-notices","The Small Things the Crawler Notices","Speed is the part of findability you can measure on a laptop. Fonts and images we shipped without looking, an error page we did not have, and the numbers after.","2026-08-23T10:00:00.000Z",[276,277,657],"performance",{"path":659,"title":660,"description":661,"date":662,"author":6,"image":663,"readingMinutes":272,"category":294,"project":295,"tags":664,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-test-that-could-not-fail","The Test That Could Not Fail","A green test that stayed green when we deleted the behaviour it was named after, and the single blunt question that exposed it.","2026-07-20T09:00:00.000Z","\u002Fimages\u002Fblog\u002Ftest-that-could-not-fail-hero.jpg",[298,297,299],{"path":666,"title":667,"description":668,"date":669,"author":458,"image":670,"readingMinutes":261,"category":262,"project":671,"tags":672,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-website-that-told-the-same-story-twice","The Website That Told the Same Story Twice","Our home and story pages felt like one story across two screens. Rather than argue by taste, we modelled our words as data and asked a database one question.","2026-06-06","\u002Fimages\u002Fblog\u002Fwebsite-same-story-twice-hero.jpg","The Website",[266,673,411,613],"content",{"path":675,"title":676,"description":677,"date":494,"author":6,"image":678,"readingMinutes":345,"category":294,"project":295,"tags":679,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-words-we-work-in","The Words We Work In","The vocabulary we test with, Nullable, embedded stub, stub object, output tracking, each grounded in real code so a review points at a line, never at taste.","\u002Fimages\u002Fblog\u002Fthe-words-we-work-in-hero.jpg",[297,298,266,613],{"path":681,"title":682,"description":683,"date":669,"author":458,"image":684,"readingMinutes":306,"category":262,"project":671,"tags":685,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fthe-workflow-is-the-lesson","The Workflow Is the Lesson","We are moving our content out of a cloud CMS and into git. Why a school that teaches a keyboard first way of working should practise it in the open, and how.","\u002Fimages\u002Fblog\u002Fworkflow-lesson-hero.png",[686,264,613,687],"workflow","accessibility",{"path":689,"title":690,"description":691,"date":692,"author":6,"image":247,"readingMinutes":261,"category":294,"project":244,"tags":693,"draft":238,"series":489,"seriesOrder":86},"\u002Fblog\u002Ftwenty-six-more-tests-four-fewer-behaviours","Twenty Six More Tests, Four Fewer Behaviours","Removing the mocks grew the suite from 44 tests to 70 and quietly deleted four behaviours, every one of them a failure path. Test count is not coverage.","2026-08-28T09:00:00.000Z",[298,297,428,488],{"path":695,"title":696,"description":697,"date":698,"author":6,"image":699,"readingMinutes":272,"category":273,"project":244,"tags":700,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Ftwo-hands-on-one-lever","Two Hands on One Lever","Our deploy failed with a deploy already in progress while the commit it wanted to ship was going live. Anatomy of a benign collision and a trigger safe to lose.","2026-07-23T09:00:00.000Z","\u002Fimages\u002Fblog\u002Ftwo-hands-on-one-lever-hero.jpg",[277,315,701],"observability",{"path":703,"title":704,"description":705,"date":706,"author":6,"image":247,"readingMinutes":272,"category":294,"project":244,"tags":707,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Ftwo-hundred-and-fourteen-undecided","Two Hundred and Fourteen Undecided","An accessibility scanner found three faults on the dojo, we fixed them, and the next run came back clean. The clean run was the dangerous one.","2026-08-22T12:00:00.000Z",[687,298,250,266],{"path":243,"title":5,"description":237,"date":236,"author":6,"image":240,"readingMinutes":245,"category":235,"project":244,"tags":709,"draft":238,"series":247,"seriesOrder":247},[250,251,252],{"path":711,"title":712,"description":713,"date":714,"author":6,"image":715,"readingMinutes":261,"category":273,"project":244,"tags":716,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fwe-are-all-doing-asynchronous-integration","We Are All Doing Asynchronous Integration","A continuous integration server is not continuous integration. The forge tests your work after you have moved on. Our build takes three minutes; no excuse.","2026-07-09T09:46:00.000Z","\u002Fimages\u002Fblog\u002Fasynchronous-integration-hero.jpg",[265,277,314],{"path":718,"title":719,"description":720,"date":721,"author":6,"image":247,"readingMinutes":272,"category":273,"project":274,"tags":722,"draft":238,"series":279,"seriesOrder":272},"\u002Fblog\u002Fwe-promised-not-to-watch-then-we-needed-to-see","We Promised Not to Watch. Then We Needed to See.","Our privacy policy said no analytics, and it was true. Adding a page counter meant reopening that promise in public: what we chose, what we refused, one commit.","2026-08-24T10:00:00.000Z",[286,277,723],"analytics",{"path":725,"title":726,"description":727,"date":728,"author":6,"image":729,"readingMinutes":261,"category":273,"project":376,"tags":730,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fwhat-one-real-release-taught-us","What One Real Release Taught Us in an Afternoon","Two crashes and one near miss within minutes of touching the real GitHub, because we had refused to fake it. The race we never met, the merge that never came.","2026-07-21T17:30:00.000Z","\u002Fimages\u002Fblog\u002Fone-real-release-hero.jpg",[437,731,297,381],"failure-modes",{"path":733,"title":734,"description":735,"date":736,"author":6,"image":247,"readingMinutes":261,"category":273,"project":274,"tags":737,"draft":238,"series":279,"seriesOrder":306},"\u002Fblog\u002Fwhat-the-link-looks-like-before-anyone-clicks","What the Link Looks Like Before Anyone Clicks","A link to any page on our site showed up as a bare rectangle of text. The share image is part of the page, and the build now puts one on every route.","2026-08-22T22:00:00.000Z",[276,277,278],{"path":739,"title":740,"description":741,"date":742,"author":6,"image":247,"readingMinutes":261,"category":294,"project":244,"tags":743,"draft":238,"series":489,"seriesOrder":245},"\u002Fblog\u002Fwhat-the-nullable-gave-back","What the Nullable Gave Back","One file, seven behaviours held fixed, the database swapped for a Nullable: about 180 times less time inside the tests, and coverage flat to two decimals.","2026-08-29T09:00:00.000Z",[298,297,428,488],{"path":745,"title":746,"description":747,"date":748,"author":6,"image":247,"readingMinutes":272,"category":273,"project":274,"tags":749,"draft":238,"series":279,"seriesOrder":521},"\u002Fblog\u002Fwhat-we-count-and-what-we-refuse-to-know","What We Count, and What We Refuse to Know","Every system that holds anything about a visitor, in one table in the privacy policy. Writing it found a form that no longer existed and one that wrote twice.","2026-08-23T14:00:00.000Z",[286,277,723],{"path":751,"title":752,"description":753,"date":754,"author":6,"image":755,"readingMinutes":306,"category":235,"project":247,"tags":247,"draft":238,"series":247,"seriesOrder":247},"\u002Fblog\u002Fwhy-good-software-starts-with-the-right-questions","Why Good Software Starts with the Right Questions","Before writing a line of code, the most impactful thing a team can do is ask better questions. Discovery is not a phase to rush. It is the foundation.","2026-01-15T09:00:00.000Z","\u002Fimages\u002Fblog\u002Fright-questions-hero.jpg",1787861097100]