/** * Runner exit code for a partial sync pass: the pass ran to completion but one * or more per-file transfers threw (`errors.length > 0` in the all-complete * aggregate). Deterministic per-file failures — an oversized object on a * pre-skip runner, a presign denial, an expired token late in a long pass, a * corrupt doubly-scoped vault key — all land here. * * A one-shot `hq sync` exits with this code so humans and scripts see the * failure. The watch loop must NOT exit on it: auto-sync runs unattended, and * a watcher that dies on every partial pass gets hot-respawned by the menubar * supervisor, which Sentry-captures each death as "auto-sync watcher exited * unexpectedly (code=Some(2))". Because the watcher typically runs healthily * for minutes before the failing pass, the supervisor's fast-crash-loop * dampening never engages and EVERY death ships an event — the July 2026 * #hq-sentry-alerts flood (~1,700 events across 60+ machines in 5 days). * Instead the loop logs, stays alive, and re-attempts on the next tick; the * per-file errors still surface through the ndjson `error` events and the * `partial: true` all-complete aggregate. * * Kept off the other codes in use by the runner: 0 ok, 1 hard error, 17 * op-locked (`OPERATION_LOCKED_EXIT`), 75 transient network * (`TRANSIENT_NETWORK_EXIT`). */ export declare const PARTIAL_SYNC_EXIT = 2; /** * Runner exit code for an explicitly requested company that could not be * resolved into the caller's namespace. A one-shot `hq sync` exits non-zero * so the unresolved target is visible to operators and scripts. The watch loop * must stay alive: watch routes are currently derived from local directory * names, so returning the generic hard-error code would make one stale or * foreign directory terminate the long-lived watcher and trigger a restart * loop. * * Kept off the other codes in use by the runner: 0 ok, 1 hard error, 2 * partial, 17 op-locked (`OPERATION_LOCKED_EXIT`), 18 op-lock-unwritable * (`OPERATION_LOCK_UNWRITABLE_EXIT`), and 75 transient network * (`TRANSIENT_NETWORK_EXIT`). */ export declare const UNRESOLVED_COMPANY_EXIT = 19; //# sourceMappingURL=exit-codes.d.ts.map