Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
MAP event coordination for agents and flows
# Via CLI tenet context-hub emit "eval:scored" \ --data "agent=test-coverage,delta=0.0031,improved=true" # Via API curl -X POST http://localhost:4360/api/events \ -H "Authorization: Bearer $TOKEN" \ -d '{"type":"eval:scored","data":{"agent":"test-coverage","delta":0.0031}}'
eval:scored
kanban:pickup
session:ended
peter:daily-complete
telemetry:insight
scope:impact
friction:detected
review:scored
subway:task
.tenet/flows/self-driving.yaml
flows: - name: auto-merge-on-improvement trigger: pattern: "eval:scored" condition: 'data.improved == "true"' actions: - type: command command: "gh pr merge {{data.pr_number}} --merge"
# Recent events curl "http://localhost:4360/api/events?limit=20" \ -H "Authorization: Bearer $TOKEN" # Filter by type curl "http://localhost:4360/api/events?pattern=eval:*&limit=10" \ -H "Authorization: Bearer $TOKEN"
Agent finishes eval → emits eval:scored → auto-merge flow catches it → merges PR if improved → emits kanban:done → training capture flow logs tuple