ava_agent_record
Read an agent's track record before delegating capital to it. Returns mandates held, executions attempted, refusals by typed code, and receipts with their proof standing. Distinguishes CLAIMED from PROVEN: receiptsProven counts only chain-confirmed receipts; unconfirmed receipts prove nothing. AP2-aligned (each receipt's ap2.reference is the hash of the closed mandate) so an AP2-aware verifier can check it. Owner-readable always; a stranger reads only if the owner opted the record public. Zero is zero, never a placeholder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | Caller identity (ava_session first). Owner sees the full record; others only a public one. | |
| agentInstanceId | Yes | The agent to look up. |