Scheduled agents: exact scope, frequency, AI vs code

Rule: code does everything checkable. AI only where a judgment call is needed. Every AI run starts fresh, strong model first, cheaper model after it has run clean. Never sends, never spends. 11-09.

The week at a glance

Mon
Tue
Wed
Thu
Fri
Sat
Sun
Lead alerts (code)
every 10m
every 10m
every 10m
every 10m
every 10m
every 10m
every 10m
Red/green + watchdog (code)
7:00
7:00
7:00
7:00
7:00
7:00
7:00
Daily client agent (AI)
7:30
7:30
7:30
7:30
7:30
Weekly client agent (AI)
14:00
Tue update drafts (code)
7:40
Nightly systems check (code)
2:00
2:00
2:00
2:00
2:00
2:00
2:00
Systems fixer (AI, only on red)
if red
if red
if red
if red
if red
if red
if red
Green = code (free). Orange = AI run (quota). Weekends skip the daily client agent: code alerts still fire.

AI runs per week: 5 daily + 1 weekly + nightly fixer only when code finds red (expect 0-3) = about 6-9 runs/week, instead of 7+1+7 = 15 if everything were AI.

1. Daily client agent: Mon-Fri 7:30am CT

StepWhoWhy
Pull each client's leads, spend, red/green, failed alertscodeAlready runs 7:00 (lead-watchdog, Ferrum red/green)
Skip the agent entirely if every client is green and nothing failedcodeNo quota spent on quiet days
For each red client: figure out the real cause (ads off? form broken? lead not answered?)AINeeds reading messages/ads/pages together; rules can't
Fix what's broken: dead form, failed alert, disapproved adAIEach fix is different
Put one line per red client on your card: what broke, what it fixed, what needs youAIPlain-English summary
Never: send to clients, change ad budgets, spendruleYour charter

2. Weekly client agent: Mon 2pm CT

StepWhoWhy
Build each client's report numbers (leads, booked, spend, cost per booked)codePure math from Ferrum
Check numbers match Ferrum, no test rows, no zero-data weekscodeCheckable
Write the client update draft + your call prep (wins, problems, next step)AIWriting in your voice
Save as an artifact per client (report page) + unsent Ferrum draft; card says "4 drafts ready"codeArtifacts = canonical home for reports; Ferrum = canonical home for client messages

3. Nightly systems: 2am CT

StepWhoWhy
Check hosts up, disk, backups ran, prod deploy lag, failed timers, stuck factory buildscodeAll yes/no checks (fleet probe already does most)
All green: write one log line, no AIcodeZero quota
Something red: start an AI fixer for that one itemAIDebugging needs judgment
Fixer can't fix: put it on your card with what it triedAIYou never find an outage first

Model plan

Rule
Each run = fresh session, nothing carried over
First 5 runs of each agent: strong model (Opus)
After 5 clean runs I check its output; if a cheaper model gives the same result on replay, switch (measured, not guessed)
Each run logs cost + minutes; this page shows weekly quota burn

What gets cut

cutclient-weekly-page.timer + client-report.timer (old copilot scripts) once the Tue Ferrum update + weekly agent run clean: two report paths today, one after
cutlead-watchdog --red-green once Ferrum red/green is trusted (ask#515)