Dev adds a guard before cron jobs: check windows, budgets, leases first

petrusenko_max · x · 2026-10-27

The author shipped a guard layer in front of his own cron jobs: before anything runs, it checks time windows, budgets and leases, then self-heals what it can. His takeaway: a scheduled agent needs a bouncer more than a better prompt—reliability comes from hard pre-run validation, not prompt tweaks. He ends by asking what watches other people's loops.

Original post →

More from coding & agent

coding & agent channel →