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.
Reads the configuration at
configPathand settles the target underpolicy;environmentsuppliesHOMEfor 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 withTargetMismatcheven where the layout check would refuse it (owner finding F10, dogfood-2b round 2). The layout rules then run, on first use beforepolicyrecords a binding. All of this reads only. Fails withConfigUndecodable,StoreDirectoryRefused,TargetMismatch,TargetBindingUnreadableorLayoutRefused, among others.