Record outcome
record_outcomeRecord a task's success or failure with evidence to finalize it in the Experience Graph, update lessons, and compare paths. Use after tests, builds, research checks, or user confirmation.
Instructions
Record your reported outcome of the most recent task and learn from it. Evidence: stored as agent_reported. A report never counts as verified on its own; a test, lint or build seen passing after the last edit does, and an agreeing report keeps that stronger evidence. Returns: the recorded status plus a plain-language Path check. A better path is only named when comparable completed tasks provide evidence; otherwise the result says that no better option is proven. Use when: the result is confirmed: tests/lint/build passed, research was cross-checked against relevant evidence, the user confirmed the answer, or the task failed/was abandoned. Not for: declaring the strategy (use choose_path). Side effects: finalizes the task in the local Experience Graph and updates its experience, lessons and path comparison; calling it again for the same task replaces the recorded outcome. Touches no project files. Errors: 'No execution to record an outcome for' before any task was planned; a 'not enabled' message until the project is approved.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"status": "<status>",
"evidence": "<evidence>"
},
"name": "record_outcome"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | 'success' when the result is confirmed (tests/builds passed, research was cross-checked, or the user confirmed it); 'failure' when the task failed or was abandoned. | |
| evidence | Yes | Short proof of the result, e.g. 'pytest tests/test_auth.py passed' or 'user confirmed the fix'. Secrets are redacted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |