ecluse
Safe HaskellNone
LanguageGHC2021

Ecluse.Composition.MemoryPlan.Render

Description

The boot lines the memory plan emits: one per resolved bound, tagged with its provenance, and one warning per rung the shed ladder took. The boot logs them and the dry-run checker (runCheckConfig) prints the same text, so an operator reads one plan whichever path produced it.

Synopsis

Documentation

renderPlanLines :: PlanInputs -> TenantDemands -> ShedOutcomes -> [Text] Source #

The ordered boot lines check-config prints: one per resolved bound, tagged with its provenance (an explicit config value, or the ceiling it was computed from).

localCachePolicyLine :: Text Source #

The local backend's retention capabilities, independent of capacity overrides.

renderDegradations :: TenantDemands -> ShedOutcomes -> [Text] Source #

The shed-ladder warnings, in ladder order, each naming what was given up and why.

renderControlWarnings :: OverridePins -> Int -> Int -> [Text] Source #

Explain exact operator pins, which carry no memory guarantee.