feat(FN-4935): complete Step 7 — testing and verification

Ref: Runfusion/Fusion#601
Fusion-Task-Id: FN-4935
Fusion-Task-Lineage: 8c842b69-1427-47be-9ba5-8ec66449cc7c
This commit is contained in:
Fusion (runfusion.ai)
2026-05-17 15:01:42 -07:00
committed by gsxdsm
parent f562c856da
commit 3bbc5077b8
7 changed files with 57 additions and 23 deletions

View File

@@ -0,0 +1,12 @@
---
"@runfusion/fusion": patch
---
Fix the executor's pre-session worktree liveness assertion firing on
freshly-created worktrees (Runfusion/Fusion#601). The gate now skips when
`acquireTaskWorktree` returns `source: "fresh"`, and legitimate failures
are classified into `missing` / `incomplete` / `unregistered` /
`outside-work-tree` with a canonicalized registered-paths snapshot in the
log plus a `worktree:incomplete-detected` run-audit event. The existing
`taskDoneRetryCount` requeue-to-`todo` contract on this gate is preserved
unchanged.