gsxdsm
f5e1b966ab
FN-6943: add worktree file copy settings
Add configurable file-copy seeding for new task worktrees.
- Add the worktreeCopyFiles setting to project settings, schema validation, and dashboard settings UI.
- Copy selected files into acquired worktrees after checkout and record audit events for copied/skipped files.
- Document the new Worktrees setting and cover it with core, dashboard, and engine tests.
Files changed:
.changeset/fn-6943-worktree-copy-files.md | 7 +
docs/dashboard-guide.md | 4 +
docs/settings-reference.md | 1 +
packages/core/src/__tests__/store-settings.test.ts | 24 ++++
packages/core/src/settings-schema.ts | 5 +
packages/core/src/types.ts | 7 +
.../app/__tests__/settings-sections.test.tsx | 66 +++++++++
.../dashboard/app/components/SettingsModal.tsx | 146 ++++++++++++++++++++
.../components/__tests__/SettingsModal.test.tsx | 91 +++++++++++++
.../settings/sections/WorktreesSection.tsx | 51 ++++++-
.../src/__tests__/worktree-acquisition.test.ts | 69 +++++++++-
.../src/__tests__/worktree-copy-files.test.ts | 112 ++++++++++++++++
packages/engine/src/run-audit.ts | 6 +
packages/engine/src/worktree-acquisition.ts | 32 ++++-
packages/engine/src/worktree-copy-files.ts | 147 +++++++++++++++++++++
15 files changed, 765 insertions(+), 3 deletions(-)
Fusion-Task-Id: FN-6943
Fusion-Task-Lineage: fd1ded06-25f9-4496-8f50-6416446d2f29
2026-06-25 08:34:44 -07:00
..
2026-06-25 08:34:44 -07:00
2026-04-24 19:39:20 -07:00
2026-06-24 23:56:23 -07:00
2026-04-13 16:35:06 -07:00
2026-06-24 23:56:23 -07:00
2026-06-08 15:19:27 -07:00
2026-06-22 22:22:37 -07:00