gsxdsm
b154844286
FN-5772: re-anchor nested task worktree paths
Fix executor worktree invariant handling by re-anchoring nested task worktree paths to the actual git top-level.
- add nested worktree root detection that only re-anchors when the top-level is a registered worktree inside the configured worktrees directory
- update executor liveness gating and verifyWorktreeInvariants to persist re-anchored task.worktree values and retry checks safely
- emit a new run-audit git mutation (worktree:reanchored) and add reliability tests/docs coverage plus a patch changeset
Files changed:
.changeset/fn-5772-worktree-reanchor.md | 7 +++
docs/architecture.md | 4 +-
packages/engine/src/__tests__/reliability-interactions/executor-liveness-gate.test.ts | 33 ++++++++++
packages/engine/src/__tests__/verify-worktree-invariants-missing.test.ts | 62 +++++++++++++++++-
packages/engine/src/__tests__/worktree-reanchor-nested-root.test.ts | 73 ++++++++++++++++++++++
packages/engine/src/executor.ts | 54 ++++++++++++++--
packages/engine/src/run-audit.ts | 1 +
packages/engine/src/worktree-pool.ts | 63 +++++++++++++++++++
8 files changed, 290 insertions(+), 7 deletions(-)
Fusion-Task-Id: FN-5772
Fusion-Task-Lineage: 475de161-7bc1-4359-bb76-20c4c07196d9
2026-05-31 08:32:01 -07:00
..
2026-05-17 19:36:12 -07:00
2026-05-16 17:08:09 -07:00
2026-05-16 22:36:57 -07:00
2026-05-18 06:20:53 -07:00
2026-05-17 17:07:01 -07:00
2026-05-15 16:19:42 -07:00
2026-05-14 22:16:44 -07:00
2026-05-13 22:08:41 -07:00
2026-05-21 19:15:27 -07:00
2026-05-21 19:15:27 -07:00
2026-05-22 21:40:40 -07:00
2026-05-21 19:15:27 -07:00
2026-05-20 16:43:27 -07:00
2026-05-14 19:06:25 -07:00
2026-05-14 14:09:57 -07:00
2026-05-22 09:37:23 -07:00
2026-05-16 18:55:03 -07:00
2026-05-16 21:53:18 -07:00
2026-05-22 14:38:29 -07:00
2026-05-16 10:50:06 -07:00
2026-05-22 16:09:43 -07:00
2026-05-23 00:22:19 -07:00
2026-05-15 20:18:55 -07:00
2026-05-30 20:48:16 -07:00
2026-05-21 07:05:48 -07:00
2026-05-20 14:29:07 -07:00
2026-05-22 23:12:49 -07:00
2026-05-16 21:15:10 -07:00
2026-05-31 08:32:01 -07:00
2026-05-17 14:10:46 -07:00
2026-05-29 06:54:45 -07:00
2026-05-22 20:20:42 -07:00
2026-05-21 12:04:58 -07:00
2026-05-21 19:15:27 -07:00
2026-05-18 00:53:24 -07:00
2026-05-21 19:15:27 -07:00
2026-05-19 10:07:44 -07:00
2026-05-18 18:27:08 -07:00
2026-05-20 01:01:08 -07:00
2026-05-23 04:05:25 -07:00
2026-05-18 08:44:20 -07:00
2026-05-19 03:54:49 -07:00
2026-05-22 14:38:29 -07:00
2026-05-22 22:42:57 -07:00
2026-05-15 11:41:35 -07:00
2026-05-20 08:23:40 -07:00
2026-05-18 01:30:16 -07:00
2026-05-20 18:49:38 -07:00
2026-05-30 20:48:16 -07:00
2026-05-30 14:42:50 -07:00
2026-05-23 20:18:08 -07:00
2026-05-16 22:36:57 -07:00
2026-05-18 12:46:23 -07:00
2026-05-17 19:36:14 -07:00
2026-05-17 17:29:31 -07:00
2026-05-30 16:47:15 -07:00
2026-05-31 08:32:01 -07:00
2026-05-16 20:27:40 -07:00
2026-05-30 15:52:46 -07:00
2026-05-16 22:36:57 -07:00
2026-05-17 08:47:16 -07:00
2026-05-30 20:21:35 -07:00
2026-05-20 18:49:38 -07:00
2026-05-16 21:26:04 -07:00
2026-05-21 19:15:27 -07:00
2026-05-21 09:06:23 -07:00
2026-05-28 18:50:23 -07:00
2026-05-29 00:55:17 -07:00
2026-05-17 19:37:02 -07:00
2026-05-21 19:15:27 -07:00
2026-05-17 19:37:02 -07:00
2026-05-22 21:08:00 -07:00
2026-05-20 06:42:05 -07:00
2026-05-18 14:16:22 -07:00
2026-05-16 17:59:03 -07:00
2026-05-17 18:37:48 -07:00
2026-05-29 20:05:14 -07:00
2026-05-30 06:47:02 -07:00
2026-05-21 16:30:31 -07:00
2026-05-17 23:29:21 -07:00
2026-05-18 02:25:21 -07:00
2026-05-17 09:51:10 -07:00
2026-05-21 19:15:27 -07:00
2026-05-18 15:50:48 -07:00
2026-05-15 12:40:10 -07:00
2026-05-20 02:46:49 -07:00
2026-05-28 21:17:02 -07:00
2026-05-23 21:54:07 -07:00
2026-05-22 04:09:22 -07:00
2026-05-21 10:14:38 -07:00
2026-05-23 17:07:14 -07:00
2026-05-21 09:06:23 -07:00
2026-05-21 09:06:23 -07:00
2026-05-15 21:57:57 -07:00
2026-05-15 21:57:57 -07:00
2026-05-18 02:43:33 -07:00
2026-05-29 00:55:17 -07:00
2026-05-19 19:28:05 -07:00
2026-05-19 17:19:03 -07:00
2026-05-16 22:36:57 -07:00
2026-05-31 08:32:01 -07:00
2026-05-22 22:10:45 -07:00
2026-05-17 20:10:17 -07:00
2026-05-16 21:34:25 -07:00
2026-05-17 15:55:18 -07:00
2026-05-20 09:42:40 -07:00
2026-05-16 20:54:39 -07:00
2026-05-18 15:51:01 -07:00
2026-05-20 07:44:57 -07:00
2026-05-15 20:53:54 -07:00
2026-05-20 16:43:27 -07:00
2026-05-16 10:08:02 -07:00