fix(FN-4949): defer stale active branch reclaim during live executor work
- Add stale-branch reclaim guards for active executor sessions, recent execution starts, and worktrees with uncommitted changes - Emit branch:stale-active-reclaim-deferred run-audit telemetry with deferral metadata for self-healing decisions - Cover reclaim deferral and legitimate reclaim behavior with reliability interaction tests - Document the new stale active branch deferral contract in AGENTS.md - Add a patch changeset for the published CLI package Fusion-Task-Id: FN-4949
This commit is contained in:
committed by
gsxdsm
parent
22729135e8
commit
287673c261
5
.changeset/fn-4949-reclaim-guards.md
Normal file
5
.changeset/fn-4949-reclaim-guards.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@runfusion/fusion": patch
|
||||
---
|
||||
|
||||
Engine: `reclaim-stale-active-branches` now defers reclaim when the task has a registered active session, a recent `executionStartedAt`, or a worktree with uncommitted changes. Emits a new `branch:stale-active-reclaim-deferred` run-audit event per deferral. Fixes FN-4924-class loops where executor work was wiped because per-step commits were absent.
|
||||
Reference in New Issue
Block a user