Dream Audit Log
graph_auditLogs structured events to an audit trail for dream process, tracking entity resolution decisions to enable later reconstruction of merges.
Instructions
Append a structured event to the dream process audit log (logs/dream-audit.jsonl). Call this during the dream process to record run_start, run_end, transcript_start, transcript_end, entity_created, entity_resolved, edge_created, edge_modified, merge_flagged, contradiction_found, ingest_start, ingest_end, decay_applied, format_warning, or error events. entity_resolved is the audit trail for entity-resolution decisions during dream — every time the dream picks between matching an existing entity, creating a new one, or flagging an ambiguous candidate, log it here so a later graph_unmerge can reconstruct why a merge happened.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"event": "<event>",
"data": "<data>"
},
"name": "graph_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Event payload — fields vary by event type. Always include relevant names/IDs. | |
| event | Yes | Event type |