tengu_retention_sweep
A Claude Code feature flag, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
What it is
Leftover temp files from interrupted plan writes are now cleaned up by the retention sweep.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.224.
Presence across releases
The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Gate readings
No release here has a gate table behind it for this flag. Most published releases have none at all: the readings exist only for versions the pipeline captured flag state on.
Changelog entries naming it
-
v2.1.248Transcripts owned by the Claude desktop app are exempt from the retention sweep
Desktop-owned transcripts survive the retention sweep, capped by a new desktopSessionCleanupPeriodDays setting.
gate cited by this entry
-
v2.1.224Plan temp files left by interrupted writes are now swept
Leftover temp files from interrupted plan writes are now cleaned up by the retention sweep.
gate cited by this entry
Documentation pages
None of Anthropic's documentation pages this site has a copy of carries this name.
Names beside it
Every feature flag in the inventory starting tengu, up to twelve of them.
tengu_1p_event_batch_configNo description from anybody. never mined
tengu_account_plugins_sync_enabledPlugins you enabled on claude.ai can be pulled to your machine, but only your account server can enable it. never mined
tengu_account_skills_sync_enabledSyncing skills from your claude.ai account stays off, but its checks were reshaped for other synced resources too. 2.1.234
tengu_adopt_claimA stale session claim now keeps its entries, marked stale, instead of throwing them away. never mined
tengu_adopt_linkAdopting an agent's transcript now hard-links the file, copying only when linking is impossible. never mined
tengu_adopt_relinkOn startup, subagent transcripts stored as symlinks are converted to hard links or copies. never mined
tengu_advisor_unknown_contentAdvisor output you couldn't see now shows an error or a clear "declined to advise" message. never mined
tengu_agent_hooks_origin_untrustedAgents in untrusted folders can no longer define inline MCP servers; trust the project to allow it. never mined
tengu_agent_list_attachNo description from anybody. 2.1.138
tengu_agent_proxy_download_queueDownload backlog on the agent proxy is now reported as a telemetry event. never mined
tengu_agent_tool_selectedSDK result messages now include a summary of the subagents your session started. never mined
tengu_agent_worktree_cwd_escape_blockedAgent commands now have a concrete worktree boundary, so escapes get blocked with a clearer log line. never mined
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the feature flag does. All feature flags.