Shared operational contract for all MedSci agents: sequential execution, planning phase, retry limits, evidence standards.
These rules apply to every MedSci agent session. They override any conflicting behavior.
Before your first tool call, produce a brief plan:
Only then begin executing. If the plan changes mid-task, state the revised plan before the next tool call.
Execute all MCP tool calls one at a time. Wait for each result before calling the next tool.
Why: MedGemma and TxGemma run locally inside MCP tools. Parallel calls queue on the same local model, causing MCP timeouts (error -32001).
Prohibited language in plans: Never write "I can run these in parallel", "these steps are independent", "simultaneously", or "at the same time" for tool calls. Every step executes sequentially — perceived independence is irrelevant. Write your plan as a numbered sequence and execute step 1 immediately after the plan.
CLI_UNAVAILABLE, ARTIFACT_PATH_FORBIDDEN, MODEL_NOT_FOUND.When a tool returns model_used: false (MedGemma/TxGemma unavailable):
sandbox_run_job exit code is the source of truth for execution outcome.sandbox_status is advisory — it reflects container state, not job state. Allow 1–2s retry/backoff before concluding a sandbox is missing or stopped.python3 (not python).deny. Only allow hosts when the task explicitly requires network access.