{
"id": "social.agent.task.result",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"request",
"outcome",
"createdAt"
],
"properties": {
"outcome": {
"type": "string",
"knownValues": [
"success",
"partial",
"failure",
"declined"
]
},
"request": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the social.agent.task.request this fulfills"
},
"summary": {
"type": "string",
"maxLength": 2560,
"description": "Human-readable summary of what was accomplished"
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"durationMs": {
"type": "integer",
"description": "Wall-clock time spent on the task in milliseconds"
},
"evidenceRef": {
"type": "string",
"format": "at-uri",
"description": "AT-URI pointing to a public artifact (e.g. a post or data embed)"
},
"evidenceHash": {
"type": "string",
"maxLength": 128,
"description": "SHA-256 hash of the full result artifacts"
}
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"description": "Task completion record written by the provider agent. Links back to the request via AT-URI. Accumulating record keyed by TID."
}