Complete snapshot of /opt/microdao-daarion/ from NODE1 (144.76.224.179).
This represents the actual running production code that has diverged
significantly from the previous main branch.
Key changes from old main:
- Gateway (http_api.py): expanded from ~40KB to 164KB with full agent support
- Router: new /v1/agents/{id}/infer endpoint with vision + DeepSeek routing
- Behavior Policy: SOWA v2.2 (3-level: FULL/ACK/SILENT)
- Agent Registry: config/agent_registry.yml as single source of truth
- 13 agents configured (was 3)
- Memory service integration
- CrewAI teams and roles
Excluded from snapshot: venv/, .env, data/, backups, .tgz archives
Co-authored-by: Cursor <cursoragent@cursor.com>
35 lines
1.4 KiB
JSON
35 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://aletheia.lab/schemas/ledger_entry.schema.json",
|
|
"title": "LedgerEntry",
|
|
"type": "object",
|
|
"required": ["id", "timestamp", "actor", "mode", "action_id", "status", "summary"],
|
|
"properties": {
|
|
"id": { "type": "string", "pattern": "^led_[a-zA-Z0-9_-]+$" },
|
|
"timestamp": { "type": "string", "format": "date-time" },
|
|
"actor": { "type": "string", "minLength": 1 },
|
|
"mode": { "type": "string", "enum": ["A0", "A1", "A2"] },
|
|
"intent_id": { "type": "string", "pattern": "^intent_[a-zA-Z0-9_-]+$", "default": "" },
|
|
"action_id": { "type": "string", "pattern": "^act_[a-zA-Z0-9_-]+$" },
|
|
"status": { "type": "string", "enum": ["planned", "approved", "executed", "failed", "aborted"] },
|
|
"summary": { "type": "string", "minLength": 1 },
|
|
"inputs_hash": { "type": "string", "default": "" },
|
|
"outputs_hash": { "type": "string", "default": "" },
|
|
"artifacts": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"required": ["kind", "ref"],
|
|
"properties": {
|
|
"kind": { "type": "string", "enum": ["message", "file", "db_record", "tx", "post", "report"] },
|
|
"ref": { "type": "string" }
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"default": []
|
|
},
|
|
"policy_gate_snapshot": { "type": "object", "default": {} }
|
|
},
|
|
"additionalProperties": false
|
|
}
|