record_result
Log a measurable outcome and link it to the agent's confidence snapshot for grading against actual results. Bind it to a prediction ID from a prior check-in.
Instructions
Record a measurable outcome and pair it with this agent's EISV snapshot so verdicts can be graded against what really happened. Pass the prediction_id from a sync_state reply to bind the outcome to that check-in's confidence; it is consumed on first use and TTL-bound (an hour by default). Needs a bound or explicit agent_id, and refuses under strict identity from an ephemeral session. Provenance cannot be self-attested here: verification_source is forced and provenance keys in detail are stripped. Use store_finding for durable knowledge. outcome_event is the canonical twin; this name adds a digest envelope and keeps the raw payload under raw_governance only with response_mode='full' or include_semantics=true, or when the write returned no outcome_id. EISV field definitions: describe_tool(tool_name='check_working_state').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Type-specific metadata (e.g., mark_count, test_name, error_message) | |
| is_bad | No | Whether this is a negative outcome. Inferred from type if omitted. | |
| agent_id | No | Agent ID. Falls back to session-bound agent_id if omitted. | |
| confidence | No | Agent confidence at outcome time (0-1). Looked up from last check-in if omitted. | |
| session_id | No | Optional session id; falls back to client_session_id and then to context. | |
| outcome_type | Yes | Type of outcome event | |
| outcome_score | No | Quality score 0.0 (worst) to 1.0 (best). Inferred from type if omitted. | |
| prediction_id | No | Tactical prediction id from a prior process_agent_update response. | |
| response_mode | No | 'full' is an alias for include_semantics=true; 'lite' (default) returns the small snapshot. | |
| decision_action | No | The decision the agent took (e.g. 'proceed', 'pause'). | |
| continuity_token | No | Same-process rebind proof only; never a cross-process resume. | |
| client_session_id | No | Binding id for calls in this process; not a cross-process proof. | |
| include_semantics | No | If true, the response's eisv_snapshot carries the full EISV ontology (state_semantics role table + hierarchy). | |
| verification_source | No | Provenance of this outcome. | agent_reported_tool_result |