Diagnostics
Diagnostics are the operator surface for queue, storage, index, provider, mutation, connector, and update health. Treat them as evidence, not a license to reset state.
Start with status and readiness
Section titled “Start with status and readiness”signet daemon status --jsoncurl -fsS http://127.0.0.1:3850/health/livecurl -fsS http://127.0.0.1:3850/health/readycurl -fsS http://127.0.0.1:3850/api/diagnostics/health/live answers whether the process is up. /health/ready includes readiness gates. /api/diagnostics returns the detailed report. Its workloads block is scoped to the requested agent and includes active inference/Pi and MCP requests, provider semaphore running and pending counts, oldest ages, and Dreaming pass and attention backlog counts and ages. The focused /api/diagnostics/workloads endpoint returns the same bounded workload snapshot. In authenticated deployments, diagnostics require the appropriate operator or admin permission.
Use the report to identify the failing domain before taking action. Do not treat a low composite score as a diagnosis by itself.
Useful investigations
Section titled “Useful investigations”| Symptom | First evidence |
|---|---|
| Daemon unreachable | signet daemon status --json, /health/live, bind address and service logs. |
| Daemon up but not usable | /health/ready, /api/status, and the exact readiness reasons. |
| Work backlog or repeated failures | /api/diagnostics, then the queue and pipeline status. |
| Search looks incomplete | diagnostics plus the embedding/index status before changing models. |
| Recent deployment changed behavior | /api/status, update status, and daemon logs. |
| Provider trouble | provider diagnostics, configured routing target, and provider reachability. |
Repair actions
Section titled “Repair actions”Repair endpoints are privileged. They are for a diagnosed condition, not first-line recovery. Back up private workspace state before a destructive or broad action.
Current repair routes include:
GET /api/repair/integrity-checkPOST /api/repair/requeue-deadPOST /api/repair/release-leasesPOST /api/repair/check-ftsPOST /api/repair/retention-sweepThe daemon’s full-database integrity scan runs in a single-flight worker after
HTTP readiness, with a 30-second wall-clock budget and periodic progress logs.
It transactionally rebuilds disposable telemetry indexes when only
telemetry_events is corrupt. A confirmed failure is reported by /health and
/health/ready, with actionable offline repair guidance. If the audit store
prevents committing a verified repair, the default remains fail-closed.
Examples:
# Read-only integrity evidencecurl -fsS http://127.0.0.1:3850/api/repair/integrity-check
# Requeue dead work only after identifying why it diedcurl -fsS -X POST http://127.0.0.1:3850/api/repair/requeue-dead
# Release stale leases only after checking the worker is not still activecurl -fsS -X POST http://127.0.0.1:3850/api/repair/release-leasesRate limits and maintenance policy protect repairs from repeated automated retries. A rejected repair is a signal to inspect the root cause, not a reason to loop the request.
The retired transcript backfill route is not a recovery path. Current transcript delivery goes directly to Dreaming; do not build automation around an older backfill endpoint.
Maintenance configuration
Section titled “Maintenance configuration”Autonomous maintenance is configured under memory.pipelineV2.autonomous:
memory: pipelineV2: autonomous: enabled: true frozen: false maintenanceIntervalMs: 1800000 maintenanceMode: observeUse observe when introducing a deployment or investigating an incident. Set frozen: true to stop autonomous writes while preserving the configuration. The repair subobject sets cooldowns and hourly budgets for re-embed, requeue, and deduplication work.
Restart after changing these values because pipeline workers are long-running.
Escalation order
Section titled “Escalation order”- Capture status, readiness, diagnostics, and relevant daemon logs.
- Correct an unavailable provider, invalid config, network bind, or permission issue.
- Restart only when the evidence supports it.
- Use one narrow repair action if its precondition is satisfied.
- Re-run the same health checks and record the result.
Never delete the database, auth secret, or workspace to make a health check go green. Preserve evidence and restore from a verified backup when integrity is actually compromised.
Related: Daemon, Analytics, Self-Hosting.

