1import { SUBAGENT_V2_APPROVAL_PROMPT, type OrchestratorFixtureInput } from "../shared.ts";
2
3/**
4 * A Supervised Muse thread spawns a native subagent that runs a shell command.
5 * The subagent's approval is asked in its child thread and approved there.
6 */
7export function museSubagentApprovalInput(): OrchestratorFixtureInput {
8 return {
9 runtimeMode: "approval-required",
10 steps: [
11 { type: "message", text: SUBAGENT_V2_APPROVAL_PROMPT },
12 { type: "approve_next_runtime_request" },
13 ],
14 };
15}