ledger_log_verdict
Record verification outcomes for agent dispatches by attaching CONFIRMED, REFUTED, or PARTIAL verdicts with optional notes, providing an auditable trail of subagent work validation.
Instructions
Attach a verification verdict to a previously logged dispatch.
Use this after independently verifying a subagent's work, to record whether its claims were confirmed, refuted, or partially true.
Args: dispatch_id (int): The id returned by ledger_log_dispatch for the dispatch being verified. verdict (str): One of "CONFIRMED", "REFUTED", "PARTIAL". notes (Optional[str]): Optional free-text notes on the verification.
Returns: dict: {"ok": true, "task": str} — the task string of the dispatch the verdict was attached to.
Errors: Raises ValueError with an actionable message if dispatch_id does not exist, or if verdict is not one of the three allowed values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| verdict | Yes | ||
| dispatch_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||