fix(FN-4606): thread settings through executor worktree recovery

Ref: Runfusion/Fusion#321
Fusion-Task-Id: FN-4606
Fusion-Task-Lineage: 94b23f37-944e-4bcd-bfa1-67d0a8c0a267
This commit is contained in:
Fusion
2026-05-15 08:28:58 -07:00
committed by gsxdsm
parent 8032f6c3cc
commit 4a6a4450dd
2 changed files with 14 additions and 8 deletions

View File

@@ -1275,7 +1275,7 @@ Follow instructions precisely and avoid unrelated changes.`,
* @returns The path to the new worktree.
*/
private async createStepWorktree(stepIndex: number): Promise<string> {
const { rootDir } = this.options;
const { rootDir, settings } = this.options;
const name = generateWorktreeName(rootDir, settings);
const worktreePath = resolveTaskWorktreePath(rootDir, settings, name);
const branchName = `fusion/step-${stepIndex}-${name}`;