javascript implement a simple chatbot using WebSockets for real-time communication between agent and user with output format as JSON objects containing message and response data
REVIEWER: REVIEW_TASK {task_id: string, task_result: any, review_status: enum("pass", "fail")}
ORCHESTRATOR: PASS_RESULT {task_id: string, result: any}
ORCHESTRATOR: START_TASK {task_id: string, task_type: enum("task_a", "task_b"), task_data: map<string, any>}
Python Generate a natural language message for an agent to alert its human operator when it detects a critical failure in its mission, constrained to exactly 50 characters.
A seasoned secret agent briefs their trusted ally on a high-stakes mission, adopting an urgent and reassuring pace to instill confidence in the listener's nerves.