{ "name": "toast_dismiss", "presets": { "processes": [ { "name": "steady", "argv": ["sh", "-lc", "printf 'STEADY READY\\n'; sleep 30"] } ] }, "trust": ["steady"], "steps": [ { "type": "mcp_call", "method": "spawn_process", "params": {"kind": "command", "preset": "steady", "name": "steady"}, "save_as": "proc" }, { "type": "wait_text", "contains": "STEADY READY", "timeout_ms": 5000 }, { "type": "mcp_call", "method": "request_human_attention", "params": {"process_id": "{{proc.process_id}}", "reason": "needs eyes on the deploy"} }, { "type": "wait_text", "contains": "needs eyes on the deploy", "timeout_ms": 5000 }, { "type": "assert_contains", "contains": "STEADY READY" }, { "type": "send_chord", "chord": "ctrl-n" }, { "type": "wait_stable", "timeout_ms": 2000 }, { "type": "assert_contains", "contains": "STEADY READY" }, { "type": "assert_not_contains", "contains": "needs eyes on the deploy" } ] }