tarlatan
    Preparing search index...

    Function exitProduction

    • The production capabilities of session close --abandoned | --interrupted | --unconverged, for the configuration at configPath; environment supplies HOME for the default ledger directory. They stay reachable under a mismatched configuration or a refused configured layout and run on the recorded target (batch review B04, AC1). Opens the project log, the lock and the target's ledger, which the settle step writes, after judging the state directory and the ledger directory and only then making a missing one, so a refused ledger directory leaves no state directory (store-directory.ts; owner finding F7, dogfood-2). Fails with ConfigUndecodable, LayoutRefused, TargetBindingUnreadable, StoreDirectoryParentMissing or StoreDirectoryRefused, among others, and never with GitHomeRefused.

      Parameters

      • configPath: string
      • environment: Readonly<Record<string, string | undefined>>

      Returns Effect<ExitProduction, unknown, Scope>