feat(FN-5205): add workflow-step test mode dispatch and routing for mock pr

Implements workflow step test mode (FN-5205) by wiring mock dispatch, context forwarding, and routing through executor, merger, and mock provider, plus adding corresponding tests and docs. Also adds broad-scope triage heuristics to improve task-scope detection, touching triage.ts, triage-broad-scope

Fusion-Task-Id: FN-5205

Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
Fusion-Task-Id: FN-5205
This commit is contained in:
gsxdsm
2026-05-23 02:15:36 -07:00
parent b22112af89
commit 76bd3a7d90
19 changed files with 808 additions and 23 deletions

View File

@@ -280,6 +280,8 @@ export async function createResolvedAgentSession(
runtimeContext: {
...runtimeOptions.runtimeContext,
sessionPurpose,
workflowStepId: runtimeOptions.runtimeContext?.workflowStepId,
workflowStepTemplateId: runtimeOptions.runtimeContext?.workflowStepTemplateId,
},
}
: runtimeOptions;