gsxdsm
ca7a5a7106
FN-8144: remove workspace worktrees on archive
Archive workspace task worktrees synchronously and safely across archive entry points.
- Add store-scoped workspace disposal planning, reservations, and quarantine handling.
- Install baseline and executor disposers that remove per-repository worktrees and branches without shell interpolation.
- Cover disposal-plan deduplication and document the archive cleanup behavior.
Files changed:
.../fn-8144-archive-removes-workspace-worktrees.md | 7 ++
AGENTS.md | 1 +
docs/task-management.md | 4 +
.../archive-removes-workspace-worktrees.test.ts | 59 +++++++++++
packages/core/src/archive-worktree-disposer.ts | 52 ++++++++++
packages/core/src/index.gate.ts | 8 ++
packages/core/src/index.ts | 8 ++
.../core/src/task-store/archive-lifecycle-2.ts | 29 ++++--
packages/core/src/task-store/archive-lifecycle.ts | 114 ++++++++++++++++++++-
.../src/archive-worktree-disposer-install.ts | 27 ++++-
packages/engine/src/executor.ts | 25 ++++-
11 files changed, 319 insertions(+), 15 deletions(-)
Fusion-Task-Id: FN-8144
Fusion-Task-Lineage: 1c4b65f3-a1d2-4a5c-a4b6-c263f9e6f61d
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-16 17:05:29 -07:00
..
2026-07-16 17:05:29 -07:00
2026-07-13 10:32:12 -07:00
2026-07-13 10:32:12 -07:00
2026-06-08 15:19:27 -07:00
2026-07-16 12:42:17 -07:00