tarlatan
    Preparing search index...
    • The target the owner's exits run on, for the configuration at configPath (plan "Commands and their prerequisites", AC1; focused review finding 2). The recorded target when a binding is recorded, whatever the configured layout says, as status runs; otherwise the configured target, whose layout is then checked. The binding is read before the ledger's directory is settled, so with a binding recorded the default <HOME>/.tarlatan is never resolved and HOME is not needed (focused re-review finding 3). The layout of the target in force is checked with the state directory, so an exit never writes through a refused layout. Before the binding is read, an entry at the state directory's resolved path that is not a directory is refused with StoreDirectoryRefused (owner finding F2, dogfood-2). Records and creates nothing. Fails with ConfigUndecodable, StoreDirectoryRefused, TargetBindingUnreadable or LayoutRefused, among others.

      Parameters

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

      Returns Effect<
          {
              config: TarlatanConfig;
              target: {
                  attributeAllowance: {
                      rootLines: readonly []
                      | readonly ["*.wxw linguist-language=Rust"];
                  };
                  ledger: string;
                  ownerCheckout: string;
                  projectId: string & Brand<"ProjectId">;
                  supervisor: { name: string; path: string };
              };
          },
          | LayoutRefused
          | StoreDirectoryRefused
          | TargetBindingUnreadable
          | StateFileFailed
          | FileNotUtf8
          | ConfigUndecodable,
          never,
      >