Guardrails for a one-person AI agent pipeline: what the hooks caught
Year: 2026
Type: article
Abstract: I run a personal automation pipeline alone. Claude Code agents work on five Windows PCs under four subscription accounts. Over five weeks I added hooks that check each answer before it reaches me, block repeated work, mask secrets in logs, keep unattended workers away from the control scripts, cap daily paid API spend, and move jobs between accounts when one hits its limit. This report counts what those guardrails caught, using the logs they left. The answer-check hook blocked at least 445 turns for skipped skills between 2026-11-09 and 2026-11-22. In the last 28 hours of logs it blocked 28 answers and logged 351 more findings without blocking. In a random sample of 30 blocks from unattended runs, 29 were false alarms and none led to a real change in the answer. Most came from one scheduled job whose output format used English keywords. In my own chat logs I found 62 complaints about agent mistakes. Eight of them were of a type a hook was meant to catch at that time and did not. The largest group of complaints, 26, was about ignoring an earlier decision, which no hook covers. The secret-masking filter fired 2,238 times on "key" patterns, and 2,230 of those were a false match on a harmless tag. The daily spend cap held after one overrun on the day it was added. The main lesson is that word-pattern checks on answers produced many blocks and few real fixes. The checks that act on actions (spend, account limits, file edits) were easier to verify.
Author: Shin, Hyeonbeom
Language: English
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7238801433
