Jump to content

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

From The Invariance Itself
m Add live rendering (graphviz tag / #mermaid) above the text-equivalent source; PMP-TPM diagrams, 2026-09-16
Diagram 02 Container lifecycle: source, text equivalent, TPS 0.1.0 addresses
Line 1: Line 1:
''Structural diagram 2 of 12. Part of [[The Principia Machina/Hub|the TPM hub]].''
''Structural diagram 2 of 12.'' Part of [[The Principia Machina/Hub|the TPM hub]].
 
* KIND: process
* KIND: process
* LANGUAGE: Mermaid state
* LANGUAGE: Mermaid state
* GENERATED FROM: per-container manifest state
* GENERATED FROM: per-container manifest state; TPS 5.5, 5.6, 5.11.6, 3.4
* STATUS: hand-authored at PMP-TPM 0.2.0 from foundations record 0.5.0 section 4.1; superseded by TPX at its first build (D21, structural diagram pages are TPX output).
* STATUS: hand-authored at TPS 0.1.0; superseded by TPX at its first build
* SOURCE SHA-256: <code>41a929bac52f416c33c7b72c7dbf6b17798dc388469ecedab0f34df1a15e9a4d</code>


The diagram is rendered live from the source below, which is its text equivalent (4.1). If rendering is unavailable the source still stands.
Rendered live from the source below, which is the text equivalent; if rendering is unavailable the source still stands.


{{#mermaid:stateDiagram-v2
{{#mermaid:
   [*] --&gt; DRAFT_CONTAINER : initiator opens draft (D26)
%% 02 Container lifecycle. process/Mermaid state. Generated from: per-container manifest state; TPS 5.5, 5.6, 5.11.6, 3.4.
   DRAFT_CONTAINER --&gt; DRAFT_CONTAINER : zone check fails; component returned (D25)
stateDiagram-v2
  DRAFT_CONTAINER --&gt; CANDIDATE : TPK, TrM, TMS pass; digests, UUID, prefix, candidate certificate (D25)
   [*] --> Draft : DRAFT CONTAINER page (5.5.1)
   CANDIDATE --&gt; CERTIFIED : H-DECL lands certificate on DECLARATIONS
   Draft --> Draft : rejected component returned (5.5.2)
   CERTIFIED --&gt; WORKING : TPX writes TFK pages, register volume 1 OPEN, control panel, lock, collaboration, manifest, badge, BUILD CHAIN line
   Draft --> Certified : H-DECL lands the certificate (5.5.4)
   WORKING --&gt; WORKING : landings; badge written last
   Certified --> Working : lock acquired (5.7)
   WORKING --&gt; HALTED : digest-gate failure (D5g)
   Working --> Certified : release after push (5.10.1)
   HALTED --&gt; WORKING : RESTORE declared; digest matches
   Working --> Halted : digest-gate failure (2.5.5)
   HALTED --&gt; FORKED : FORK declared; copy-forward (D5)
   Halted --> Certified : RESTORE declared (2.5.7)
   WORKING --&gt; FORKED : change request against TFK; copy-forward (D5)
   Halted --> Forked : FORK declared (2.5.7)
   FORKED --&gt; DRAFT_CONTAINER : successor draft, new UUID, new prefix
   Certified --> Forked : change request, COPY-FORWARD (5.5.6, 3.4)
   WORKING --&gt; RETIRED : RETIRED declared (D12)
   Forked --> [*] : successor takes a new UUID and prefix
   RETIRED --&gt; [*] : pages protected read-only; stays in index
   Certified --> Retired : H-DECL declares RETIRED (5.6.5)
   Retired --> [*] : pages read-only, index entry kept (5.11.6)
}}
}}


<pre>
== Text equivalent ==
stateDiagram-v2
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).
  [*] --&gt; DRAFT_CONTAINER : initiator opens draft (D26)
 
  DRAFT_CONTAINER --&gt; DRAFT_CONTAINER : zone check fails; component returned (D25)
[[Category:The Principia Machina]]
  DRAFT_CONTAINER --&gt; CANDIDATE : TPK, TrM, TMS pass; digests, UUID, prefix, candidate certificate (D25)
 
  CANDIDATE --&gt; CERTIFIED : H-DECL lands certificate on DECLARATIONS
  CERTIFIED --&gt; WORKING : TPX writes TFK pages, register volume 1 OPEN, control panel, lock, collaboration, manifest, badge, BUILD CHAIN line
  WORKING --&gt; WORKING : landings; badge written last
  WORKING --&gt; HALTED : digest-gate failure (D5g)
  HALTED --&gt; WORKING : RESTORE declared; digest matches
  HALTED --&gt; FORKED : FORK declared; copy-forward (D5)
  WORKING --&gt; FORKED : change request against TFK; copy-forward (D5)
  FORKED --&gt; DRAFT_CONTAINER : successor draft, new UUID, new prefix
  WORKING --&gt; RETIRED : RETIRED declared (D12)
  RETIRED --&gt; [*] : pages protected read-only; stays in index
</pre>

Revision as of 19:49, 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

Rendered live from the source below, which is the text equivalent; if rendering is unavailable the source still stands.

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).