Jump to content

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

From The Invariance Itself
m 1 revision imported: TPM bootstrap under PMP-TPM 0.2.0
m Add live rendering (graphviz tag / #mermaid) above the text-equivalent source; PMP-TPM diagrams, 2026-09-16
Line 6: Line 6:
* 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 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).


The source below is the text equivalent of the diagram. Rendering requires a Mermaid extension; without one the source is shown as text, which 4.1 accepts.
The diagram is rendered live from the source below, which is its text equivalent (4.1). If rendering is unavailable the source still stands.
 
{{#mermaid:stateDiagram-v2
  [*] --> DRAFT_CONTAINER : initiator opens draft (D26)
  DRAFT_CONTAINER --> DRAFT_CONTAINER : zone check fails; component returned (D25)
  DRAFT_CONTAINER --> CANDIDATE : TPK, TrM, TMS pass; digests, UUID, prefix, candidate certificate (D25)
  CANDIDATE --> CERTIFIED : H-DECL lands certificate on DECLARATIONS
  CERTIFIED --> WORKING : TPX writes TFK pages, register volume 1 OPEN, control panel, lock, collaboration, manifest, badge, BUILD CHAIN line
  WORKING --> WORKING : landings; badge written last
  WORKING --> HALTED : digest-gate failure (D5g)
  HALTED --> WORKING : RESTORE declared; digest matches
  HALTED --> FORKED : FORK declared; copy-forward (D5)
  WORKING --> FORKED : change request against TFK; copy-forward (D5)
  FORKED --> DRAFT_CONTAINER : successor draft, new UUID, new prefix
  WORKING --> RETIRED : RETIRED declared (D12)
  RETIRED --> [*] : pages protected read-only; stays in index
}}


<pre>
<pre>
Line 24: Line 40:
   RETIRED --&gt; [*] : pages protected read-only; stays in index
   RETIRED --&gt; [*] : pages protected read-only; stays in index
</pre>
</pre>

Revision as of 13:01, 16 September 2026

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

  • KIND: process
  • LANGUAGE: Mermaid state
  • GENERATED FROM: per-container manifest state
  • 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).

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

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