185 lines
4.7 KiB
JSON
185 lines
4.7 KiB
JSON
{
|
|
"trajectory_id": "traj-3f6687ff-3a55-4a26-a7bc-8397d8da7d15",
|
|
"task": {
|
|
"task_id": "task-aeed227c-2e87-45d8-8d98-e270656556b6",
|
|
"input": "Use my telegram preference for this answer.",
|
|
"channel": "telegram",
|
|
"created_at": "2026-04-14T06:53:08.731336+00:00",
|
|
"user_id": "oza"
|
|
},
|
|
"context_snapshot": {
|
|
"conversation_summary": "",
|
|
"environment_summary": "",
|
|
"recent_failures": []
|
|
},
|
|
"candidate_sets": {
|
|
"memory": [
|
|
{
|
|
"id": "mem-telegram-pref",
|
|
"type": "memory",
|
|
"title": "Telegram preference",
|
|
"summary": "Prefer plain text on Telegram.",
|
|
"triggers": [
|
|
"telegram",
|
|
"preference",
|
|
"answer"
|
|
],
|
|
"cost": 0.0,
|
|
"confidence": 0.95,
|
|
"success_rate": 0.9,
|
|
"freshness": 0.9,
|
|
"risk": 0.0,
|
|
"tags": [
|
|
"output"
|
|
],
|
|
"source": "user",
|
|
"type_payload": {}
|
|
}
|
|
],
|
|
"skill": [
|
|
{
|
|
"id": "skill-deploy",
|
|
"type": "skill",
|
|
"title": "Deploy workflow",
|
|
"summary": "Reusable deployment workflow.",
|
|
"triggers": [
|
|
"deploy",
|
|
"workflow",
|
|
"service"
|
|
],
|
|
"cost": 0.0,
|
|
"confidence": 0.8,
|
|
"success_rate": 0.9,
|
|
"freshness": 0.8,
|
|
"risk": 0.0,
|
|
"tags": [
|
|
"ops"
|
|
],
|
|
"source": "system",
|
|
"type_payload": {}
|
|
}
|
|
],
|
|
"tool": [
|
|
{
|
|
"id": "tool-terminal",
|
|
"type": "tool",
|
|
"title": "terminal",
|
|
"summary": "Run terminal-style inspection commands.",
|
|
"triggers": [
|
|
"check",
|
|
"current",
|
|
"status",
|
|
"system"
|
|
],
|
|
"cost": 0.0,
|
|
"confidence": 0.95,
|
|
"success_rate": 0.9,
|
|
"freshness": 1.0,
|
|
"risk": 0.0,
|
|
"tags": [
|
|
"inspection"
|
|
],
|
|
"source": "system",
|
|
"type_payload": {}
|
|
}
|
|
]
|
|
},
|
|
"decisions": [
|
|
{
|
|
"step": 1,
|
|
"decision_type": "inject_memory",
|
|
"selected_ids": [
|
|
"mem-telegram-pref"
|
|
],
|
|
"rejected_ids": [],
|
|
"rationale": "Task likely depends on stable user/project facts.",
|
|
"estimated_cost": 0.0
|
|
}
|
|
],
|
|
"events": [
|
|
{
|
|
"event_id": "evt-d71b1fdf-5343-4ac1-89a0-75488c1ce30b",
|
|
"trajectory_id": "traj-3f6687ff-3a55-4a26-a7bc-8397d8da7d15",
|
|
"timestamp": "2026-04-14T06:53:08.731418+00:00",
|
|
"stage": "retrieval",
|
|
"event_type": "task_received",
|
|
"payload": {
|
|
"input": "Use my telegram preference for this answer."
|
|
},
|
|
"metrics": {},
|
|
"parent_event_id": null
|
|
},
|
|
{
|
|
"event_id": "evt-1f750475-1127-41e5-9f94-c87e4b019ee2",
|
|
"trajectory_id": "traj-3f6687ff-3a55-4a26-a7bc-8397d8da7d15",
|
|
"timestamp": "2026-04-14T06:53:08.731427+00:00",
|
|
"stage": "retrieval",
|
|
"event_type": "candidates_recalled",
|
|
"payload": {
|
|
"memory_ids": [
|
|
"mem-telegram-pref"
|
|
],
|
|
"skill_ids": [
|
|
"skill-deploy"
|
|
],
|
|
"tool_ids": [
|
|
"tool-terminal"
|
|
]
|
|
},
|
|
"metrics": {},
|
|
"parent_event_id": "evt-d71b1fdf-5343-4ac1-89a0-75488c1ce30b"
|
|
},
|
|
{
|
|
"event_id": "evt-741967a5-41b9-4917-9b95-4047f89e6e19",
|
|
"trajectory_id": "traj-3f6687ff-3a55-4a26-a7bc-8397d8da7d15",
|
|
"timestamp": "2026-04-14T06:53:08.731432+00:00",
|
|
"stage": "policy",
|
|
"event_type": "action_selected",
|
|
"payload": {
|
|
"step": 1,
|
|
"decision_type": "inject_memory",
|
|
"selected_ids": [
|
|
"mem-telegram-pref"
|
|
],
|
|
"rejected_ids": [],
|
|
"rationale": "Task likely depends on stable user/project facts.",
|
|
"estimated_cost": 0.0
|
|
},
|
|
"metrics": {},
|
|
"parent_event_id": "evt-1f750475-1127-41e5-9f94-c87e4b019ee2"
|
|
},
|
|
{
|
|
"event_id": "evt-memory-traj-3f6687ff-3a55-4a26-a7bc-8397d8da7d15-mem-telegram-pref",
|
|
"trajectory_id": "traj-3f6687ff-3a55-4a26-a7bc-8397d8da7d15",
|
|
"timestamp": "2026-04-14T06:53:08.731437+00:00",
|
|
"stage": "execution",
|
|
"event_type": "memory_injected",
|
|
"payload": {
|
|
"record_id": "mem-telegram-pref",
|
|
"input": "Use my telegram preference for this answer."
|
|
},
|
|
"metrics": {},
|
|
"parent_event_id": null
|
|
}
|
|
],
|
|
"outcome": {
|
|
"status": "success",
|
|
"steps": 1,
|
|
"latency_ms": 0,
|
|
"user_corrections": 0,
|
|
"tool_errors": 0,
|
|
"notes": "Draft trajectory generated by MemabraRunner with execution hooks."
|
|
},
|
|
"reward": {
|
|
"total": 1.1,
|
|
"components": {
|
|
"task_success": 0.8,
|
|
"retrieval_hit": 0.2,
|
|
"tool_error": 0.0,
|
|
"user_correction": 0.0,
|
|
"latency": 0.0,
|
|
"context_cost": 0.0,
|
|
"useful_reuse": 0.1
|
|
}
|
|
}
|
|
} |