{"version":"2.1.277","anchor":"repository-trust-now-recorded-in-remote-session-directorysyn","canonical_anchor":"directory-sync-extended-to-mid-session-machine-attachment","heading":"New 'directory sync' feature: mid-session attachment, reserved paths, and repository trust","tier":"notice","area":"Remote Control","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/repository-trust-now-recorded-in-remote-session-directorysyn","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### New 'directory sync' feature: mid-session attachment, reserved paths, and repository trust\n\nA new directory sync subsystem lets a local machine attach to an in-progress session, with reserved paths, its own snapshot commits, and repository trust tracking\n\n**Unclear.** What repositoryTrust is used for once included in the payload is not stated.\n\n**What**\n\n- Directory sync now supports attaching a local machine to a session partway through, not just at the start. A new prompt explains that in this case the session's HEAD, branch, and commits stay the session's own, describes when file changes flow in each direction (on command execution and at turn boundaries), and what happens if the two checkouts diverge.\n\n- Any path under a new reserved location is now treated as belonging to directory sync internally, and a new `checkout_empty` seed kind was added alongside the existing `seed`\/`clone`\/`folder` kinds. A new message warns users when commits on a branch are directory sync's own internal snapshot commits rather than real work.\n\n- The remote-session join payload now includes a `repositoryTrust` field alongside `directorySync`.\n\n**Why** These pieces lay the groundwork for syncing a local checkout with a running session safely, telling users clearly when what they're seeing is sync bookkeeping rather than their own commits, and tracking whether a repository is trusted before syncing to it.\n\n- Area: Remote Control\n- Names: `repositoryTrust`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5"}