-
-
Notifications
You must be signed in to change notification settings - Fork 205
Incident Response Runbooks
During an incident, protect agent workloads and evidence first. CCAM monitoring must remain fail-safe; do not make provider execution depend on restoring the dashboard.
- State the symptom, affected users/sources, and first known time.
- Record CCAM version and deployment topology.
- Preserve server/edge logs and current health output.
- Check disk/volume capacity and database availability.
- Avoid cleanup, reinstallation, or restore until the failure layer is known.
- Check process/pod state and
/health. - Check edge routing separately from direct service access.
- Verify database volume attachment and write permissions.
- Inspect restarts and the first startup error.
- If rollback is needed, back up first and retain the failed image/logs.
Provider hooks may fail harmlessly during the outage. Recover missed history later with import/rescan.
- Determine whether all providers/sources or only one are affected.
- Run a controlled short session.
- Inspect hook installation and remote-source status.
- Compare raw provider transcript freshness.
- Check server persistence and only then the browser live connection.
Use Hook Health and Ingestion.
- Compare last event and transcript activity.
- Check child agents and long-running tools.
- Distinguish local, forwarded-hook, container, and remote-source liveness rules.
- Never directly rewrite status in SQLite.
Use Recipe: Investigate a Stuck Session.
- Freeze the relevant filter/time range.
- Identify contributing sessions and model identities.
- Check usage completeness and pricing overrides.
- Preserve the export before changing pricing.
Use Recipe: Audit an Expensive Session.
- Restrict external access.
- Rotate only the affected dashboard, hook, or MCP secret first.
- Restart consumers and verify the old credential fails.
- Inspect access logs and assess transcript exposure.
Document impact, timeline, root cause, recovery, evidence, and follow-ups. Add a regression test or monitoring signal when the incident revealed a detectable gap.
Start Here · Localized product Wiki · Repository · Releases · Security · Report an issue
Guidance tracks the current master branch. For a deployed release, consult the repository documentation at that release tag before changing configuration.
CCAM Handbook
Use CCAM
- Read the dashboard
- Sessions and agents
- Kanban and tasks
- Tokens and costs
- Run agents
- Personal settings
Operate CCAM
- Deployment guide
- Hook health
- Security
- Backups and retention
- Prometheus and Grafana
- Remote machines
- Upgrades and rollback
- Incident runbooks
Automate and extend
- CLI patterns
- MCP workflows
- Alerts and webhooks
- Dynamic workflows
- Skills and plugins
- Safe config explorer
- Integration patterns
Help