[{"data":1,"prerenderedAt":1432},["ShallowReactive",2],{"post-\u002Fblog\u002Fthe-clock-that-learned-to-walk":3,"blog-all":937},{"id":4,"title":5,"author":6,"body":7,"category":920,"date":921,"description":922,"draft":923,"extension":924,"image":925,"meta":926,"navigation":94,"path":927,"project":928,"readingMinutes":155,"seo":929,"series":930,"seriesOrder":930,"stem":931,"tags":932,"__hash__":936},"blog\u002Fblog\u002Fthe-clock-that-learned-to-walk.md","The Clock That Learned to Walk","EkoHacks Team",{"type":8,"value":9,"toc":913},"minimark",[10,23,26,31,38,41,44,304,315,319,322,504,511,528,531,535,547,860,872,884,887,891,899,902,906,909],[11,12,13,14,18,19,22],"p",{},"EkoLite, our small real time backend, keeps a fake clock. Not for production, where time is the operating system's job, but for tests, where time has to be something a test can hold in its hand. When the shutdown policy arms a five second deadline, no test wants to wait five real seconds to watch it fire. So the nulled ",[15,16,17],"code",{},"ProcessWrapper"," carries a stub clock, and a test moves time by calling ",[15,20,21],{},"advanceTime(5000)"," instead of sleeping.",[11,24,25],{},"A stub like that is a small promise. It promises that time, inside the test, behaves the way time behaves outside it. Break the promise quietly and you get the worst kind of test: one that passes for reasons that have nothing to do with the code it claims to cover. This is the story of a stub clock that made two promises, broke one of them in a way no test could see, and what it took to make it walk instead of jump.",[27,28,30],"h2",{"id":29},"what-a-fake-clock-owes-you","What a fake clock owes you",[11,32,33,34,37],{},"The real ",[15,35,36],{},"setTimeout"," makes two guarantees worth naming. Timers fire in deadline order: a timer due at 10ms fires before one due at 20ms, whatever order you scheduled them in. And time passes through every moment on the way: a timer scheduled from inside another timer's callback takes its deadline from the moment that callback ran, not from some later point the clock has already reached.",[11,39,40],{},"The stub's first version honoured neither cleanly. It fired timers in the order they were scheduled, so a later call could run before an earlier deadline. That is exactly the sort of bug a refactor is supposed to surface, and this one did. The fix sorted the due timers by deadline before firing them, and a new test pinned the order down. Good work as far as it goes.",[11,42,43],{},"But look at the shape of that fix, because the second promise is hiding inside it.",[45,46,51],"pre",{"className":47,"code":48,"language":49,"meta":50,"style":50},"language-ts shiki shiki-themes github-dark","advanceTime(ms: number): void {\n  this.now += ms;\n\n  const dueTimers = this.timers\n    .filter((timer) => timer.live && timer.dueAt \u003C= this.now)\n    .sort((left, right) => left.dueAt - right.dueAt);\n\n  for (const timer of dueTimers) {\n    timer.live = false;\n    timer.callback();\n  }\n\n  this.timers.splice(0, this.timers.length, ...this.timers.filter((timer) => timer.live));\n}\n","ts","",[15,52,53,73,89,96,114,153,185,190,211,226,238,244,249,298],{"__ignoreMap":50},[54,55,58,62,66,70],"span",{"class":56,"line":57},"line",1,[54,59,61],{"class":60},"svObZ","advanceTime",[54,63,65],{"class":64},"s95oV","(ms: number): ",[54,67,69],{"class":68},"snl16","void",[54,71,72],{"class":64}," {\n",[54,74,76,80,83,86],{"class":56,"line":75},2,[54,77,79],{"class":78},"sDLfK","  this",[54,81,82],{"class":64},".now ",[54,84,85],{"class":68},"+=",[54,87,88],{"class":64}," ms;\n",[54,90,92],{"class":56,"line":91},3,[54,93,95],{"emptyLinePlaceholder":94},true,"\n",[54,97,99,102,105,108,111],{"class":56,"line":98},4,[54,100,101],{"class":68},"  const",[54,103,104],{"class":78}," dueTimers",[54,106,107],{"class":68}," =",[54,109,110],{"class":78}," this",[54,112,113],{"class":64},".timers\n",[54,115,117,120,123,126,130,133,136,139,142,145,148,150],{"class":56,"line":116},5,[54,118,119],{"class":64},"    .",[54,121,122],{"class":60},"filter",[54,124,125],{"class":64},"((",[54,127,129],{"class":128},"s9osk","timer",[54,131,132],{"class":64},") ",[54,134,135],{"class":68},"=>",[54,137,138],{"class":64}," timer.live ",[54,140,141],{"class":68},"&&",[54,143,144],{"class":64}," timer.dueAt ",[54,146,147],{"class":68},"\u003C=",[54,149,110],{"class":78},[54,151,152],{"class":64},".now)\n",[54,154,156,158,161,163,166,169,172,174,176,179,182],{"class":56,"line":155},6,[54,157,119],{"class":64},[54,159,160],{"class":60},"sort",[54,162,125],{"class":64},[54,164,165],{"class":128},"left",[54,167,168],{"class":64},", ",[54,170,171],{"class":128},"right",[54,173,132],{"class":64},[54,175,135],{"class":68},[54,177,178],{"class":64}," left.dueAt ",[54,180,181],{"class":68},"-",[54,183,184],{"class":64}," right.dueAt);\n",[54,186,188],{"class":56,"line":187},7,[54,189,95],{"emptyLinePlaceholder":94},[54,191,193,196,199,202,205,208],{"class":56,"line":192},8,[54,194,195],{"class":68},"  for",[54,197,198],{"class":64}," (",[54,200,201],{"class":68},"const",[54,203,204],{"class":78}," timer",[54,206,207],{"class":68}," of",[54,209,210],{"class":64}," dueTimers) {\n",[54,212,214,217,220,223],{"class":56,"line":213},9,[54,215,216],{"class":64},"    timer.live ",[54,218,219],{"class":68},"=",[54,221,222],{"class":78}," false",[54,224,225],{"class":64},";\n",[54,227,229,232,235],{"class":56,"line":228},10,[54,230,231],{"class":64},"    timer.",[54,233,234],{"class":60},"callback",[54,236,237],{"class":64},"();\n",[54,239,241],{"class":56,"line":240},11,[54,242,243],{"class":64},"  }\n",[54,245,247],{"class":56,"line":246},12,[54,248,95],{"emptyLinePlaceholder":94},[54,250,252,254,257,260,263,266,268,271,273,276,278,281,283,285,287,289,291,293,295],{"class":56,"line":251},13,[54,253,79],{"class":78},[54,255,256],{"class":64},".timers.",[54,258,259],{"class":60},"splice",[54,261,262],{"class":64},"(",[54,264,265],{"class":78},"0",[54,267,168],{"class":64},[54,269,270],{"class":78},"this",[54,272,256],{"class":64},[54,274,275],{"class":78},"length",[54,277,168],{"class":64},[54,279,280],{"class":68},"...",[54,282,270],{"class":78},[54,284,256],{"class":64},[54,286,122],{"class":60},[54,288,125],{"class":64},[54,290,129],{"class":128},[54,292,132],{"class":64},[54,294,135],{"class":68},[54,296,297],{"class":64}," timer.live));\n",[54,299,301],{"class":56,"line":300},14,[54,302,303],{"class":64},"}\n",[11,305,306,307,310,311,314],{},"The first line moves the whole clock to the end of the window. ",[15,308,309],{},"advanceTime(100)"," sets ",[15,312,313],{},"now"," to 100 before a single callback has run. Then it works out which timers are due and fires them, in deadline order now, which is the win. But time did not pass. Time teleported.",[27,316,318],{"id":317},"the-timer-that-arrived-too-late-to-its-own-party","The timer that arrived too late to its own party",[11,320,321],{},"Here is the promise that broke. Ask the stub to fire a timer that schedules another timer.",[45,323,325],{"className":47,"code":324,"language":49,"meta":50,"style":50},"it('fires a timer scheduled by another timer, when both come due in the same advance', () => {\n  const proc = ProcessWrapper.createNull();\n  const order: number[] = [];\n\n  proc.startTimer(10, () => {\n    order.push(10);\n    proc.startTimer(5, () => order.push(15));\n  });\n\n  proc.advanceTime(100);\n\n  expect(order).toEqual([10, 15]);\n});\n",[15,326,327,345,362,383,387,406,421,450,455,459,472,476,499],{"__ignoreMap":50},[54,328,329,332,334,338,341,343],{"class":56,"line":57},[54,330,331],{"class":60},"it",[54,333,262],{"class":64},[54,335,337],{"class":336},"sU2Wk","'fires a timer scheduled by another timer, when both come due in the same advance'",[54,339,340],{"class":64},", () ",[54,342,135],{"class":68},[54,344,72],{"class":64},[54,346,347,349,352,354,357,360],{"class":56,"line":75},[54,348,101],{"class":68},[54,350,351],{"class":78}," proc",[54,353,107],{"class":68},[54,355,356],{"class":64}," ProcessWrapper.",[54,358,359],{"class":60},"createNull",[54,361,237],{"class":64},[54,363,364,366,369,372,375,378,380],{"class":56,"line":91},[54,365,101],{"class":68},[54,367,368],{"class":78}," order",[54,370,371],{"class":68},":",[54,373,374],{"class":78}," number",[54,376,377],{"class":64},"[] ",[54,379,219],{"class":68},[54,381,382],{"class":64}," [];\n",[54,384,385],{"class":56,"line":98},[54,386,95],{"emptyLinePlaceholder":94},[54,388,389,392,395,397,400,402,404],{"class":56,"line":116},[54,390,391],{"class":64},"  proc.",[54,393,394],{"class":60},"startTimer",[54,396,262],{"class":64},[54,398,399],{"class":78},"10",[54,401,340],{"class":64},[54,403,135],{"class":68},[54,405,72],{"class":64},[54,407,408,411,414,416,418],{"class":56,"line":155},[54,409,410],{"class":64},"    order.",[54,412,413],{"class":60},"push",[54,415,262],{"class":64},[54,417,399],{"class":78},[54,419,420],{"class":64},");\n",[54,422,423,426,428,430,433,435,437,440,442,444,447],{"class":56,"line":187},[54,424,425],{"class":64},"    proc.",[54,427,394],{"class":60},[54,429,262],{"class":64},[54,431,432],{"class":78},"5",[54,434,340],{"class":64},[54,436,135],{"class":68},[54,438,439],{"class":64}," order.",[54,441,413],{"class":60},[54,443,262],{"class":64},[54,445,446],{"class":78},"15",[54,448,449],{"class":64},"));\n",[54,451,452],{"class":56,"line":192},[54,453,454],{"class":64},"  });\n",[54,456,457],{"class":56,"line":213},[54,458,95],{"emptyLinePlaceholder":94},[54,460,461,463,465,467,470],{"class":56,"line":228},[54,462,391],{"class":64},[54,464,61],{"class":60},[54,466,262],{"class":64},[54,468,469],{"class":78},"100",[54,471,420],{"class":64},[54,473,474],{"class":56,"line":240},[54,475,95],{"emptyLinePlaceholder":94},[54,477,478,481,484,487,490,492,494,496],{"class":56,"line":246},[54,479,480],{"class":60},"  expect",[54,482,483],{"class":64},"(order).",[54,485,486],{"class":60},"toEqual",[54,488,489],{"class":64},"([",[54,491,399],{"class":78},[54,493,168],{"class":64},[54,495,446],{"class":78},[54,497,498],{"class":64},"]);\n",[54,500,501],{"class":56,"line":251},[54,502,503],{"class":64},"});\n",[11,505,506,507,510],{},"A ten millisecond timer whose callback schedules a five millisecond one. Under the real clock the outer fires at 10ms, and the inner, measured from there, fires at 15ms, comfortably inside a hundred millisecond window. The test expects ",[15,508,509],{},"[10, 15]",".",[11,512,513,514,517,518,520,521,524,525,527],{},"The stub returns ",[15,515,516],{},"[10]",". The inner timer never fires. And the reason is the teleport. By the time the outer callback runs, ",[15,519,313],{}," is already 100. ",[15,522,523],{},"startTimer(5)"," reads that ",[15,526,313],{}," and gives the new timer a deadline of 105. The window ended at 100. The timer was born five milliseconds after the world it lives in had stopped. It sits there, live and unfired, waiting for a future this advance already ran past.",[11,529,530],{},"Notice what kind of failure this is. Nothing throws. The suite is green. It stays green precisely because nothing in the codebase yet schedules a timer from inside a timer, so the broken promise costs nothing today and everything the day someone writes a retry that re arms a deadline. The test that would have caught it is the test nobody had a reason to write.",[27,532,534],{"id":533},"teaching-the-clock-to-walk","Teaching the clock to walk",[11,536,537,538,540,541,543,544,546],{},"The fix is not another special case. It is to stop teleporting. A real clock passes through every instant between here and the target, and it fires each timer at the instant it comes due, with ",[15,539,313],{}," actually sitting at that instant while the callback runs. So the stub should walk the same road: find the earliest timer that is due, move ",[15,542,313],{}," to exactly its deadline, fire it, and look again. Timers scheduled by that callback are measured against a truthful ",[15,545,313],{},", and the next lap of the loop picks them up if they land inside the window.",[45,548,550],{"className":47,"code":549,"language":49,"meta":50,"style":50},"advanceTime(ms: number): void {\n  const target = this.now + ms;\n\n  while (true) {\n    const nextTimer = this.timers.reduce\u003CStubbedTimer | null>((earliest, timer) => {\n      if (!timer.live || timer.dueAt > target) {\n        return earliest;\n      }\n      if (earliest === null || timer.dueAt \u003C earliest.dueAt) {\n        return timer;\n      }\n      return earliest;\n    }, null);\n\n    if (nextTimer === null) {\n      this.now = target;\n      break;\n    }\n\n    this.now = nextTimer.dueAt;\n\n    const index = this.timers.indexOf(nextTimer);\n    this.timers.splice(index, 1);\n\n    nextTimer.callback();\n  }\n}\n",[15,551,552,562,580,584,597,642,666,674,679,701,708,712,719,729,733,748,761,769,775,780,793,798,818,835,840,850,855],{"__ignoreMap":50},[54,553,554,556,558,560],{"class":56,"line":57},[54,555,61],{"class":60},[54,557,65],{"class":64},[54,559,69],{"class":68},[54,561,72],{"class":64},[54,563,564,566,569,571,573,575,578],{"class":56,"line":75},[54,565,101],{"class":68},[54,567,568],{"class":78}," target",[54,570,107],{"class":68},[54,572,110],{"class":78},[54,574,82],{"class":64},[54,576,577],{"class":68},"+",[54,579,88],{"class":64},[54,581,582],{"class":56,"line":91},[54,583,95],{"emptyLinePlaceholder":94},[54,585,586,589,591,594],{"class":56,"line":98},[54,587,588],{"class":68},"  while",[54,590,198],{"class":64},[54,592,593],{"class":78},"true",[54,595,596],{"class":64},") {\n",[54,598,599,602,605,607,609,611,614,617,620,623,626,629,632,634,636,638,640],{"class":56,"line":116},[54,600,601],{"class":68},"    const",[54,603,604],{"class":78}," nextTimer",[54,606,107],{"class":68},[54,608,110],{"class":78},[54,610,256],{"class":64},[54,612,613],{"class":60},"reduce",[54,615,616],{"class":64},"\u003C",[54,618,619],{"class":60},"StubbedTimer",[54,621,622],{"class":68}," |",[54,624,625],{"class":78}," null",[54,627,628],{"class":64},">((",[54,630,631],{"class":128},"earliest",[54,633,168],{"class":64},[54,635,129],{"class":128},[54,637,132],{"class":64},[54,639,135],{"class":68},[54,641,72],{"class":64},[54,643,644,647,649,652,655,658,660,663],{"class":56,"line":155},[54,645,646],{"class":68},"      if",[54,648,198],{"class":64},[54,650,651],{"class":68},"!",[54,653,654],{"class":64},"timer.live ",[54,656,657],{"class":68},"||",[54,659,144],{"class":64},[54,661,662],{"class":68},">",[54,664,665],{"class":64}," target) {\n",[54,667,668,671],{"class":56,"line":187},[54,669,670],{"class":68},"        return",[54,672,673],{"class":64}," earliest;\n",[54,675,676],{"class":56,"line":192},[54,677,678],{"class":64},"      }\n",[54,680,681,683,686,689,691,694,696,698],{"class":56,"line":213},[54,682,646],{"class":68},[54,684,685],{"class":64}," (earliest ",[54,687,688],{"class":68},"===",[54,690,625],{"class":78},[54,692,693],{"class":68}," ||",[54,695,144],{"class":64},[54,697,616],{"class":68},[54,699,700],{"class":64}," earliest.dueAt) {\n",[54,702,703,705],{"class":56,"line":228},[54,704,670],{"class":68},[54,706,707],{"class":64}," timer;\n",[54,709,710],{"class":56,"line":240},[54,711,678],{"class":64},[54,713,714,717],{"class":56,"line":246},[54,715,716],{"class":68},"      return",[54,718,673],{"class":64},[54,720,721,724,727],{"class":56,"line":251},[54,722,723],{"class":64},"    }, ",[54,725,726],{"class":78},"null",[54,728,420],{"class":64},[54,730,731],{"class":56,"line":300},[54,732,95],{"emptyLinePlaceholder":94},[54,734,736,739,742,744,746],{"class":56,"line":735},15,[54,737,738],{"class":68},"    if",[54,740,741],{"class":64}," (nextTimer ",[54,743,688],{"class":68},[54,745,625],{"class":78},[54,747,596],{"class":64},[54,749,751,754,756,758],{"class":56,"line":750},16,[54,752,753],{"class":78},"      this",[54,755,82],{"class":64},[54,757,219],{"class":68},[54,759,760],{"class":64}," target;\n",[54,762,764,767],{"class":56,"line":763},17,[54,765,766],{"class":68},"      break",[54,768,225],{"class":64},[54,770,772],{"class":56,"line":771},18,[54,773,774],{"class":64},"    }\n",[54,776,778],{"class":56,"line":777},19,[54,779,95],{"emptyLinePlaceholder":94},[54,781,783,786,788,790],{"class":56,"line":782},20,[54,784,785],{"class":78},"    this",[54,787,82],{"class":64},[54,789,219],{"class":68},[54,791,792],{"class":64}," nextTimer.dueAt;\n",[54,794,796],{"class":56,"line":795},21,[54,797,95],{"emptyLinePlaceholder":94},[54,799,801,803,806,808,810,812,815],{"class":56,"line":800},22,[54,802,601],{"class":68},[54,804,805],{"class":78}," index",[54,807,107],{"class":68},[54,809,110],{"class":78},[54,811,256],{"class":64},[54,813,814],{"class":60},"indexOf",[54,816,817],{"class":64},"(nextTimer);\n",[54,819,821,823,825,827,830,833],{"class":56,"line":820},23,[54,822,785],{"class":78},[54,824,256],{"class":64},[54,826,259],{"class":60},[54,828,829],{"class":64},"(index, ",[54,831,832],{"class":78},"1",[54,834,420],{"class":64},[54,836,838],{"class":56,"line":837},24,[54,839,95],{"emptyLinePlaceholder":94},[54,841,843,846,848],{"class":56,"line":842},25,[54,844,845],{"class":64},"    nextTimer.",[54,847,234],{"class":60},[54,849,237],{"class":64},[54,851,853],{"class":56,"line":852},26,[54,854,243],{"class":64},[54,856,858],{"class":56,"line":857},27,[54,859,303],{"class":64},[11,861,862,863,865,866,868,869,871],{},"Save the target first. Then loop: reach for the earliest live timer due at or before the target, step ",[15,864,313],{}," to its deadline, take it out of the queue, and let it run. When the callback schedules a new timer, that timer reads the honest ",[15,867,313],{}," and gets a deadline in the present, not stranded past the end. When nothing is left due, move ",[15,870,313],{}," to the target and stop.",[11,873,874,875,877,878,880,881,883],{},"The nested timer fires now. The outer runs with ",[15,876,313],{}," at 10, the inner is scheduled for 15, the loop comes back round, finds it inside the window, and fires it with ",[15,879,313],{}," at 15. ",[15,882,509],{},", the same answer the real clock gives.",[11,885,886],{},"And the walk quietly dissolves two things the teleport had needed. The deadline sort is gone, because taking the earliest timer on every lap is the ordering. The separate cleanup line that pruned fired timers is gone too, because a timer leaves the queue the moment it fires. One honest mechanism did the work of three careful ones. That is usually the sign you have found the right depth: the special cases do not get handled, they stop existing.",[27,888,890],{"id":889},"why-this-is-the-whole-game-for-us","Why this is the whole game for us",[11,892,893,894,510],{},"We run on real work read closely. An engineer takes a refactoring story on EkoLite, the pull request comes back, and the review reads the reasoning under the diff as much as the diff itself. The first version of this clock was not careless. It found a real ordering bug and pinned it with a test, which is more than most refactors manage. The gap it left was a promise nobody had written a test for, and the review's job was to write that test, watch it go red, and point at the mechanism rather than dictate the lines. That review, and the missing question it kept turning up across the same pull request, is ",[895,896,898],"a",{"href":897},"\u002Fblog\u002Fthe-line-nothing-could-see","The line nothing could see",[11,900,901],{},"The rest was the engineer's. The drain loop above is their answer to a red test, not a patch copied from a comment. That is the difference we care about. A verdict teaches one fix. A failing test and a nudge toward the mechanism teaches the question you can carry to the next stub, the next clock, the next promise you were tempted to keep by teleporting past it.",[27,903,905],{"id":904},"the-move-to-take-home","The move to take home",[11,907,908],{},"When you fake a resource, list the promises the real one makes before you make the real one's job easier. A clock promises order and passage. It is easy to buy order with a sort and lose passage to a teleport, because the teleport is simpler to write and the loss is invisible until code leans on it. Model the thing the way it actually behaves, one step at a time, and the invisible cases become ordinary ones. The clock that walks fires every timer the real one would. The clock that jumps fires only the ones you happened to test.",[910,911,912],"style",{},"html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}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 .s9osk, html code.shiki .s9osk{--shiki-default:#FFAB70}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);}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}",{"title":50,"searchDepth":75,"depth":75,"links":914},[915,916,917,918,919],{"id":29,"depth":75,"text":30},{"id":317,"depth":75,"text":318},{"id":533,"depth":75,"text":534},{"id":889,"depth":75,"text":890},{"id":904,"depth":75,"text":905},"Testing and TDD","2026-07-07T22:44:42.000Z","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.",false,"md","\u002Fimages\u002Fblog\u002Fthe-clock-that-learned-to-walk-hero.jpg",{},"\u002Fblog\u002Fthe-clock-that-learned-to-walk","EkoLite",{"title":5,"description":922},null,"blog\u002Fthe-clock-that-learned-to-walk",[933,934,935],"nullables","testing","refactoring","aHNYkhf5sdGSjfuVm0csf1c4P7KWo2SXdHbq6p048vk",[938,950,962,969,977,983,992,999,1006,1015,1022,1031,1038,1045,1058,1067,1074,1081,1090,1098,1106,1116,1123,1131,1138,1144,1150,1159,1167,1177,1179,1186,1196,1204,1210,1220,1229,1237,1245,1253,1261,1268,1276,1283,1290,1296,1303,1312,1320,1327,1334,1343,1349,1357,1363,1371,1377,1386,1393,1400,1408,1414,1420,1426],{"path":939,"title":940,"description":941,"date":942,"author":6,"image":943,"readingMinutes":155,"category":944,"project":945,"tags":946,"draft":923,"series":930,"seriesOrder":930},"\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","Craft and Practice","The Dojo",[947,948,949],"git","continuous-integration","craft",{"path":951,"title":952,"description":953,"date":954,"author":6,"image":930,"readingMinutes":187,"category":955,"project":956,"tags":957,"draft":923,"series":961,"seriesOrder":91},"\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","Shipping and Operations","ekohacks.com",[958,959,960],"seo","operations","nuxt","From Invisible to Findable",{"path":963,"title":964,"description":965,"date":966,"author":6,"image":930,"readingMinutes":155,"category":955,"project":956,"tags":967,"draft":923,"series":961,"seriesOrder":213},"\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",[968,959,960],"privacy",{"path":970,"title":971,"description":972,"date":973,"author":6,"image":974,"readingMinutes":187,"category":920,"project":928,"tags":975,"draft":923,"series":930,"seriesOrder":930},"\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",[933,934,976],"websocket",{"path":978,"title":979,"description":980,"date":981,"author":6,"image":982,"readingMinutes":98,"category":944,"project":930,"tags":930,"draft":923,"series":930,"seriesOrder":930},"\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",{"path":984,"title":985,"description":986,"date":987,"author":6,"image":988,"readingMinutes":98,"category":955,"project":945,"tags":989,"draft":923,"series":930,"seriesOrder":930},"\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",[959,990,991],"deployment","idempotency",{"path":993,"title":994,"description":995,"date":996,"author":997,"image":998,"readingMinutes":155,"category":955,"project":930,"tags":930,"draft":923,"series":930,"seriesOrder":930},"\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":1000,"title":1001,"description":1002,"date":1003,"author":6,"image":930,"readingMinutes":187,"category":955,"project":956,"tags":1004,"draft":923,"series":961,"seriesOrder":1005},"\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",[958,959,949],0,{"path":1007,"title":1008,"description":1009,"date":1010,"author":6,"image":1011,"readingMinutes":98,"category":944,"project":945,"tags":1012,"draft":923,"series":930,"seriesOrder":930},"\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",[949,1013,1014],"fastify","security",{"path":1016,"title":1017,"description":1018,"date":1019,"author":6,"image":1020,"readingMinutes":116,"category":955,"project":945,"tags":1021,"draft":923,"series":930,"seriesOrder":930},"\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",[947,948,959],{"path":1023,"title":1024,"description":1025,"date":1026,"author":6,"image":1027,"readingMinutes":98,"category":944,"project":945,"tags":1028,"draft":923,"series":930,"seriesOrder":930},"\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",[949,1029,1030],"documentation","ai-agents",{"path":1032,"title":1033,"description":1034,"date":1035,"author":6,"image":1036,"readingMinutes":155,"category":955,"project":945,"tags":1037,"draft":923,"series":930,"seriesOrder":930},"\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",[948,959,934],{"path":1039,"title":1040,"description":1041,"date":1042,"author":6,"image":930,"readingMinutes":187,"category":955,"project":956,"tags":1043,"draft":923,"series":961,"seriesOrder":75},"\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",[958,959,960,1044],"netlify",{"path":1046,"title":1047,"description":1048,"date":1049,"author":6,"image":1050,"readingMinutes":98,"category":1051,"project":1052,"tags":1053,"draft":923,"series":930,"seriesOrder":930},"\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","Design and Architecture","The EkoHacks CLI",[1054,1055,1056,1057],"composition","cli-design","narration","encoding-the-release",{"path":1059,"title":1060,"description":1061,"date":1062,"author":6,"image":1063,"readingMinutes":187,"category":1051,"project":928,"tags":1064,"draft":923,"series":930,"seriesOrder":930},"\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",[1065,933,1066],"design","error handling",{"path":1068,"title":1069,"description":1070,"date":1071,"author":6,"image":1072,"readingMinutes":155,"category":955,"project":945,"tags":1073,"draft":923,"series":930,"seriesOrder":930},"\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",[948,990,959],{"path":1075,"title":1076,"description":1077,"date":1078,"author":6,"image":1079,"readingMinutes":155,"category":944,"project":945,"tags":1080,"draft":923,"series":930,"seriesOrder":930},"\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",[947,948,949],{"path":1082,"title":1083,"description":1084,"date":1085,"author":6,"image":1086,"readingMinutes":91,"category":1051,"project":945,"tags":1087,"draft":923,"series":930,"seriesOrder":930},"\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",[1065,1088,1089],"data","onboarding",{"path":1091,"title":1092,"description":1093,"date":1094,"author":6,"image":930,"readingMinutes":155,"category":920,"project":1052,"tags":1095,"draft":923,"series":930,"seriesOrder":930},"\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",[1096,933,1055,1097],"user-testing","linear",{"path":1099,"title":1100,"description":1101,"date":1102,"author":6,"image":1103,"readingMinutes":116,"category":920,"project":945,"tags":1104,"draft":923,"series":930,"seriesOrder":930},"\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",[934,933,1105],"mocks",{"path":1107,"title":1108,"description":1109,"date":1110,"author":6,"image":1111,"readingMinutes":98,"category":955,"project":1052,"tags":1112,"draft":923,"series":930,"seriesOrder":930},"\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",[1113,1114,1115,1057],"automation","releasing","process",{"path":1117,"title":1118,"description":1119,"date":1085,"author":6,"image":1120,"readingMinutes":91,"category":955,"project":945,"tags":1121,"draft":923,"series":930,"seriesOrder":930},"\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",[959,991,1122],"webhooks",{"path":1124,"title":1125,"description":1126,"date":1127,"author":6,"image":930,"readingMinutes":155,"category":955,"project":945,"tags":1128,"draft":923,"series":930,"seriesOrder":930},"\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",[1129,1130,1054,959],"shell","provisioning",{"path":1132,"title":1133,"description":1134,"date":930,"author":1135,"image":1136,"readingMinutes":57,"category":1051,"project":1137,"tags":930,"draft":923,"series":930,"seriesOrder":930},"\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":1139,"title":1140,"description":1141,"date":1142,"author":6,"image":930,"readingMinutes":187,"category":920,"project":956,"tags":1143,"draft":923,"series":961,"seriesOrder":116},"\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",[958,934,960],{"path":1145,"title":1146,"description":1147,"date":1148,"author":6,"image":1149,"readingMinutes":75,"category":920,"project":930,"tags":930,"draft":923,"series":930,"seriesOrder":930},"\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":1151,"title":1152,"description":1153,"date":1154,"author":6,"image":1155,"readingMinutes":116,"category":920,"project":1052,"tags":1156,"draft":923,"series":930,"seriesOrder":930},"\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",[933,1157,1158,1057],"testing-without-mocks","james-shore",{"path":1160,"title":1161,"description":1162,"date":1163,"author":6,"image":930,"readingMinutes":155,"category":920,"project":945,"tags":1164,"draft":923,"series":1166,"seriesOrder":57},"\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",[934,933,1105,1165],"coverage","What Mocks Cost",{"path":1168,"title":1169,"description":1170,"date":1171,"author":6,"image":1172,"readingMinutes":116,"category":1051,"project":928,"tags":1173,"draft":923,"series":930,"seriesOrder":930},"\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",[1174,1175,934,1176],"protocol","pubsub","tdd",{"path":927,"title":5,"description":922,"date":921,"author":6,"image":925,"readingMinutes":155,"category":920,"project":928,"tags":1178,"draft":923,"series":930,"seriesOrder":930},[933,934,935],{"path":1180,"title":1181,"description":1182,"date":1183,"author":6,"image":1184,"readingMinutes":116,"category":944,"project":945,"tags":1185,"draft":923,"series":930,"seriesOrder":930},"\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",[947,948,949],{"path":1187,"title":1188,"description":1189,"date":1190,"author":6,"image":1191,"readingMinutes":192,"category":955,"project":945,"tags":1192,"draft":923,"series":930,"seriesOrder":930},"\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",[959,1193,1194,1195],"debugging","european-tech","community",{"path":1197,"title":1198,"description":1199,"date":1200,"author":6,"image":1201,"readingMinutes":155,"category":1051,"project":928,"tags":1202,"draft":923,"series":930,"seriesOrder":930},"\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",[1065,1176,1203],"continuous integration",{"path":1205,"title":1206,"description":1207,"date":1208,"author":6,"image":1209,"readingMinutes":98,"category":944,"project":930,"tags":930,"draft":923,"series":930,"seriesOrder":930},"\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":1211,"title":1212,"description":1213,"date":1214,"author":6,"image":1215,"readingMinutes":187,"category":944,"project":945,"tags":1216,"draft":923,"series":930,"seriesOrder":930},"\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",[1217,1218,1219,1097],"graphql","stories","xp",{"path":1221,"title":1222,"description":1223,"date":1224,"author":6,"image":1225,"readingMinutes":116,"category":920,"project":1052,"tags":1226,"draft":923,"series":930,"seriesOrder":930},"\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",[1176,1227,1228,1057],"red-first","code-review",{"path":1230,"title":1231,"description":1232,"date":1233,"author":6,"image":1234,"readingMinutes":116,"category":955,"project":1052,"tags":1235,"draft":923,"series":930,"seriesOrder":930},"\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",[1114,1236,947,1057],"preflight",{"path":1238,"title":1239,"description":1240,"date":1241,"author":6,"image":1242,"readingMinutes":116,"category":955,"project":928,"tags":1243,"draft":923,"series":930,"seriesOrder":930},"\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",[1244,933,934],"shutdown",{"path":1246,"title":1247,"description":1248,"date":1249,"author":6,"image":1250,"readingMinutes":155,"category":955,"project":928,"tags":1251,"draft":923,"series":930,"seriesOrder":930},"\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",[1252,934,949],"packaging",{"path":1254,"title":1255,"description":1256,"date":1257,"author":6,"image":1258,"readingMinutes":98,"category":1051,"project":1052,"tags":1259,"draft":923,"series":930,"seriesOrder":930},"\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",[1113,1260,1065,1057],"human-in-the-loop",{"path":1262,"title":1263,"description":1264,"date":1265,"author":6,"image":1266,"readingMinutes":155,"category":955,"project":945,"tags":1267,"draft":923,"series":930,"seriesOrder":930},"\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",[948,959,949],{"path":1269,"title":1270,"description":1271,"date":1272,"author":6,"image":1273,"readingMinutes":155,"category":955,"project":928,"tags":1274,"draft":923,"series":930,"seriesOrder":930},"\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",[1244,959,1275],"signals",{"path":897,"title":1277,"description":1278,"date":1279,"author":6,"image":1280,"readingMinutes":192,"category":944,"project":928,"tags":1281,"draft":923,"series":930,"seriesOrder":930},"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",[1228,935,1282,934],"teaching",{"path":1284,"title":1285,"description":1286,"date":1287,"author":6,"image":1288,"readingMinutes":155,"category":1051,"project":928,"tags":1289,"draft":923,"series":930,"seriesOrder":930},"\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",[1065,1175,933],{"path":1291,"title":1292,"description":1293,"date":1294,"author":6,"image":930,"readingMinutes":187,"category":955,"project":956,"tags":1295,"draft":923,"series":961,"seriesOrder":57},"\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",[958,959,960],{"path":1297,"title":1298,"description":1299,"date":1300,"author":6,"image":1301,"readingMinutes":192,"category":955,"project":945,"tags":1302,"draft":923,"series":930,"seriesOrder":930},"\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",[959,1193,1194,1195],{"path":1304,"title":1305,"description":1306,"date":1307,"author":6,"image":1308,"readingMinutes":98,"category":944,"project":1052,"tags":1309,"draft":94,"series":930,"seriesOrder":930},"\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",[1114,1310,1311,1057],"dogfooding","acceptance-testing",{"path":1313,"title":1314,"description":1315,"date":1316,"author":6,"image":1317,"readingMinutes":187,"category":920,"project":928,"tags":1318,"draft":923,"series":930,"seriesOrder":930},"\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",[934,933,1319],"scriptrunner",{"path":1321,"title":1322,"description":1323,"date":1324,"author":6,"image":930,"readingMinutes":192,"category":955,"project":956,"tags":1325,"draft":923,"series":961,"seriesOrder":155},"\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",[958,959,1326],"performance",{"path":1328,"title":1329,"description":1330,"date":1331,"author":6,"image":1332,"readingMinutes":187,"category":920,"project":928,"tags":1333,"draft":923,"series":930,"seriesOrder":930},"\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",[934,933,976],{"path":1335,"title":1336,"description":1337,"date":1338,"author":1135,"image":1339,"readingMinutes":155,"category":944,"project":1340,"tags":1341,"draft":923,"series":930,"seriesOrder":930},"\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",[949,1342,1088,1282],"content",{"path":1344,"title":1345,"description":1346,"date":1171,"author":6,"image":1347,"readingMinutes":116,"category":920,"project":928,"tags":1348,"draft":923,"series":930,"seriesOrder":930},"\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",[933,934,949,1282],{"path":1350,"title":1351,"description":1352,"date":1338,"author":1135,"image":1353,"readingMinutes":98,"category":944,"project":1340,"tags":1354,"draft":923,"series":930,"seriesOrder":930},"\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",[1355,947,1282,1356],"workflow","accessibility",{"path":1358,"title":1359,"description":1360,"date":1361,"author":6,"image":930,"readingMinutes":155,"category":920,"project":945,"tags":1362,"draft":923,"series":1166,"seriesOrder":75},"\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",[934,933,1105,1165],{"path":1364,"title":1365,"description":1366,"date":1367,"author":6,"image":1368,"readingMinutes":187,"category":955,"project":945,"tags":1369,"draft":923,"series":930,"seriesOrder":930},"\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",[959,991,1370],"observability",{"path":1372,"title":1373,"description":1374,"date":1375,"author":6,"image":930,"readingMinutes":187,"category":920,"project":945,"tags":1376,"draft":923,"series":930,"seriesOrder":930},"\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",[1356,934,1065,949],{"path":1378,"title":1379,"description":1380,"date":1381,"author":6,"image":1382,"readingMinutes":91,"category":1051,"project":945,"tags":1383,"draft":923,"series":930,"seriesOrder":930},"\u002Fblog\u002Ftwo-validators-one-gate","Two Validators, One Gate","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.","2026-07-07T22:06:46.000Z","\u002Fimages\u002Fblog\u002Ftwo-validators-one-gate-hero.jpg",[1065,1384,1385],"validation","typescript",{"path":1387,"title":1388,"description":1389,"date":1390,"author":6,"image":1391,"readingMinutes":155,"category":955,"project":945,"tags":1392,"draft":923,"series":930,"seriesOrder":930},"\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",[948,959,990],{"path":1394,"title":1395,"description":1396,"date":1397,"author":6,"image":930,"readingMinutes":187,"category":955,"project":956,"tags":1398,"draft":923,"series":961,"seriesOrder":187},"\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",[968,959,1399],"analytics",{"path":1401,"title":1402,"description":1403,"date":1404,"author":6,"image":1405,"readingMinutes":155,"category":955,"project":1052,"tags":1406,"draft":923,"series":930,"seriesOrder":930},"\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",[1114,1407,933,1057],"failure-modes",{"path":1409,"title":1410,"description":1411,"date":1412,"author":6,"image":930,"readingMinutes":155,"category":955,"project":956,"tags":1413,"draft":923,"series":961,"seriesOrder":98},"\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",[958,959,960],{"path":1415,"title":1416,"description":1417,"date":1418,"author":6,"image":930,"readingMinutes":155,"category":920,"project":945,"tags":1419,"draft":923,"series":1166,"seriesOrder":91},"\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",[934,933,1105,1165],{"path":1421,"title":1422,"description":1423,"date":1424,"author":6,"image":930,"readingMinutes":187,"category":955,"project":956,"tags":1425,"draft":923,"series":961,"seriesOrder":192},"\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",[968,959,1399],{"path":1427,"title":1428,"description":1429,"date":1430,"author":6,"image":1431,"readingMinutes":98,"category":1051,"project":930,"tags":930,"draft":923,"series":930,"seriesOrder":930},"\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",1787861096806]