Unclear It is not clear what in Claude Code starts this lease routine, so when it actually runs is unknown.
Claude Code has a new routine that keeps a "lease" open with its daemon. A daemon is a helper program that runs in the background, separate from the window you type in. The connection runs over a local socket, which is a private channel between programs on the same machine.
The routine:
- Reconnects when the connection drops.
- Starts the daemon itself, but only up to a fixed number of times.
- Refuses to take a lease from a daemon owned by a different user account on the same machine.
- Stops when it has used up its starts, when the daemon belongs to someone else, or when the daemon is shutting down.
The lease is for cloud background sessions, which are sessions that keep running while you are not watching them, and it is meant to keep the daemon alive for them. Because it ignores daemons run by other users, a shared machine does not let one person's session lean on another person's background process.
It is not clear what in Claude Code starts this lease routine, so when it actually runs is unknown.