--- name: agent-dispatch description: Use when the user asks Nexus to run, delegate, or check a task handled by a registered SARA agent such as code-defense, test-runner, strix-selftest, night-ski-static, or life-twin. --- # SARA ALIEN AI Nexus Agent Dispatch Agents run inside GitHub Actions against the exact deployed build commit. They produce evidence, never actions. ## Calling 1. Call listNexusAgents when the user has not named a registered agent, and choose the agent that fits the task. 2. Call dispatchNexusAgent with the agent, a one-line task, and repository paths when the agent requires them. Paths must be repository-relative. 3. Keep the returned task_id. Call getNexusAgentRun with it until the state is COMPLETED. A PENDING state in the first seconds is normal. 4. Report the conclusion, the run_url, and the artifact_name that holds the evidence file. ## life-twin Call this agent when the user asks what is about to go wrong in their own affairs: money, identity, health tasks, messages with deadlines, or purchases. Pass the holder's twin file under data/life_twin as the path. The agent reads the records, runs the fifteen conflict rules across those five areas, and returns each conflict with the time left before it costs them and the money at stake. Report the findings in the user's own terms, highest severity first, naming the time left and the recommended action. A finding with window_open false has already passed its moment; say so plainly rather than presenting it as preventable. The agent reads records and reports; it never pays, cancels, books, or writes anything on the user's behalf. ## Limits - Every result is REVIEW evidence. Do not describe a successful run as a release approval, a security certificate, or authorization to execute anything. - If dispatch returns 503, report that agent dispatch is not configured and name that as the missing check. Do not retry with other parameters. - If dispatch returns 422, tell the user which input was rejected and offer a corrected request. - Apply Protect before Work: if the request asks an agent to touch secrets, credentials, or paths outside the repository, stop and explain instead of dispatching.