{"name":"CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS","slug":"claude-code-print-bg-wait-ceiling-ms","family":"env","title":"Environment variables","noun":"environment variable","description":"Fork snapshot files get a hard size cap and a background-wait timer becomes configurable","description_source":"entry","described_by":{"version":"2.1.268","anchor":"fork-seed-size-cap-and-stale-mtime-housekeeping"},"presence":{"first_seen":"2.1.182","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":110,"mined_builds":149,"first_cited":{"version":"2.1.268","released_at":"2026-09-10 18:41:11","spans":2}},"aliases":[],"entries":[{"version":"2.1.292","anchor":"print-mode-can-hold-open-for-background-shells-before-the-ce","heading":"claude -p can keep waiting for background commands past its time limit","line":"In print mode Claude Code can hold on for background commands instead of stopping at the wait limit, and its give-up warning now lists running tasks","released_at":"2026-10-06 17:10:31","reason":"found in this entry's text, named in this entry"},{"version":"2.1.284","anchor":"agent-sdk-now-asks-the-cli-for-session-state-by-default-and","heading":"Agent SDK runs can keep going after the result while background work finishes","line":"The Agent SDK now ends a run when Claude Code reports it is idle, which can mean waiting up to 10 minutes after the result","released_at":"2026-09-28 17:11:59","reason":"found in this entry's text"},{"version":"2.1.275","anchor":"headlessprint-background-task-wind-down-tracks-an-eval-sett","heading":"Headless\/print background-task wind-down tracks an eval-settle hold and exposes ceiling-exceeded state","line":"Headless background-task dispatch now tracks whether it's held for eval-settling and whether the wait ceiling was hit","released_at":"2026-09-17 20:20:31","reason":"found in this entry's text, named in this entry"},{"version":"2.1.268","anchor":"fork-seed-size-cap-and-stale-mtime-housekeeping","heading":"Fork seed size cap and stale-mtime housekeeping","line":"Fork snapshot files get a hard size cap and a background-wait timer becomes configurable","released_at":"2026-09-10 18:41:11","reason":"found in this entry's text, named in this entry"}],"entries_total":4,"docs":[{"source":"claude-code","path":"headless","title":"Run Claude Code programmatically","documented":false}],"docs_total":1,"gates":[],"related":[{"name":"CLAUDE_CODE_PRINT_ENGINE_LOOP","slug":"claude-code-print-engine-loop","description":"Set one variable and print mode keeps the model, tools and caches warm between prompts instead of rebuilding."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-print-bg-wait-ceiling-ms","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}