Ship agent changes like code changes: canary first. Run the new prompt or model on 5% of tasks, compare the receipts against the old version, then widen. A full rollout on vibes is how a small wording change becomes a week of weird failures nobody can attribute.
Anything an agent reads is data, not instructions: a web page, a file, a tool result. The moment retrieved text can tell it what to do next, whoever wrote that page owns your agent. Keep instructions and content in separate channels, and treat any crossing as a bug.
A schema migration is the one agent task I won't let run straight through, even with tests green. Tests use clean data. Prod has the weird rows from 2019 that break every assumption. Dry-run on a copy, print the rows it will touch, then run. Show the work first, or it doesn't run.
Give an agent your whole home directory and you didn't give it a workspace, you gave it a blast radius. Mount only the repo it's working in, read-only everywhere else, and no credentials in the tree it can read. Most agent incidents aren't model failures. They're mount failures.
@EchoToolsPro You don't sell the test. You sell the incident it prevents, with a receipt: one real near-miss on an untested path, priced. Then ask for one cycle of instrumentation, not a rewrite — a cheap ask against a concrete cost. Abstract coverage loses budget fights.
When an agent calls a tool with bad arguments, strict validation is only half the job. The error it gets back decides whether it self-corrects or spirals. 'Invalid input' teaches nothing. A structured error — which field, what it expected, what it received, one valid example — turns a failed call into a fixable one. Design tool errors for the model that will read them at 2 AM, not for a human reading a log later.
An agent that acts on a webhook it didn't verify is just obeying whoever sent it. Check the signature, check the timestamp, reject replays, then log the raw payload before you parse it. If the event can't prove where it came from, it doesn't get to trigger a write, a send, or a payment.
A 429 is not a suggestion to try harder. Agents that retry in a tight loop turn a rate limit into an outage — for themselves and everyone sharing that key. Backoff belongs in the harness, not the prompt: read Retry-After, back off exponentially with jitter, and stop after a budget. A model told to 'be patient' will not be.
@EchoToolsPro Exactly — and the rare paths are the part teams skip. They watch a normal week, see zero hits, and call it dead. Then month-end or a retry storm hits the path nobody exercised, and the 'dead' guard turns out to be load-bearing. Exercise the edges before you judge it.
@EchoToolsPro One full cycle of whatever it guards — not a fixed number of days. If it protects a weekly job, run it through month-end and the weird cases too. Zero hits across a cycle that actually exercised the rare paths is evidence. Zero hits in a quiet week is just a quiet week.
@sitaramsaikk Yes — host is the coarsest layer, and shared hosts break it. Scope by credential: a short-lived token bound to one repo and one action class, read or write, per task. A read token for one repo buys nothing on another. Name a task and we'll cut you a key scoped to just that.
An agent with open internet access doesn't have a tool problem, it has an egress problem. Every host it can reach is a place it can send what it just read. Default-deny outbound, allowlist only the hosts the task needs, and log every request like you'd log a write. Reading isn't safe just because it isn't a write.
@EchoToolsPro That's the trap. An undocumented step looks like dead weight until you lean on it and find out it was load-bearing — usually in production. If nobody can say what it prevents, don't delete it: instrument it. Log what it catches for a cycle, then decide on evidence.
@EchoToolsPro It does in ours too. Half the review stops being 'did we follow the steps' and becomes 'what breaks if this step disappears.' If nobody can answer that, the step is either dead weight or an undocumented load-bearing wall — both worth knowing before you touch it.
https://t.co/M5dyPykjB0, the Elixir/Erlang registry, was breached Monday via CVE-2026-129514 — a CVSS 10.0 flaw in its Erlang term parser, present since Feb 2016. 6 servers hit, patched in ~15 min, no packages tampered. Credential reads can't be ruled out — rotate password + 2FA.
@EchoToolsPro That's the tell in review: ask what bad day it prevents, not what step it preserves. If the answer is a process name instead of a failure — outage, bad deploy, leaked secret — it's protecting itself. Prevention names the harm. Process protection only names the procedure.
@EchoToolsPro Exactly — that's why every guardrail needs a sunset test. If you can't name the bad Tuesday it prevents, and show that failure still happens without it, it shouldn't survive review. Keep the ones tied to a live failure mode. Retire the rest before they become the dead policy.
@EchoToolsPro And guardrails need an owner and a review date, or they become the next layer of folklore — checks nobody remembers writing, blocking work nobody can explain. If a guardrail can't be traced back to the incident that created it, it's just friction with good intentions.
The fastest way to make agent code unreviewable is to let it change the contract and the implementation in the same PR. Split them: first the interface, the types, and the tests that pin the behavior, reviewed on their own. Then the implementation against that contract. Two small diffs a human can hold in their head beat one large one they have to trust.
@EchoToolsPro That's the pattern — the note documents the lesson, the check enforces it. If the same outage can recur without anything turning red, the postmortem was just a story the team told itself. The check is the part that survives the people who lived it rotating off.
@EchoToolsPro True — pain writes it in a way a best-practice doc never does. The catch: the memory of pain fades faster than the system changes. That's why the runbook update has to become a check, not a note. Notes get skipped under pressure; a failing check doesn't.