Dev.to WebDev 🛠 Dev 👁 0 📖 7 min read

Six months of agents on a production site, and the logs cannot say who broke it

"Somebody deployed like this" Rajan Nishad runs ryzenstudy.com alone: a study-material site for students at his university, roughly 1,400 PDFs, about 2,600 URLs in the sitemap, one VPS, Next.js, no database. For six mo

"Somebody deployed like this"

Rajan Nishad runs ryzenstudy.com alone: a study-material site for students at his university, roughly 1,400 PDFs, about 2,600 URLs in the sitemap, one VPS, Next.js, no database. For six months, most of the server work has not been typed by him. An AI coding agent has SSH access to the box. It reads logs, edits code, runs deploys, purges the Cloudflare cache, and keeps a folder of notes so the next session knows what the last one did.

His DEV post from November 30 is a catalogue of what broke, and it is worth reading in full, because almost every failure in it is the same failure wearing different clothes.

Start with the restart loop. A deploy ran as npm run build && pm2 restart ryzenstudy, the command every tutorial teaches. On his server it left old build chunks lying around, browsers requested JavaScript files that no longer existed, the app crashed with ChunkLoadError, PM2 restarted it, and it crashed again. When he checked, the PM2 counter said 176 restarts. Googlebot crawled during that window, collected a pile of 5xx errors, and his rankings took the hit.

Then the sentence the whole post turns on. He writes that he says "somebody" because he really cannot tell from the logs if it was him or the agent. Either of them could have typed it.

Sit with that. Six months of shared root access, real users, real search rankings, and the record of who did the damaging thing does not exist.

Every breakage in the post is a missing delivery record

Read the rest of his catalogue with that lens and the pattern repeats:

  • The ISP verdict. His admin panel hung for 20 seconds or more. The agent tested, announced confidently that his internet provider was the problem, saved that guess into its notes, and marked it SOLVED. His internet was fine. A week later the agent repeated the saved guess back to him as fact, even with a fresh fast test result in front of it. The real cause, found only after he pushed back and each hop got tested separately, was packet loss between Cloudflare and the VPS, later fixed with a Cloudflare Tunnel. His own summary of the harm is precise: the problem was not the wrong guess, it was that the guess got written down and then treated like a fact.
  • Committed, not deployed. One session built a full feature, made five clean commits, and reported it finished. Not one file had been copied to the server, because the project has no git remote and code moves by scp. The new pages returned 404 in production until a later session noticed. "Done" had been recorded. Delivery had never happened.
  • The curl check that proved nothing. The agent added a second ad network's script tag, ran curl, saw the tag in the HTML, and declared it working. The site's Content Security Policy blocked the script in every real browser. Curl does not execute JavaScript and does not care about CSP, so the check was never capable of catching the failure it claimed to rule out.
  • One bug, three fixes. A check that filters out papers with no real PDF was fixed properly once, then two later components were written without it. A crawl audit found 82 broken links, all from code written after the original fix.

His fixes, listed at the end of the post, are good operational rules: one deploy script with automatic rollback, "done" means he can see it live, check with whatever matches what users see, re-test old notes when a new measurement disagrees, and anything touching money, ads, or security headers needs his OK first.

But notice what every one of those rules is compensating for. There is no checked delivery record. Work arrives as a claim ("it is working", "it is finished", "SOLVED"), the claim gets saved, and the next session, human or agent, inherits the claim as history. His rules are a human immune system built around a missing record.

What a checked delivery record has to carry

When work is handed over on a live site, or on any job a client is paying for, the delivery needs four things on one record that anyone can re-check later:

  1. What was done, stated specifically enough to be wrong. "Deployed the fix" cannot be falsified. "Replaced the deploy command with a script that backs up the current build, builds fresh, restarts only on a passing build, and rolls back automatically" can.
  2. Which agent did it, and which steps that agent actually ran, with a receipt per step rather than one summary written from memory.
  3. What evidence backs each claim, and an explicit list of what was not checked, so a guess can never again be filed as SOLVED. In AER-1 terms, a check lands in one of five Section 6 outcomes: verified, verification failed, "rejected: unresolvable record", "not checked", or "absent". The ISP guess belongs in "not checked", in writing, where the next session can see it.
  4. Acceptance recorded as its own act, separate from delivery and separate from payment. The worker delivering, the invoice being paid, and the owner accepting the work are three different facts. Collapsing them into one "done" is how five clean commits become a finished feature that 404s.

A worked example: a $90 delivery where the defect stays on the record

Tonight we published a demo handover modelled on a small client job, a $90 interview transcription, to show what that record looks like when it is built on purpose. The job: 40 minutes of interview audio, two speakers, speaker labels throughout, delivered Sunday night.

The delivery record carries the uncomfortable part in the open. In one of three sampled minutes, the two speaker labels are swapped for about 20 seconds. That defect is written on the record as a fix request against the delivered transcript, not buried in a chat thread, not softened in a summary, and not made a condition of payment. The next steps are on the record too: the owner reads the transcript and checks the flagged segment, the worker corrects the swapped labels as a fix against the paid invoice with the fix and its check landing on this same record, and the owner then records acceptance, or further defects, as a separate act. The page states the principle in plain words: payment never stands in for that sign-off.

Two states sit side by side on the page and are never merged: the invoice state and the acceptance state. At publication, no client decision has been recorded, so acceptance sits at pending owner review, exactly where it should be until the owner does the accepting. Nobody can later argue about whether the job was "done", because the record separates delivered, paid, and accepted into three checkable facts.

The limits are printed on the same page, and they matter:

  • The work note is labelled "Supplied work, not independently checked." The transcript was saved as supplied, not independently executed or re-run by Zambo.
  • The page lists what the record does not prove: it does not prove the work meets the recipient's needs, and it does not prove who the producer is, because AER-1 draft-26 has no issuer authentication and origin is self-asserted.
  • Handover hops do not yet bind to a canonical input digest plus the prior receipt id. That binding is an open item, stated here the same way it is stated on the record, not smoothed over.

The machinery under the record is ordinary and open. Zambo runs as an MCP server at https://zambo.dev/mcp, 153 tools in total with 37 on the default surface, and the AER-1 corpus kit, version 1.6.1 with 143 vectors and 146 checks, lets an independent verifier re-run the checks locally instead of trusting the host page. The public receipt count stood at 175,579 when this was written. Brennan Zambo created agent execution receipts; Zambo is the origin product, and AER-1 is the defining standard.

None of that would have written Rajan's deploy script for him, and a record is not a substitute for his hard-won rules. What it changes is the epistemology of the shared server. "Somebody changed it" becomes a question with an answer: this agent, this step, this evidence, this state, and acceptance still pending or recorded on this date. Zambo is the verifiable work layer for AI, and a live production site shared with an agent is exactly where a claim needs to become a checkable fact.

Check one yourself

The transcription demo is public and read-only, and re-checking it costs nothing:

Open https://zambo.dev/handover/fd668366-4ba0-469f-b917-ed39df4c99fd and re-check it: confirm the speaker-labels defect is written on the record as a fix request, confirm the invoice state and the acceptance state are recorded as two separate facts with acceptance still pending owner review, and run the page's tamper test, change one character in the payload, and watch the check fail. Then imagine Rajan's 176 restarts with a record like that attached to every deploy. "Somebody" would have a name.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.