Agent Routine Reliability Kit
Agent Routine Reliability Kit
Once you run more than ten AI routines on a timer, two things start happening. Routines boot and load a long prompt on days there’s nothing in the folder for them, and routines report "done" when the file never reached the shared drive.
This kit puts a cheap check in front of each routine. The gate reads the folders and the run history in under a second and fails open, so a broken gate can only cost you the run you’d have paid for anyway. The ledger writes one JSON line per run on every machine and turns a claimed ok into partial when a declared file isn’t there. A wiring script adds both steps to every scheduled-task stub, with backups and rollback, and a morning health check reads every machine’s ledger as a separate checker. The guide explains every rule with numbers from my own setup, labeled as mine. Python 3.8+, standard library only, no keys, a 26-check self-test.
what’s inside
Agent Routine Reliability Guide (PDF + Word): why empty runs cost money, the install, every gate type, what to gate and what never to gate, the ledger schema and completion check, checker not maker, the health check, the provider ladder, the 14-point new routine checklist, a sample setup
The code (Python + JSON): gate.py, ledger.py, wire_stubs.py, health_check.py, test_kit.py, a settings file and example gate configs for two machines
Templates (Markdown): a wired routine stub, the provider ladder block, the new routine checklist, the gate choice sheet and fleet-wide ledger queries
Gate Choice Sheet (PDF): which routines to gate, which type, and the three-way test
Notion template (access page with your duplicate link): a routine register with a ready check, a health check log and an incident log
Terms of use (PDF), the first file in the download
who it’s for
Solo operators, technical marketers and small agencies running more than about ten Claude Code scheduled tasks, on one Mac or several. You should be able to read a short Python script and edit a JSON file. It runs on macOS or Linux with the scheduler on your own machine.
file formats
PDF, DOCX, Python (.py), JSON, Markdown, Notion (link), delivered as one zip. Fonts: Oswald and Open Sans, free from Google Fonts.
By buying you accept the terms of use: https://gallucci.net/terms
