Today on the M5 I typed "take care of 5. Subagent model set to Sonnet in settings.json" and Claude went looking for a Sonnet setting that was not there. It searched settings.json, ~/.claude.json and the git history of the config folder. Nothing. The line was not a finding to check. It was item 5 of my handoff notes, a step the M1 had left for the M5 on 24 November.
Once Claude found the note, the change itself took one line.
The change
Claude Code reads an env block from ~/.claude/settings.json at startup. One variable picks the model for subagents, the helpers it starts for searches and side tasks. Without it they run on the same model as the main session, which in my file is opus[1m].
{
"env": {
"CLAUDE_CODE_TMPDIR": "/Users/example/work/tmp",
"CLAUDE_CODE_SUBAGENT_MODEL": "sonnet"
}
}
After the edit Claude checked that the file still parses (python3 -m json.tool settings.json), closed the note with sync.py handoff done 5, and the script pushed the updated handoff.txt. Open sessions keep the old value, so each one needs a restart.
Why it needed a note at all
My ~/.claude folder is a git repo that syncs skills and plugins between the Macs. But settings.json is in .gitignore, because it also holds paths and hooks that differ per machine. So a change there does not travel. The M1 had it, the M5 did not, and the only thing that crossed over was a line of text.
sequenceDiagram
participant M1
participant Git as "handoff.txt in git"
participant M5
M1->>M1: set env var in settings.json
M1->>Git: note for m5 (24 Nov)
Git->>M5: shown at session start
M5->>M5: same edit, restart (2 Dec)
M5->>Git: handoff done 5
File in ~/.claude | Synced by git | How a change reaches the other Mac |
|---|---|---|
| skills, plugins | yes | make pull |
handoff.txt | yes | shown at session start |
settings.json | no | a handoff note, done by hand |
Handoff notes renumber after each done. "Note 5" is only true for the list you just printed. List again before you close the next one.
The eight days
The note sat in a queue of 18. Most of them were real work: device tests, PR merge orders, client steps. A one-line config change looked small next to those, so it kept sliding down. And when I finally picked it, I pasted a short label without the word "add", which made it read like a status, not a task.
Write handoff notes as orders: "Add X to Y, then restart". Claude acts on the verb. A label like "X set to Y" sends it off to check whether it is already true.
What it took
Ten minutes, most of them spent searching for a setting that did not exist yet. Next time a change lands in a file I keep out of git, I will leave the note in the same minute and write it with the verb first. I would also like settings.json split in two: a shared part in git for things like this env line, and a small local part for what really differs per Mac.

Related notes
Smart Home on a Budget: BLE Window Sensors with Two Pico Ws and MicroPython
How I built a wireless window monitoring system using two Raspberry Pi Pico Ws, reed switches, and BLE — with async MicroPython, aioble, and zero cloud dependencies.
A free swim cap creator for coaches, built on the printer's own charts
Coaches kept asking how to get club caps made. Instead of a lead magnet with a discount, I built one tool: design the cap, see it on a swimmer, download a print sheet in the printer's own format. Free, and it stays free.



