From November 29 to December 6, I ran a small crew of Claude Code sessions with nobody watching: one orchestrator handing out work, several workers doing it, often overnight. Every failure went into a log with what happened and the rule it left. After eight days there were 49 entries.
The surprise was how few of them were about the model. What failed was mostly everything around it: silence, addresses, disks, schedulers, and the way work was handed over and judged.
A quiet agent looks exactly like a busy one
This one came five times in two days.
- Frozen for two hours at 3,000 tokens. A worker sat on a single request for two hours. Its timer kept counting, so the screen "moved"; its token counter did not. Rule: a screen is alive when its content changes, not its clock. Forty minutes without change is an alarm.
- The orchestrator itself went quiet for 12 hours 25 minutes. Its session restarted after midnight and its tab disappeared. The workers kept reporting to an orchestrator that was no longer there. A person found out at 12:57, twelve hours later. Rule: the watcher needs a watcher that does not live in a session, and a report that cannot be delivered must land somewhere a human will see it.
- Polling is not supervision. Sessions that woke every few minutes to check on a render re-read their whole context each time. The checking cost more than the work. Rule: a long job runs alone and reports when it ends. No session wakes itself in a loop to look.
Commands without a target
- "Close" without a target closed the orchestrator. Two admin sessions finished their chores and ran "close this tab" with no target. The terminal closed the tab that was on screen: once the orchestrator, once a worker in the middle of a film render. Rule: a command that closes, kills or types always names its target, and a session's own target comes from its environment, never from what is on screen.
- The terminal restarted and every address changed. Sessions came back but sat idle, scripts started in tabs were dead, and nothing announced any of it. Rule: an address is never written into a script.
The machine around the agents
- The scheduler could not read the external disk. A nightly launchd job pointed at a script on an external SSD. macOS refused it (exit code 78, "Operation not permitted"), the nightly commit never ran, and no alert said so. Rule: a scheduled job lives on the internal disk, and you check its exit code.
- The disk that "melted" was memory. Free disk space dropped from 7 GB to 2.8 GB in ten minutes with no file growing: 32 open sessions had pushed the machine into swap.
Handing over and judging
- A vague direction gives a vague result. The fix was writing the brief shot by shot, tied to the exact words, and asking for a rough draft first.
- Two AI readers said 8 out of 10; the human said "not funny". Rule: a model is a good judge of defects and a poor judge of taste. Know which verdicts stay with a person.
- The judge that judged yesterday's file. A checking script cached its frames in a folder with a fixed name and served the previous version's frames for the new file. Rule: a cache carries the name of the file it was built from, and you check the dates before you look.
The one the kit's own test found
- The question nobody was there to answer. Testing in a brand-new folder, the first real worker never started: Claude Code was showing "Is this a project you trust?" with "No, exit" selected. Rule: the first run in a new folder is done by a person, and a question on screen is detected and reported, never answered by a script.
The twelve rules
- Every launch says when news is owed. Silence past that time is an alarm.
- One pilot, accepted, before anything is multiplied.
- One task, one session. The model is chosen at launch.
- A long job runs alone and reports at the end. Nobody polls.
- A command that closes, kills or types names its target.
- What must happen at a threshold is done by a machine.
- A refusal is copied word for word, and only what it names is touched.
- Done means proven: a file, a number, a test output.
- The deliverable is judged whole, as its user will meet it, by someone who did not build it.
- Times, counts and paths come from a command, never from memory.
- Nothing is deleted without a copy.
- Every correction becomes a line; a defect seen twice becomes a machine check.
You can apply all twelve with a text file and some discipline. Rules 1, 4, 5 and 6 are the ones that need a machine, because they have to hold when nobody is watching.
Disclosure: I sell this
The rules above are the useful part, and they are free. The notes were kept by the orchestrating Claude Code session, and this post was written with it.
I packaged the safeguards for plain tmux on macOS and sell them as a kit: lo launch starts a worker with a deadline, a watchdog run by launchd raises one alarm when a worker goes quiet, stops at a permission question or disappears, and a few hooks refuse forced pushes and untargeted kills. It has 144 self-tests with a fake agent and one real trial with two Claude Code sessions. Not tested yet: a full unattended night in this rewritten form, a real session frozen for 40 minutes, Linux, agents other than Claude Code; TESTED.md lists it all. $99, 14-day refund: https://lightsoutkit.gumroad.com/l/lights-out
