Building Haggis-gotchi with Kiro: Specs, Property Tests, and a Wee Beastie That Feels the Haar

Written for the Kiroween 2026 hackathon.

Tamagotchis used to live in your pocket and croak in a drawer like a forgotten banana. They never kent it was pishing down, that your morning had gone pear-shaped, or that there was a chunk of tablet sitting right next to your keyboard. I wanted a wee beastie that actually notices the world outside your window—and Scotland already had the ideal candidate: the wild haggis, which every bairn in the country is solemnly told has longer legs on one side so it can only run one way round a hill. One slip and it’s rolling straight to the bottom.

Haggis-gotchi is what came out the other end. A wee Haggling hatches from an egg on your phone, lives for about six weeks, reacts to your real local weather, keeps a diary, and gets a headstone in the mother’s kirkyard when it finally heads off to the big glen in the sky. It’s live at haggisgotchi.com, and the whole caboodle—including every Kiro spec, steering file, and hook—is at github.com/shielyule/haggis-gotchi.

This is the technical post-mortem: what worked, what went sideways like a Haggling on icy grass, and how Kiro changed my day-to-day engineering workflow.

Cute furry creature dressed as a ghost, waving with one paw.

What it actually does

  • Claim an egg on your phone. It’s a Progressive Web App, so you install it straight from the browser with zero app-store faffery. A single 6-digit email code gets you in.
  • A birth story. Answer a few wee questions (favourite weather, a family saying) to seed a story, then slide across six Scots temperaments—from Douce (mild-mannered and polite) to Fair Wud (away with the fairies and looking for a scrap). Twenty seconds later it hatches with its own short film.
  • Care. Feed it, cuddle it, take it for a walk, clean up after it, put it to bed, play Haggis Run (guess which way it’s legging it round the hill), or give it a telling-off—fairly or completely unfairly—when it gets up to mischief.
  • Real weather. Three times a day, local forecast data shifts its mood. Every temperament reacts differently: Douce loves a soft rain, Skeigh gets jumpy at thunder, Fair Wud thrives in a proper gale, and every Haggling loves the haar (that cold coastal sea mist that creeps in and makes everything damp and atmospheric).
  • Photo Treat. Snap a picture of something properly Scottish—tablet, shortbread, tartan, heather, bagpipes, a can of Irn-Bru—and computer vision checks it. Every meter gets a boost. Hold up something random instead and it’ll give you its honest, unfiltered opinion on what it’s looking at.
  • Growing up. It progresses through Baby, Child, Teen, Adult, and Old stages, unlocking fresh artwork and films along the way, seasonal outfits, and stage-specific quirks (teenagers won’t be seen dead getting cuddled in public; older legs prefer a gentle amble rather than a sprint).
  • A daily diary. Every evening, an AI writes a diary entry in the Haggling’s own voice based on what actually happened that day. The scrapbook keeps every single page for posterity.
  • A daily folklore riddle. Kelpies, selkies, the Callanish Stones—proper mythical brain-teasers rather than pub-quiz trivia.
  • The send-off. After around six weeks: an epitaph written from how you looked after it, a stone in a painted isometric kirkyard, and an optional wee ghost if it’s not quite ready to leave the blether.

Architecture

Fantasy-style architecture diagram showing a Supabase-powered web app, with a home server tower, desktop castle, bridge, database security, edge functions, and cloud service integrations.

One core invariant governs state: a Haggling is never cloned. Each one belongs to a home device; other devices can spectate, and an explicit “Move here” action transfers ownership cleanly. That rule came out of a mid-build pivot, which I’ll get to shortly.

Cute illustrated hedgehog wearing a thistle flower crown and colorful swirling body markings, waving one paw.

One care engine, everywhere

The best architectural call in the whole build was isolating all care mechanics inside a single pure TypeScript package (packages/care-engine) with zero DOM, browser, or database dependencies. The PWA imports it on the client, Supabase Edge Functions import the exact same modules in Deno, and the test suite runs them under Node. Tweak a constant in rules.ts and every execution surface stays locked in step.

Continuous time drives the simulation. Between visits, a Haggling’s meters decay deterministically:

Vintage scroll displaying the mathematical formula “hungr(tt) max(0, h₀ − 9 · t · w · s)”

where t is awake hours elapsed, w is the temperament multiplier (for instance, 1.15 for wilder temperaments so a Radge gets the munchies quicker than a Douce), and s is the life-stage modifier. While asleep, hunger decays at half rate and energy recovers. Skipping breakfast while hungry dings Health XP, whereas Life XP is monotonic—it only ever climbs and drives a D&D-style level progression.

When an offline phone syncs back up with cloud state, reconciliation follows a deterministic rule from the sync-conflict spec:

WHEN two snapshots meet, THE SYSTEM SHALL keep the whole meter set from the snapshot with the later updated_at. IF updated_at is equal, THEN the mother (cloud) snapshot SHALL win.

Scrapbook entries and applied weather slots merge as set unions so neither side quietly drops memories or weather events.

Adorable hedgehog wearing a tartan vest and kilt, playing bagpipes and waving.

Spec-first with Kiro

Let’s not pretend the timeline was a straight line from day one. Kiro hackathon credits arrived later than I hoped, so the initial slice—the mother page, auth flow, and basic care loop—was prototyped elsewhere first. Once the credits came through on 16 November, step one in Kiro was a proper gap analysis: reconciling the existing code against rewritten specs and ticking tasks only where reality matched the claim. All of that is logged in docs/PROVENANCE.md.

After that reset, new work started as a spec under .kiro/specs/ (17 specs in total), each structured around three artefacts:

  1. requirements.md: Concise, testable EARS statements (WHEN ... THE SYSTEM SHALL ...).
  2. design.md: Module boundaries, data shapes, and—once property testing clicked—explicit correctness properties.
  3. tasks.md: Granular implementation steps checked off only after verification, with commits referencing the spec and task.

Where spec-first really paid off wasn’t greenfield typing—it was change management. Shifting the age rating to 18+ or deciding riddles should be strictly hand-authored went into the requirement with a date and rationale first, then propagated into implementation and tests. Six months down the line, I won’t be scratching my head wondering why a guard exists.

Cute cartoon creature with yellow fur, large ears, a duck-like beak, and a long rat-like tail waving against a beige background

Steering: teaching Kiro from mistakes

Steering files (.kiro/steering/) act as persistent project instructions injected into Kiro’s context. I ended up with six: product, technical architecture, Scottish folklore voice, security, property testing, and owner-instructions.md.

owner-instructions.md exists because of a classic “two hours of your life you aren’t getting back” afternoon. On 16 November, I followed a Kiro setup guide for locking down a cron endpoint with a secret, and every invocation hit "server not configured". After two speculative workarounds went nowhere, the root cause turned out to be a platform default change on Supabase’s side from 30 October (new projects no longer receiving automatic table grants), which static assumptions missed.

We documented the incident and codified a standing rule. Any operational guide Kiro drafts for me now has to:

  • check the relevant provider’s changelog over the last six months first;
  • run every read-only inspection command it can before asking me to click through dashboards;
  • present one action per step with explicit “You should see” and “If you see something else” branches;
  • state clearly whether Kiro actually verified the steps.

Turning a painful one-off hiccup into a repeatable steering constraint is easily one of the highest-leverage habits in the repo.

Illustration of a punk-styled hedgehog with red-tipped spines, a backpack, and a smartphone

Hooks

I configured four hooks in .kiro/hooks/ to enforce guardrails automatically on events:

  • secret-guard (PreToolUse): Blocks file writes matching credential/token patterns (JWTs, Resend API keys, AWS access key IDs, Supabase service-role keys) so secrets stay in environment/Vault configuration rather than source files.
  • domain-language guard: Runs after edits to keep product copy aligned with the Scottish care voice and free of stray crypto/web3 jargon.
  • schema-regen reminder: Triggers after migrations as a nudge to regenerate schema.sql and review Row-Level Security (RLS) policies.
  • properties follow requirements: Watches requirements.md edits and triggers an agent pass to update correctness properties and tests—without weakening invariants just to get green ticks.

JSON

{
"name": "Properties follow requirements",
"trigger": "PostFileSave",
"matcher": "\\.kiro/specs/.+/requirements\\.md$",
"action": {
"type": "agent",
"prompt": "A spec's requirements.md was just changed. ... Never weaken a property to make it pass."
}
}

MCP: a custom weather server

To keep weather tuning grounded in actual engine numbers rather than guesswork, I built a small MCP server (haggis-weather) exposing three tools:

  • get_current_weather
  • classify_weather (mapping Open-Meteo readings into twelve Scottish weather buckets, from dreich to haar)
  • weather_effect (computing how a given temperament responds)

When iterating on mood curves, Kiro could query weather_effect directly to see how a Radge behaves under hot sun versus sideways rain instead of eyeballing values. I also wired up the AWS documentation MCP server while integrating Rekognition.

Illustration of a stylish anthropomorphic lion wearing a denim jacket and headphones while holding a smartphone, surrounded by vinyl records and film reels.

Property-based testing: the part that surprised me

Example-based unit tests are great at checking the scenarios you anticipated—like feeding a Haggling at 50 hunger and asserting it rises to 78. Property-based testing with fast-check flips that around: you declare an invariant across arbitrary inputs, let the generator hammer edge cases, and let shrinking find the minimal failing input when something breaks.

Kiro translated the EARS requirements into 62 properties. Here’s the shape of one checking monotonic Life XP:

TypeScript

test('P2 Life XP never goes down (photo-care R5.4)', () => {
fc.assert(
fc.property(world, ([at, temp, stage, haggling, steps]) => {
run(haggling, temp, stage, steps, at, (prev, next) =>
assert.ok((next.lifeXp ?? 0) >= (prev.lifeXp ?? 0)))
}),
)
})

On the initial run, 38 properties passed and 7 failed. A few of the real bugs it flushed out:

  • Frozen bars while watching the screen. With the care view open, the client re-ticks every 30 seconds. Rounding meters to integers on each tick meant a tiny 30-second hunger delta (around -0.075) rounded right back to zero, while “hungry” and “messy” mood penalties were being applied per tick rather than per hour. In practice, a fed Radge with the app closed for two hours dropped from 80 to 59 hunger, whereas keeping the screen open left it stuck at 80—and a hungry one lost 5 Mood over 30 minutes closed versus 60 with the screen open. Coarse-grained example tests missed it completely; a sampling-frequency invariance property nailed it on the first counterexample. Fix: preserve floating-point precision inside the engine, round only at display/persistence boundaries, and prorate penalties per hour.
  • Breakfast judged in UTC. Evaluating local clock hours on the host environment meant a client device in one time zone and a server job running in UTC could disagree on morning windows, risking unfair Health XP penalties at odd hours. Passing the carer’s time zone explicitly into the engine and testing across multiple time zones closed that gap.
  • A Haggling named "00000". A later CI run failed on iteration 248 of a newly added property. Our AI output filter strips long digit sequences to prevent phone-number leakage, but it didn’t exempt the Haggling’s own name—so a pet named with digits couldn’t receive generated lines. Purely random inputs caught a case no human test author would have thought to type.
  • Pronoun slips in AI output. Hagglings default to they/them unless given another identity. An early live Gemini response came back with “he’s bouncin aff the walls”. Tightening the prompt and output validator exposed sneaky substring/name-scrubbing edge cases when names were single characters or punctuation ("t", "s", "-")—where naive string stripping turned "Another" into "ano her" or clipped "she's".

Across the suite, property tests surfaced 11 genuine issues. They run in GitHub CI and during the Cloudflare build so broken rules don’t slip into production, backed by a steering rule requiring new specs to declare properties up front and the hook keeping them aligned.

Stylized anthropomorphic bear wearing a cowboy hat, black sweater, plaid skirt, and combat boots while carrying a studded backpack.

Photo recognition: reading the evidence

Photo Treat resizes an image on the client and calls Amazon Rekognition (object labels + text detection), passing the results into a pure classification function without storing the raw photo. Rules are derived from captured Rekognition fixtures rather than guesswork.

Irn-Bru was a textbook example. Sideways or angled cans often confuse text recognition on the main logo (one test shot came back reading "BAN URN", which sounds like a punk band from Cumbernauld rather than Scotland’s other national drink). However, the tagline “ORIGINAL AND BEST” was consistently detected at 98–100% across orientations, so pairing that text match with a drink container label gave a reliable rule that doesn’t falsely trigger on cola or orange soda controls.

Tablet (the dangerously sweet Scottish confection, not an iPad) was added for filming where commercial brand logos can’t appear. Across multiple angles, Rekognition reliably read "Tablet" at ≥99.6% alongside sweet/candy labels, so requiring both—while rejecting hardware/device labels—keeps actual tablets from masquerading as confectionery.

AI words, fallback first

Diary entries and “What’s that?” photo reactions use generative AI, under a strict rule from day one: core gameplay never depends on AI availability. Every generation path follows the same contract:

  • Bounded inputs only: Haggling name and temperament, weather bucket, nearest town rounded to coarse precision (never exact coordinates), care summary, or detected photo labels (never raw images or people).
  • Post-generation validation: Length bounds, presence of the Haggling’s name, blocklists, and checks against URLs, emails, long digit runs, or unintended pronouns.
  • Deterministic fallback: If the provider is down, exceeds a 10-second timeout, hits a 400-call daily cap, triggers a safety filter, truncates, or fails validation, the app falls back cleanly to pre-written lines.
  • Sanitized telemetry: Failure reason and status code only.

That fallback design got stress-tested almost immediately. I initially wired the text generation path to Amazon Bedrock (Amazon Nova Lite in eu-west-2), and live calls failed right out of the gate. Once default client retries (burning ~24 seconds) were bypassed, the underlying error was 429 ThrottlingException: Too many tokens per day—on the very first call from a brand-new account. Service Quotas showed a daily token quota of 0 marked non-adjustable, and support responses couldn’t unblock it in time for the hackathon window.

Fourteen calls, zero successes, and players didn’t see a single broken screen because every call fell back to written lines. After two days I switched generation over to Google Gemini (paid tier), which responded in roughly a second. Because Gemini’s terms require an 18+ service, I updated the app’s age gate from 13+ to 18+ that same afternoon. The full incident log (docs/INCIDENT-2026-11-23-aws-bedrock-quota.md) became another steering lesson: probe every external service with a real call on day one before building features on top of it.

Riddles went in the opposite direction. While Gemini generated fluent riddles, one conflated two distinct folklore legends—and automated structural checks can’t verify mythological accuracy. So the 24 riddles are hand-authored, one per topic, and fact-checked by hand.

Illustration of an anthropomorphic rat wearing glasses, a hoodie, and overalls while holding a water bottle beside a bag and digital scale.

Security and privacy

Even when a project starts with a bit of silliness, real user emails and state mean taking security seriously:

  • Row-Level Security (RLS) enabled across every table with explicit WITH CHECK clauses on update policies, backed by database tests verifying cross-carer isolation across eggs, Hagglings, and scrapbooks.
  • Egg claiming routed through a single Edge Function protected by Cloudflare Turnstile, strict schema/length/4 KB payload validation, and hashed rate limits (3 claims per email per day, 10 per connection per hour).
  • Scheduled jobs invoke Edge Functions using a secret stored in Supabase Vault and verified with constant-time comparison.
  • Location privacy: Coordinates are quantized to 0.1° (~11 km) on the client prior to transmission or storage.
  • HTTP hardening: Strict Content Security Policy, HSTS, framing restrictions, and permissions policy headers.
  • Account deletion: Full cascading removal starting from the auth user.
  • Database migrations: Numbered SQL migrations exercised inside rolled-back transactions, preceded by a control check expected to fail before applying.

The pivot

Midway through, testing the end-to-end flow on an actual phone made one thing painfully obvious: it was too clunky. Hatching on the desktop mother page and transferring to a phone via a second sign-in and claim code meant juggling multiple codes and emails just to look after a virtual pet you’re meant to check in on a few times a day.

Moving to a phone-first model—install from the mobile browser, one email code, and single “home device” ownership so Hagglings aren’t duplicated—fixed the ergonomics. The desktop mother page shifted to its rightful role: surveying the brood, browsing the public scrapbook, and strolling through the kirkyard (docs/PIVOT-2026-11-17-phone-first.md). Testing the real mobile loop earlier would have saved a lot of friction.

Ivy-covered abandoned chapel with a round clover-shaped window in a foggy cemetery

What I’d do differently

  • Smoke-test every hosted service on day one. One live call would have caught the Bedrock zero-quota wall before three features were wired up to it.
  • Write correctness properties alongside specs from the start. The nastiest timing bug hid inside code that passed conventional example tests for a week.
  • Keep honest engineering notes as you go. Incident logs, pivot notes, and provenance records proved just as valuable to future-me as to anyone reading the repo.

By the numbers

  • 17 specs, 6 steering files, 4 hooks, 2 MCP servers
  • 184 automated tests (62 property-based), catching 11 real issues
  • 10 Edge Functions, 20 database migrations, 9 scheduled jobs
  • 6 temperaments × 5 life stages of original art, 36 films, 30 seasonal outfits, 24 hand-written riddles
  • 1 Bedrock daily token allowance of 0

Try it

Built for the Kiroween 2026 hackathon with Kiro. Artwork started from my own sketches alongside Google Gemini and Leonardo.Ai. #KiroweenHackathon26

How to Monetise Catatonia on the British Grid

Tucked behind an abandoned pallet depot off an unclassified road in Leicestershire, behind palisade fencing topped with concertina razor wire that hasn’t caught an intruder since 1997, sits an unremarkable green metal shipping container.

It does not generate electricity. It has not generated electricity since an unseasonably crisp evening in late November 2024.

Inside its sound-dampened shell sits a 2.5-megawatt turbocharged marine diesel engine, salvaged from a decommissioned Norwegian car ferry. Its block is freezing cold. A family of field mice has built an intricate, three-bedroom nesting complex out of shredded wiring harness inside the air intake manifold. Its sump holds eight hundred litres of thick, black mineral sludge that possesses the viscosity of chilled treacle.

Infographic showing RPI-linked T-4 auction clearing and retainer fees flowing to a Jenbacher Type 6 generator, with zero dispatch, zero emissions, and £65 per kW collected.

In an ordinary economic system—one grounded in primitive concepts like producing goods or rendering services—this hunk of dead industrial iron would be hauled away by a man named Gary with a flatbed truck and a gas axe, then melted down into manhole covers.

Under the majestic architecture of the UK Capacity Market, however, this container is not scrap metal.

It is Capacity Market Unit (CMU) ref: DIES-LEIC-04.

It holds a binding, statutory, fifteen-year index-linked contract awarded under a Department for Energy Security and Net Zero auction. Every quarter, regardless of whether its crankshaft turns a single revolution, an automated clearing system silently wires £42,500 into a corporate bank account in the Channel Islands.

Its primary commercial deliverable is not energy. Its deliverable is catatonia.

In the modern British energy transition, moving electrons is an operational headache that invites risk, wear-and-tear, and angry emails from the Environment Agency. The real money lies in being paid a retainer simply to sit in the weeds, cold and quiet, swearing on your mother’s grave that if the apocalypse arrives, you are theoretically capable of combusting red diesel.

The Theology of the “De-Rated” Megawatt

To understand why our countryside is being quietly colonized by rows of silent green containers and unscrubbed open-cycle gas peakers, one must visit the high temple of system reliability: the T-4 Capacity Auction.

Every winter, the National Energy System Operator (NESO) and the civil service gaze into an econometric crystal ball. They run Monte Carlo simulations of the Loss of Load Expectation (LOLE)—the statistical probability that British citizens will find themselves sitting in the dark eating tinned peaches with a screwdriver.

The regulatory target is three hours of blackout per year. Any more, and governments fall; any less, and the Treasury experiences chest pains.

To prevent the dreaded LOLE event, the state created an auction that buys not energy, but the sovereign right to hope energy might exist four years from now.

Infographic comparing unreliable renewable energy, short-duration batteries, and dependable fossil-fuel generators in a grid reliability contract and cash flow system.

Enter the concept of the De-Rating Factor.

If you build an immaculate, state-of-the-art offshore wind turbine that scrapes five megawatts of kinetic gold out of the North Sea gale, the Capacity Market treats you like an untrustworthy drifter. You are awarded a de-rating factor of perhaps 8%. Because when a freezing Scandinavian anticyclone settles over the British Isles—the dreaded Dunkelflaute—the wind drops, the solar panels freeze over, and your multi-million-pound composite blades do nothing except provide a chilly perch for passing gulls.

If you drag four rusted Caterpillar engines out of a quarry in Derbyshire, wire them to a fuel tank filled with agricultural gas oil, and install a smoke detector, you are rewarded with an availability rating north of 90%.

The auction clearing price, once a modest £15 to £20 per kilowatt-year, has in recent auctions cleared as high as £60 to £75/kW/year.

Do the maths: a fleet of small reciprocating engines or an uninsulated 1970s gas peaker can easily clear hundreds of thousands of pounds a year simply for having a working telephone line and an engineer who promises to answer it if the grid starts wheezing.

The Liturgy of the Capacity Market Notice

What happens when the weather actually breaks?

When a January dusk brings a frozen high-pressure front, forty million people switch on their kettles, the French interconnector experiences a mysterious software panic, and the system frequency begins to drift downward toward 49.7 Hertz?

The control room issues a Capacity Market Notice (CMN).

Infographic showing a national grid emergency capacity market notice, generator failure, system recovery, and a £2,500/MWh capacity market price leading to a non-negotiable daily electricity charge.

Across the light industrial estates of Britain, small miracles of deferred maintenance occur.

In Scunthorpe, a bank of four-stroke gas reciprocating engines—designed for continuous running in an oil refinery but repurposed as merchant flex assets—is jolted into wakefulness by an automated relay. Starter motors scream like tortured pigs. Glow plugs glow cherry red through layers of baked oil.

Sometimes they start. They cough a furious cloud of black particulates and uncombusted hydrocarbons into the twilight, rattling the corrugated iron roofs of neighbouring carpet warehouses, and deliver four megawatts into the 11kV distribution board for forty-five minutes. For those forty-five minutes, they don’t just harvest the standard wholesale rate; they extract extortionate, four-digit cashout sums from the Balancing Mechanism.

And if the solenoid sticks? If the engine block has rusted solid to its mountings? If the field mice have chewed clean through the starter relay?

The penalties for non-delivery are mathematically calibrated by regulatory economists to ensure that no infrastructure fund manager ever loses sleep. The penalty is capped at a fraction of the annual capacity payment.

If your diesel farm detonates on the launchpad, you don’t go bust. You simply forfeit a sliver of that quarter’s bonus, file a technical variance, and spend the remaining nine months of the year collecting your guaranteed retainer while waiting for Gary to source a replacement gasket on eBay.

The Irony of the Standing Charge Pipeline

The sublime genius of the Capacity Market is that it is entirely invisible to the average citizen until they look at their utility bill with a magnifying glass.

It does not appear as a terrifying itemised entry labeled “Bribe paid to a hedge fund in Mayfair to keep twelve diesel engines idling in a muddy ditch in Kettering.”

Infographic showing capacity market auction proceeds, electricity supplier settlement, non-commodity cost containment, and a daily standing charge.

It is laundered directly through the electricity supplier levy, packed into the non-commodity costs, and smeared evenly across the population through the daily Standing Charge.

The pensioner living in an unheated council flat in Greenock, who sits beneath two blankets and a polyester duvet to keep her electricity consumption at zero kilowatt-hours, pays the exact same daily tribute to the Leicestershire diesel farm as an unoccupied, six-story stucco townhome in South Kensington.

We have engineered a system where the fuel-poor pay an involuntary daily retainer to private equity syndicates, who use the cash to maintain a standing army of antique fossilized iron that rarely runs, rarely cleans its exhaust, and exists purely as an actuarial insurance policy against the failure of an unreinforced, unmodernised transmission grid.

The green transition marches onward in the press releases. The billboards radiate with glossy images of clean offshore horizons and sleek glass solar parks.

But out in the unmapped edges of the Midlands, behind the fly-tipping and the elder bushes, the green shipping containers sit in the rain. Cold, quiet, and profoundly dead. Their bank accounts humming with index-linked returns, waiting for the winter wind to drop so they can cough their lungs out for forty-five minutes and claim another year’s tribute from the cold hands of the nation.

Offshore wind turbines silhouetted against a sunset over calm water

GhostMerchant – a kill switch for AI agents that buy things

Zero-trust PayPal escrow for autonomous buyers — authorize, probe, then capture or void.

Built for the PayPal AI Hackathon. Live demo and code linked at the end.

Cartoon blue ghost holding a credit card against a dark background


The problem in one Monday morning

Priya runs Finance at Acme Cloud. Over the weekend, a deploy bug sent their purchasing agent — OpsBot — into a loop: “buy more OpenAI credits,” every thirty seconds, £800 a pop.

If OpsBot held a virtual card, Monday’s surprise is a five-figure statement and a long Slack thread.

That’s the quiet risk of agentic commerce. We’re handing software the ability to spend, often with the same instrument we’d give a junior employee: a card number in a vault, maybe a limit, not much proof that the vendor was real before the money moved.

GhostMerchant is built for the other shape of the story.


What GhostMerchant is (and isn’t)

GhostMerchant is a buyer-side control plane. It sits between your buying agents and PayPal:

  1. Policy — max order size, velocity (orders per minute), trust rules
  2. AUTHORIZE — hold funds on PayPal (not capture yet)
  3. Probe — check the vendor / deliverable looks alive
  4. CAPTURE or VOID — settle only if the probe passes; otherwise poison-pill the hold
  5. Payouts (optional) — split a successful capture across agent budget emails
  6. Dispute dossier — keep the forensic trail (policy, probe, PayPal IDs, step log)

It is not a Shopify plugin for every storefront. The merchant on the other side of the payment — a SaaS vendor, a PluginMart-style shop, anyone on PayPal — stays a normal seller. GhostMerchant doesn’t need to live in their checkout. You’re controlling your agent’s wallet behaviour once.

Business professional reviewing an AI procurement dashboard showing pending office equipment purchases and PayPal payment approval.


Three stories that explain the product

1. The honeypot vendor (VOID)

Marcus in Security at Northwind Analytics has a research agent scraping “cheap GPU API” listings. It finds a slick site selling H100 access for £15. The marketing page looks fine. The actual key endpoint is dead.

Trigger: agent fires buy.
GhostMerchant: AUTHORIZE £15 → probe vendor health → fail → VOID.
Value: Marcus gets a VOIDED session with probe proof — not a captured payment to a scam shop.
For the merchant: they never receive a capture. The auth doesn’t settle.

That’s the poison pill: money was held, not taken, and the bad vendor never got paid.

2. The healthy provision (CAPTURE)

Lena at RelayDesk wires an onboarding agent that must buy email API credits when a new tenant signs up.

Trigger: signup workflow calls purchase.
GhostMerchant: AUTHORIZE → probe “key / health OK” → CAPTURE.
Value: Lena doesn’t pay for dead keys; failed probes void and the flow can retry another vendor.
For the merchant: this is when they actually get paid — an ordinary PayPal capture. GhostMerchant stayed on the buyer’s side of the counter.

3. The human still owns PayPal

Sam at BrightPath Tutoring won’t put card PANs inside an LLM tool stack. Their content agent wants a £49 stock-footage pack.

Trigger: agent requests a hold.
GhostMerchant: creates a PayPal wallet order → status awaiting approval → Sam Approves in PayPal as the company buyer → pipeline continues.
Value: spend sits under a real PayPal identity Finance can audit (and dispute later). The agent only got permission to request a hold.


Why PayPal AUTHORIZE fits

Virtual cards are great at “can this agent pay?” They’re weaker at “should this payment settle after we checked delivery?”

PayPal’s authorize-and-capture model is closer to what agent spend needs:

  • AUTHORIZE = escrow-shaped hold
  • Probe = your policy + canary check in the middle
  • CAPTURE = merchant gets paid
  • VOID = kill switch before settlement

Add velocity limits and you also blunt the 3am runaway loop before it becomes a capture storm.

Futuristic cybersecurity illustration contrasting PayPal-authorized escrow protection with a blocked scam store transaction.


What’s in the Control Room

The hackathon build ships a single Control Room dashboard:

  • Policy sandbox (currency, max order, velocity, force probe fail)
  • Fire agent purchase (dry-run or live sandbox card / wallet)
  • Live pipeline: Policy → Authorize → Probe → Settle
  • Sessions table with PayPal IDs
  • Dossier drawer for forensics

Live sandbox paths produce real order, authorization, capture, and payout identifiers — the kind of proof judges (and future customers) can trust.


Who should care

RoleWhy GhostMerchant shows up
Finance / opsKill switch and audit trail when agents spend
SecurityProbe-before-capture against honeypots and dead vendors
Agent / platform builderspurchase behind policy instead of a raw card in the prompt
Multi-agent product ownersCapture once, Payouts split across agent envelopes

If you sell on Shopify or Stripe Checkout, you’re usually the merchant counterparty, not the GhostMerchant customer — unless you’re also running buying agents of your own.


Try it

Built with PayPal Sandbox (Orders AUTHORIZE, CAPTURE/VOID, Payouts, Disputes, Webhooks), Node/Express, and Cursor + PayPal MCP while developing.


What’s next

Post-hackathon, the natural product shape is the same API with thinner clients on top: hosted Control Room, an agent SDK / MCP buy tool, and optional Chrome or Slack “Approve / freeze” for humans in the loop. The brand stays GhostMerchant; the surfaces are just how Priya and Lena meet it.

Until then: agents can shop. Finance can sleep.

— GhostMerchant — autonomous procurement with a kill switch.

Blue cartoon ghost holding an orange credit card

The Great AI Hackathon Autopsy

When 6,000 Overcaffeinated Engineers Descended on the Void

NVIDIA Open Agent Hackathon 2026 event hall with developers coding at computer workstations beneath a large stage screen.

By the Department of Digital Post-Mortems & Existential Dread

For inspiration and proof that humans still bleed code, visit shielyule.uk

The digital soil is still cooling from the Great Open Agent Hackathon of late October 2026. Over 6,000 engineers from 138 countries—essentially the United Nations of sleep-deprivation—poured their collective brain-juice into 500+ production-grade submissions.

They built agents that didn’t just chat; they reasoned, they scraped, they hallucinated with enterprise-grade confidence, and above all, they participated in what hosts Samuel J. Cummings and Israel called “a master class in community management.”

Among this glorious, sleepless horde stood our own Shiel Yule, veteran of enterprise trenches and author of satirical prose, who proudly hauled in a very respectable 50th place out of 549+ entries. Not quite the podium, but high enough to avoid the absolute void of anonymity and low enough to maintain a healthy, cynical distance from Silicon Valley utopia.

Here is the autopsy of how the world tried to build production agents—and why Shiel’s entry, DealTable, managed to survive.

Phase 1: How to Vibe Code Without Summoning Demons

The rules of the Build layer were deceptively simple: build a production agent using any AI coding tool (Cursor recommended), but you must implement at least one open-source Meterless Engine into a working feature.

  • The Build-vs-Run Split: Your coding tool writes the code (using your own subscription limits), while your app’s actual brain runs on NVIDIA Nemotron through Meterless Nightshift. Do not mix them up, unless you enjoy staring blankly at 401 Unauthorized errors while questioning your life choices.
  • The Engines:
    • H-MEM for persistent memory.
    • Markovian for long-running tasks in bounded steps.
    • World Model for shared state where parallel agents can silently overwrite each other’s work.
    • Scout Intent for routing your existential panic to the correct tool.

Shiel’s response to this? Build DealTable (dealtable-webmcp.vercel.app)—a practice negotiation room where an AI counterparty (powered by NVIDIA Nemotron via Nebius Token Factory) tries to fleece you, Tavily checks if the market rates are real, and a Human-in-the-Loop (HITL) waiver gate stops the agent from selling your grandmother’s furniture to pay a commercial landlord.

Illustration of a programmer consulting a friendly AI while a shark in a suit pitches an acquisition, contrasted with a glowing human approval shield and ethical design principles.

Phase 2: Power, Lanes, and the Holy Grail of the DGX Spark

If Build is where you sweat, Power is where you pray.

Participants had to hook up Meterless Nightshift as a primary AI provider and assign models to racing lanes:

  • Lane 1 (Fast Worker): nvidia/nemotron-3.5-lightning-30b-a3b—for quick responses and snappy retorts.
  • Lane 2 (Deep Worker): nvidia/nemotron-3-super-120b-a12b—for complex reasoning, deep corporate scheming, and second-guessing your life choices.

The ultimate prize? An NVIDIA DGX Spark—a piece of hardware so powerful it probably has its own gravitational pull and minor deity.

Who took home the crown for Best Use of NVIDIA Nemotron and doubled down by winning the whole show? None other than Proof of Stage, who apparently entered the arena, rewrote reality, and spun the block twice for good measure. Salute to the legends.

Illustrated scene of a developer opening a secure ENV vault beside AI agents, servers, a satellite, and Earth, highlighting privacy and human control.

Phase 3: The Honorable Mentions & The Madness of the Modern World

While 6,000 people were busy saving the world, judge Michael Haye highlighted projects that perfectly captured the dystopian-yet-practical flavor of our current timeline:

  • Pocket Money (404 Media): An agent designed to answer the ultimate existential question for college students: “Can I afford a bus ticket home for Christmas, or should I live in the library until spring?”
  • Domino (Team Derp): A tool that analyzes code changes to prevent another global IT apocalypse (shoutout to Cloudflare and CrowdStrike for making airport shutdowns a recurring aesthetic).
  • Day Zero: A medical discharge translator that takes incomprehensible hospital release papers and turns them into plain language, reducing your post-hospital existential dread by roughly 12%.

And let’s not forget the incredible track winners tackling real-world planetary pain:

  • Sky Ledger: Using satellite data to hunt down corporate methane leaks.
  • Green Trace (Amy): Checking cocoa supplies against EU deforestation regulations.
  • Foserto: Helping regional fire coordinators decide which wildfires to fight first when the elements decide to consume civilization.

Fielding an entry that landed comfortably in the top 10% (50th out of 549+), Shiel’s DealTable stands as a monument to what happens when you combine clean Next.js/React architecture, Nebius-hosted Nemotron, Tavily search grounding, and an unshakeable belief that agents should propose, but humans must hold the floor.

As Samuel J. Cummings wrapped up the stream with a promise of round two, the lesson of the 2026 Open Agent Hackathon remains clear: we are building an army of autonomous software entities to manage our healthcare, our code reviews, and our commercial leases. Just make sure you keep your .env file in .gitignore before the singularity arrives.

Stay tuned. The machines are learning, but Shiel is still writing.

Certificate of participation for Shiel Yule in the GenAI Open Agent Hackathon 2026, featuring a futuristic robot and cursor graphic.

Surviving the synthetic stampede: shielyule.uk goes live

Somewhere between the third quarterly slide deck promising an automated corporate Nirvana and the cold realisation that your department’s pilot bot has started advising payroll to liquidate capital assets into Solana memecoins, a quiet dread sets in.

A foggy landscape filled with old computer monitors displaying digital screens, surrounded by abandoned office chairs.

We were told the synthetic minds would quietly optimise supply chains while we sipped cold brew and contemplated higher-order strategy. Instead, we find ourselves locked in an administrative trench run with autonomous agents that hallucinate compliance certificates with unblinking, sociopathic confidence.

To prove that enterprise-grade sanity can still be enforced against the digital abyss, I have launched a new containment terminal: shielyule.uk.

Governing the Machine

For years, evidence of my running battles against runaway endpoints, rogue API keys, and proof-of-concept sprawl lived scattered across Jira backlogs, frantic late-night Slack threads, edge GitLab pipelines, and the existential ruminations of this blog.

The new terminal aggregates the entire survival manual into one hardened perimeter. It documents my actual work as an AI Delivery Lead and Developer—focusing strictly on what happens when bleeding-edge synthetic cognition collides head-on with regulated reality, evidentiary audit trails, and unforgiving enterprise architecture.

Here, governed AI is not a performative bullet point tacked onto the bottom of a vendor sales pitch to soothe risk committees. It is an active blast door.

The Arsenal Under the Hood

True enterprise delivery isn’t merely clicking “deploy” inside a sterile corporate tenant and praying the model behaves. It’s an asymmetric arms race between raw, untamed computational power and the regulatory machinery meant to cage it.

To keep the perimeter secure, my workbench doesn’t rely on corporate vendor lock-in alone:

  • The Nerve Center & Codeforge: Forged at speed inside Cursor, tracked through rigorous GitLab CI/CD gates, and pushed to the edge via Vercel and Cloudflare, proving that enterprise-grade rigor doesn’t have to move at the glacial pace of a steering committee.
  • The Intelligence Grid: Orchestrating multimodal engines across Gemini, stress-testing reasoning boundaries against Grok, running sovereign open-weights through Nemotron, and wiring autonomous negotiation protocols with WebMCP.
  • The Data Panopticon: Ingesting millions of telemetry rows through GCP and BigQuery, visualized into brutal clarity via Looker, and paired with deep cultural taste-graph heuristics powered by Qloo.

And when those wild prototypes are ready for the sterile corporate floor? That is where the enterprise straitjacket goes on: ring-fencing endpoints within Azure AI Foundry, enforcing orchestrations in Copilot Studio, and clamping Microsoft Purview surveillance tight around the data estate’s digital throat so an agent doesn’t inadvertently leak confidential board minutes to an unvetted third party.

The Dossier: What Lives on shielyule.uk

  • Architecture & Enforcement: Turning wild prompts and unruly LLMs into disciplined, deterministic, human-in-the-loop systems that survive pen-tests, ISO frameworks, and GDPR audits.
  • The Battle-Tested Arsenal: Hardened builds engineered to survive the friction of the modern panopticon:
    • Tribunal Ally — Leveling the playing field when institutional inertia and administrative machines grind citizens down.
    • GhostMerchant — Forensic spend control, delivery probes, and poison-pill merchant counter-measures for the automated commerce era.
    • DealTable — Synthetic, high-stakes negotiation simulation environments powered by WebMCP where autonomous agents test human mettle.
    • GridRecord — Real-time telemetry and intelligence dashboards mapping the creaking, high-voltage spine of national energy grids using NESO and DESNZ data pipelines.
  • Enterprise Battle Scars: Decades of delivery leadership across high-voltage energy networks, tier-one financial institutions, government apparatus, and global consulting conglomerates—environments where “failure” isn’t a retrospective talking point, but an existential regulatory catastrophe.
  • Extraction & Engagement: Clear coordinates for securing interim delivery leadership, AI architecture, and agile recovery before your shadow IT experiments breach containment.
A dark containment cell door marked with 'AUTHORIZED PERSONNEL ONLY' and warning signs. The door features blue lighting around its edges and is covered in yellow caution tape that reads 'DO NOT CROSS' and 'DIGITAL HAZARD.' Purple mist emanates from the base of the door, adding a mysterious effect.

Pragmatists Over Zealots

This dossier is engineered specifically for programme directors, risk executives, and enterprise hiring leads who know the chilling truth: an unmonitored agentic pilot built on vendor optimism will rot inside shadow IT, hallucinate a catastrophic compliance breach, and leave you holding the forensic bill.

If you need someone who can sling TypeScript and Python in Cursor by morning, orchestrate complex data pipelines across BigQuery and GCP by afternoon, and defend the architectural boundary in front of an enterprise audit board before close of play—that is what this terminal represents.

Why Break the Seal on a New Domain?

This domain remains my intellectual safehouse for dystopian dispatches, guerrilla technical commentaries, and chronicling the absurdity of corporate silicon worship.

shielyule.uk is the sterile tactical operations deck: a lightning-fast build deployed cleanly to edge nodes, built to satisfy web crawlers, risk officers, and enterprise recruiters alike without an ounce of bureaucratic bloat.

Operating from Scotland, I am available immediately for AI delivery leadership, AI rollouts, and enterprise cloud migrations that require someone who knows how to hold the perimeter.

A cartoon owl with glasses and a mustache, holding a smartphone and looking at the screen, set against a circular background with stars.

GridRecord.com – the Liturgy of the Laminated Core

An illustrated diagram titled 'The Ghost Interconnection Queue' depicting a bureaucratic system for renewable energy connection. It shows wind turbines and solar farms highlighting the interconnection process, average wait times of 7-14 years, and financial aspects like customer standing charges and shareholder profits. Key areas include impact assessments, environmental reviews, and technical studies, all emphasizing the challenges faced by clean energy initiatives.

Somewhere out in the rain-blackened moss beyond the A1(M), inside an unmapped compound defended by six strands of rusted barbed wire and a padlock that hasn’t yielded to a brass key since the Falklands War, sits a 400kV transmission transformer.

It does not merely buzz. It resonates with a faint, predatory nausea tuned precisely to 49.98 Hertz—the exact frequency at which human marrow curdles into cold lard.

It is forty-three years old. Its blistered casing is the shade of institutional grey porridge, and its mineral oil smells of dead generators dipped in rancid beef tallow. Inside its belly, sixty miles of oil-soaked cellulosic paper insulation are slowly decomposing into furanic sludge under thermal stress.

Illustration of a 400kV Supergrid Backbone showing various components including a transformer, power lines, and warning labels regarding dissolved hydrogen levels and dielectric oil concerns. Additionally, it highlights factors such as the British weather and an actuarial diagram showing yield information.

In a technologically coherent civilisation, this thirty-ton slab of groaning iron would be an object of state veneration. It would have a dedicated human custodian named Dave standing beside it with a calibrated Fluke acoustic camera, an infrared pyrometer, and an oil filter wrench—a man whose singular mandate is ensuring forty thousand induction hobs in Dunfermline don’t vaporise midway through an England penalty shootout.

Dave does not exist. Dave was culled in the 2007 “Lean Infrastructure Optimisation” drive. Dave’s institutional memory—specifically, knowing that if you tap the tap-changer housing with a copper mallet on a damp Tuesday, the phase angle doesn’t drift by four degrees—was written down as a £42,000 severance efficiency.

Instead, four hundred miles south in a glass terrarium cantilevered over the Thames, there is Julian. Julian is twenty-six. Julian possesses a first-class degree in Financial Econometrics, drinks oat cortados pulled at 9 bars of pressure, wears pristine vegan trainers, and has never inhaled atomised naphthenic hydrocarbons.

Julian is currently massaging cell H42 of RIIO_T3_Totex_Incentive_Optimisation_v14_FINAL_v2(1).xlsx. If Julian trims the assumed cost of debt by just 0.04%, an eighteen-billion-pound Regulated Asset Base uncoils, spewing forth an interim distribution of 4.2 pence per share.

Down in the sodden loam, the transformer issues a wet, seismic cough. Dissolved gas analysis would show acetylene spiking to 80 ppm. A soggy pigeon perches atop the 400kV bushing, blissfully unaware that its hollow bones are the sole thermodynamic break preventing a synthetic inflation-hedged swap trade in Zurich from collapsing into ash.

The Tabernacle of RIIO: The Alchemy of Totex

If you wander into the high offices of National Grid plc or the regional Distribution Network Operators (DNOs) on a grey Tuesday, do not expect to find grease-stained engineering manifestos detailing fault-ride-through capability, sub-synchronous resonance, or cold-load pickup decay curves.

You will find an altar dedicated to the liturgical rites of the institutional capital allocator: CPIH-deflated weighted-average cost of capital (WACC), return on regulatory equity (RORE), and the supreme artifact of modern British administrative occultism—the RIIO-ED2 / T2 Price Control Framework.

Infographic illustrating the RIIO-ED2 extraction engine, featuring components like Raw CapEx, OpEx, and a compounding base asset, along with various financial metrics and processes involved in the extraction model.

RIIO is an intellectual labyrinth engineered by administrative economists who genuinely believe that if you draft an equation long enough, high-voltage copper will decline to oxidise.

Under classic commercial logic, capital expenditure is an operational cost to be husbanded through thrifty maintenance. Under the RIIO regulatory architecture, it is the primary engine of sovereign wealth extraction.

The mechanics are pure accounting witchcraft:

  1. The Totex Sleight of Hand: Operating expenses (maintaining trees, hiring people with spanners) and Capital expenses (dropping £80m on GIS switchgear) are blended into Total Expenditure (Totex).
  2. The Slow-Money Capitalisation: A fixed percentage of Totex (often 70% or more) is categorised as “Slow Money” and funneled directly into the Regulated Asset Value (RAV).
  3. The Index-Linked Extraction: The regulator guarantees an inflation-hedged, statutory return on the entire accumulated RAV—harvested directly from the non-negotiable standing charge welded to the electricity bills of every single-glazed terrace in the Kingdom.

In this looking-glass reality, fixing an old 33kV fluid-filled cable with a patch kit is an operational nuisance that hits in-period margins. Demolishing the site and installing an over-specified, gas-insulated SF6 monster is an equity event.

The national transmission network is not being run as an engineering system to evacuate offshore wind from Dogger Bank; it is operated as a low-risk, asset-backed sovereign debt vehicle that happens to have an inconvenient, sparking byproduct called “electricity.”

The Actuarial Deadband of the Freezing Freezer

Meanwhile, out in the damp, physical universe, thermodynamics continues to misbehave.

Creosoted spruce poles planted when Jim Callaghan was humming The Red Flag rot quietly below the soil line. Underground lead-sheathed cables laid during the Macmillan administration spontaneously decompose, quietly weeping dielectric fluid into the limestone aquifers.

When an 11kV spur trips during an unseasonal Atlantic blow, the rupture between physical reality and regulatory abstraction turns into pure, deadpan comedy.

A cartoon-style infographic illustrating the impact of a 70mph Atlantic gale, featuring elements like snapping utility poles, melting deep-freeze contents, and a financial ledger showing stable dividends despite weather disruptions.

To the family in rural Aberdeenshire watching their deep freezer liquefy into an ambient pool of venison and Viennetta while their breath clouds in the hall, a blackout is an intimate existential crisis. It is the immediate, alarming discovery that domestic continuity is merely a two-millimetre film of emulsion paint applied over howling, freezing mud.

To Julian’s spreadsheet, however, their hypothermia is an actuarial coordinate: Customer Interruptions (CI) and Customer-Minutes Lost (CML).

An outage is not a failure of stewardship; it is a parameter inside an Ofgem penalty-incentive collar. If an Atlantic depression brings down seven miles of line in the Cheviots, no one in the executive suite scrambles for a torch. They look at the cumulative CML balance. If the total interruption minutes sit safely within the negotiated regulatory deadband, the interim dividend remains immaculate and inviolable.

And if a winter storm is vicious enough to blow past the collar? It is classified as an “Exceptional Event”—a regulatory act of God that wipes the penalty clean and allows the restoration costs to be loaded directly onto the asset base for the subsequent price-control period.

You are sitting in the dark listening to your garden shed dismantle itself in ninety-mile-an-hour gusts, but take heart: the enterprise multiple on the regulated distribution license remains pristine.

The Paper Fortress: 2038 Interconnection Queues

Try to plug a 50MW battery storage installation or a community solar array into this network, and the curtain pulls back on the ultimate administrative bottleneck.

You submit your grid connection application. Fourteen months later, a formal document arrives from the network operator. In crisp, institutional prose, it informs you that your estimated energisation date is October 2037.

Illustration of a clean energy project depicting wind turbines and solar panels, along with an interactive substation labeled with waiting times for transmission study and energization estimates.

Why? Because the regional 132/33kV bulk supply point is thermally constrained, the upstream 400kV substation has zero fault-level headroom, and the queue ahead of you contains:

  • Three speculative 2-gigawatt data centres registered to post-office boxes in Tortola.
  • Six ghost battery storage applications submitted by private equity scouts who have no land rights, no planning permission, but a firm grip on queue positions they intend to flip for £80,000/MW.
  • A paper-shuffling transmission upgrade program governed by an ancient First-Come, First-Served queue rule that would make a Soviet bread line look like an agile sprint.

We are actively attempting to run an industrial clean-energy transition across a physical network whose telemetry still communicates using serial protocols and 1,200-baud modems devised during the Winter of Discontent.

The Receipts on the Slab: Enter GridRecord

The customary British response to this state of affairs is unfocused, sputtering anger: go onto social media, yell about corporate greed, and demand instant nationalisation.

It is totally useless. The institutional apparatus does not fear anger. It employs directors of corporate affairs whose sole vocation is to gaze into cameras with soft, sorrowful eyes and explain that “attracting low-cost institutional infrastructure capital from international credit markets is essential to lowering bills for hard-working families.”

You cannot shame an automated extraction framework. But you can cross-examine its telemetry.

The raw truth isn’t buried in encrypted Cayman servers. It is printed in plain text across their own legally mandated submissions: the Long-Term Development Statements (LTDS), the Network Development Plans (NDPs), the Regulatory Financial Statements, and the open SCADA logs.

  • Multi-billion-pound underlying operating margins running alongside connection queues quoting launch dates for domestic battery assets well into the late 2030s.
  • Predictable, ratchet-locked dividend streams extracted while 11kV rural circuits across the West Country and the Scottish borders still dangle from rotten timber stays waiting for the next moderate Atlantic low.
  • A regressive standing charge that extracts an identical daily tariff from an unheated pensioner’s flat in Paisley and a vacant penthouse in Mayfair, while the network’s copper assets are systematically sweated to the absolute margin of brittle fracture.

This is why we built gridrecord.com.

We are not running a protest group, and we are not issuing a polite consultation response. The civic task is far colder and far more surgical: drag the physical network’s autopsy and the financial ledger onto the exact same stainless-steel table, turn on the forensic lighting, and let the numbers speak.

On one side: the feeder faults, the furan oil measurements, the circuit-breaker trip counts, and the thirteen-year connection queues. On the other: the regulatory asset baselines, the cost-of-equity allocations, and the steady, silent extraction of capital from cold postcodes into offshore funds.

No slogans. No glossy public relations brochures. Just the cold, indisputable receipts of a system that bills you for the privilege of freezing in the dark while the spreadsheet prints money in the warm.

GridRecord launch

Somewhere out beyond the commuter belt, in a drizzle so persistent it feels institutional, an ancient substation transformer is quietly sizzling to itself. It has served through eight prime ministers, smells aggressively of rancid chip fat, and is vibrating at a pitch that suggests acute structural panic.

A detailed analysis dashboard featuring the National Grid (UK) balance sheet with financial data, including assets, liabilities, and dividend payout schedules, alongside various aged electrical components.

In a sane world, a grizzled technician named Dave would be watching over it with an infrared sensor and an adjustable spanner. In our world, Dave was made redundant during the mid-noughties efficiency drive. Instead, Dave has been replaced by Julian—a 26-year-old financial engineer sitting in a sleek glass box overlooking Canary Wharf, absent-mindedly adjusting cell H42 of a discounted cash flow spreadsheet.

If Julian tweaks his cost-of-capital assumption by 0.08%, an eighteen-billion-pound regulated asset base miraculously unlocks a dividend payout. Down in the mud, the transformer groans, drops frequency, and plunges forty thousand smart meters into the dark ages.

A split image comparing two characters: on the left, a worker named Dave in a yellow raincoat holding a wrench next to a control panel, emphasizing the importance of manual labor in keeping the lights on; on the right, a businessman named Julian using a computer mouse with financial documents and a city skyline in the background, highlighting corporate responsibilities and shareholder satisfaction.

Welcome to the Great British Energy Transition, where the electrons are entirely optional, and the real product is institutional yield.

Over the years, we didn’t just privatise our essential infrastructure—we transubstantiated it into a bespoke derivative product. Out in the sticks, a winter gale snaps sixty-year-old wooden poles like dried pasta, leaving your freezer thawing into a sad, lukewarm puddle of fish fingers. To you, it’s the sudden, bone-chilling revelation that modern civilisation is merely two hours of battery life away from the 17th century.

To the utility company’s financial model, however, your ruined evening is merely a manageable blip on an Ofgem penalty deadband. If the blackout minutes stay within the actuarial limit, the interim dividend remains completely untouched. You sit in freezing gloom trying to remember where you put the tea lights; the enterprise value of the distribution network license purrs along in pristine health.

The most chilling horror stories aren’t hidden behind state secrets or shadowy boardroom cabals. The real nightmare is published openly, cheerfully, and in glossy 4K across audited annual reports and investor consensus portals. Billions siphoned into executive long-term incentive schemes while standing charges climb remorselessly. Actual shovel-ready wind and solar projects are marooned in connection queues stretching into the late 2030s—their capacity locked up by speculative, spreadsheet-only battery arbitrage schemes that will never lay an inch of cable—all while obsolete 1960s switchgear is held together by prayers and high-grade gaffer tape.

A large, towering structure made of stacked books resembling a power line pylon, set against a cloudy sky with a marshy landscape in the foreground.

Ranting at the sky does nothing. What is required is a forensic, merciless audit trail.

Which brings me to what I’ve been quietly building.

This week marks the launch of my new project: GridRecord.co.uk.

GridRecord is designed to drag the entire pantomime out of opaque city boardrooms and lock it onto a verifiable balance sheet. It cross-examines the damp reality of Britain’s physical network—the blackouts, the frequency wobbles, the outage heatmaps, the decrepit backlogs—directly against the pristine numbers: corporate yields, regulated asset base inflations, and dividend extractions.

No spin. No regulatory fog. An unvarnished ledger of cause and consequence.

The full, unabridged dispatch on how we traded our national grid for an investment bank with pylons is live on the site right now. Run through the audit trail, examine the machinery for yourself, and see where your standing charge is really travelling:

Read the full exposé at GridRecord.co.uk — before the next transformer throws in the towel.

Truce – Agents With Taste for Divided Tables

There is a very specific domestic horror that arrives with the second bottle of Pinot Noir. Someone mentions a headline. Someone else bristles with the defensive ferocity of an automated perimeter fence. Within ninety seconds, the dining room undergoes spontaneous nuclear fission into two incompatible media ecosystems that share a postcode, a tax bracket, and absolutely nothing else.

A woman in an orange high-visibility vest holds a steaming dish while standing at a dining table. Seated around the table are men in military-style uniforms and suits, with one displaying a sign that reads 'DOUGH BUTTON'. An electronic device displaying sound wave graphics is on the table, amidst plates of food and drinks.

The wine keeps circulating. The cold sweat sets in.

Standard large language models react to this with the terrified posture of a corporate HR drone—hallucinating an anodyne “middle ground” that instantly vaporises upon contact with an uncle who mainlines conspiracy feeds and a cousin whose moral compass is calibrated entirely by broadsheet commentary. They offer platitudes; what the table actually needs is an armistice.

Enter Truce, hacked together over a feverish two days for the Qloo Agentic Hackathon.

Rather than begging ideological combatants to shake hands over the ballot box, Truce relies on Qloo’s entity-backed taste graph to map the cultural subterranean. It uncovers the real entities both tribes secretly worship, serving up a nostalgic parlor game before anyone can reach for the carving knife.

Two men seated at a diner table, one reading a newspaper and the other lost in thought. The diner has a retro aesthetic, illuminated by neon signs outside and a display screen mentioning 'BRIDGE FOUND: FLEETWOOD MAC.' A plate of fries sits on the table.

Sedating the Living Room

Feed two opposing signal sets into Qloo’s Insights engine, and the graph doesn’t preach compromise. It simply illuminates the forgotten clearing where both echo chambers overlap: high-affinity, apolitical relics like Tom Petty, Van Morrison, and the Traveling Wilburys. It turns out that underneath our algorithmic radicalisation, we are all just hostages to the exact same classic rock radio loops.

I had briefly considered building a digital mortuary assistant called The Wake—an automated cultural executor for our digital afterlives. But the horror of Sunday lunch felt far more pressing. When an API gives you genuine cross-domain affinity instead of synthetic empathy, the product decision writes itself.

The Anatomy of a Ceasefire

Truce treats dinner table diplomacy not as a moral crusade, but as an exercise in host survival:

  • Two Taste Tables: Input the ambient media diets, cinema vices, and cultural fodder of your guests.
  • The Bridge: Qloo computes the overlap across real, scored entities—leaving the hollow civic platitudes behind.
  • The Truce Deck: A rapid-fire Love / Hard Pass card game that gamifies surrender until common ground is violently locked.
  • The Diversion: Swaps out ideological debate for sensory memory prompts (“Who showed you this record first?”). The room argues over a chorus instead of the social contract.

Under the hood: Node, Express, a crisp typographic wrapper (Syne / Fraunces / IBM Plex Sans), and strict serial queues with 429 backoff—because nothing breaks a fragile cultural ceasefire quite like an unhandled rate limit masquerading as an existential void.

Truce doesn’t pretend to fix the broken machinery of human discourse. It merely slips an algorithmic sedative into the punch bowl, queues up Jackson Browne, and gives humanity twenty uninterrupted minutes to pass the gravy in peace.

ComplaintPath – The Bureaucratic Panopticon Will See You Now

There is a distinct, rhythmic cadence to the collapse of late-stage civilization, and it rarely sounds like a meteor strike. More often, it sounds like the muffled, rhythmic thud of a high-speed printer devouring its three-hundredth successive “Final Response” letter, while somewhere in a windowless server farm in Slough, an autonomous corporate chatbot develops an existential crisis and begins filing complaints against its own motherboard.

A hand pressing a stamp marked 'WRONG DOOR' on a legal document labeled 'Petition for Jurisdictional Review', with digital displays indicating a rejection due to jurisdiction issues.

Welcome, dear reader, to the gleaming, algorithmically-lubricated labyrinth of modern UK consumer redress. If you have ever tried to dispute a rogue energy bill, extract a refund from a high-street bank that appears to view your capital as a personal venture fund, or inform a data controller that their cookie banner is roughly as legally compliant as a pirate radio station broadcasting from a North Sea oil rig, you will already know the drill.

You enter the Maze. You choose between three dozen distinct Ombudsmen, each possessing the administrative flexibility of a medieval drawbridge operated by a melancholic monk. You feed your grievances into a chatbot trained exclusively on corporate deflection poetry. And slowly, agonizingly, the statute of limitations bleeds out in a puddle of automated sympathy links.

It is beautiful, really. A masterclass in friction-as-a-service.

Enter ComplaintPath: Because Someone Had To Teach the Machines How to Say “No” With Precision

Naturally, when the good people at GenAI.works rolled out Track 01 of the #OpenAgentHackathon—Solving Fragmented Intelligence—we took one look at this bureaucratic abattoir and thought: What this desperately needs is more artificial intelligence.

Specifically, we built ComplaintPath.

It is not legal advice. It is not a ambulance-chasing claims company operating out of a caravan park in Lanarkshire. It is a cold, hyper-rational multi-agent pipeline designed to stare unflinchingly into the abyss of corporate rejection letters, check the statutory clock, and either open the exact right statutory door or politely, unblinkingly inform you that you are entirely out of luck.

You remain in total control. The machine prepares the ammunition; you pull the trigger. We never auto-file, primarily because giving an AI unmonitored access to the Financial Ombudsman portal feels like handing a toddler the launch codes to a Trident submarine.

Under the Hood: A Symphony of Corporate and Silicon Indifference

To build a machine capable of navigating the labyrinth without hallucinating a statutory deadline into existence, we had to enlist a rather formidable stack of sponsors who clearly share our dark appreciation for automated systems:

  • Zetaris (The Data Layer): Redress windows and portal URLs are not buried deep within some hallucinatory prompt hallucination. On every analysis run, our DataRetrieverAgent queries Zetaris live for the brutal, unvarnished truth of the scheme windows. In the product interface, it proudly declares Scheme data: Zetaris live. No fairy tales; just raw, relational architecture doing what bureaucrats pretend to do.
  • Meterless Nightshift & NVIDIA Nemotron (The Power): Letter comprehension runs through Meterless Nightshift on a dedicated Nemotron lane. It extracts facts with the icy detachment of a seasoned coroner. If a date is missing, the AI does not invent one—it simply stares at you with quiet disappointment.
  • Meterless World Model (The Cognition Engine): Every shared run state, entity, observation, and provenance trace lives here, ensuring that when the audit trail is requested, we can explain precisely which agent decided your complaint was six days too late.
  • Bright Data (The Web): When drafting pack section IV, Bright Data’s Web Unlocker refreshes context straight from the official scheme portals, ensuring our guidance doesn’t drift into folklore while you’re making a cup of tea.
  • Cursor (The Crucible): Scaffolding and shipping an entire multi-agent civic UI, adapters, gates, and PDF exporters in record time without throwing your MacBook out of a third-floor tenement window.
  • GenAI.works (The Arena): The wonderful madhouse that gave us the window to build Track 01.

The Four Horsemen of the Gate

When you feed a corporate refusal letter into ComplaintPath, the system reduces the boundless bureaucratic horror of modern Britain down to four immutable, code-enforced outcomes:

  1. Eligible: You may proceed. The system compiles a pristine markdown and PDF pack for you to take to the official portal.
  2. Premature: You jumped the gun. The corporate monolith is still legally permitted to ignore you for another eight weeks. Go back and wait in the dark.
  3. Out of Time: The clock has run out. The statute of limitations has turned your grievance into historical artifact. Pour one out for your lost consumer rights.
  4. Wrong Door: You are screaming at an energy supplier about a parking fine. The machine will gently redirect you before you embarrass yourself further.

The next step after download is wonderfully pedestrian: log on to the designated official portal, drop in your Gate Pack, and let the grinding wheels of statutory justice grind exceeding small.

Examine the Evidence

If you fancy auditing our descent into civic automation, or if you simply want to fork a repository that treats corporate obfuscation with the contempt it so richly deserves, the doors are wide open:

A tip of the hat to Zetaris, Meterless, NVIDIA, Bright Data, Cursor, and GenAI.works for providing the raw materials required to construct our little digital panopticon.

ComplaintPath is independent guidance software. It does not provide legal advice, and it certainly won’t save you from the heat death of the universe. But it might just help you get your £48.50 back from your broadband provider before the ice caps finish melting.

Undo – The Ghost of the Past Package

Why Your CI Pipeline is a Corporate Séance

A vintage, steampunk-inspired keyboard featuring a prominent red 'APPROVE' button, alongside a steaming mug of Earl Grey tea. A handwritten note warns, 'The previous package is still breathing. Do not wake it.'

Let’s be honest about how software delivery actually works in the wild.

For decades, the enterprise software ritual has followed a comforting, highly choreographed liturgy. You write some code. You sacrifice a chicken to the Jenkins gods. The CI pipeline turns green—a soothing, celestial lime-green glow that whispers sweet nothings into your ear, assuring you that all is right with the universe.

And then you deploy to production, and the server spontaneously combusts into a heap of weeping stack traces, leaving you frantically rummaging through the digital equivalent of a burning attic trying to find last Thursday’s release artifact.

Because here is the dirty little secret that the agile certifiers don’t want you to know: Most pipelines only ask one question: Does the new build work?

It’s a polite, forward-looking question. It’s optimistic. It’s hopelessly naive. In a real-world incident, the question that actually makes your stomach drop into your boots is far more brutal: Can we still run what we had before?

A stylized logo featuring a geometric fox design within a shield, accompanied by a green checkmark, set against a dark digital background.

Enter Undo: Necromancy for Cloud Run

That specific brand of existential dread is what birthed Undo—my entry for the GitLab Life After Code / Transcend hackathon over on Devpost.

The premise is delightfully cynical. Instead of blindly trusting that tomorrow’s shiny container image won’t accidentally erase your user database and summon ancient Sumerian demons into your AWS/GCP VPC, Undo implements a strict regime of digital necromancy.

It runs on a simple, ruthless loop:

  1. Prove: On every push to main, GitLab CI doesn’t just build the new toy; it resurrects the previous package, forces it to look into the mirror, and hits /health (ROLLBACK_OK) to verify it hasn’t lost its mind.
  2. Ask: If the past is still breathing, an event-driven GitLab Duo flow (no chat-theatre chatbots, just cold, hard automation) triggers automatically on pipeline success, reads the rollback proof, and opens a Work Item.
  3. Approve: I reply with one word: approve. (Because even in an age of autonomous silicon agents, a human being should still be the one holding the smoking revolver when production goes sideways).
  4. Promote: A manual promote_production job ships the exact same verified image out to the world.

You can prod the corpse yourself right here: Undo Live Health Check.

Why GitLab and Google Cloud Made the Séance Possible

This wasn’t about building another clever wrapper chatbot that hallucinates python scripts while you sip your flat white. This was about life after code: verification, packaging, release, configuration, and governance.

GitLab became the spine—handling everything from the single .gitlab-ci.yml file to the staging gates and agent session history where judges can peer into the machine’s little mechanical soul.

And Google Cloud? That was the missing proof. A green pipeline on a local laptop is just a comforting delusion. Wiring GitLab CI directly into GCP—service accounts, Cloud Build, Artifact Registry, and Cloud Run—meant the app had somewhere real to land. It stayed tiny and razor-focused on the lifecycle, because when you’re staring down an infrastructure failure, you don’t need a bloated UI; you need to know if the last thing that didn’t break can still boot up.

The Builder’s Post-Mortem

If you’re diving into the next hackathon or trying to drag a legacy enterprise kicking and screaming into supervised autonomy, keep a few hard-earned truths in mind:

  • Event-driven flows beat chat demos. Stop chatting with your agents; make them trigger on structural events like pipeline passes and leave an audit trail that won’t disappear when the Slack tab closes.
  • “Green” is a polite fiction. A green pipeline does not mean “safe to promote” until you have physically verified that the previous artefact can still answer the phone.
  • Keep a human on the tripwire. Agents and CI can handle the heavy lifting in the middle, but a human still owns the final, glorious privilege of pushing the button.

Undo’s rule is simple, brutal, and effective: Don’t treat the next package as ready until the last one still boots—and don’t promote until a human says so.

A dimly lit, dilapidated room with overgrown plants and moss. In the center, a server rack displays the message 'ROLLBACK_OK'. The room features broken windows allowing rain and mist to enter, with an old sofa and table in the corner.