{"name":"CLAUDE_CODE_PRINT_ENGINE_LOOP","slug":"claude-code-print-engine-loop","family":"env","title":"Environment variables","noun":"environment variable","description":"Set one variable and print mode keeps the model, tools and caches warm between prompts instead of rebuilding.","description_source":"entry","described_by":{"version":"2.1.238","anchor":"print-mode-can-reuse-one-engine-across-prompts"},"presence":{"first_seen":"2.1.238","removed_in":"2.1.257","in_current_build":false,"newest_mined":"2.1.308","builds":13,"mined_builds":149,"first_cited":{"version":"2.1.238","released_at":"2026-08-20 18:01:54","spans":1}},"aliases":[],"entries":[{"version":"2.1.257","anchor":"renamedrelaunched-print-engine-loop-flag-as-humble-hammock","heading":"Renamed\/relaunched print-engine-loop flag as 'humble hammock'","line":"The env var controlling print and engine loop behavior was renamed to CLAUDE_CODE_HUMBLE_HAMMOCK and still defaults to off.","released_at":"2026-09-01 17:15:33","reason":"found in this entry's text"},{"version":"2.1.246","anchor":"headless-runs-halt-at-the-spend-cap-and-stop-background-agen","heading":"Headless runs halt at the spend cap and stop background agents","line":"Headless runs now stop at your spend cap and shut down background agents instead of spending on.","released_at":"2026-08-25 19:17:34","reason":"found in this entry's text"},{"version":"2.1.246","anchor":"headless-startup-logs-which-turn-loop-it-is-running","heading":"Headless startup logs which turn loop it is running","line":"Headless runs log which turn loop they're using, making non-interactive problems easier to diagnose.","released_at":"2026-08-25 19:17:34","reason":"found in this entry's text"},{"version":"2.1.238","anchor":"print-mode-can-reuse-one-engine-across-prompts","heading":"Print mode can reuse one engine across prompts","line":"Set one variable and print mode keeps the model, tools and caches warm between prompts instead of rebuilding.","released_at":"2026-08-20 18:01:54","reason":"named in this entry, found in this entry's text"}],"entries_total":4,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS","slug":"claude-code-print-bg-wait-ceiling-ms","description":"Fork snapshot files get a hard size cap and a background-wait timer becomes configurable"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-print-engine-loop","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}