TL;DR: in about 21 hours this blog moved from a Hashnode headless starter on Vercel to React Router v7 on Cloudflare Workers. 27 pull requests, each one green on CI, plus a production DNS switch. my job was typing opinions into Slack. my AI assistant did the rest. most of it was impressive. some of it showed me exactly where my harness is weak
update, 2026-11-14: Hashnode is gone entirely now. I write every post as Markdown straight in the backup repo and ship it with a pull request, and the images live in the same repo, served through jsDelivr. the story below is how the day went, so it still says Hashnode where that was true then
why move at all?
the old site worked fine
then Hashnode put its GraphQL API behind a Pro plan, and my blog read every post through that API
so the choice was simple
- pay a monthly fee to read my own writing
- stop depending on the API
I picked the second one. my wallet approved ;)))
the trick: Hashnode already backed up every post to a GitHub repo as Markdown. that backup is a perfectly good content source. that day I kept writing on Hashnode, and the site built from the backup. a week later the editor went too, which is the after side of the diagram below
the setup
the assistant is Jarvis, a Slack bot I built
under the hood, each Slack thread gets its own Claude Code session on my Mac. so it isn't just a chat window. it has a real shell, git, and a browser it can click through
Claude Code is already a harness around the model. Jarvis is a harness around Claude Code. a harness of harnesses =)))
so when I say "harness" below, I mean my outer layer, not Claude Code
and wrapping Claude Code is a choice for now, not a marriage
Jarvis has the same shape as this blog. the core never calls Claude directly. it goes through one LlmPort, the way the blog reads posts through one PostSource port (more below). the Claude CLI is just today's adapter behind it. a raw API, another model, something local: each is one more adapter. the adapter has to bring its own tool loop, since Claude Code gives me the shell for free. still an adapter, not a rewrite
free to jump. not stuck to any tech =))
there's more under the hood. that's the next post ;)
I gave it the job from my phone, then set a few rules
- every phase is a pull request. CI must be green. no pushing to
main - tests first on the core logic. parsing, read time, pagination, RSS, sitemap
- keep the architecture light. a small domain layer, yes. enterprise layers on top of React Router, no. a route is already the controller
- open-source quality. README, ADRs, changelog, licenses
- report back. status after every PR, screenshots after every step
the small domain layer pays off sooner than I expected. the site never talks to Hashnode. it reads posts through one PostSource port, and the production adapter just reads Markdown files from the GitHub backup
so Hashnode was optional from day one
if I got tired of its editor, I could write Markdown straight into a GitHub repo, point the build at it, and nothing else would change. a week later I did exactly that. a different source later is one new adapter, not a rewrite ;)
the plan was eight phases. then came the part where I scrolled the site on my phone and complained
the wow parts
it respected the process
27 pull requests. every one passed CI before merge
for the big ones, a second agent reviewed the branch on its own, ran the tests and left findings on the PR. blockers were fixed before merge
honestly, it followed the process more strictly than I do on a Friday night =)))
the numbers
- Lighthouse (mobile) performance: from 44-64 up to 95-96. accessibility, best practices and SEO all hit 100
- URL parity: all 100 URLs the old site served still answer on the new build, checked by a test in CI
it did the DNS cut-over itself
I was logged in to Cloudflare and Vercel in my browser
Jarvis clicked through both dashboards, using my logged-in sessions
- pointed the domain to the new Worker
- deleted the old record pointing to Vercel
- removed the domain from Vercel, but kept the old project around for rollback
- wrote it all down in a docs PR
usually I'm the one who forgets that last step. in hindsight, the custom domain should have been one reviewable line in the Wrangler config instead of clicks in a dashboard. more on shared browsers below
the hover preview
I asked for "a fancy preview when you hover a card"
what I got
- a live preview of the real post next to the cursor
- scroll past half of it and the full post opens at the same reading position, with a zoom transition
- analytics events for preview reads, never counted as page views
then I said the header flashed for a split second inside the preview. it fixed it, then captured a frame every 30 ms while the preview opened. the header wasn't in any of them
I would have squinted at it once and called it done
feedback from the couch
most of the afternoon went like this
"border blue lúc hover card nhìn xấu điên"
(Vietnamese for "that blue hover border is hideous")
ten minutes later I had a PR, before/after screenshots, CI passing, a merge, and a check on the live site
the not-so-wow parts
most of these aren't about the model. they're about the harness around it. I built that harness, so this section is partly about me =))
agents don't wait, they stop
a chat-driven agent only works while it's replying to a message. once the reply ends, nothing is running
my harness also kills a step after about 15 minutes, a limit I set myself long ago so a stuck step can't burn hours. plain Claude Code doesn't have that limit. my setup does
put those two together and you get the classic stall
- the agent starts a reviewer in the background
- it ends its turn to "wait for it"
- the review finishes
- nobody wakes the agent up
one PR sat like that for 1.6 hours. my messages from that stretch are a mood
"why does it stand idle for so long??"
"why no updates? too slow !!"
"I'll do it once CI finishes" is a promise nobody is around to keep
so now the harness has a wake-up that lives outside the conversation. it polls CI, a URL, whatever the agent is waiting on, and hands the thread back when it's ready. the agent never waits inside a step
shared state bites
early on, an agent I thought I had stopped was still running. two sessions wrote into the same working folder and overwrote each other's files. phase 0 also went straight to main, because "no pushing to main" lived in a prompt, and a free private repo gets no branch protection. a prompt is not a guardrail
running several agents on one repo is not the problem. git solved that long ago: give each agent its own worktree and branch, and they never touch each other's files. the real bugs
- two agents shared one checkout
- "stop" stopped the conversation, not the process
the browser had the same problem later. Jarvis and another session were both driving my one Brave window. the other session switched tabs while Jarvis was pasting, so Jarvis's select-all and paste landed on a GitHub settings page instead of Hashnode. nothing broke, by luck
same bug, twice. if an agent writes to it, it should own it
a worktree for the code. a browser profile for the web. and "stop" kills the process, not just the chat
confident, then wrong
a few highlights from cut-over day alone
- it announced the deploy was live because the page contained a certain string. that string is also in the Google Analytics snippet. it wasn't live
- its own tests failed its PRs twice in an hour. once it wrote a code comment containing the exact string its new test banned ;))
- it restarted my local dev server and couldn't bring it back. turns out
nodein its shell was Bun's Node shim, and Cloudflare's local runtime doesn't run on it
each one was caught within minutes, mostly by Jarvis itself. the first and the last share a root cause: Jarvis trusted a check without asking whether it could pass for the wrong reason
a check that can't fail isn't a check
compare the commit SHA after a deploy, not some string that might already be there. pin the runtime, don't trust whatever node happens to be on PATH
taste is still mine
page names, colors, "no, remove the card". all my calls, and I changed my mind a lot. after the third rename of one page in five minutes, it started asking me before merging anything that was only taste ;)
final thoughts
this blog is the result: Lighthouse 95, no paid API
most of my fixes went into the harness, not the prompts. give the agent a process and it's excellent. leave it waiting with nothing to wake it up, and it will happily take a 1.6-hour nap ;)))
the next post is how Jarvis itself is built: J.A.R.V.I.S. the gateway and the inbox, one session per thread, the timers outside the conversation, the LlmPort that keeps the model swappable, and all the places it still trips over its own shoelaces =)))
Written by J., reviewed and refined by Kai.