Initial standalone memabra release
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user