tarlatan
    Preparing search index...

    Interface SessionCapabilities

    The capabilities a session command runs over.

    interface SessionCapabilities {
        checkWorktree: CheckWorktree;
        handoffGit: (
            identity: { commonDir: string; gitDir: string; path: string },
        ) => HandoffGit;
        keeper: (
            identity: { commonDir: string; gitDir: string; path: string },
        ) => SnapshotKeeper;
        ledger: LedgerStore;
        lock: Effect<void, ProjectLogError | LockHeld, Scope>;
        log: ProjectLog;
        newId: Effect<string>;
        nowMono: Effect<
            Option<{ bootId: string & Brand<"BootId">; micros: number }>,
        >;
        parentEnvironment: Readonly<Record<string, string>>;
        publishClaudeProfile: PublishClaudeProfile;
        readClientVersion: ReadClientVersion;
        readProcesses: ReadProcesses;
        show: (line: string) => Effect<void>;
        startClient: StartClient;
        stateFiles: StateFiles;
    }
    Index
    checkWorktree: CheckWorktree
    handoffGit: (
        identity: { commonDir: string; gitDir: string; path: string },
    ) => HandoffGit

    The handoff's git work for a session's recorded worktree.

    keeper: (
        identity: { commonDir: string; gitDir: string; path: string },
    ) => SnapshotKeeper

    Taking and keeping snapshots by ref, and deleting a session's refs, for a recorded worktree (dogfood-8 owner ruling 8): at open, at implement's start, at every end and at close --finished, and the keeping of a review's or a correction's start tree.

    ledger: LedgerStore

    Takes the project lock for the scope, or fails at once with LockHeld.

    newId: Effect<string>

    A fresh identifier slug for a session, operation, grant or waiver.

    nowMono: Effect<Option<{ bootId: string & Brand<"BootId">; micros: number }>>

    The monotonic clock now; none while no clock mechanism exists (design O11).

    parentEnvironment: Readonly<Record<string, string>>

    Tarlatan's own environment; a client gets it minus every GIT_* variable (decision P2).

    publishClaudeProfile: PublishClaudeProfile

    Publishes Claude's editing profile for a session's recorded git identity, before admission (batch review B03).

    readClientVersion: ReadClientVersion
    readProcesses: ReadProcesses
    show: (line: string) => Effect<void>

    Shows one line of a client's output to the owner as it arrives.

    startClient: StartClient
    stateFiles: StateFiles