observal reconcile
Backfill local session records missed by automatic hook or extension delivery.
Reconcile is a manual recovery command, not the normal collection path. The server cannot scan files on a developer machine. Automatic hooks and extensions wake the same durable delivery engine during normal harness activity; reconcile scans recent local sources on demand.
When to use it
Run reconcile when:
Telemetry instrumentation was installed after sessions already existed
The machine or server was offline
Delivery was interrupted
Durable outbox records remain pending
Recent local history needs to be verified or backfilled
Routine use is unnecessary when automatic delivery is healthy.
Examples
Preview the default seven-day window without network or cursor changes:
observal reconcile --dry-run --output jsonBackfill every installed harness:
observal reconcile --output jsonTarget one harness and a 24-hour discovery window:
The discovery window accepts 1 through 8,760 hours.
Delivery behavior
A non-dry run:
Validates configuration and the harness selection before any outbox side effect.
Retries the existing durable outbox.
Discovers recent session sources through installed harness adapters.
Skips locally finalized sources that have not grown.
Recovers the contiguous server checkpoint for unfinished sources.
Queues and sends only complete records after that checkpoint.
Sends final metadata when all records were uploaded but the session was not finalized.
Leaves transient failures queued for the next automatic wake-up or reconcile run.
Quarantines permanent server rejections and reports them explicitly.
Acknowledged checkpoints make repeated runs idempotent.
A dry run only reads local sources and cursor state. It does not drain the outbox, contact the ingest API, or update cursor state.
JSON result
outbox_drained: false means durable records remain pending. A queued session is safely stored for retry and is not reported as delivered. Permanent ingestion failures include their HTTP status in rejections.
Exit codes
3
Session delivery identity is not configured
7
Unknown harness or invalid discovery window
9
Outbox storage or session discovery is unavailable
Per-session source read failures and checkpoint mismatches are explicit result items so other sessions can still be recovered.
Related
observal doctor: configure and verify automatic telemetry instrumentationobserval ops telemetry status: inspect server and durable outbox healthSession tracking: automatic and recovery delivery architecture
Last updated
Was this helpful?