Routine commands
SYNC_ON_START=true and schedules later runs. pnpm sync performs a one-time run and closes the database pool.
Targeted repair
Inspect before changing a cursor:--reset after verifying the chain, network, wallet, asset identity, replay boundary, and database backup. Resetting checkpoints can be expensive and can expose RPC limitations, although deterministic identities should prevent duplicate records.
API health and failures
Manual sync
202 with a run ID, 409 if work is already running, and 429 after excessive requests. Keep the admin key out of shell history and logs; the example variable name is intentionally not a repository configuration variable.