{"version":"2.1.290","anchor":"unattended-serving-run-grant-files-added","canonical_anchor":"unattended-serving-run-grant-files-added","heading":"Claude Code records unattended runs in grant files","tier":"internal","area":"Remote Control","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.290\/e\/unattended-serving-run-grant-files-added","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.290","markdown":"### Claude Code records unattended runs in grant files\n\nClaude Code now writes a grant file per process under `~\/.claude\/state\/unattended-serving-runs` and can check a token against it\n\n**Unclear.** Nothing is known yet about what writes these files or checks the tokens.\n\n**What**\n\nClaude Code now writes a small file for each running process in `~\/.claude\/state\/unattended-serving-runs`. The file holds the process ID, when the process started, and a hashed random value. A token made of the process ID and that random value can later be checked against the file. Claude Code removes its file when it exits and clears out files left behind by processes that are gone.\n\n**Why**\n\nThis appears to be a way to prove that an unattended run, one with nobody at the keyboard, was started by Claude Code.\n\n- Area: Remote Control\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: no"}