{"name":"tengu_scratch","slug":"tengu-scratch","family":"flag","title":"Feature flags","noun":"feature flag","description":"Claude may soon be told to use a per-session scratchpad directory for temp files instead of \/tmp.","description_source":"entry","described_by":{"version":"2.1.252","anchor":"scratchpad-directory-a-new-per-session-temp-file-location-a"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":150,"mined_builds":150,"first_cited":{"version":"2.1.3","released_at":"2026-01-09 21:05:42","spans":2}},"aliases":[],"entries":[{"version":"2.1.252","anchor":"scratchpad-directory-a-new-per-session-temp-file-location-a","heading":"Scratchpad directory: a new per-session temp-file location announced to the model","line":"Claude may soon be told to use a per-session scratchpad directory for temp files instead of \/tmp.","released_at":"2026-08-31 17:07:28","reason":"gate cited by this entry"},{"version":"2.1.252","anchor":"scratchpad-directory-tracked-in-environment-change-diffs-and","heading":"Scratchpad directory tracked in environment-change diffs and telemetry schema","line":"The scratchpad directory is now tracked in environment-change diffs and telemetry like other environment fields.","released_at":"2026-08-31 17:07:28","reason":"gate cited by this entry"},{"version":"2.1.178","anchor":"scratchpad-directory-always-enabled","heading":"Scratchpad Directory Always Enabled","line":null,"released_at":"2026-06-15 19:03:37","reason":"gate cited by this entry, found in this entry's text"},{"version":"2.1.3","anchor":"scratch-feature-tengu-scratch","heading":"Scratch Feature (tengu_scratch)","line":null,"released_at":"2026-01-09 21:05:42","reason":"gate cited by this entry, found in this entry's text"}],"entries_total":4,"docs":[],"docs_total":0,"gates":[{"version":"2.1.252","state":"off","account":false,"baseline":false,"code_default":false},{"version":"2.1.178","state":"off","account":false,"baseline":false,"code_default":false},{"version":"2.1.3","state":"off","account":false,"baseline":false,"code_default":null}],"related":[{"name":"tengu_1p_event_batch_config","slug":"tengu-1p-event-batch-config","description":"Default `{}`. Batch settings for Claude Code's first-party event logger: `scheduledDelayMillis` (falls back to `OTEL_LOGS_EXPORT_INTERVAL`, then `10000`), `maxExportBatchSize` (default `200`) and `maxQueueSize` (default `8192`), plus `skipAuth`, `maxAttempts`, `path` and `baseUrl` passed to the exporter. When the value changes during a session, the logger is flushed and rebuilt with the new settings."},{"name":"tengu_account_plugins_sync_enabled","slug":"tengu-account-plugins-sync-enabled","description":"Plugins you enabled on claude.ai can be pulled to your machine, but only your account server can enable it."},{"name":"tengu_account_skills_sync_enabled","slug":"tengu-account-skills-sync-enabled","description":"Account skills-sync eligibility logic generalized into a reusable descriptor"},{"name":"tengu_adopt_claim","slug":"tengu-adopt-claim","description":"Stale adopted session claims now return their data marked stale instead of being discarded"},{"name":"tengu_adopt_link","slug":"tengu-adopt-link","description":"Adopting an agent's transcript now hard-links the file, copying only when linking is impossible."},{"name":"tengu_adopt_relink","slug":"tengu-adopt-relink","description":"On startup, subagent transcripts stored as symlinks are converted to hard links or copies."},{"name":"tengu_advisor_unknown_content","slug":"tengu-advisor-unknown-content","description":"Advisor output you couldn't see now shows an error or a clear \"declined to advise\" message."},{"name":"tengu_agent_frontmatter_mode_widening_carry_ignored","slug":"tengu-agent-frontmatter-mode-widening-carry-ignored","description":"An agent definition's permissionMode can no longer widen the mode inherited from its parent context."},{"name":"tengu_agent_hooks_origin_untrusted","slug":"tengu-agent-hooks-origin-untrusted","description":"Agents in untrusted folders can no longer define inline MCP servers; trust the project to allow it."},{"name":"tengu_agent_list_attach","slug":"tengu-agent-list-attach","description":"Default `false`. When `CLAUDE_CODE_AGENT_LIST_IN_MESSAGES` is unset or not a recognised boolean, `true` sends the `Agent` tool's list of agent types as `agent_listing_delta` attachments in the conversation (after the first, only the added and removed types) and leaves it out of the tool description. A truthy `CLAUDE_CODE_DISABLE_ATTACHMENTS` or `CLAUDE_CODE_SIMPLE` keeps the list in the description."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/flag\/tengu-scratch","family_url":"https:\/\/changelogs.core-directive.com\/reference\/flag.json"}