Ops

Outcome

Run day-2 operations safely: health checks, logs, backups, updates, and practical recovery steps.

On this page

1) Health command ladder

Start with service health:

cara status --port 18789
curl -sS http://127.0.0.1:18789/health

If you changed bind/port in setup, use those values instead of 127.0.0.1:18789.

2) Logs and diagnosis ladder

If health checks fail or degrade:

cara logs -n 200

For deeper troubleshooting, use:

3) Autonomy smoke check

Verify long-running task execution behavior:

cara verify --outcome autonomy --port 18789

This check submits a real durable task and verifies both:

4) Task payload storage note

Durable task payloads are persisted in plaintext at:

Treat task payload text as operational state, not secret storage. Do not place raw secrets/tokens in task messages.

5) Production secret baseline

Set a deployment-specific server secret in production:

export CARAPACE_SERVER_SECRET='<long-random-secret>'

This avoids hooks sender-scoping fallback behavior that is acceptable for local development but not ideal for long-lived production deployments.

6) Backup and restore

Create a backup before major config/channel changes:

cara backup --output ./carapace-backup.tar.gz

Restore from backup:

cara restore --path ./carapace-backup.tar.gz

7) Update flow

Quick path:

cara update

Production/reproducible path:

Interrupted/failed update handling:

Quick checks:

cara update --check
# Optional: inspect {state_dir}/updates/transaction.json
# (set CARAPACE_STATE_DIR to your state path if you use a non-default location)

Reference docs:

8) First-response recovery checklist

  1. Confirm service health and port/bind settings.
  2. Capture recent logs and isolate the first failing component (provider/channel/auth).
  3. Re-run setup for misconfigured auth/network/channel values.
  4. Restore from latest known-good backup if needed.
  5. Open an issue with logs + exact steps if still blocked.

9) Next paths

10) Security reporting

For suspected vulnerabilities, use private reporting: