Event stream as source of truth.
Tasks
cloud_monitor.zig: restore state from .trinity/cloud_events.jsonl on restart
- Add
tri cloud history --format=json for machine consumption
- Add event deduplication (skip if same status within 5s)
Files
tools/mcp/trinity_mcp/cloud_monitor.zig
src/tri/tri_cloud.zig
Verification
tri cloud history 42 shows events after monitor restart
- No duplicate events within 5s window
Event stream as source of truth.
Tasks
cloud_monitor.zig: restore state from.trinity/cloud_events.jsonlon restarttri cloud history --format=jsonfor machine consumptionFiles
tools/mcp/trinity_mcp/cloud_monitor.zigsrc/tri/tri_cloud.zigVerification
tri cloud history 42shows events after monitor restart