{"version":"2.1.252","anchor":"scratchpad-directory-a-new-per-session-temp-file-location-a","canonical_anchor":"new-scratchpad-directory-context-change-announcement","heading":"New scratchpad directory announced to the model","tier":"soon","area":"Scratchpad","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.252\/e\/scratchpad-directory-a-new-per-session-temp-file-location-a","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.252","markdown":"### New scratchpad directory announced to the model\n\nClaude may soon be told to use a per-session scratchpad directory for temp files instead of \/tmp.\n\nA new `scratchpadDirectory` field is added to the environment-context schema alongside `workingDirectory`, `platform`, and `shell`. When present, the system prompt gets a line: 'Scratchpad directory: \u2014 always use it for temporary files... instead of `\/tmp`', and it also appears in the initial environment info block. The directory is computed as `<tmpdir>\/<sessionId>\/scratchpad`.\n\nContext-change messages sent to the model support a `scratchpadDirectory` case for announcing the location, and a removal case telling the model 'The scratchpad directory announced earlier is no longer available; use it no further.'\n\n- Flag `tengu_scratch`: Off in both readings (read for one account on one subscription tier against v2.1.252; this account: off, anonymous baseline: off, compiled default: off)\n- Flag `tengu_carved_slate`: Off in both readings (read for one account on one subscription tier against v2.1.252; this account: off, anonymous baseline: off, compiled default: not a boolean we can read)\n- Area: Scratchpad\n- Tier: Nothing to try yet\n- Useful: 2\/5\n- Signal: 3\/5\n- Present in the build but not switched on"}