ecluse
Safe HaskellNone
LanguageGHC2021

Ecluse.Composition.Validate

Description

The pure boot pass accumulates refusals and advisories for each role. The composition root builds only from ValidatedPlan. Unvetted settings remain on vpSettings.

Synopsis

The validate phase

data ValidatedPlan Source #

What the pure boot pass cleared: the mounts a role may serve, the endpoints it may use, and the settings no rule vets.

vetBoot :: Config -> Vet ValidatedPlan Source #

Accumulate every pure refusal and advisory for one role before constructing its plan.

vetBootWith :: ResolveMaintenanceAdapter -> Config -> Vet ValidatedPlan Source #

Vet every adapter-dependent capability through one lookup, including absent capabilities.

vetMirrorCapabilities :: BootRole -> AppConfig -> Vet () Source #

Require only capabilities this process uses. Store maintenance never opens mirror state or uploads packages.

vetMirrorCapabilitiesWith :: (StoreTag -> Ecosystem -> ServicePresentation) -> BootRole -> AppConfig -> Vet () Source #

vetMirrorCapabilities with each write target's store presentation drawn from one lookup.

What it clears

data VettedMount Source #

One active mount, paired with the adapter this build ships for its ecosystem.

data VettedPublication Source #

A mount's cleared publish path: the endpoint, the first-party namespaces, and the static credential the edge gate covers.