# 0002. Workflow hand-offs replace the alz-run tools | | | |---|---| | Status | Accepted | | Date | 2026-10-29 | | Decided by | Product owner (CP1), decision D1 | | Requirements changed | Every story's Tool Definitions: `alz-run.get_outputs`, `submit_output`, `submit_verdict`, `checkpoint` | ## Decision - **Each agent's input contract** (`schemas/input.json`) replaces `get_outputs`. - **Its reply, checked against its output contract,** replaces `submit_output` and `submit_verdict`. - **The runtime's loop limits** replace `checkpoint`. - **The workflow builder** checks that every field passed between steps exists on both sides (`scripts/build_workflow.py`). ## Consequences - **The server-side "id not scanned" check is gone.** The critic's call-log check (DSC-08) covers it. - **A schema failure is retried once,** then the step fails with `output_contract_violation`.