8.7 Staged versus active
A value written to a store has not reached the process that reads it until that process reads
it again, and the scripts report the two states separately (SPEC.md Q-7; root
CLAUDE.md (CLAUDE.md), "Rules the scripts follow"). The reason: reporting both as one
is what makes this class of problem hard to find—a running session kept using an old token
after a new one was stored, and a value set in a shell never reached a service
(lessons-learned.md,
infrastructure and operations).
When a value becomes active
| Reader on the Linux host |
A value in the token file is active |
Source |
| The home session |
after systemctl --user restart claude-remote, which needs no root |
setup/linux-host.md |
| The sandboxes |
at their next request: the token helper reads the file on every refresh |
setup/secrets.md |
| A login shell |
from the next login |
setup/secrets.md |
| A Claude Code session, for its settings |
when it starts again; in a sandbox, the next coordinator or worker started there |
setup/claude-baseline.md |
Rules
- Reported apart.
status.sh shows the token file and the running home session's token
separately, each with the account it acts as
(setup/secrets.md, token-rotation.md).
- Revoked only once inactive. A replaced token is kept until the home session no longer
uses it, because revoking earlier cuts off the running session
(setup/token-rotation.md).
- A check that cannot run says so instead of passing (
SPEC.md Q-7;
lessons-learned.md).
- Services read no personal settings files, so a value meant for a unit goes into the store
the unit reads, the token file, never into a shell profile alone
(setup/linux-host.md;
lessons-learned.md).
Where it is described