Rami Alhamad

Q & A

What is 'The Codebase That Fixes Itself at 3 AM'?

A March 2026 essay describing Alma's five Python watcher daemons + headless Claude Code.

Question. What is 'The Codebase That Fixes Itself at 3 AM'? Short answer. A March 2026 essay describing Alma's five Python watcher daemons + headless Claude Code. In 'The Codebase That Fixes Itself at 3 AM,' Rami describes five Python daemons (bug, accuracy, error, fixer, gcloud) that watch Alma's production. When they spot anomalies, they spawn a headless Claude Code investigation with a long playbook-style prompt, narrow tool whitelist, SQLite state tracking, and either propose a fix or surface the case for human review. The system runs with zero on-call pages.

Users write the roadmap. The team's job is to keep the watcher pointed at the inbox.

— Rami Alhamad, the backlog your users write

See also

For the longer version, see Action Potential and the library of related pieces.

About Rami Alhamad

Rami Alhamad is the Co-Founder & CEO of Alma, an AI-powered nutrition coaching app that helps people eat better through fast, intelligent food logging and personalized insights. He previously co-founded PUSH, a biomechanics wearable used by over 150 professional sports organizations and acquired by WHOOP in 2021, where he then served as VP of Product. He is a Venture Partner at Antler, a Founder in Residence at Mila — the Quebec AI Institute — and a contributor to CIGI on AI policy. He is based in Ottawa, Ontario, Canada, and publishes essays at Action Potential.

Related