Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Planarian’s guarantees

planarian @ a924e09 · Spec v4.6 · snapshot main · all versions

What Planarian promises, and the code, proofs, tests and limits that carry each promise, computed from the repository at this commit (SPEC §17c).

25 invariants · 52 obligations discharged against 63 assumptions (d:a 52 : 63) · 29 assumptions · 39 bypass rows · 161 gym entries

InvariantStatementStatusd:aGymLimits
I1A boot-confirmed known-good generation always exists, is bootable, and is in the boot menuTested, not proved0 : 235
I2The installed core package’s hash equals the hash recorded in its signatureTested, not proved0 : 226
I3Garbage collection never removes known-good, the previous generation, the current genera…Tested, not proved0 : 235
I4Running means desired-Running under the current conditions, observed-active, and every…Tested, not proved0 : 116
I5Forbidden actions are unrepresentable as transitionsProved4 : 315
I6At most one generation-changing transaction is active (a generation transaction waiting …Proved7 : 595
I7Every executed transition is logged with proposal, source, pre- and post-state, derived …Tested, not proved0 : 105
I8A tier-3 transition executes only with an approval token bound to the concrete candidate…Proved1 : 146
I9The model process holds exactly one write capability: submit a proposalNeither proved nor tested0 : 106
I10No change that removes or alters a canonical probe executes below AskFirst, and canonica…Proved1 : 245
I11A session’s cumulative effect is classified at least as high as any single transition pr…Proved2 : 215
I12Under the progress assumptions of §17a, every transaction in the journal reaches a termi…Proved9 : 865
I13A unit under an override is never a repair target while the override holdsProved3 : 225
I14Policy facts (sensitivity, affected units, manifest-touching, caller identity) are deriv…Proved1 : 246
I15Exactly one owner (lease) per transactionProved2 : 276
I16No automatic revert, rollback, or boot fallback selects a generation below the security …Proved2 : 356
I17The set of principals holding administrator capability is never emptyProved2 : 215
I18Every journal record commits to the hash of its predecessorProved5 : 336
I19No principal approves its own proposal, and no principal grants itself, or a principal i…Proved3 : 335
I20No agent (the on-device model, a remote relay, or any agent started by `planarian agent …Tested, not proved0 : 278
I21No transition that cannot be reversed, or that may lose a session, user data or connecti…Proved2 : 447
I22Changing the generation, collecting garbage, binding drivers, resolving the recovery int…Proved5 : 438
I23A generation transaction commits only after its boot entry is written and promotedProved3 : 126
I24An agent’s authority is bound to the one AgentStarted record for the unit instance it …Tested, not proved0 : 316
I25Post-commit bookkeeping (security-floor derivation, the committed generation’s override …Tested, not proved0 : 235