Initial standalone memabra release
This commit is contained in:
@@ -0,0 +1,192 @@
|
||||
{
|
||||
"trajectory_id": "traj-004e53d5-006c-4e61-91a4-dc51cf7ee9bd",
|
||||
"task": {
|
||||
"task_id": "task-5977495f-189b-4a87-8924-4834bded854c",
|
||||
"input": "Check the current system status.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T14:37:42.381631+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": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1413.615).",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-501ed3a1-622f-4e8a-b90b-2fb0384d89bd",
|
||||
"trajectory_id": "traj-004e53d5-006c-4e61-91a4-dc51cf7ee9bd",
|
||||
"timestamp": "2026-04-14T14:37:42.381702+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Check the current system status."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-4b6839de-ac61-414f-8939-3ba335a93cfa",
|
||||
"trajectory_id": "traj-004e53d5-006c-4e61-91a4-dc51cf7ee9bd",
|
||||
"timestamp": "2026-04-14T14:37:42.381707+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-501ed3a1-622f-4e8a-b90b-2fb0384d89bd"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-1b229a15-af51-4924-932d-4d0318f0ba26",
|
||||
"trajectory_id": "traj-004e53d5-006c-4e61-91a4-dc51cf7ee9bd",
|
||||
"timestamp": "2026-04-14T14:37:42.381711+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1413.615).",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-4b6839de-ac61-414f-8939-3ba335a93cfa"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-skill-traj-004e53d5-006c-4e61-91a4-dc51cf7ee9bd-skill-deploy",
|
||||
"trajectory_id": "traj-004e53d5-006c-4e61-91a4-dc51cf7ee9bd",
|
||||
"timestamp": "2026-04-14T14:37:42.381718+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "skill_loaded",
|
||||
"payload": {
|
||||
"skill_id": "skill-deploy",
|
||||
"input": "Check the current system status.",
|
||||
"instructions": "Demo skill payload loaded successfully."
|
||||
},
|
||||
"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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"trajectory_id": "traj-120aec7e-a74d-42d6-8846-c472680cc2f3",
|
||||
"task": {
|
||||
"task_id": "task-78a318e6-c8b4-4d05-bfd8-2ebe4b19710f",
|
||||
"input": "Check the current system status.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T15:27:38.518486+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": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-be0db4ba-93b9-4cf7-bd76-51c1af70c6d4",
|
||||
"trajectory_id": "traj-120aec7e-a74d-42d6-8846-c472680cc2f3",
|
||||
"timestamp": "2026-04-14T15:27:38.518550+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Check the current system status."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-fb7734b7-bdab-4e24-8dec-a9debf02529d",
|
||||
"trajectory_id": "traj-120aec7e-a74d-42d6-8846-c472680cc2f3",
|
||||
"timestamp": "2026-04-14T15:27:38.518556+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-be0db4ba-93b9-4cf7-bd76-51c1af70c6d4"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-8ed4e73b-2b45-44a6-9ab6-cc6184202dc0",
|
||||
"trajectory_id": "traj-120aec7e-a74d-42d6-8846-c472680cc2f3",
|
||||
"timestamp": "2026-04-14T15:27:38.518561+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-fb7734b7-bdab-4e24-8dec-a9debf02529d"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-traj-120aec7e-a74d-42d6-8846-c472680cc2f3-tool-terminal",
|
||||
"trajectory_id": "traj-120aec7e-a74d-42d6-8846-c472680cc2f3",
|
||||
"timestamp": "2026-04-14T15:27:38.518572+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_called",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"input": "Check the current system status."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-result-traj-120aec7e-a74d-42d6-8846-c472680cc2f3-tool-terminal",
|
||||
"trajectory_id": "traj-120aec7e-a74d-42d6-8846-c472680cc2f3",
|
||||
"timestamp": "2026-04-14T15:27:38.518575+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_result",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"status": "success",
|
||||
"output": "demo-result-for:tool-terminal",
|
||||
"error": null,
|
||||
"latency_ms": 42
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
}
|
||||
],
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"steps": 1,
|
||||
"latency_ms": 42,
|
||||
"user_corrections": 0,
|
||||
"tool_errors": 0,
|
||||
"notes": "Draft trajectory generated by MemabraRunner with execution hooks."
|
||||
},
|
||||
"reward": {
|
||||
"total": 1.032,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.25,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.008,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.05
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"trajectory_id": "traj-179d0c19-3f0f-4429-a85b-3e01802290d3",
|
||||
"task": {
|
||||
"task_id": "task-c0d9120f-4b28-4815-bcbc-1ea1cb523129",
|
||||
"input": "Check the current system status.",
|
||||
"channel": "telegram",
|
||||
"created_at": "2026-04-14T15:27:38.512676+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": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-2e159144-a5dc-4bab-bb15-026b156788a7",
|
||||
"trajectory_id": "traj-179d0c19-3f0f-4429-a85b-3e01802290d3",
|
||||
"timestamp": "2026-04-14T15:27:38.512756+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Check the current system status."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-84681604-ee59-4618-8b1b-bdc521e58e7d",
|
||||
"trajectory_id": "traj-179d0c19-3f0f-4429-a85b-3e01802290d3",
|
||||
"timestamp": "2026-04-14T15:27:38.512762+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-2e159144-a5dc-4bab-bb15-026b156788a7"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-6404a35f-8775-4fc1-9648-62a27f4a1b23",
|
||||
"trajectory_id": "traj-179d0c19-3f0f-4429-a85b-3e01802290d3",
|
||||
"timestamp": "2026-04-14T15:27:38.512767+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-84681604-ee59-4618-8b1b-bdc521e58e7d"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-traj-179d0c19-3f0f-4429-a85b-3e01802290d3-tool-terminal",
|
||||
"trajectory_id": "traj-179d0c19-3f0f-4429-a85b-3e01802290d3",
|
||||
"timestamp": "2026-04-14T15:27:38.512781+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_called",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"input": "Check the current system status."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-result-traj-179d0c19-3f0f-4429-a85b-3e01802290d3-tool-terminal",
|
||||
"trajectory_id": "traj-179d0c19-3f0f-4429-a85b-3e01802290d3",
|
||||
"timestamp": "2026-04-14T15:27:38.512785+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_result",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"status": "success",
|
||||
"output": "demo-result-for:tool-terminal",
|
||||
"error": null,
|
||||
"latency_ms": 42
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
}
|
||||
],
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"steps": 1,
|
||||
"latency_ms": 42,
|
||||
"user_corrections": 0,
|
||||
"tool_errors": 0,
|
||||
"notes": "Draft trajectory generated by MemabraRunner with execution hooks."
|
||||
},
|
||||
"reward": {
|
||||
"total": 1.032,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.25,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.008,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.05
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,192 @@
|
||||
{
|
||||
"trajectory_id": "traj-1ac5bb3d-f865-4c8c-8ff4-a9c29472b303",
|
||||
"task": {
|
||||
"task_id": "task-f3701d8c-4931-4e43-8488-5fc670e5b2b1",
|
||||
"input": "Deploy this service with the usual workflow.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T14:37:42.380802+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": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task resembles a reusable procedure; load a skill before action.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-480e859f-7e5f-42f0-bfcc-f3cb954f75d5",
|
||||
"trajectory_id": "traj-1ac5bb3d-f865-4c8c-8ff4-a9c29472b303",
|
||||
"timestamp": "2026-04-14T14:37:42.380861+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Deploy this service with the usual workflow."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-398d16c2-3d12-44a7-8af2-aa306e20195c",
|
||||
"trajectory_id": "traj-1ac5bb3d-f865-4c8c-8ff4-a9c29472b303",
|
||||
"timestamp": "2026-04-14T14:37:42.380867+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-480e859f-7e5f-42f0-bfcc-f3cb954f75d5"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-b63063ea-1ac7-4b85-a6c7-76a03791bc85",
|
||||
"trajectory_id": "traj-1ac5bb3d-f865-4c8c-8ff4-a9c29472b303",
|
||||
"timestamp": "2026-04-14T14:37:42.380871+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task resembles a reusable procedure; load a skill before action.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-398d16c2-3d12-44a7-8af2-aa306e20195c"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-skill-traj-1ac5bb3d-f865-4c8c-8ff4-a9c29472b303-skill-deploy",
|
||||
"trajectory_id": "traj-1ac5bb3d-f865-4c8c-8ff4-a9c29472b303",
|
||||
"timestamp": "2026-04-14T14:37:42.380877+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "skill_loaded",
|
||||
"payload": {
|
||||
"skill_id": "skill-deploy",
|
||||
"input": "Deploy this service with the usual workflow.",
|
||||
"instructions": "Demo skill payload loaded successfully."
|
||||
},
|
||||
"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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,170 @@
|
||||
{
|
||||
"trajectory_id": "traj-1c2b1a9e-7290-4ea4-be52-c6ba60b72da0",
|
||||
"task": {
|
||||
"task_id": "task-bb730dc5-88ed-4455-9dbb-6cbba55ad0ce",
|
||||
"input": "Check current system status with a tool.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T16:50:18.864549+00:00",
|
||||
"user_id": null
|
||||
},
|
||||
"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": "clarify",
|
||||
"selected_ids": [],
|
||||
"selected_payloads": [],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=2045.615).",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-f491ed7a-0017-463f-a346-2b13aac2ef27",
|
||||
"trajectory_id": "traj-1c2b1a9e-7290-4ea4-be52-c6ba60b72da0",
|
||||
"timestamp": "2026-04-14T16:50:18.864653+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Check current system status with a tool."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-9b88da4b-fe41-4522-ba53-e88adf3df3b4",
|
||||
"trajectory_id": "traj-1c2b1a9e-7290-4ea4-be52-c6ba60b72da0",
|
||||
"timestamp": "2026-04-14T16:50:18.864663+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-f491ed7a-0017-463f-a346-2b13aac2ef27"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-2fc97f2c-8219-44d3-98c7-5a86ad88326d",
|
||||
"trajectory_id": "traj-1c2b1a9e-7290-4ea4-be52-c6ba60b72da0",
|
||||
"timestamp": "2026-04-14T16:50:18.864669+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "clarify",
|
||||
"selected_ids": [],
|
||||
"selected_payloads": [],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=2045.615).",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-9b88da4b-fe41-4522-ba53-e88adf3df3b4"
|
||||
}
|
||||
],
|
||||
"outcome": {
|
||||
"status": "partial_success",
|
||||
"steps": 1,
|
||||
"latency_ms": 0,
|
||||
"user_corrections": 0,
|
||||
"tool_errors": 0,
|
||||
"notes": "Draft trajectory generated by MemabraRunner with execution hooks."
|
||||
},
|
||||
"reward": {
|
||||
"total": 0.44,
|
||||
"components": {
|
||||
"task_success": 0.4,
|
||||
"retrieval_hit": 0.1,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"trajectory_id": "traj-1ea60d6e-0b83-4cdf-a601-159373c780ee",
|
||||
"task": {
|
||||
"task_id": "task-c5221ec3-e5b9-4a2f-9774-fbb75018fe08",
|
||||
"input": "Check current system status with a tool.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T16:50:18.862393+00:00",
|
||||
"user_id": null
|
||||
},
|
||||
"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": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-93525bc5-5e71-481c-a7d4-0282ef59e0a3",
|
||||
"trajectory_id": "traj-1ea60d6e-0b83-4cdf-a601-159373c780ee",
|
||||
"timestamp": "2026-04-14T16:50:18.862483+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Check current system status with a tool."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-a01d1dff-a6dc-4c25-a5a5-14efd6f182b2",
|
||||
"trajectory_id": "traj-1ea60d6e-0b83-4cdf-a601-159373c780ee",
|
||||
"timestamp": "2026-04-14T16:50:18.862492+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-93525bc5-5e71-481c-a7d4-0282ef59e0a3"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-28946864-c699-42fd-9802-dbfe6cb09043",
|
||||
"trajectory_id": "traj-1ea60d6e-0b83-4cdf-a601-159373c780ee",
|
||||
"timestamp": "2026-04-14T16:50:18.862498+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-a01d1dff-a6dc-4c25-a5a5-14efd6f182b2"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-traj-1ea60d6e-0b83-4cdf-a601-159373c780ee-tool-terminal",
|
||||
"trajectory_id": "traj-1ea60d6e-0b83-4cdf-a601-159373c780ee",
|
||||
"timestamp": "2026-04-14T16:50:18.862511+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_called",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"input": "Check current system status with a tool."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-result-traj-1ea60d6e-0b83-4cdf-a601-159373c780ee-tool-terminal",
|
||||
"trajectory_id": "traj-1ea60d6e-0b83-4cdf-a601-159373c780ee",
|
||||
"timestamp": "2026-04-14T16:50:18.862515+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_result",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"status": "success",
|
||||
"output": "demo-result-for:tool-terminal",
|
||||
"error": null,
|
||||
"latency_ms": 42
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
}
|
||||
],
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"steps": 1,
|
||||
"latency_ms": 42,
|
||||
"user_corrections": 0,
|
||||
"tool_errors": 0,
|
||||
"notes": "Draft trajectory generated by MemabraRunner with execution hooks."
|
||||
},
|
||||
"reward": {
|
||||
"total": 1.032,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.25,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.008,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.05
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,170 @@
|
||||
{
|
||||
"trajectory_id": "traj-217ccafa-716c-4534-813b-a489ed7d6079",
|
||||
"task": {
|
||||
"task_id": "task-5f14e5ed-0635-44a0-82e8-419187b040f3",
|
||||
"input": "Use multiple capabilities: memory, skill, and tool.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T15:52:24.605025+00:00",
|
||||
"user_id": null
|
||||
},
|
||||
"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": "clarify",
|
||||
"selected_ids": [],
|
||||
"selected_payloads": [],
|
||||
"rejected_ids": [],
|
||||
"rationale": "No high-confidence route found from the current heuristic baseline.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-13ccd07e-9bfd-4ff8-8080-47c400f0be6f",
|
||||
"trajectory_id": "traj-217ccafa-716c-4534-813b-a489ed7d6079",
|
||||
"timestamp": "2026-04-14T15:52:24.605116+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Use multiple capabilities: memory, skill, and tool."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-7ecaa289-b7bb-4ac6-ad62-9afb4a49d4a8",
|
||||
"trajectory_id": "traj-217ccafa-716c-4534-813b-a489ed7d6079",
|
||||
"timestamp": "2026-04-14T15:52:24.605126+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-13ccd07e-9bfd-4ff8-8080-47c400f0be6f"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-ad398931-c79d-411a-93f8-8c5834f5446d",
|
||||
"trajectory_id": "traj-217ccafa-716c-4534-813b-a489ed7d6079",
|
||||
"timestamp": "2026-04-14T15:52:24.605138+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "clarify",
|
||||
"selected_ids": [],
|
||||
"selected_payloads": [],
|
||||
"rejected_ids": [],
|
||||
"rationale": "No high-confidence route found from the current heuristic baseline.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-7ecaa289-b7bb-4ac6-ad62-9afb4a49d4a8"
|
||||
}
|
||||
],
|
||||
"outcome": {
|
||||
"status": "partial_success",
|
||||
"steps": 1,
|
||||
"latency_ms": 0,
|
||||
"user_corrections": 0,
|
||||
"tool_errors": 0,
|
||||
"notes": "Draft trajectory generated by MemabraRunner with execution hooks."
|
||||
},
|
||||
"reward": {
|
||||
"total": 0.44,
|
||||
"components": {
|
||||
"task_success": 0.4,
|
||||
"retrieval_hit": 0.1,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,185 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"trajectory_id": "traj-439e4552-f248-43cb-b4eb-25db14da1ebc",
|
||||
"task": {
|
||||
"task_id": "task-cde62e1c-0106-4803-9c7d-a0c2f58206d6",
|
||||
"input": "Check the current system status.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T14:37:42.380386+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": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-9252427a-3ceb-476a-b72d-a7e4f812194c",
|
||||
"trajectory_id": "traj-439e4552-f248-43cb-b4eb-25db14da1ebc",
|
||||
"timestamp": "2026-04-14T14:37:42.380442+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Check the current system status."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-333fbd7f-75b1-495f-acfa-6a66348ef16e",
|
||||
"trajectory_id": "traj-439e4552-f248-43cb-b4eb-25db14da1ebc",
|
||||
"timestamp": "2026-04-14T14:37:42.380447+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-9252427a-3ceb-476a-b72d-a7e4f812194c"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-7f4eddba-f609-4d72-bf7c-cd6a938233a7",
|
||||
"trajectory_id": "traj-439e4552-f248-43cb-b4eb-25db14da1ebc",
|
||||
"timestamp": "2026-04-14T14:37:42.380452+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-333fbd7f-75b1-495f-acfa-6a66348ef16e"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-traj-439e4552-f248-43cb-b4eb-25db14da1ebc-tool-terminal",
|
||||
"trajectory_id": "traj-439e4552-f248-43cb-b4eb-25db14da1ebc",
|
||||
"timestamp": "2026-04-14T14:37:42.380461+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_called",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"input": "Check the current system status."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-result-traj-439e4552-f248-43cb-b4eb-25db14da1ebc-tool-terminal",
|
||||
"trajectory_id": "traj-439e4552-f248-43cb-b4eb-25db14da1ebc",
|
||||
"timestamp": "2026-04-14T14:37:42.380464+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_result",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"status": "success",
|
||||
"output": "demo-result-for:tool-terminal",
|
||||
"error": null,
|
||||
"latency_ms": 42
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
}
|
||||
],
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"steps": 1,
|
||||
"latency_ms": 42,
|
||||
"user_corrections": 0,
|
||||
"tool_errors": 0,
|
||||
"notes": "Draft trajectory generated by MemabraRunner with execution hooks."
|
||||
},
|
||||
"reward": {
|
||||
"total": 1.032,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.25,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.008,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.05
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,192 @@
|
||||
{
|
||||
"trajectory_id": "traj-58ec7a90-3ada-4b78-bc6a-6351be4eb4b5",
|
||||
"task": {
|
||||
"task_id": "task-0c82e670-45ab-45f9-af74-c5920f5eb9b3",
|
||||
"input": "Deploy this service with the usual workflow.",
|
||||
"channel": "telegram",
|
||||
"created_at": "2026-04-14T14:37:42.378256+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": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task resembles a reusable procedure; load a skill before action.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-757f035e-551f-4b55-a506-2aac41134885",
|
||||
"trajectory_id": "traj-58ec7a90-3ada-4b78-bc6a-6351be4eb4b5",
|
||||
"timestamp": "2026-04-14T14:37:42.378322+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Deploy this service with the usual workflow."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-dfcdd452-1902-4a6c-97fc-fd6a993c2045",
|
||||
"trajectory_id": "traj-58ec7a90-3ada-4b78-bc6a-6351be4eb4b5",
|
||||
"timestamp": "2026-04-14T14:37:42.378327+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-757f035e-551f-4b55-a506-2aac41134885"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-c680ed8f-a6b0-48d1-bcd4-7423089aa916",
|
||||
"trajectory_id": "traj-58ec7a90-3ada-4b78-bc6a-6351be4eb4b5",
|
||||
"timestamp": "2026-04-14T14:37:42.378332+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task resembles a reusable procedure; load a skill before action.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-dfcdd452-1902-4a6c-97fc-fd6a993c2045"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-skill-traj-58ec7a90-3ada-4b78-bc6a-6351be4eb4b5-skill-deploy",
|
||||
"trajectory_id": "traj-58ec7a90-3ada-4b78-bc6a-6351be4eb4b5",
|
||||
"timestamp": "2026-04-14T14:37:42.378339+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "skill_loaded",
|
||||
"payload": {
|
||||
"skill_id": "skill-deploy",
|
||||
"input": "Deploy this service with the usual workflow.",
|
||||
"instructions": "Demo skill payload loaded successfully."
|
||||
},
|
||||
"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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"trajectory_id": "traj-6a5aaff5-9336-4a1d-b102-80f1196427ae",
|
||||
"task": {
|
||||
"task_id": "task-549e2de3-bb55-4797-a862-e59f8d69a7e5",
|
||||
"input": "Use my telegram preference for this answer.",
|
||||
"channel": "telegram",
|
||||
"created_at": "2026-04-14T15:27:38.519692+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"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1854.615).",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-369333af-5ca9-4c11-b163-6144d925ba91",
|
||||
"trajectory_id": "traj-6a5aaff5-9336-4a1d-b102-80f1196427ae",
|
||||
"timestamp": "2026-04-14T15:27:38.519774+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-51d31531-c49b-4af7-86f8-9fc3b5aff7a0",
|
||||
"trajectory_id": "traj-6a5aaff5-9336-4a1d-b102-80f1196427ae",
|
||||
"timestamp": "2026-04-14T15:27:38.519780+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-369333af-5ca9-4c11-b163-6144d925ba91"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-3a842acf-5111-4b77-98a2-2a18c5a4a61d",
|
||||
"trajectory_id": "traj-6a5aaff5-9336-4a1d-b102-80f1196427ae",
|
||||
"timestamp": "2026-04-14T15:27:38.519784+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "inject_memory",
|
||||
"selected_ids": [
|
||||
"mem-telegram-pref"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1854.615).",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-51d31531-c49b-4af7-86f8-9fc3b5aff7a0"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-memory-traj-6a5aaff5-9336-4a1d-b102-80f1196427ae-mem-telegram-pref",
|
||||
"trajectory_id": "traj-6a5aaff5-9336-4a1d-b102-80f1196427ae",
|
||||
"timestamp": "2026-04-14T15:27:38.519790+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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"trajectory_id": "traj-707b1dec-1d9a-4a71-a07a-54841155103c",
|
||||
"task": {
|
||||
"task_id": "task-23d5816f-12f3-4247-8c4f-9c01d13b1fd8",
|
||||
"input": "Check the current system status.",
|
||||
"channel": "telegram",
|
||||
"created_at": "2026-04-14T14:37:42.377746+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": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-15616207-b055-41b3-98e7-fca3fdd89ce9",
|
||||
"trajectory_id": "traj-707b1dec-1d9a-4a71-a07a-54841155103c",
|
||||
"timestamp": "2026-04-14T14:37:42.377821+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Check the current system status."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-431bb458-0488-4712-93d5-d7a689048022",
|
||||
"trajectory_id": "traj-707b1dec-1d9a-4a71-a07a-54841155103c",
|
||||
"timestamp": "2026-04-14T14:37:42.377827+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-15616207-b055-41b3-98e7-fca3fdd89ce9"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-8bb2db02-56ae-4fad-a0bc-e30cd7fed98e",
|
||||
"trajectory_id": "traj-707b1dec-1d9a-4a71-a07a-54841155103c",
|
||||
"timestamp": "2026-04-14T14:37:42.377831+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-431bb458-0488-4712-93d5-d7a689048022"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-traj-707b1dec-1d9a-4a71-a07a-54841155103c-tool-terminal",
|
||||
"trajectory_id": "traj-707b1dec-1d9a-4a71-a07a-54841155103c",
|
||||
"timestamp": "2026-04-14T14:37:42.377843+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_called",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"input": "Check the current system status."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-result-traj-707b1dec-1d9a-4a71-a07a-54841155103c-tool-terminal",
|
||||
"trajectory_id": "traj-707b1dec-1d9a-4a71-a07a-54841155103c",
|
||||
"timestamp": "2026-04-14T14:37:42.377846+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_result",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"status": "success",
|
||||
"output": "demo-result-for:tool-terminal",
|
||||
"error": null,
|
||||
"latency_ms": 42
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
}
|
||||
],
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"steps": 1,
|
||||
"latency_ms": 42,
|
||||
"user_corrections": 0,
|
||||
"tool_errors": 0,
|
||||
"notes": "Draft trajectory generated by MemabraRunner with execution hooks."
|
||||
},
|
||||
"reward": {
|
||||
"total": 1.032,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.25,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.008,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.05
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"trajectory_id": "traj-74e92442-04fd-4f5a-979f-2dd81a7f08e1",
|
||||
"task": {
|
||||
"task_id": "task-e0c612c6-d846-4dc0-9c30-4a66d0a78d2a",
|
||||
"input": "Check current system status with a tool.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T15:52:24.604470+00:00",
|
||||
"user_id": null
|
||||
},
|
||||
"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": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-7befe34c-6cf6-422b-9615-11fd64b50899",
|
||||
"trajectory_id": "traj-74e92442-04fd-4f5a-979f-2dd81a7f08e1",
|
||||
"timestamp": "2026-04-14T15:52:24.604556+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Check current system status with a tool."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-8533f7c9-696d-413d-8484-d434ffccdd02",
|
||||
"trajectory_id": "traj-74e92442-04fd-4f5a-979f-2dd81a7f08e1",
|
||||
"timestamp": "2026-04-14T15:52:24.604565+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-7befe34c-6cf6-422b-9615-11fd64b50899"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-2f878de3-e77d-42f6-8252-b692a11a69ac",
|
||||
"trajectory_id": "traj-74e92442-04fd-4f5a-979f-2dd81a7f08e1",
|
||||
"timestamp": "2026-04-14T15:52:24.604571+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-8533f7c9-696d-413d-8484-d434ffccdd02"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-traj-74e92442-04fd-4f5a-979f-2dd81a7f08e1-tool-terminal",
|
||||
"trajectory_id": "traj-74e92442-04fd-4f5a-979f-2dd81a7f08e1",
|
||||
"timestamp": "2026-04-14T15:52:24.604584+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_called",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"input": "Check current system status with a tool."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-result-traj-74e92442-04fd-4f5a-979f-2dd81a7f08e1-tool-terminal",
|
||||
"trajectory_id": "traj-74e92442-04fd-4f5a-979f-2dd81a7f08e1",
|
||||
"timestamp": "2026-04-14T15:52:24.604588+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_result",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"status": "success",
|
||||
"output": "demo-result-for:tool-terminal",
|
||||
"error": null,
|
||||
"latency_ms": 42
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
}
|
||||
],
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"steps": 1,
|
||||
"latency_ms": 42,
|
||||
"user_corrections": 0,
|
||||
"tool_errors": 0,
|
||||
"notes": "Draft trajectory generated by MemabraRunner with execution hooks."
|
||||
},
|
||||
"reward": {
|
||||
"total": 1.032,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.25,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.008,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.05
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"trajectory_id": "traj-77ab4624-013b-4f56-b600-b3e0cbef7a06",
|
||||
"task": {
|
||||
"task_id": "task-ad6649f7-dcca-4dd3-9521-3409c5f4e746",
|
||||
"input": "Recall my saved preference from memory.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T16:50:18.861213+00:00",
|
||||
"user_id": null
|
||||
},
|
||||
"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"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task likely depends on stable user/project facts.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-61f191c1-68c7-4f0b-ab9b-f22b131e2637",
|
||||
"trajectory_id": "traj-77ab4624-013b-4f56-b600-b3e0cbef7a06",
|
||||
"timestamp": "2026-04-14T16:50:18.861293+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Recall my saved preference from memory."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-f0fbf671-18c5-4db2-86e5-68950b030992",
|
||||
"trajectory_id": "traj-77ab4624-013b-4f56-b600-b3e0cbef7a06",
|
||||
"timestamp": "2026-04-14T16:50:18.861299+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-61f191c1-68c7-4f0b-ab9b-f22b131e2637"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-168a76e7-3c64-4f65-8a74-0969942d6d94",
|
||||
"trajectory_id": "traj-77ab4624-013b-4f56-b600-b3e0cbef7a06",
|
||||
"timestamp": "2026-04-14T16:50:18.861304+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "inject_memory",
|
||||
"selected_ids": [
|
||||
"mem-telegram-pref"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task likely depends on stable user/project facts.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-f0fbf671-18c5-4db2-86e5-68950b030992"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-memory-traj-77ab4624-013b-4f56-b600-b3e0cbef7a06-mem-telegram-pref",
|
||||
"trajectory_id": "traj-77ab4624-013b-4f56-b600-b3e0cbef7a06",
|
||||
"timestamp": "2026-04-14T16:50:18.861310+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "memory_injected",
|
||||
"payload": {
|
||||
"record_id": "mem-telegram-pref",
|
||||
"input": "Recall my saved preference from memory."
|
||||
},
|
||||
"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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,192 @@
|
||||
{
|
||||
"trajectory_id": "traj-80784ce5-fc14-4fee-9f5f-90dcec26179b",
|
||||
"task": {
|
||||
"task_id": "task-37fe7921-66da-4390-a9bf-31209ae8a890",
|
||||
"input": "Use my telegram preference for this answer.",
|
||||
"channel": "telegram",
|
||||
"created_at": "2026-04-14T14:37:42.381229+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": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1897.615).",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-01cb59f2-27b0-4be7-b0f9-c878634363ba",
|
||||
"trajectory_id": "traj-80784ce5-fc14-4fee-9f5f-90dcec26179b",
|
||||
"timestamp": "2026-04-14T14:37:42.381299+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-4281fe16-c753-4024-a0ff-e82f518e16dc",
|
||||
"trajectory_id": "traj-80784ce5-fc14-4fee-9f5f-90dcec26179b",
|
||||
"timestamp": "2026-04-14T14:37:42.381305+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-01cb59f2-27b0-4be7-b0f9-c878634363ba"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-ccc6afd4-82c2-4774-ba2a-732ffa9296a4",
|
||||
"trajectory_id": "traj-80784ce5-fc14-4fee-9f5f-90dcec26179b",
|
||||
"timestamp": "2026-04-14T14:37:42.381309+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1897.615).",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-4281fe16-c753-4024-a0ff-e82f518e16dc"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-skill-traj-80784ce5-fc14-4fee-9f5f-90dcec26179b-skill-deploy",
|
||||
"trajectory_id": "traj-80784ce5-fc14-4fee-9f5f-90dcec26179b",
|
||||
"timestamp": "2026-04-14T14:37:42.381314+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "skill_loaded",
|
||||
"payload": {
|
||||
"skill_id": "skill-deploy",
|
||||
"input": "Use my telegram preference for this answer.",
|
||||
"instructions": "Demo skill payload loaded successfully."
|
||||
},
|
||||
"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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"trajectory_id": "traj-819443a2-79ea-48b7-a543-8bb7356dba36",
|
||||
"task": {
|
||||
"task_id": "task-8e991184-4d09-47bd-9a70-2f3d591d875c",
|
||||
"input": "Use my telegram preference for this answer.",
|
||||
"channel": "telegram",
|
||||
"created_at": "2026-04-14T14:37:42.377206+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"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task likely depends on stable user/project facts.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-79db8272-c394-40e1-b0d3-c905c305ea26",
|
||||
"trajectory_id": "traj-819443a2-79ea-48b7-a543-8bb7356dba36",
|
||||
"timestamp": "2026-04-14T14:37:42.377281+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-22367f19-007b-49cd-9ac4-30bbcc77e8a2",
|
||||
"trajectory_id": "traj-819443a2-79ea-48b7-a543-8bb7356dba36",
|
||||
"timestamp": "2026-04-14T14:37:42.377287+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-79db8272-c394-40e1-b0d3-c905c305ea26"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-84fe05fe-8ccc-4782-8cd2-28d56a659658",
|
||||
"trajectory_id": "traj-819443a2-79ea-48b7-a543-8bb7356dba36",
|
||||
"timestamp": "2026-04-14T14:37:42.377292+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "inject_memory",
|
||||
"selected_ids": [
|
||||
"mem-telegram-pref"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task likely depends on stable user/project facts.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-22367f19-007b-49cd-9ac4-30bbcc77e8a2"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-memory-traj-819443a2-79ea-48b7-a543-8bb7356dba36-mem-telegram-pref",
|
||||
"trajectory_id": "traj-819443a2-79ea-48b7-a543-8bb7356dba36",
|
||||
"timestamp": "2026-04-14T14:37:42.377297+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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,192 @@
|
||||
{
|
||||
"trajectory_id": "traj-9144cbc3-1ccf-4660-aad9-8db5797461eb",
|
||||
"task": {
|
||||
"task_id": "task-57677ff6-710a-478e-9a5d-e1367db05212",
|
||||
"input": "Deploy this service with the usual workflow.",
|
||||
"channel": "telegram",
|
||||
"created_at": "2026-04-14T15:27:38.514525+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": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task resembles a reusable procedure; load a skill before action.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-fce4e540-2400-45f8-8050-50f7631422e4",
|
||||
"trajectory_id": "traj-9144cbc3-1ccf-4660-aad9-8db5797461eb",
|
||||
"timestamp": "2026-04-14T15:27:38.514602+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Deploy this service with the usual workflow."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-eef1d203-79d4-4037-ae0b-6dff74e035f5",
|
||||
"trajectory_id": "traj-9144cbc3-1ccf-4660-aad9-8db5797461eb",
|
||||
"timestamp": "2026-04-14T15:27:38.514609+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-fce4e540-2400-45f8-8050-50f7631422e4"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-da150fe5-beff-45b0-a67d-9860205a9690",
|
||||
"trajectory_id": "traj-9144cbc3-1ccf-4660-aad9-8db5797461eb",
|
||||
"timestamp": "2026-04-14T15:27:38.514615+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task resembles a reusable procedure; load a skill before action.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-eef1d203-79d4-4037-ae0b-6dff74e035f5"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-skill-traj-9144cbc3-1ccf-4660-aad9-8db5797461eb-skill-deploy",
|
||||
"trajectory_id": "traj-9144cbc3-1ccf-4660-aad9-8db5797461eb",
|
||||
"timestamp": "2026-04-14T15:27:38.514623+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "skill_loaded",
|
||||
"payload": {
|
||||
"skill_id": "skill-deploy",
|
||||
"input": "Deploy this service with the usual workflow.",
|
||||
"instructions": "Demo skill payload loaded successfully."
|
||||
},
|
||||
"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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"trajectory_id": "traj-9190707c-5486-4266-a6c8-32f34c6c63ec",
|
||||
"task": {
|
||||
"task_id": "task-9f58c7ff-0bfb-4a46-bfbc-94b72b454f44",
|
||||
"input": "Use my telegram preference for this answer.",
|
||||
"channel": "telegram",
|
||||
"created_at": "2026-04-14T14:37:42.379938+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"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task likely depends on stable user/project facts.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-1e3b099e-dc40-45e4-9710-3d7f96dc459c",
|
||||
"trajectory_id": "traj-9190707c-5486-4266-a6c8-32f34c6c63ec",
|
||||
"timestamp": "2026-04-14T14:37:42.379999+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-95d17ab2-a0af-44e6-97db-55600c5d0517",
|
||||
"trajectory_id": "traj-9190707c-5486-4266-a6c8-32f34c6c63ec",
|
||||
"timestamp": "2026-04-14T14:37:42.380024+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-1e3b099e-dc40-45e4-9710-3d7f96dc459c"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-cef79d76-9bcf-41c7-a430-13e18d46e95f",
|
||||
"trajectory_id": "traj-9190707c-5486-4266-a6c8-32f34c6c63ec",
|
||||
"timestamp": "2026-04-14T14:37:42.380029+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "inject_memory",
|
||||
"selected_ids": [
|
||||
"mem-telegram-pref"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task likely depends on stable user/project facts.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-95d17ab2-a0af-44e6-97db-55600c5d0517"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-memory-traj-9190707c-5486-4266-a6c8-32f34c6c63ec-mem-telegram-pref",
|
||||
"trajectory_id": "traj-9190707c-5486-4266-a6c8-32f34c6c63ec",
|
||||
"timestamp": "2026-04-14T14:37:42.380034+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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"trajectory_id": "traj-9edc5088-09cc-42d6-a160-cede5357f535",
|
||||
"task": {
|
||||
"task_id": "task-18b8251b-4a68-45e1-93ba-645fe21a279f",
|
||||
"input": "Run the deploy workflow skill.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T15:52:24.603850+00:00",
|
||||
"user_id": null
|
||||
},
|
||||
"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": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-33bd0017-cf1b-44ac-892b-c2004bc44c1a",
|
||||
"trajectory_id": "traj-9edc5088-09cc-42d6-a160-cede5357f535",
|
||||
"timestamp": "2026-04-14T15:52:24.603951+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Run the deploy workflow skill."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-de288e29-228d-46d4-a657-34edae35fea4",
|
||||
"trajectory_id": "traj-9edc5088-09cc-42d6-a160-cede5357f535",
|
||||
"timestamp": "2026-04-14T15:52:24.603961+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-33bd0017-cf1b-44ac-892b-c2004bc44c1a"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-256cd272-bcee-48e2-b36b-a4048b6aef3e",
|
||||
"trajectory_id": "traj-9edc5088-09cc-42d6-a160-cede5357f535",
|
||||
"timestamp": "2026-04-14T15:52:24.603968+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-de288e29-228d-46d4-a657-34edae35fea4"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-traj-9edc5088-09cc-42d6-a160-cede5357f535-tool-terminal",
|
||||
"trajectory_id": "traj-9edc5088-09cc-42d6-a160-cede5357f535",
|
||||
"timestamp": "2026-04-14T15:52:24.603984+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_called",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"input": "Run the deploy workflow skill."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-result-traj-9edc5088-09cc-42d6-a160-cede5357f535-tool-terminal",
|
||||
"trajectory_id": "traj-9edc5088-09cc-42d6-a160-cede5357f535",
|
||||
"timestamp": "2026-04-14T15:52:24.603990+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_result",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"status": "success",
|
||||
"output": "demo-result-for:tool-terminal",
|
||||
"error": null,
|
||||
"latency_ms": 42
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
}
|
||||
],
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"steps": 1,
|
||||
"latency_ms": 42,
|
||||
"user_corrections": 0,
|
||||
"tool_errors": 0,
|
||||
"notes": "Draft trajectory generated by MemabraRunner with execution hooks."
|
||||
},
|
||||
"reward": {
|
||||
"total": 1.032,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.25,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.008,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.05
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"trajectory_id": "traj-adb05c91-4c0c-493a-af84-517efea3f406",
|
||||
"task": {
|
||||
"task_id": "task-66d9a459-4bad-40a5-beda-a9cb30f2e790",
|
||||
"input": "Use my telegram preference for this answer.",
|
||||
"channel": "telegram",
|
||||
"created_at": "2026-04-14T15:27:38.517870+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"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task likely depends on stable user/project facts.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-57882c3b-f081-4cb6-b622-98594bfd7b82",
|
||||
"trajectory_id": "traj-adb05c91-4c0c-493a-af84-517efea3f406",
|
||||
"timestamp": "2026-04-14T15:27:38.517938+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-6eafb4ae-7960-4f17-a928-77834f432cbb",
|
||||
"trajectory_id": "traj-adb05c91-4c0c-493a-af84-517efea3f406",
|
||||
"timestamp": "2026-04-14T15:27:38.517945+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-57882c3b-f081-4cb6-b622-98594bfd7b82"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-b90de7a7-83a3-4bed-b63d-bf07ba3fc06a",
|
||||
"trajectory_id": "traj-adb05c91-4c0c-493a-af84-517efea3f406",
|
||||
"timestamp": "2026-04-14T15:27:38.517950+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "inject_memory",
|
||||
"selected_ids": [
|
||||
"mem-telegram-pref"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task likely depends on stable user/project facts.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-6eafb4ae-7960-4f17-a928-77834f432cbb"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-memory-traj-adb05c91-4c0c-493a-af84-517efea3f406-mem-telegram-pref",
|
||||
"trajectory_id": "traj-adb05c91-4c0c-493a-af84-517efea3f406",
|
||||
"timestamp": "2026-04-14T15:27:38.517955+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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,186 @@
|
||||
{
|
||||
"trajectory_id": "traj-affbeb5b-eb52-40fd-94cb-48b7c374f1fc",
|
||||
"task": {
|
||||
"task_id": "task-c88d23cc-88f6-4352-a506-e37187a0e28a",
|
||||
"input": "Deploy this service with the usual workflow.",
|
||||
"channel": "telegram",
|
||||
"created_at": "2026-04-14T06:53:08.732451+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": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task resembles a reusable procedure; load a skill before action.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-56b47bb2-7cd9-4d1a-9364-b2b6c2b82759",
|
||||
"trajectory_id": "traj-affbeb5b-eb52-40fd-94cb-48b7c374f1fc",
|
||||
"timestamp": "2026-04-14T06:53:08.732515+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Deploy this service with the usual workflow."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-62bc72e7-4b3f-4a72-a98e-1ad5bf86aaa4",
|
||||
"trajectory_id": "traj-affbeb5b-eb52-40fd-94cb-48b7c374f1fc",
|
||||
"timestamp": "2026-04-14T06:53:08.732521+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-56b47bb2-7cd9-4d1a-9364-b2b6c2b82759"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-23968c32-845c-4fb2-86bb-723d70dfec80",
|
||||
"trajectory_id": "traj-affbeb5b-eb52-40fd-94cb-48b7c374f1fc",
|
||||
"timestamp": "2026-04-14T06:53:08.732525+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task resembles a reusable procedure; load a skill before action.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-62bc72e7-4b3f-4a72-a98e-1ad5bf86aaa4"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-skill-traj-affbeb5b-eb52-40fd-94cb-48b7c374f1fc-skill-deploy",
|
||||
"trajectory_id": "traj-affbeb5b-eb52-40fd-94cb-48b7c374f1fc",
|
||||
"timestamp": "2026-04-14T06:53:08.732531+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "skill_loaded",
|
||||
"payload": {
|
||||
"skill_id": "skill-deploy",
|
||||
"input": "Deploy this service with the usual workflow.",
|
||||
"instructions": "Demo skill payload loaded successfully."
|
||||
},
|
||||
"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
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"trajectory_id": "traj-b786c15f-388d-4228-9da4-c9e82b61570a",
|
||||
"task": {
|
||||
"task_id": "task-920b26df-8e03-47b3-af48-99454d142e90",
|
||||
"input": "Recall my saved preference from memory.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T15:52:24.603298+00:00",
|
||||
"user_id": null
|
||||
},
|
||||
"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"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task likely depends on stable user/project facts.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-795ad519-4e78-4fdd-b1a9-3e1e2b2cdea0",
|
||||
"trajectory_id": "traj-b786c15f-388d-4228-9da4-c9e82b61570a",
|
||||
"timestamp": "2026-04-14T15:52:24.603384+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Recall my saved preference from memory."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-1fbe3cfc-ed78-40f6-b0d9-25ccd14a0110",
|
||||
"trajectory_id": "traj-b786c15f-388d-4228-9da4-c9e82b61570a",
|
||||
"timestamp": "2026-04-14T15:52:24.603390+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-795ad519-4e78-4fdd-b1a9-3e1e2b2cdea0"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-a57f0922-dbfe-424a-a704-2a382ffa219b",
|
||||
"trajectory_id": "traj-b786c15f-388d-4228-9da4-c9e82b61570a",
|
||||
"timestamp": "2026-04-14T15:52:24.603396+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "inject_memory",
|
||||
"selected_ids": [
|
||||
"mem-telegram-pref"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task likely depends on stable user/project facts.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-1fbe3cfc-ed78-40f6-b0d9-25ccd14a0110"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-memory-traj-b786c15f-388d-4228-9da4-c9e82b61570a-mem-telegram-pref",
|
||||
"trajectory_id": "traj-b786c15f-388d-4228-9da4-c9e82b61570a",
|
||||
"timestamp": "2026-04-14T15:52:24.603401+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "memory_injected",
|
||||
"payload": {
|
||||
"record_id": "mem-telegram-pref",
|
||||
"input": "Recall my saved preference from memory."
|
||||
},
|
||||
"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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,192 @@
|
||||
{
|
||||
"trajectory_id": "traj-bcad8fa2-ffd3-4e5b-9ddb-720f3898826e",
|
||||
"task": {
|
||||
"task_id": "task-35b31642-86af-4e2c-a255-cdbe19659101",
|
||||
"input": "Deploy this service with the usual workflow.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T14:37:42.382074+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": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1941.615).",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-8f072b70-4161-46fc-bede-cceb930d4cc2",
|
||||
"trajectory_id": "traj-bcad8fa2-ffd3-4e5b-9ddb-720f3898826e",
|
||||
"timestamp": "2026-04-14T14:37:42.382140+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Deploy this service with the usual workflow."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-fc15daf4-f738-455e-8b12-39143b3c3d6c",
|
||||
"trajectory_id": "traj-bcad8fa2-ffd3-4e5b-9ddb-720f3898826e",
|
||||
"timestamp": "2026-04-14T14:37:42.382146+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-8f072b70-4161-46fc-bede-cceb930d4cc2"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-d899c751-6157-4548-893e-b766eeafeb3d",
|
||||
"trajectory_id": "traj-bcad8fa2-ffd3-4e5b-9ddb-720f3898826e",
|
||||
"timestamp": "2026-04-14T14:37:42.382150+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1941.615).",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-fc15daf4-f738-455e-8b12-39143b3c3d6c"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-skill-traj-bcad8fa2-ffd3-4e5b-9ddb-720f3898826e-skill-deploy",
|
||||
"trajectory_id": "traj-bcad8fa2-ffd3-4e5b-9ddb-720f3898826e",
|
||||
"timestamp": "2026-04-14T14:37:42.382155+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "skill_loaded",
|
||||
"payload": {
|
||||
"skill_id": "skill-deploy",
|
||||
"input": "Deploy this service with the usual workflow.",
|
||||
"instructions": "Demo skill payload loaded successfully."
|
||||
},
|
||||
"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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"trajectory_id": "traj-c0faa5d1-dcb4-4e86-ac6b-2abb15026f43",
|
||||
"task": {
|
||||
"task_id": "task-1a24d0bb-b2e6-44f0-8095-2ed74368dc9d",
|
||||
"input": "Run the deploy workflow skill.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T16:50:18.861760+00:00",
|
||||
"user_id": null
|
||||
},
|
||||
"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": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-b4437076-cc94-4903-a2c7-3dd7c644dcc5",
|
||||
"trajectory_id": "traj-c0faa5d1-dcb4-4e86-ac6b-2abb15026f43",
|
||||
"timestamp": "2026-04-14T16:50:18.861861+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Run the deploy workflow skill."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-dd3dad15-7ace-47f7-9dd0-cf4955aa16ec",
|
||||
"trajectory_id": "traj-c0faa5d1-dcb4-4e86-ac6b-2abb15026f43",
|
||||
"timestamp": "2026-04-14T16:50:18.861871+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-b4437076-cc94-4903-a2c7-3dd7c644dcc5"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-c3b04a4a-2506-47db-8d08-c8939c0eba08",
|
||||
"trajectory_id": "traj-c0faa5d1-dcb4-4e86-ac6b-2abb15026f43",
|
||||
"timestamp": "2026-04-14T16:50:18.861878+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-dd3dad15-7ace-47f7-9dd0-cf4955aa16ec"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-traj-c0faa5d1-dcb4-4e86-ac6b-2abb15026f43-tool-terminal",
|
||||
"trajectory_id": "traj-c0faa5d1-dcb4-4e86-ac6b-2abb15026f43",
|
||||
"timestamp": "2026-04-14T16:50:18.861901+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_called",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"input": "Run the deploy workflow skill."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-result-traj-c0faa5d1-dcb4-4e86-ac6b-2abb15026f43-tool-terminal",
|
||||
"trajectory_id": "traj-c0faa5d1-dcb4-4e86-ac6b-2abb15026f43",
|
||||
"timestamp": "2026-04-14T16:50:18.861906+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_result",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"status": "success",
|
||||
"output": "demo-result-for:tool-terminal",
|
||||
"error": null,
|
||||
"latency_ms": 42
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
}
|
||||
],
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"steps": 1,
|
||||
"latency_ms": 42,
|
||||
"user_corrections": 0,
|
||||
"tool_errors": 0,
|
||||
"notes": "Draft trajectory generated by MemabraRunner with execution hooks."
|
||||
},
|
||||
"reward": {
|
||||
"total": 1.032,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.25,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.008,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.05
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"trajectory_id": "traj-c5907bfb-61d2-47f9-a6c5-2300701bb551",
|
||||
"task": {
|
||||
"task_id": "task-c1f58e80-f0eb-47e9-92ab-9b1a84351dff",
|
||||
"input": "Use my telegram preference for this answer.",
|
||||
"channel": "telegram",
|
||||
"created_at": "2026-04-14T15:27:38.512116+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"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task likely depends on stable user/project facts.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-212f6d74-bafd-483b-b8ec-cf4a33bf67da",
|
||||
"trajectory_id": "traj-c5907bfb-61d2-47f9-a6c5-2300701bb551",
|
||||
"timestamp": "2026-04-14T15:27:38.512204+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-34b409a4-9ba9-4921-b3a6-e4c41bf7660c",
|
||||
"trajectory_id": "traj-c5907bfb-61d2-47f9-a6c5-2300701bb551",
|
||||
"timestamp": "2026-04-14T15:27:38.512211+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-212f6d74-bafd-483b-b8ec-cf4a33bf67da"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-d117772a-0e77-4068-8ca5-0adacfcee184",
|
||||
"trajectory_id": "traj-c5907bfb-61d2-47f9-a6c5-2300701bb551",
|
||||
"timestamp": "2026-04-14T15:27:38.512216+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "inject_memory",
|
||||
"selected_ids": [
|
||||
"mem-telegram-pref"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task likely depends on stable user/project facts.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-34b409a4-9ba9-4921-b3a6-e4c41bf7660c"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-memory-traj-c5907bfb-61d2-47f9-a6c5-2300701bb551-mem-telegram-pref",
|
||||
"trajectory_id": "traj-c5907bfb-61d2-47f9-a6c5-2300701bb551",
|
||||
"timestamp": "2026-04-14T15:27:38.512223+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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"trajectory_id": "traj-c9c11bdc-852b-4aef-851c-f2968806e535",
|
||||
"task": {
|
||||
"task_id": "task-c08fbd42-a324-4430-8277-94c666661238",
|
||||
"input": "Check the current system status.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T15:27:38.520185+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"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1381.615).",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-2e0920c4-6830-4c86-a4a3-139028e46176",
|
||||
"trajectory_id": "traj-c9c11bdc-852b-4aef-851c-f2968806e535",
|
||||
"timestamp": "2026-04-14T15:27:38.520262+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Check the current system status."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-f81b2a77-a012-4c62-9700-93f1b31daeb2",
|
||||
"trajectory_id": "traj-c9c11bdc-852b-4aef-851c-f2968806e535",
|
||||
"timestamp": "2026-04-14T15:27:38.520268+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-2e0920c4-6830-4c86-a4a3-139028e46176"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-2b1fe09d-30b3-46c9-a706-373d5c8da08e",
|
||||
"trajectory_id": "traj-c9c11bdc-852b-4aef-851c-f2968806e535",
|
||||
"timestamp": "2026-04-14T15:27:38.520273+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "inject_memory",
|
||||
"selected_ids": [
|
||||
"mem-telegram-pref"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1381.615).",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-f81b2a77-a012-4c62-9700-93f1b31daeb2"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-memory-traj-c9c11bdc-852b-4aef-851c-f2968806e535-mem-telegram-pref",
|
||||
"trajectory_id": "traj-c9c11bdc-852b-4aef-851c-f2968806e535",
|
||||
"timestamp": "2026-04-14T15:27:38.520280+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "memory_injected",
|
||||
"payload": {
|
||||
"record_id": "mem-telegram-pref",
|
||||
"input": "Check the current system status."
|
||||
},
|
||||
"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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,201 @@
|
||||
{
|
||||
"trajectory_id": "traj-d2d3a115-36d8-466f-9d14-bf741316f698",
|
||||
"task": {
|
||||
"task_id": "task-00ccd7d0-72d9-458f-87fa-be0ee5571e44",
|
||||
"input": "Check the current system status.",
|
||||
"channel": "telegram",
|
||||
"created_at": "2026-04-14T06:53:08.731950+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": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-63d64eb8-16b1-4dc7-ae03-7c094bc6e64f",
|
||||
"trajectory_id": "traj-d2d3a115-36d8-466f-9d14-bf741316f698",
|
||||
"timestamp": "2026-04-14T06:53:08.732042+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Check the current system status."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-04ef718b-6973-465d-920e-bc501a6e02ad",
|
||||
"trajectory_id": "traj-d2d3a115-36d8-466f-9d14-bf741316f698",
|
||||
"timestamp": "2026-04-14T06:53:08.732049+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-63d64eb8-16b1-4dc7-ae03-7c094bc6e64f"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-50f19e1e-8771-42c1-8846-95b5e4a6f491",
|
||||
"trajectory_id": "traj-d2d3a115-36d8-466f-9d14-bf741316f698",
|
||||
"timestamp": "2026-04-14T06:53:08.732053+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "call_tool",
|
||||
"selected_ids": [
|
||||
"tool-terminal"
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task asks for current state or external action; tool use is justified.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-04ef718b-6973-465d-920e-bc501a6e02ad"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-traj-d2d3a115-36d8-466f-9d14-bf741316f698-tool-terminal",
|
||||
"trajectory_id": "traj-d2d3a115-36d8-466f-9d14-bf741316f698",
|
||||
"timestamp": "2026-04-14T06:53:08.732064+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_called",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"input": "Check the current system status."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-tool-result-traj-d2d3a115-36d8-466f-9d14-bf741316f698-tool-terminal",
|
||||
"trajectory_id": "traj-d2d3a115-36d8-466f-9d14-bf741316f698",
|
||||
"timestamp": "2026-04-14T06:53:08.732068+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "tool_result",
|
||||
"payload": {
|
||||
"tool_id": "tool-terminal",
|
||||
"status": "success",
|
||||
"output": "demo-result-for:tool-terminal",
|
||||
"error": null,
|
||||
"latency_ms": 42
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
}
|
||||
],
|
||||
"outcome": {
|
||||
"status": "success",
|
||||
"steps": 1,
|
||||
"latency_ms": 42,
|
||||
"user_corrections": 0,
|
||||
"tool_errors": 0,
|
||||
"notes": "Draft trajectory generated by MemabraRunner with execution hooks."
|
||||
},
|
||||
"reward": {
|
||||
"total": 1.058,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.25,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.042,
|
||||
"context_cost": 0.0,
|
||||
"useful_reuse": 0.05
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"trajectory_id": "traj-d3575889-7458-44b9-b3f1-f04cd766ca76",
|
||||
"task": {
|
||||
"task_id": "task-9db54b7d-a508-49ac-bd3c-bd5af3eabc61",
|
||||
"input": "Deploy this service with the usual workflow.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T15:27:38.520867+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"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1897.615).",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-3e658630-fea8-44c3-afd2-fc936a2eed37",
|
||||
"trajectory_id": "traj-d3575889-7458-44b9-b3f1-f04cd766ca76",
|
||||
"timestamp": "2026-04-14T15:27:38.520945+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Deploy this service with the usual workflow."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-03990424-3433-4147-a963-353863758b31",
|
||||
"trajectory_id": "traj-d3575889-7458-44b9-b3f1-f04cd766ca76",
|
||||
"timestamp": "2026-04-14T15:27:38.520951+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-3e658630-fea8-44c3-afd2-fc936a2eed37"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-10dfab37-ded7-473e-9de9-2f922c5bf7c8",
|
||||
"trajectory_id": "traj-d3575889-7458-44b9-b3f1-f04cd766ca76",
|
||||
"timestamp": "2026-04-14T15:27:38.520956+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "inject_memory",
|
||||
"selected_ids": [
|
||||
"mem-telegram-pref"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1897.615).",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-03990424-3433-4147-a963-353863758b31"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-memory-traj-d3575889-7458-44b9-b3f1-f04cd766ca76-mem-telegram-pref",
|
||||
"trajectory_id": "traj-d3575889-7458-44b9-b3f1-f04cd766ca76",
|
||||
"timestamp": "2026-04-14T15:27:38.520961+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "memory_injected",
|
||||
"payload": {
|
||||
"record_id": "mem-telegram-pref",
|
||||
"input": "Deploy this service with the usual workflow."
|
||||
},
|
||||
"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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,170 @@
|
||||
{
|
||||
"trajectory_id": "traj-d99b5307-1749-4e80-867a-877e087f226f",
|
||||
"task": {
|
||||
"task_id": "task-9cda8e38-dcdf-4877-bc19-48444df0531e",
|
||||
"input": "Use multiple capabilities: memory, skill, and tool.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T16:50:18.865109+00:00",
|
||||
"user_id": null
|
||||
},
|
||||
"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": "clarify",
|
||||
"selected_ids": [],
|
||||
"selected_payloads": [],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=2606.615).",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-88a21058-c409-4836-a1b8-ef6cc63ac51e",
|
||||
"trajectory_id": "traj-d99b5307-1749-4e80-867a-877e087f226f",
|
||||
"timestamp": "2026-04-14T16:50:18.865214+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Use multiple capabilities: memory, skill, and tool."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-44d46564-2d71-4bed-8a3f-d3fc96fce9ef",
|
||||
"trajectory_id": "traj-d99b5307-1749-4e80-867a-877e087f226f",
|
||||
"timestamp": "2026-04-14T16:50:18.865225+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-88a21058-c409-4836-a1b8-ef6cc63ac51e"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-e21e8afe-d676-4839-b9d0-fd60441b983a",
|
||||
"trajectory_id": "traj-d99b5307-1749-4e80-867a-877e087f226f",
|
||||
"timestamp": "2026-04-14T16:50:18.865231+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "clarify",
|
||||
"selected_ids": [],
|
||||
"selected_payloads": [],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=2606.615).",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-44d46564-2d71-4bed-8a3f-d3fc96fce9ef"
|
||||
}
|
||||
],
|
||||
"outcome": {
|
||||
"status": "partial_success",
|
||||
"steps": 1,
|
||||
"latency_ms": 0,
|
||||
"user_corrections": 0,
|
||||
"tool_errors": 0,
|
||||
"notes": "Draft trajectory generated by MemabraRunner with execution hooks."
|
||||
},
|
||||
"reward": {
|
||||
"total": 0.44,
|
||||
"components": {
|
||||
"task_success": 0.4,
|
||||
"retrieval_hit": 0.1,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,192 @@
|
||||
{
|
||||
"trajectory_id": "traj-dd361c81-40a1-4892-9914-2140870fff95",
|
||||
"task": {
|
||||
"task_id": "task-789e89f1-828b-405e-ab11-43dd00107f5f",
|
||||
"input": "Deploy this service with the usual workflow.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T15:27:38.519101+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": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task resembles a reusable procedure; load a skill before action.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-ec9bd980-c648-43fc-8428-83a6ce0cf375",
|
||||
"trajectory_id": "traj-dd361c81-40a1-4892-9914-2140870fff95",
|
||||
"timestamp": "2026-04-14T15:27:38.519171+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Deploy this service with the usual workflow."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-e0f1f4e9-2a70-424d-bff6-34a156134b0f",
|
||||
"trajectory_id": "traj-dd361c81-40a1-4892-9914-2140870fff95",
|
||||
"timestamp": "2026-04-14T15:27:38.519177+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-ec9bd980-c648-43fc-8428-83a6ce0cf375"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-9b1ea6f8-ac54-4aa4-ae0f-44aa3a0128dd",
|
||||
"trajectory_id": "traj-dd361c81-40a1-4892-9914-2140870fff95",
|
||||
"timestamp": "2026-04-14T15:27:38.519181+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Task resembles a reusable procedure; load a skill before action.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-e0f1f4e9-2a70-424d-bff6-34a156134b0f"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-skill-traj-dd361c81-40a1-4892-9914-2140870fff95-skill-deploy",
|
||||
"trajectory_id": "traj-dd361c81-40a1-4892-9914-2140870fff95",
|
||||
"timestamp": "2026-04-14T15:27:38.519188+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "skill_loaded",
|
||||
"payload": {
|
||||
"skill_id": "skill-deploy",
|
||||
"input": "Deploy this service with the usual workflow.",
|
||||
"instructions": "Demo skill payload loaded successfully."
|
||||
},
|
||||
"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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,192 @@
|
||||
{
|
||||
"trajectory_id": "traj-e197ee51-e87c-4203-b9ee-c2f2d530cceb",
|
||||
"task": {
|
||||
"task_id": "task-144d7465-796c-4dd0-a4e2-c2be42872c4a",
|
||||
"input": "Run the deploy workflow skill.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T15:52:24.606059+00:00",
|
||||
"user_id": null
|
||||
},
|
||||
"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": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1277.214).",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-184ab2f3-c1c6-4af1-8241-d55b4731e606",
|
||||
"trajectory_id": "traj-e197ee51-e87c-4203-b9ee-c2f2d530cceb",
|
||||
"timestamp": "2026-04-14T15:52:24.606169+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Run the deploy workflow skill."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-9dd959ce-a5ce-42fd-b975-a03dd713adf6",
|
||||
"trajectory_id": "traj-e197ee51-e87c-4203-b9ee-c2f2d530cceb",
|
||||
"timestamp": "2026-04-14T15:52:24.606180+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-184ab2f3-c1c6-4af1-8241-d55b4731e606"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-537a8488-f6eb-4f15-94ac-3e1f195c584a",
|
||||
"trajectory_id": "traj-e197ee51-e87c-4203-b9ee-c2f2d530cceb",
|
||||
"timestamp": "2026-04-14T15:52:24.606193+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1277.214).",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-9dd959ce-a5ce-42fd-b975-a03dd713adf6"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-skill-traj-e197ee51-e87c-4203-b9ee-c2f2d530cceb-skill-deploy",
|
||||
"trajectory_id": "traj-e197ee51-e87c-4203-b9ee-c2f2d530cceb",
|
||||
"timestamp": "2026-04-14T15:52:24.606202+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "skill_loaded",
|
||||
"payload": {
|
||||
"skill_id": "skill-deploy",
|
||||
"input": "Run the deploy workflow skill.",
|
||||
"instructions": "Demo skill payload loaded successfully."
|
||||
},
|
||||
"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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,170 @@
|
||||
{
|
||||
"trajectory_id": "traj-e9c37170-8764-4d70-ba0d-90213b275229",
|
||||
"task": {
|
||||
"task_id": "task-f61f5344-3be7-4a7a-9dfa-b8d2a9c30a42",
|
||||
"input": "Recall my saved preference from memory.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T16:50:18.863539+00:00",
|
||||
"user_id": null
|
||||
},
|
||||
"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": "clarify",
|
||||
"selected_ids": [],
|
||||
"selected_payloads": [],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1994.615).",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-21762ef9-6490-4e3f-8f3c-2ba17e20c050",
|
||||
"trajectory_id": "traj-e9c37170-8764-4d70-ba0d-90213b275229",
|
||||
"timestamp": "2026-04-14T16:50:18.863643+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Recall my saved preference from memory."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-40f5b045-1e94-4c07-8cf5-5a245a946b9d",
|
||||
"trajectory_id": "traj-e9c37170-8764-4d70-ba0d-90213b275229",
|
||||
"timestamp": "2026-04-14T16:50:18.863652+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-21762ef9-6490-4e3f-8f3c-2ba17e20c050"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-5ed49c2e-d2b3-46ec-859e-ec00f8c001c2",
|
||||
"trajectory_id": "traj-e9c37170-8764-4d70-ba0d-90213b275229",
|
||||
"timestamp": "2026-04-14T16:50:18.863659+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "clarify",
|
||||
"selected_ids": [],
|
||||
"selected_payloads": [],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1994.615).",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-40f5b045-1e94-4c07-8cf5-5a245a946b9d"
|
||||
}
|
||||
],
|
||||
"outcome": {
|
||||
"status": "partial_success",
|
||||
"steps": 1,
|
||||
"latency_ms": 0,
|
||||
"user_corrections": 0,
|
||||
"tool_errors": 0,
|
||||
"notes": "Draft trajectory generated by MemabraRunner with execution hooks."
|
||||
},
|
||||
"reward": {
|
||||
"total": 0.44,
|
||||
"components": {
|
||||
"task_success": 0.4,
|
||||
"retrieval_hit": 0.1,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,170 @@
|
||||
{
|
||||
"trajectory_id": "traj-ebc0d1f0-d01f-4c1f-8cdb-23c3d184b2c5",
|
||||
"task": {
|
||||
"task_id": "task-d7578bf3-95da-43f2-9b31-2c80ccb4fe33",
|
||||
"input": "Run the deploy workflow skill.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T16:50:18.864056+00:00",
|
||||
"user_id": null
|
||||
},
|
||||
"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": "clarify",
|
||||
"selected_ids": [],
|
||||
"selected_payloads": [],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1535.615).",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-4e1aa172-112d-4000-8708-f2184e114ee5",
|
||||
"trajectory_id": "traj-ebc0d1f0-d01f-4c1f-8cdb-23c3d184b2c5",
|
||||
"timestamp": "2026-04-14T16:50:18.864163+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Run the deploy workflow skill."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-b9e7f5b9-2f27-4f4d-8f76-8ba6b39620eb",
|
||||
"trajectory_id": "traj-ebc0d1f0-d01f-4c1f-8cdb-23c3d184b2c5",
|
||||
"timestamp": "2026-04-14T16:50:18.864173+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-4e1aa172-112d-4000-8708-f2184e114ee5"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-07dcc07d-d9c4-4698-881d-925294dadadf",
|
||||
"trajectory_id": "traj-ebc0d1f0-d01f-4c1f-8cdb-23c3d184b2c5",
|
||||
"timestamp": "2026-04-14T16:50:18.864179+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "clarify",
|
||||
"selected_ids": [],
|
||||
"selected_payloads": [],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1535.615).",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-b9e7f5b9-2f27-4f4d-8f76-8ba6b39620eb"
|
||||
}
|
||||
],
|
||||
"outcome": {
|
||||
"status": "partial_success",
|
||||
"steps": 1,
|
||||
"latency_ms": 0,
|
||||
"user_corrections": 0,
|
||||
"tool_errors": 0,
|
||||
"notes": "Draft trajectory generated by MemabraRunner with execution hooks."
|
||||
},
|
||||
"reward": {
|
||||
"total": 0.44,
|
||||
"components": {
|
||||
"task_success": 0.4,
|
||||
"retrieval_hit": 0.1,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,192 @@
|
||||
{
|
||||
"trajectory_id": "traj-ed1d8812-f0ac-4994-86ab-21b3cf0fcb17",
|
||||
"task": {
|
||||
"task_id": "task-d9131553-8868-4dac-8f06-69be44c43f4e",
|
||||
"input": "Use multiple capabilities: memory, skill, and tool.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T15:52:24.607062+00:00",
|
||||
"user_id": null
|
||||
},
|
||||
"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": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=2167.3334).",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-a8bc2d4a-1557-4029-899f-7fa93b764b11",
|
||||
"trajectory_id": "traj-ed1d8812-f0ac-4994-86ab-21b3cf0fcb17",
|
||||
"timestamp": "2026-04-14T15:52:24.607165+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Use multiple capabilities: memory, skill, and tool."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-832ac7e6-d619-4e24-ad74-bcca1042806e",
|
||||
"trajectory_id": "traj-ed1d8812-f0ac-4994-86ab-21b3cf0fcb17",
|
||||
"timestamp": "2026-04-14T15:52:24.607175+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-a8bc2d4a-1557-4029-899f-7fa93b764b11"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-0aaff11d-de9f-4e28-bc92-6def76857a20",
|
||||
"trajectory_id": "traj-ed1d8812-f0ac-4994-86ab-21b3cf0fcb17",
|
||||
"timestamp": "2026-04-14T15:52:24.607182+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=2167.3334).",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-832ac7e6-d619-4e24-ad74-bcca1042806e"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-skill-traj-ed1d8812-f0ac-4994-86ab-21b3cf0fcb17-skill-deploy",
|
||||
"trajectory_id": "traj-ed1d8812-f0ac-4994-86ab-21b3cf0fcb17",
|
||||
"timestamp": "2026-04-14T15:52:24.607192+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "skill_loaded",
|
||||
"payload": {
|
||||
"skill_id": "skill-deploy",
|
||||
"input": "Use multiple capabilities: memory, skill, and tool.",
|
||||
"instructions": "Demo skill payload loaded successfully."
|
||||
},
|
||||
"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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,192 @@
|
||||
{
|
||||
"trajectory_id": "traj-f1d895a0-5442-448f-8936-4ee8b07822e6",
|
||||
"task": {
|
||||
"task_id": "task-053282d0-1f43-409f-a230-343d3faa02df",
|
||||
"input": "Check current system status with a tool.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T15:52:24.606551+00:00",
|
||||
"user_id": null
|
||||
},
|
||||
"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": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1701.0804).",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-5900439a-2a97-41fe-a82e-96181c99fee1",
|
||||
"trajectory_id": "traj-f1d895a0-5442-448f-8936-4ee8b07822e6",
|
||||
"timestamp": "2026-04-14T15:52:24.606656+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Check current system status with a tool."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-e0965597-ddee-4ccd-ae72-b51105101428",
|
||||
"trajectory_id": "traj-f1d895a0-5442-448f-8936-4ee8b07822e6",
|
||||
"timestamp": "2026-04-14T15:52:24.606666+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-5900439a-2a97-41fe-a82e-96181c99fee1"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-047dc545-d6c2-4a67-b0db-26b79e994e63",
|
||||
"trajectory_id": "traj-f1d895a0-5442-448f-8936-4ee8b07822e6",
|
||||
"timestamp": "2026-04-14T15:52:24.606672+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1701.0804).",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-e0965597-ddee-4ccd-ae72-b51105101428"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-skill-traj-f1d895a0-5442-448f-8936-4ee8b07822e6-skill-deploy",
|
||||
"trajectory_id": "traj-f1d895a0-5442-448f-8936-4ee8b07822e6",
|
||||
"timestamp": "2026-04-14T15:52:24.606681+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "skill_loaded",
|
||||
"payload": {
|
||||
"skill_id": "skill-deploy",
|
||||
"input": "Check current system status with a tool.",
|
||||
"instructions": "Demo skill payload loaded successfully."
|
||||
},
|
||||
"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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,170 @@
|
||||
{
|
||||
"trajectory_id": "traj-f511e978-ad79-4be6-bbab-461b5ad9ecb3",
|
||||
"task": {
|
||||
"task_id": "task-c3c52f6d-4793-4687-9838-d98fd99a6074",
|
||||
"input": "Use multiple capabilities: memory, skill, and tool.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T16:50:18.863031+00:00",
|
||||
"user_id": null
|
||||
},
|
||||
"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": "clarify",
|
||||
"selected_ids": [],
|
||||
"selected_payloads": [],
|
||||
"rejected_ids": [],
|
||||
"rationale": "No high-confidence route found from the current heuristic baseline.",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-1cfd8f39-f961-43da-9fb4-9e37dd7072f0",
|
||||
"trajectory_id": "traj-f511e978-ad79-4be6-bbab-461b5ad9ecb3",
|
||||
"timestamp": "2026-04-14T16:50:18.863119+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Use multiple capabilities: memory, skill, and tool."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-a7f6a38f-76c5-4342-a592-4acbd15efe9f",
|
||||
"trajectory_id": "traj-f511e978-ad79-4be6-bbab-461b5ad9ecb3",
|
||||
"timestamp": "2026-04-14T16:50:18.863129+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-1cfd8f39-f961-43da-9fb4-9e37dd7072f0"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-79e3d820-34bf-4c20-9286-2e20dd3e068c",
|
||||
"trajectory_id": "traj-f511e978-ad79-4be6-bbab-461b5ad9ecb3",
|
||||
"timestamp": "2026-04-14T16:50:18.863136+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "clarify",
|
||||
"selected_ids": [],
|
||||
"selected_payloads": [],
|
||||
"rejected_ids": [],
|
||||
"rationale": "No high-confidence route found from the current heuristic baseline.",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-a7f6a38f-76c5-4342-a592-4acbd15efe9f"
|
||||
}
|
||||
],
|
||||
"outcome": {
|
||||
"status": "partial_success",
|
||||
"steps": 1,
|
||||
"latency_ms": 0,
|
||||
"user_corrections": 0,
|
||||
"tool_errors": 0,
|
||||
"notes": "Draft trajectory generated by MemabraRunner with execution hooks."
|
||||
},
|
||||
"reward": {
|
||||
"total": 0.44,
|
||||
"components": {
|
||||
"task_success": 0.4,
|
||||
"retrieval_hit": 0.1,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,192 @@
|
||||
{
|
||||
"trajectory_id": "traj-ffb40d01-7956-4d7b-a41c-9618487fe619",
|
||||
"task": {
|
||||
"task_id": "task-f0aed2e6-8d9b-42f8-a20c-5eb8af052d3b",
|
||||
"input": "Recall my saved preference from memory.",
|
||||
"channel": "local",
|
||||
"created_at": "2026-04-14T15:52:24.605509+00:00",
|
||||
"user_id": null
|
||||
},
|
||||
"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": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1658.6938).",
|
||||
"estimated_cost": 0.0
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"event_id": "evt-44233637-eb1a-47de-972c-942ee409dd78",
|
||||
"trajectory_id": "traj-ffb40d01-7956-4d7b-a41c-9618487fe619",
|
||||
"timestamp": "2026-04-14T15:52:24.605614+00:00",
|
||||
"stage": "retrieval",
|
||||
"event_type": "task_received",
|
||||
"payload": {
|
||||
"input": "Recall my saved preference from memory."
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": null
|
||||
},
|
||||
{
|
||||
"event_id": "evt-01123ad4-7d52-4c82-bca1-1a3b5014196f",
|
||||
"trajectory_id": "traj-ffb40d01-7956-4d7b-a41c-9618487fe619",
|
||||
"timestamp": "2026-04-14T15:52:24.605625+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-44233637-eb1a-47de-972c-942ee409dd78"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-a9a657a1-1e3e-49f3-8ea0-9528c12c633f",
|
||||
"trajectory_id": "traj-ffb40d01-7956-4d7b-a41c-9618487fe619",
|
||||
"timestamp": "2026-04-14T15:52:24.605632+00:00",
|
||||
"stage": "policy",
|
||||
"event_type": "action_selected",
|
||||
"payload": {
|
||||
"step": 1,
|
||||
"decision_type": "load_skill",
|
||||
"selected_ids": [
|
||||
"skill-deploy"
|
||||
],
|
||||
"selected_payloads": [
|
||||
{}
|
||||
],
|
||||
"rejected_ids": [],
|
||||
"rationale": "Predicted by learning router (score=1658.6938).",
|
||||
"estimated_cost": 0.0
|
||||
},
|
||||
"metrics": {},
|
||||
"parent_event_id": "evt-01123ad4-7d52-4c82-bca1-1a3b5014196f"
|
||||
},
|
||||
{
|
||||
"event_id": "evt-skill-traj-ffb40d01-7956-4d7b-a41c-9618487fe619-skill-deploy",
|
||||
"trajectory_id": "traj-ffb40d01-7956-4d7b-a41c-9618487fe619",
|
||||
"timestamp": "2026-04-14T15:52:24.605642+00:00",
|
||||
"stage": "execution",
|
||||
"event_type": "skill_loaded",
|
||||
"payload": {
|
||||
"skill_id": "skill-deploy",
|
||||
"input": "Recall my saved preference from memory.",
|
||||
"instructions": "Demo skill payload loaded successfully."
|
||||
},
|
||||
"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.04,
|
||||
"components": {
|
||||
"task_success": 0.8,
|
||||
"retrieval_hit": 0.2,
|
||||
"tool_error": 0.0,
|
||||
"user_correction": 0.0,
|
||||
"latency": 0.0,
|
||||
"context_cost": 0.06,
|
||||
"useful_reuse": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user