{"version":"2.1.328","anchor":"new-hidden-flag-hold-repository-while-parked","canonical_anchor":"new-hidden-flag-hold-repository-while-parked","heading":"Hidden --hold-repository-while-parked flag for spare sessions","tier":"use","area":"Spare Sessions","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/new-hidden-flag-hold-repository-while-parked","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Hidden `--hold-repository-while-parked` flag for spare sessions\n\nA hidden `--hold-repository-while-parked` flag keeps a waiting session's MCP servers, plugins and hooks paused until claimed\n\n**What**\n\nSome apps that host Claude Code start spare sessions ahead of time and hand them out later. A session waiting this way is started with `--await-claim`. The new hidden flag `--hold-repository-while-parked` is sent on such a session when it names a folder with `--project-config-root`. It keeps that folder's MCP servers, plugins and hook handlers waiting until the session is claimed.\n\nThe flag requires `--await-claim`. Without it, Claude Code stops with \"Error: --hold-repository-while-parked requires --await-claim.\" Older builds do not know the flag and exit when they see it.\n\n**Why**\n\nThis is part of the work on preparing spare sessions in advance for SDK and cloud hosts, so a session can be ready before it knows whose project it serves.\n\n- Area: Spare Sessions\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 4\/5\n- Scope: org\n- Heads-up: no"}