Telekin

The Day My AI Went and Checked the Router

By Peter Grace ·

I run a pull-request review bot on the Kubernetes cluster in my home lab. GitHub tells it about new pull requests by sending a webhook, which is just an HTTP request to the bot’s public address, and for a few weeks this fall a good chunk of those requests never arrived. GitHub’s delivery log showed them failing with “failed to connect to host”, sometimes a handful an hour, sometimes everything for most of an hour.

By then my Claude Code sessions had been keeping a shared notebook for a while, a folder of Markdown notes about my projects and my home lab that every session read before it started work. That notebook is the thing that later became Telekin. Somewhere in it I’d written down how my network is put together: the address ranges I own, the routers, which router talks to which, and which of my SSH keys gets into each of them.

So I opened a session and typed one line, “github webhooks are failing”, and that was the last thing I said until it had an answer. The agent started where I would have, with the cluster, and found nothing wrong there. Then, instead of handing the problem back to me, it looked up in the notes the path a webhook takes from the internet to my cluster, saw that it runs through a small router I rent in a data center in New York, found how to log into that router, and went and logged in. I was not ready for it to treat those notes the way a colleague treats the team wiki. My reaction, watching it go, was more or less “holy heck! This changes everything!”

What it found

The router in New York is where my address range meets the internet. It keeps a BGP session with the provider’s router, which is how the rest of the internet learns where to send traffic for my addresses, and if that session drops, my addresses disappear until it comes back. The agent found that the session had been resetting, one to eight times a day since September 1st and more than thirty times a day by mid-October, and any webhook GitHub sent during one of those gaps failed.

The cause was a mistake I’d made back in May. When I set the router up, I gave its network interface the wrong primary address (the first address of the subnet, which isn’t meant to be used by a host at all). Most of the time it didn’t matter. But when the router forwarded traffic and needed to look up the provider’s gateway, it asked using that bad address, the gateway ignored the question, and the keepalive messages that hold the BGP session up stopped getting through until the provider gave up on us. Ping from the router itself still worked fine, so from the inside the router looked healthy.

We fixed the address on October 20th. Two days later the session dropped again and stayed down for 55 minutes, about 726 failed deliveries, because nobody had restarted the routing software after the address change and it was still working from the old picture of the interface. The agent wrote that up too, along with a routing quirk on my home router that it decided was probably not part of this at all; it went in the notes as a “probably not” so the next session doesn’t chase it.

That was about a month before I moved the notebook onto Telekin. Today, every Claude session starts with a telekin search for context before continuing, and it still gives me goosebumps every time it ‘just knows.’

Start 30-day trial See features Ask us a question

More from the blog

All posts