{"version":"2.1.331","anchor":"workflow-journal-opens-files-with-link-and-hard-link-checks","canonical_anchor":"workflow-journal-opens-files-with-link-and-hard-link-checks","heading":"Workflow journal files guarded against link swaps","tier":"soon","area":"Workflows","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/workflow-journal-opens-files-with-link-and-hard-link-checks","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Workflow journal files guarded against link swaps\n\nThe file that records workflow progress can now be read and written with checks that refuse links, behind a switch\n\n**Unclear.** It is not known what turns this protection on or whether it is on by default.\n\n**What**\n\nClaude Code keeps a journal file that records the progress of a workflow run. Behind a switch, it now opens this file with extra checks. Writes go to a new temporary file that must not already exist, which then replaces the journal. If the run's folder is a link pointing somewhere else, it stops with \"could not use the workflow journal\". With the switch off, it reads and writes the file plainly as before.\n\n**Why**\n\nThis protects workflow state files from being swapped out for links that point at other files.\n\n- Area: Workflows\n- Tier: Nothing to try yet\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}