/**
 * The swarm kernel — public surface.
 *
 * The frozen, load-bearing foundation the crew/swarm orchestration layer is
 * built on. Four primitives, deliberately small:
 *
 *   - {@link JsonCell} — a lockable, schema-validated, atomically-published
 *     JSON file. The single abstraction that collapses the lock + atomic-write
 *     + read/validate trio every higher-level service needs.
 *   - {@link JsonlLog} — an append-only, schema-validated event log with a
 *     parent-pointer threading helper.
 *   - {@link newId} — sortable, coordination-free unique ids (ULID-backed).
 *   - {@link SwarmFault} — the typed, discriminable error every kernel
 *     operation raises.
 *
 * Domain services (`TicketBoard`, `Channel`, `CrewManifest`, the driver lease)
 * are expected to be thin wrappers over these — they should never reach for
 * `node:fs` locking, temp-file renames, or hand-rolled coercion directly.
 */
export { JsonCell } from "./json-cell";
export type { GuardOptions } from "./json-cell";
export { JsonlLog } from "./jsonl-log";
export type { TreeNode } from "./jsonl-log";
export { newId } from "./ids";
export { SwarmFault, swarmFault } from "./faults";
export type { SwarmFaultKind } from "./faults";
