/** * OMS v0.2 kernel **production** public surface (explicit only). * * Validated semantic commands + read-only queries. * No wildcard re-exports of modules that also contain unlocked/generic/runtime-switch APIs. * No packed test mutation harness under production `src`. */ export * from "./types.js"; export { systemClock, fakeClock, toIso, addHours, isAtOrAfter, } from "./clock.js"; export { assertKernelId, newOperationId, contentDigest, contentHash, sha256Hex, repositoryPathHash, stableStringify, } from "./ids.js"; export { resolveKernelPaths, resolveV2WorktreesRoot, assertWorktreesRootOutsideOms, isPathAncestor, } from "./paths.js"; export { DEFAULT_LOCK_TIMEOUT_MS, DEFAULT_LOCK_STALE_MS, KERNEL_RUNTIME_LOCK_NAME, V2_PROJECT_LOCK_NAME, acquireKernelLock, withKernelLock, readLockMetadata, recoverStaleLockDir, type KernelLock, type KernelLockMetadata, type AcquireKernelLockOptions, } from "./lock.js"; export { readJournalRecord, listJournalRecords, findByOperationId, replayJournal, recoverJournalConsistency, detectJournalMismatchO1, parseJournalRecord, journalHashBody, sequenceFileName, journalRecordPath, journalRecordsRoot, journalOpIndexPath, journalHeadPath, type AppendJournalInput, type IngressRejection, type JournalRecoveryReport, type JournalReplayResult, } from "./journal.js"; export { canonicalViewBytes, viewsEqual, replayRunView, replayTaskViews, replayTaskView, replayMonitorView, replayGoalText, taskProjectionPath, repairProjectionsFromJournal, nowIso, nextOperationId, } from "./authority.js"; export { initializeRuntimeV2, readRun, requireActiveRun, acceptGoal, readArchivedGoalText, applyGithubPollOutcome, applyNeedsHuman, applyMonitorGenerationOnRun, isTerminalStatus, assertExpectedRunBinding, parseRunRecord, repairRunProjection, type InitializeRuntimeOptions, type AcceptGoalOptions, } from "./run-store.js"; export { listTasks, listTasksForRun, readTask, readTaskForRun, tryReadTask, claimTask, createSyntheticGoalTask, parseTaskRecord, type ClaimTaskOptions, } from "./task-store.js"; export { readMonitor, ensureMonitor, acquireMonitorLease, heartbeatMonitor, releaseMonitorLease, advanceMonitorTimers, setWakeCursor, parseMonitorRecord, type AcquireMonitorLeaseOptions, } from "./monitor-store.js"; export { readActiveRuntime, requireActiveVersion, assertSingleMutator, assertV2MutationAllowed, activeRuntimePathForOmsRoot, readActiveRuntimePointer, type ActiveRuntimePointerView, } from "./active-runtime.js"; export { stopCampaign, type StopCampaignOptions, type StopCampaignResult, } from "./stop.js"; export { readStatusSummary, formatStatusLines } from "./status.js"; export { claimWake, consumeWake, processWakeSemantic, listWakeClaims, type WakeDelivery, } from "./wake.js"; export { decideMonitorActions, evaluateQueueCompletion, nextEmptyPollStreak, } from "./loop-decision.js"; export { startMonitorSession, stopMonitorSession, tickMonitor, drainPhysicalWakes, type MonitorTickResult, type MonitorSession, type MonitorTickAdapters, type PhysicalWakeRequest, } from "./monitor.js"; export { ingestProviderHook } from "./provider-ingress.js"; export { listTypedEvents, listTypedEventsPage, deriveEventId, parseTypedEventPayload, validateClosedPayload, } from "./events.js"; export { assertReadOnlyPaneAdapter, normalizePaneObservations, loadJournalPaneBindings, type PaneHealthAdapter, type PaneHealthObservation, } from "./pane-health.js"; export { isSystemdUserSupported, watchdogUnitBase, resolveWatchdogPaths, inspectWatchdog, installWatchdogTimer, removeWatchdogTimer, runWatchdogCheck, applyWatchdogMonitorRepair, type WatchdogAction, type WatchdogCheckResult, } from "./watchdog.js"; export { type GithubIssueSnapshot, type GithubPollAdapter, type GithubPollResult, type GithubPullRequestSnapshot, type GithubCheckSnapshot, } from "./github-sync.js"; export { assertRoleModelBilling, resolveAllowedExecutorModels, markTaskBlocked, parkTaskForQuota, resumeTaskFromQuota, type AdviceBinding, type AttemptBinding, } from "./dispatch.js"; /** Production dispatch surface: factory-bound request_advice + launch_worker only. */ export { createDispatchService, type DispatchService, type DispatchServiceConfig, } from "./dispatch-service.js"; export { adviceIntentOpId, adviceCompleteOpId, parseAdviceAdapterOutput, type AdviceAdapter, type AdviceAdapterResult, type FreshAdviceResult, } from "./dispatch-advice.js"; export { computeAdviceIdentityKey, type AdviceIdentityFields, } from "./dispatch-identity.js"; export { attemptWorktreePath, attemptWorktreeBranch, worktreeIntentOpId, worktreeEffectOpId, worktreeCompleteOpId, type WorktreeAdapter, type WorktreeVerifyResult, } from "./worktree.js"; export { launchIntentOpId, launchCompleteOpId, launchEffectOpId, type WorkerLaunchAdapter, type LaunchWorkerResult, type LaunchLane, } from "./launch.js"; export { computeLaunchIdentityDigest } from "./dispatch-identity.js"; export { journalConductorRecoveryBinding, loadConductorRecoveryBinding, resumeConductorExact, recoveryBindingDigest, snapshotsMatchBinding, conductorResumeEffectOpId, conductorResumeCompleteOpId, conductorResumeIntentOpId, type ConductorResumeAdapter, type ConductorObserveSnapshot, } from "./conductor-resume.js"; export { deriveLaunchSessionId } from "./dispatch-identity.js"; export { CONDUCTOR_DISALLOWED_TOOLS, CONDUCTOR_ALLOWED_TOOLS, GOAL_EVIDENCE_AUTHORITY_REAL, assertGoalCapabilityEvidence, resolveGoalCapabilityEvidence, buildClaudeInteractivePlan, buildClaudeResumePlan, buildIsolatedCodexGoalLaunchPlan, EXECUTOR_ALLOWED_TOOLS, EXECUTOR_DISALLOWED_TOOLS, assertNoUntrustedShellInterpolation, assertWorkerEnvHidesOms, filterWorkerLaunchEnv, type ClaudeInteractiveLaunchPlan, type CodexGoalLaunchPlan, type GoalCapabilityEvidence, } from "./providers.js"; export { runProtectedVerification, probeWorktree, createKernelVerificationSandbox, findPassedVerificationForTask, requireProtectedVerificationResult, type VerificationOutcome, type VerificationSubject, type VerificationResult, type WorktreeProbe, } from "./verification.js"; export { resultCommitOpId, type ResultCommitBinding, } from "./result-binding.js"; export { createResultService, deliveryAuthorizationDigest, type ResultService, type ProcessResultOutcome, type TaskTerminalInspection, type DeliveryAuthorization, } from "./result-service.js"; export { evaluateCapability, capabilityEvidenceDigest, doctorCapabilityLine, CLAUDE_CAPABILITY_POLICY, CODEX_CAPABILITY_POLICY, type BinaryIdentity, type CapabilityProbeResult, type CapabilityPolicy, } from "./capability.js"; export { rebuildViewsFromJournal, exactViewEqual, viewContentDigest, type ViewRebuildReport, } from "./views.js";