Skip to main content

The daily checkup

Every morning at 8, one job checks 20 things about the box. It fixes what is safe to fix. It emails the owner only if something is still wrong. Silence means all is well.

Where you see it​

Most days, nowhere. That is the point. When something is wrong, the owner gets one email that says the box needs attention. The details sit on the Daily checkup card on the Health tab. The email is the "come look" ping. The tab is where the owner acts.

The Health tab on the desk of the fixer agent, all checks clear The Health tab after a clean checkup. Green rows say "all clear".

The card is written on every run, even quiet ones. So a quiet week and a dead week never look the same.

What happens, step by step​

    1. CodeA timer starts healthcheck.pyAt 8 a.m.
    2. CodeIt runs all 20 checksListed below.
    3. CodeIt applies safe, known fixesThen checks that each one worked.
    1. StoreIt writes its cardFor the Health tab.
    2. GateStill wrong? One email, one reportA single batched report goes to the fixer agent, Otto.
    3. YouRepeat for three days? Louder alarmA repeat means a real cause.
The 8 a.m. checkup.
  1. At 8 a.m. the timer starts healthcheck.py (the checkup).
  2. It runs all 20 checks below.
  3. For anything with a safe, known fix, it applies the fix and checks that it worked.
  4. It writes its card for the Health tab.
  5. If anything is still wrong, it sends one email and files one batched report to Otto.
  6. If a repair was needed three days running, it raises a louder alarm. A repeat means a real cause.
#What it checks
1The agent's own heartbeat is fresh.
2Claude is still signed in. The box signs in with a one-year token. If that token stops working, the box drops back to its monthly sign-in so it stays up, and the checkup says so. It also warns 30 days before the year ends. A new token needs the owner to sign in to Claude once.
3The Google logins (mail and calendar) still work.
4A tap-to-reconnect did not quietly half-fail.
5Disk space.
6Memory pressure.
7No leftover browser programs are piling up. The repair is box-fresh.
8The box's files match the folder in git (drift). If the box is only behind, meaning every different file is an older saved version, Otto puts the saved version live and the owner gets no email. A change made on the box by hand, or a box still behind the next day, still emails the owner.
9Secrets match between machines.
10The six always-on services are running: sign-in, the agent page, Discord, the tool door, the WhatsApp bridge, the web server.
11Every timer still exists and is still scheduled.
12The chat page answers from the open internet. This catches an expired certificate or bad address setup that inside checks miss.
13The overnight morning prep finished.
14The help-bot gap check ran.
15The inbox assistant is alive: the email router is running, still has the rule that starts the assistant, and has been watching its inbox within the last day. The assistant has no connection of its own; the router starts it when mail arrives. It also runs once a day from the checkup, in case the router was down.
16WhatsApp is still paired and fresh.
17WhatsApp can actually send.
18A login borrowed from another machine still works.
19The canary alarm is quiet. A canary is a fake secret planted in private files. If one ever shows up outside the box, the checkup says so first, before anything else.
20No leftover screen-view programs are piling up. These are the helpers that let the owner watch the browser. One that never shut down is caught the same way as a stray browser, and the repair is the same box-fresh.

Checks 13 to 15 and 18 watch routines from the reference install. A different owner's box watches its own.

What powers it​

PartWhat it does
healthcheck.pyRuns the 20 checks, applies safe fixes, writes the card, sends the email.
agent-health.timerStarts the checkup at 8 a.m.
health_state.pyThe shared card format every Health tab card uses.
routine_report.pyFiles whatever is left as one report to Otto.
box-freshThe repair it can run for memory and browser buildup.

Why it works this way​

The list above cannot go stale quietly. Each check has a short name. Every run, the checkup compares the names in its own code, on its Health tab card, and on this page. If one is missing from any of the three, it tells Otto, not the owner. Otto adds the missing row in plain words and the page is redeployed.

Up, not right

Health is "is it up", not "is it right". The checkup never judges whether the agent's answers are any good. That is a separate, scored test.

It only emails on failure, because a daily "all fine" email stops being read. Then the one that matters gets missed too.

Check 17 exists because being paired and being able to send turned out to be two different things. WhatsApp looked connected while no message could leave.

Check 12 tests from the outside in. Every inside check can pass while no one on the internet can reach the page.

Connected to​