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