Jump to content

The Principia Machina/Diagrams/02 Container lifecycle: Difference between revisions

From The Invariance Itself
m 1 revision imported
Diagram layer page 02 Container lifecycle, TPS 0.1.0
Line 7: Line 7:
* KEY: [[The Principia Machina/Diagrams/Key for process diagrams|key for process diagrams]]: what each shape and arrow means; [[The Principia Machina/Diagrams/Terms|definition of terms]]; [[The Principia Machina/TPS 0.1.0/Contents|contents of the specification]]
* KEY: [[The Principia Machina/Diagrams/Key for process diagrams|key for process diagrams]]: what each shape and arrow means; [[The Principia Machina/Diagrams/Terms|definition of terms]]; [[The Principia Machina/TPS 0.1.0/Contents|contents of the specification]]


Rendered live from the source below, which is the text equivalent; if rendering is unavailable the source still stands.
Rendered live from the source, which is the text equivalent and is shown under the drawing; a wide drawing scrolls sideways inside its frame.


<div style="overflow-x:auto; max-width:100%; border:1px solid #c8ccd1; background:#ffffff; padding:0.5em;">
{{#mermaid:
{{#mermaid:
%% 02 Container lifecycle. process/Mermaid state. Generated from: per-container manifest state; TPS 5.5, 5.6, 5.11.6, 3.4.
%% 02 Container lifecycle. process/Mermaid state. Generated from: per-container manifest state; TPS 5.5, 5.6, 5.11.6, 3.4.
Line 25: Line 26:
   Retired --> [*] : pages read-only, index entry kept (5.11.6)
   Retired --> [*] : pages read-only, index entry kept (5.11.6)
|config.theme=neutral}}
|config.theme=neutral}}
</div>
<div class="mw-collapsible mw-collapsed" style="border:1px solid #c8ccd1; padding:0.3em;">'''Source''' (the text equivalent; Mermaid)
<div class="mw-collapsible-content">
<pre>
%% 02 Container lifecycle. process/Mermaid state. Generated from: per-container manifest state; TPS 5.5, 5.6, 5.11.6, 3.4.
stateDiagram-v2
  [*] --> Draft : DRAFT CONTAINER page (5.5.1)
  Draft --> Draft : rejected component returned (5.5.2)
  Draft --> Certified : H-DECL lands the certificate (5.5.4)
  Certified --> Working : lock acquired (5.7)
  Working --> Certified : release after push (5.10.1)
  Working --> Halted : digest-gate failure (2.5.5)
  Halted --> Certified : RESTORE declared (2.5.7)
  Halted --> Forked : FORK declared (2.5.7)
  Certified --> Forked : change request, COPY-FORWARD (5.5.6, 3.4)
  Forked --> [*] : successor takes a new UUID and prefix
  Certified --> Retired : H-DECL declares RETIRED (5.6.5)
  Retired --> [*] : pages read-only, index entry kept (5.11.6)
</pre>
</div></div>


== Text equivalent ==
== Text equivalent ==

Revision as of 20:38, 17 September 2026

Structural diagram 2 of 12. Part of the TPM hub.

  • KIND: process
  • LANGUAGE: Mermaid state
  • GENERATED FROM: per-container manifest state; TPS 5.5, 5.6, 5.11.6, 3.4
  • STATUS: hand-authored at TPS 0.1.0; superseded by TPX at its first build
  • SOURCE SHA-256: 41a929bac52f416c33c7b72c7dbf6b17798dc388469ecedab0f34df1a15e9a4d
  • KEY: key for process diagrams: what each shape and arrow means; definition of terms; contents of the specification

Rendered live from the source, which is the text equivalent and is shown under the drawing; a wide drawing scrolls sideways inside its frame.

Source (the text equivalent; Mermaid)
%% 02 Container lifecycle. process/Mermaid state. Generated from: per-container manifest state; TPS 5.5, 5.6, 5.11.6, 3.4.
stateDiagram-v2
  [*] --> Draft : DRAFT CONTAINER page (5.5.1)
  Draft --> Draft : rejected component returned (5.5.2)
  Draft --> Certified : H-DECL lands the certificate (5.5.4)
  Certified --> Working : lock acquired (5.7)
  Working --> Certified : release after push (5.10.1)
  Working --> Halted : digest-gate failure (2.5.5)
  Halted --> Certified : RESTORE declared (2.5.7)
  Halted --> Forked : FORK declared (2.5.7)
  Certified --> Forked : change request, COPY-FORWARD (5.5.6, 3.4)
  Forked --> [*] : successor takes a new UUID and prefix
  Certified --> Retired : H-DECL declares RETIRED (5.6.5)
  Retired --> [*] : pages read-only, index entry kept (5.11.6)

Text equivalent

A container begins as a DRAFT CONTAINER page; a rejected component returns it to its author (5.5.1, 5.5.2). It becomes CERTIFIED when H-DECL lands the certificate (5.5.4). Work alternates between the lock held and released after a push (5.7, 5.10.1). A digest-gate failure halts writes until a human declares RESTORE or FORK (2.5.5, 2.5.7). A change request forks it by COPY-FORWARD into a successor with a new UUID and prefix (5.5.6, 3.4). RETIRED, declared by H-DECL, leaves the pages read-only and the index entry in place (5.6.5, 5.11.6).