Observability
Observability in Cessy starts from the event-sourced flow. When behavior is wrong, follow the path from command to event to projection to policy or integration.
What to observe
Activity first
Use Activity to trace runtime behavior before inspecting low-level logs. It should show the business sequence and platform side effects in one place.
Error log
Use error logs when Activity points to a platform, policy, adapter, webhook, auth, or projection failure. Preserve correlation ids when escalating.
Agent-specific traces
For runtime agents, inspect tool calls and channel messages. For builder agents, inspect Design MCP tool calls, workspace changes, validation output, and promotion records.
Debugging sequence
- Confirm target tenant, app, and environment.
- Confirm the published model contains the expected command or projection.
- Execute or replay the smallest failing path.
- Inspect Activity.
- Check error logs and affected integrations.
- Fix the model, permission, projection, policy, or integration.
- Re-run the smoke test.