report_outcome
Associate a task outcome (success, failure, or quality score) with a navigation ID for use in probabilistic policy attribution.
Instructions
Bind a task outcome (success/failure/quality) to a previous navigation_id from a navigate() call. Used by the policy framework's outcome protocol โ see docs/probabilistic-policy.md ยง4.5. v0 emits an outcome_reported NDJSON event for the navigation; no posterior updates yet. Drivers should call this once per agent task so future Bayesian phases (B/D-2) can attribute extraction success/failure to specific policy decisions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Optional human-readable error/explanation when success=false. | |
| navigation_id | Yes | The id returned by navigate() โ joins this outcome to the policy_trace event. | |
| quality | No | Optional 0..1 quality score (e.g. fraction of expected fields extracted). | |
| success | Yes | Did the agent's task succeed? | |
| task_class | No | What kind of task succeeded/failed. Lets future posteriors condition on task class. | |
| task_id | No | Optional opaque id chosen by the driver for cross-system correlation. |