/**
 * Centralized timing constants.
 *
 * TTLs and process-lifecycle grace periods that were previously inline magic
 * numbers live here so they are named, documented, and changed in one place.
 * Values are unchanged from their former inline definitions.
 */
/** Local dev-trust run-intent receipt lifetime: 5 minutes. */
export const RECEIPT_TTL_MS = 5 * 60 * 1000;
/** Default OpenCode server readiness timeout: 30 seconds. */
export const DEFAULT_OPENCODE_READINESS_TIMEOUT_MS = 30_000;
/** Grace period after SIGTERM before escalating to SIGKILL. */
export const OPENCODE_SIGTERM_GRACE_MS = 3_000;
/** Grace period after SIGKILL before declaring the process unkillable. */
export const OPENCODE_SIGKILL_GRACE_MS = 1_000;
