Files
fusion/.changeset/fn-4632-worktrunk-integration.md
Fusion (runfusion.ai) 196b7e439f feat(FN-4633): import worktrunk integration dependency from FN-4632
Adds a changesets file for worktrunk integration (FN-4632), preparing the patch release for the feature.

Fusion-Task-Id: FN-4633
2026-05-16 00:13:02 -07:00

824 B
Raw Blame History

@runfusion/fusion
@runfusion/fusion
minor

Fusion now supports an optional integration with the worktrunk CLI for per-task worktree management. It is off by default and can be enabled with worktrunk.enabled (global with project overrides).

When enabled, Fusion delegates worktree create/sync/prune/remove operations to worktrunk and adopts worktrunks directory layout. You can set worktrunk.binaryPath to use a specific binary, or rely on auto-install on first use (gated by the network_api action gate).

worktrunk.onFailure defaults to "fail" (pause the task on a worktrunk error), with opt-in "fallback-native" if you want Fusion to fall back to native worktree handling. When worktrunk.enabled = true, worktrunk layout takes precedence and worktreesDir is ignored.