Cotal TypeScript packages
    Preparing search index...

    Function seatCheckpointDir

    • Where one cut's seat checkpoints live: .cotal/maintenance/v<N>/checkpoints/<attempt>/<seat>/.

      Scoped by the preservation attempt, not shared across cuts. The writer refuses a destination that already exists, which is what makes a checkpoint immutable once sealed; without the attempt in the path the second cut in a root would refuse on the first seat's leftover directory, and deleting the old one to make room would destroy the artifact a rollback still needs.

      Parameters

      • root: string
      • attemptId: string
      • version: number = 1

      Returns string