Jump to content

The Principia Machina/Diagrams/C3 Container lifecycle pipeline: Difference between revisions

From The Invariance Itself
m 1 revision imported
m 1 revision imported
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
''Conceptual diagram 3 of 5.'' Part of [[The Principia Machina/Hub|the TPM hub]].
#REDIRECT [[The Principia Machina/Diagrams/C3 Lifecycle pipeline]]
* KIND: process
* LANGUAGE: Mermaid flow
* GENERATED FROM: declared by the human 2026-09-17; TPS 5.5-5.10, 4.1-4.6, 3.4, 2.5
* STATUS: hand-authored at TPS 0.1.0; conceptual, kept by the human; never generated
* SOURCE SHA-256: <code>c4503581670d087e2acb9828d6da04df6e2623f9d31114a639f9abf5667bda7c</code>
* KEY: [[The Principia Machina/Diagrams/Key for process diagrams|key for process diagrams]]: what each shape and arrow means
 
Rendered live from the source below, which is the text equivalent; if rendering is unavailable the source still stands.
 
{{#mermaid:
%% C3 Container lifecycle pipeline. TPS 0.1.0: 5.5, 5.6, 5.7-5.10, 4.1-4.6, 3.4, 2.5.
%% Stage form: numbered stages; tasks in boxes; human acts in parallelograms;
%% pages and records in cylinders. No pipe characters: the wiki parser function needs none.
flowchart TD
  subgraph S1 ["1. Draft  (5.5.1-5.5.2, 2.2, 2.3, 2.4)"]
    D1[(DRAFT CONTAINER page)] --> Z1[TPK zone: kernel tests T1-T6]
    Z1 --> Z2[TrM zone: TOTAL, SURJECTIVE, INJECTIVE, STRUCTURE-PRESERVING]
    Z2 --> Z3[TMS zone: SR9 C1-C5, the last gate]
    Z1 -. rejected component .-> A1[/author repairs the draft/]
    Z2 -. rejected component .-> A1
    Z3 -. rejected component .-> A1
    A1 --> D1
  end
  subgraph S2 ["2. Certify  (5.5.3-5.5.4, 2.5, 5.6)"]
    Z3 --> DG[TPX computes D-TPK, D-TrM, D-TMS, D-TFK]
    DG --> UU[UUID v4 and unique prefix]
    UU --> CC[(CANDIDATE CERTIFICATE on staging)]
    CC --> HD[/H-DECL lands the certificate: state CERTIFIED/]
    HD --> DL[(DECLARATIONS line)]
    DL --> IN[TPX initializes: TFK pages, register volume 1 OPEN, master record, control panel, lock, collaboration page, manifest, library page, badge]
    IN --> BC[(BUILD CHAIN line)]
  end
  subgraph S3 ["3. Work  (5.7-5.10, 3.1)"]
    IN --> LK[lock acquired by base-revision edit]
    LK --> WB[work blocks: commissioned, owned, landed]
    WB --> LD[landing through TPX: grant, block ID, conformance declaration]
    LD --> MF[(REGISTER records, MANIFEST, BADGE written last)]
    MF --> RL[release after push]
  end
  subgraph S4 ["4. Audit  (4.1-4.6)"]
    MF --> CAC[CAC at every run: SR1-SR9 against the register and the master record]
    CAC --> ST[(WITHDRAWAL records: strikes)]
    CAC --> AB[audit block on equal distance, N_x, or mismatch]
    AB --> DI[/decision item to the human/]
  end
  subgraph S5 ["5. Succession  (3.4, 2.5.7, 5.11.6)"]
    DGF[digest-gate failure] --> HR[/human declares RESTORE or FORK/]
    CR[change request against the TFK] --> CF[COPY-FORWARD: new UUID, new prefix, records PROVISIONAL, REFUTED kept]
    HR -- FORK --> CF
    CF --> SC[(SUCCESSOR container: back-pointers)]
    RT[/H-DECL declares RETIRED/] --> RO[(pages read-only, index entry kept)]
  end
  MF -. every write .-> DGF
  DI -. DOMAIN restriction or successor .-> CR
}}
 
<!-- A DOT-drawn preview of this pipeline exists as a derived image (render/C3_container_lifecycle_pipeline.preview.png, tagged with this source's hash); it is not a second source. -->
 
== Text equivalent ==
Stage 1 Draft: a DRAFT CONTAINER enters its zones in order and each rejected component returns to the author (5.5.1, 5.5.2). Stage 2 Certify: TPX computes the four digests, obtains the UUID and prefix, writes the candidate certificate; H-DECL lands it as a DECLARATIONS line; TPX initializes the container and appends the BUILD CHAIN line (5.5.3, 5.5.4). Stage 3 Work: the lock, work blocks, landings, manifest and badge written last, release after push (5.7 to 5.10). Stage 4 Audit: the CAC at every run applies SR1 to SR9, writes strikes, and opens audit blocks that end in decision items (4.1 to 4.6). Stage 5 Succession: a digest-gate failure or a change request leads to RESTORE, FORK or COPY-FORWARD into a successor; retirement leaves pages read-only (2.5.7, 3.4, 5.11.6).
 
[[Category:The Principia Machina]]



Latest revision as of 06:09, 22 September 2026