Expand description
/etc/planarian/config.json, written by the NixOS module, and the
canonical probes shipped in the core package (I10).
Structs§
- File
Config - Posture
Decl - What the failure posture is, and what is waiting (§12d, P16). A generation switched live can strengthen the posture or shorten the timeout at once; a weaker declaration takes effect when it is booted, because the posture follows the booted generation until then.
- Runtime
Option Config
Constants§
- BOOTED_
CONFIG - The configuration of the generation this machine booted (§12d, P16).
- CONFIG
- CORE_
HASH_ RECORD - The running generation’s record of its core files’ hashes (I2, §12d),
the one
planarian-recoverychecks;PLANARIAN_CORE_HASHoverrides it.
Functions§
- core_
hash SystemState.core_hash(P19): the hash of the recorded core-hash file’s bytes. Zero only when there is no record (a development build); any other read failure is an error, never a value (§18 rule 21). A damaged record is the watchdog’s integrity finding (I2), not this.- default_
boot_ 🔒ready_ secs - default_
health_ 🔒secs - is_
admin - Is
uidroot or a member ofgroup(by /etc/group and /etc/passwd)? - load_
canonical - Canonical probes from the core package:
<prefix>/share/planarian/canonical.jsonnext to the running binary, never from the generation (I10).