Expand description
The change catalog (SPEC §9). Every ApplyChange names an entry here.
An entry validates its arguments against permitted values and produces
flat option assignments for planarian/overrides.nix. It never produces
raw Nix. Risk is not read from here: the executor derives it from the
evaluated generation (I14). affected_modules is only a hint.
The permitted values and the option each entry writes are owner
configuration (services.planarian.catalog in the module), exported as
JSON and loaded into CatalogConfig.
Structs§
Enums§
Constants§
- REAPPLY
- The catalog id of the reapply repair (§13, P22).
Functions§
- arg_str 🔒
- carried
- Whether
livestill carries every assignmentsetmakes. - entries
- handle
- Run an entry’s handler: validated option assignments to merge into the override file.
- merge
basewithchange’s assignments applied on top.- nix_
path 🔒 - Option paths are dotted identifiers; quote any segment that isn’t a plain one.
- nix_
string 🔒 - nix_
value 🔒 - one_of 🔒
- parse
- Parse a file produced by
renderback into assignments. Only the exact rendered form is accepted; anything else isNone. - permitted 🔒
- render
- The full text of
planarian/overrides.nix. Deterministic, so its content hash identifies the override set (§9 step 4). - target_
of - The unit a per-unit catalog change is for (its
serviceargument). - writeback
- The
ApplyChangethat persists a runtime option (§12a write-back).