The kernel is not a program you install. It is a short list of entries, segment 0. A tiny program, the seed, reads them in order, and each entry it reads lets it read more. When it reaches the seal, what it has built is the kernel, and with it the seed can read any log.
A small fixed program. It can read nothing yet but segment 0.
Entry by entry it adds names, phases, positions and rules to its state K.
At the seal, K is complete. Its identity is the seal's hash.
Any log that names this kernel's hash is read with the full reader.
No verb names, no codebook, no rules about authority.
A new kernel is a new segment 0, read by the same seed.
Each step adds one distinction, and needs the step before it to have something to act on. The type byte records the answers. Read across a row to see which bit the step makes available.
Segment 0 uses only OPEN, CREATE and COMMIT, whose meanings follow from the bits alone. Nothing it needs comes later in the list.
| Entry | What it says | The reader can now |
|---|---|---|
| 00 kernel | Open the kernel's boundary | Recognise a kernel and read plain fields |
| 04 phase:… | Name the four phases | Tell instant, begin, end and sample apart by name |
| 04 position:… | Name all 32 positions | Print any type as a word, such as OPEN or SEND |
| 04 field:… | Declare the fields entries carry | Read every field the kernel uses |
| 04 rule:… | Genesis first, re-entry only after a seal, authority, packs | Judge whether an entry is valid |
| 04 spelling:… | Optional binary spellings | Read the same entries written compactly |
| 02 kernel | Seal: count and hash of everything above | Prove it read exactly these entries, and name itself by that hash |
The finished reader reads segment 0 again under every rule it now holds. A kernel that would refuse its own description is rejected.
It must judge the six conformance logs exactly as their EXPECTED file says.
A log must start with 0x00, and 0x00 may follow only a seal (0x02). A missing or second genesis is refused by the ordering rule itself.