tarlatan
    Preparing search index...
    • Reads the configuration at configPath and settles the target under policy; environment supplies HOME for the default ledger directory. The configured layout is resolved, an entry at the state directory's resolved path that is not a directory is refused (owner finding F2), and a recorded binding is compared with the configured target before the layout rules are applied, so a changed target fails with TargetMismatch even where the layout check would refuse it (owner finding F10, dogfood-2b round 2). The layout rules then run, on first use before policy records a binding. All of this reads only. Fails with ConfigUndecodable, StoreDirectoryRefused, TargetMismatch, TargetBindingUnreadable or LayoutRefused, among others.

      Parameters

      • policy: TargetPolicy
      • 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 };
              };
          },
          unknown,
          never,
      >