| 1 | import type { OrchestratorFixtureInput } from "../shared.ts"; |
| 2 | |
| 3 | const MUSE_WORKFLOW_PROMPT = |
| 4 | "Use your workflow tool to launch a workflow with exactly TWO agents: one labeled 'ping' that replies with the word PING, and one labeled 'pong' that replies with the word PONG. Launch it and end your turn; do not wait for it."; |
| 5 | |
| 6 | /** |
| 7 | * Muse ends the turn as soon as the workflow launches, keeps running it in the |
| 8 | * background, then starts a turn on its own to report the result. T3 shows each |
| 9 | * workflow agent as a native subagent, and runs Muse's report turn as a |
| 10 | * continuation (run 2) instead of dropping it. |
| 11 | */ |
| 12 | export function museWorkflowInput(): OrchestratorFixtureInput { |
| 13 | return { |
| 14 | steps: [ |
| 15 | { type: "message", text: MUSE_WORKFLOW_PROMPT }, |
| 16 | { type: "await_run_status", targetRunIndex: 2, status: "completed" }, |
| 17 | ], |
| 18 | }; |
| 19 | } |