Unfolding deep dive
Purpose. A deeper dive into the unfolding-kernel aspiration, at Morgen's request (2026-11-29): what "the kernel builds itself" would actually mean, what it would take to make it happen in the spirit of the sources, and what the options are.
Sources read in full at babbworks/stream main 525c084 (28 Nov 2026): review notes 05, 06, 08, 09, 12, 15, 16, 16b, 17, 18, 19; process logs 2026-11-26 seed-boundary, 2026-11-27 finite-seed-model, seed workbook; docs/kernel-model/DIGEST.md + OVERVIEW.md; docs/overview/current-design-vision.md; design/stream/unfolding-kernel.md, relations-and-matrix.md, relativity-of-data.md, persistent-questions.md; experiments/mark-boundary/README.md + premises.json. Local dossier it builds on: ~/workspace/stream-genesis-materials/ (README, tier1/2/3-notes, contradictions).
Status of the sources. Every one of these is proposed / exploratory / candidate design — not a ratified specification and not an implementation. Note 12: "proposed strongest next design"; note 15: "exploratory design for discussion; no replacement of the current kernel plan"; note 16: "Recognition of the advance does not freeze the proposed language"; note 18: "Candidate analysis, not a replacement of the accepted implementation or a ratified seed." design/stream/unfolding-kernel.md: "None of it is part of the version 1 implementation."
Grading language used throughout (the sources' own): forced (proof from stated axioms), strong (well-supported with an interpretive step), interpretive (a naming/mapping choice), not established (claimed but unproven), stipulated (accepted at the base, not derived).
1. The aspiration restated in the sources' own terms
1.1 What "the kernel builds itself" would actually mean
Not a kernel that appears from nothing. The current design direction, from docs/overview/current-design-vision.md:
"The current foundational direction is a small fixed reader that acquires executable vocabulary through recorded, checked, and authorized definitions. Later expressions become meaningful because earlier accepted expressions established the relationships and operations they invoke. The log can preserve both the work and the development of the rules used to interpret that work."
And note 12 §1, the aim in full: build one deterministic, compact, replayable machine in which (1) a small public seed defines reader + finite instruction model; (2) a distinction tree organizes relation/type coordinates; (3) each relation is an operator with typed operands, state transition, testable laws; (4) the log is an ordered trace of accepted operations and recorded refusals; (5) current state and all views are reproducible folds over the log; (6) compact encodings decode to one canonical representation before integrity checks; (7) specialized indexes make telemetry fast without becoming a second source of truth. With the explicit guard: "The target is not to claim that all semantics follow from one mark."
The mechanism that does the building is the activation dialogue (note 15 §4, note 16 §10, unfolding-kernel.md):
definition proposal → check → recorded result → authorized activation → later expressions can invoke it
State is split three ways (note 15 §2): K_n = active definitions at prefix n; B_n = active base fact occurrences; C_n = derived closure, a disposable projection of K and B. A definition may be recorded, checked, authorized, active, applicable and invoked — these are different states. Activation at position n takes effect for later positions only; later rules never authorize earlier acts.
The eight expression forms that carry it (note 15 §4): relation (propose a predicate signature), rule (propose a positive typed implication), action (propose parameters, guard, write set, finite effects), activate (admit an exact definition bundle under prefix knowledge + governance, effective at the next position), invoke (request an active action with typed operands + authenticated envelope), fresh (reserve a new stable referent, inside an action only), emit (add a typed base fact occurrence, inside an action only), retire (close a named live base fact occurrence without removing historical bytes, inside an action only). "Eight forms are not eight elementary instructions" — conditions, binding, type checks, arithmetic, graph checks, canonicalization and admission are real machinery the forms ride on.
1.2 Seed + segment 0
The seed, as DIGEST §7 states it, holds: "the primitives as operations; the meaning of each type bit; the fact shape and what each role holds; the four step rules (in → structure, is → Register, may → authority, to → Books, with their behaviour along containment); a small evaluator (equal, and, not, count, every, first, previous); the seal check; one plain text spelling. No verb names, field names, units or rules."
Before anything is read: "a physical difference, a machine, characters, a hash, and an agreed seed (a short text plus test vectors, both hashed)." S₀ is four empty containers: structure, Register, authority, Books.
Segment 0, in order (DIGEST §7): "boundary (0x00) → the kinds the rules look up (permission kinds; conserved; segment and seal; fingerprint and count) → rules (expressions over codes, including 'first type is 0x00' and '0x00 only after 0x02') → optional spellings → seal (0x01 in the 128 model)." Names live in separate label packs, so the kernel's fingerprint never changes for wording. Then: "the kernel re-reads segment 0 under its own rules; it judges the conformance logs as EXPECTED says."
Note 12 §3.2 gives the bootstrap sequence as a staged, non-circular procedure:
load and identify the seed
K := minimal seed knowledge; S := empty state; address := first
read the first distinction/boundary under seed grammar
propose a rule or operation as a canonical expression
execute/check it using only currently affirmed operations
record the check and affirmation under the current rules
activate the new rule at the following address
repeat: later operations may now use the expanded rule set
check count and seal
replay Segment 0 under the completed active rule set K
run positive and negative conformance vectors for K
open a working log with exactly one Genesis record
"Genesis is not permitted in Segment 0 and may occur only as the first entry of a working log."
GENESIS as an atomic constructor (note 12 §3.3): GENESIS(log_id, roots, clock, timezone, seed_hash, policy_hashes), accepted only as the first entry under the seed's bootstrap rule. It atomically establishes (1) log boundary and identity; (2) root principal(s), with stated single-root or threshold policy; (3) clock provenance and timezone; (4) initial capability to administer this log; (5) seed and initial policy/pack versions. It lowers deterministically into ordinary in, is, may projections. The first recorder must be one of the stated roots; no later Genesis may replace them. And the hard boundary: "Root trust is a declared convention at the seed boundary, not a theorem of the distinction algebra."
1.3 The three beginnings
Note 16 §2, repeated in unfolding-kernel.md — three beginnings must stay distinct:
"Three beginnings stay distinct. The formal beginning is an initial expression and permitted transformations. The machine beginning is an interpreter able to represent and run them. The organizational beginning is the trust and governance under which records and activations are accepted. An empty formal state still presupposes the calculus that interprets it."
"An empty expression, four empty containers, and a reader with minimal knowledge are different starting conditions." The candidate formal beginning is the empty expression epsilon plus the enclosure constructor: E ::= empty | enclose(E) | beside(E, E) — where "Enclosure and juxtaposition are supplied constructors. They are not silently derived from the existence of a mark."
1.4 The reader that learns
The reader supplies, and this is not created from nothing (unfolding-kernel.md): "parsing, reference resolution, matching, substitution, equality, evaluation, admission, staging and atomic commit." The fixed reader contract (note 12 §3.1) fixes only irreducible activation machinery: canonical bootstrap syntax and byte framing; symbol equality, sequence order, stable log/fact addresses; a minimal distinction/state constructor, composition, and a deterministic evaluator for those constructors; a rule-candidate form, a fixed check/affirmation procedure, and the rule that activation takes effect only after affirmation; step(state, operation) and the fold rule; a bounded rule-expression language later activations can extend (no arbitrary native code in the log); a seed identifier, canonicalization rule, and conformance vectors; an integrity profile. "It does not preload the complete STREAM vocabulary or all final relation meanings."
What bootstrapping can teach it: new kind definitions, labels, units, role constraints, relation policies, domain mappings, thresholds, bounded validation rules. Once activated, these can be operands or rules for later operations. The hard boundary (note 12 §3.5): "data cannot make a fixed evaluator execute a genuinely new primitive unless the evaluator already has a construct for interpreting or composing it." If a future kernel needs new syntax, a new evaluator primitive, or a new affirmation rule outside the bounded language: publish a new seed/reader version, identify it by hash, transition explicitly at a segment boundary. Keep old readers and logs valid under the original seed.
Note 05's layered boot is the same idea in layers: Layer 0 the tiny reader contract (byte/input framing and canonical syntax; equality of symbols and ordered sequence positions; one generic fact constructor; one deterministic step and fold; a seed/version identifier and conformance vectors); Layer 1 root declarations (log identity, root actor/principal, clock basis, policy/vocabulary packs — "Root authority is a formal starting trust choice, not a theorem of the mark"); Layer 2 semantic maps (bit axes, relation algebra, kinds/units, actor/object types, projection rules); Layer 3 ordinary facts and derived views. Key constraint: "segment 0 can still be a compact bootstrap data segment, but it no longer changes the parser or the meaning of the rules that were needed to parse itself. It declares a model under a small fixed meta-model."
1.5 The counter-verdict that bounds the whole aspiration
Note 05, "Main conclusion" — this must travel with every telling:
"STREAM can make its starting assumptions small, explicit, and reusable. It cannot derive a complete operational or commercial semantics from literal nothing. A formal system must already have a language, rules for forming expressions, and at least some axioms or inference rules. A machine reader must already have a way to distinguish input symbols and execute steps. The Laws of Form begins from a distinction and introduces laws/operations; it does not prove the distinction, the laws, or their interpretation from a prior mathematical void."
"The strong goal is not zero assumptions; it is a small, auditable meta-system from which one shared hierarchy can be generated, with every semantic choice exposed as a definition or a declaration."
Note 05's discipline, three statuses: primitive / stipulated ("accepted at the base of the formal system"); derived ("follows by proof from those primitives and explicit rules"); interpreted / assigned ("a mathematical object is given a domain meaning… The formal structure does not force those words or their real-world referents"). "Calling an assignment a derivation makes the system sound more inevitable than it is and makes hidden policy hard to find."
And note 06's warning on re-entry: the chapter's claim that recurring re-entry brings time is "an interpretive claim… It should not be imported into STREAM as a theorem that self-reference automatically creates physical time; a specific state transition and succession rule are still needed." Note 05 adds: "A pure distinction does not supply physical time," and "‘Combine’ is best treated as STREAM's description of composing/juxtaposing distinctions, not as a fifth theorem forced by the mere existence of a mark." And on numbers: "The numbers do not determine the meanings. Four cells do not intrinsically mean in/is/may/to; six bits do not intrinsically encode relation/direction/modality/phase; 128 leaves do not intrinsically mean frame/world, sign/substance, or self/other. Those are design mappings."
2. What exists today that it can stand on
| Asset | What it is | What it proves | What it does not prove |
|---|---|---|---|
v1 descriptor + Rust kernel (spec/kernel.descriptor, crates/stream-kernel/) | 68 lines, hash fed5b36e…; preamble + genesis + 3 core rules; 64 verbs, type byte, canonical JSON, seals/chain; 21 tests, 6 conformance cases | The fixed beginning works: a one-page kernel, a validating reader, tamper detection by seal, canonical-form rejection, kernel-identity rejection | Nothing about the unfolding model. DIGEST: "Nothing here is built into the Rust kernel yet." Also: open() does not verify seals or call Entry::check(); genesis is not enforced (a log whose first entry isn't genesis opens with no name and no roots; a second genesis silently replaces the root and verify() doesn't notice) |
Mark-boundary experiment (experiments/mark-boundary/, merged 28 Nov 2026) | The only executable construction from a mark: empty sequence + mark + enclose; premises.json inventory; entry/exit *() → (*) → *(); three rejection fixtures exit 1 with unchanged state, including an injected authority assertion | That a small declared beginning can accumulate identifiable forms with witness paths, and that refusals leave state unchanged | Its own status: "candidate starting contract, not a derivation from nothing". Does not derive MAY, IS, TO, authority, phases, or the 128-cell map. Relocation is a supplied v1 law, not derived from mark/enclose alone |
| Toy-reader probe (seed-boundary process log, 2026-11-26 19:05–19:06) | Fixed toy meta-language recognizing OPEN, PROPOSE, AFFIRM, ACTIVATE, FACT; evaluator already knows family IN; a proposal may bind a new code to that family; root passed to the reader out of band | That a fixed interpreter plus prefix-versioned knowledge can admit new relation labels in a prefix-safe sequence while keeping a refused pre-activation use out of domain state. Expected sequence OPEN→PROPOSE→AFFIRM→FACT (refused, not effective)→ACTIVATE→FACT (accepted); "activation at 5 is effective from address 6"; "genesis cannot establish its own root in this trust profile" | "It does not show the interpreter emerges from the mark; it assumes canonical framing, meta-operations, an IN evaluator, root trust, and refusal/audit behavior." This tests staged vocabulary, not derivation of IN |
Finite-seed model + seed workbook (2026-11-27; seed-workbook.md) | Free term syntax with constructors M, X(x), C(x), P(x,y), R(x); only equations X(X(x)) = x and C(C(x)) = C(x); 2×2 product crossed → 8 unique normal forms; 7 binary axes → 128, ×4 phases → 512 | Cardinality only: the chosen syntax plus two equations can represent eight distinct normal forms; the counts and bijection are verified | "The English names attached to M, X(M), C(M), each product, and each crossed product are a naming/interpretation table. They are not consequences of the rewrite equations." C(M) is a distinct term and an idempotent fixed point; "The equation does not say it means negation." X(M) is paired by an involution; "the equation does not give either member the meaning 'into' or 'out.'" Operation order unresolved: C(X(M)) != X(C(M)), no equations settle either pair |
Kernel-model test corpus (docs/kernel-model/test/, 75 entries) | 28 engine + 19 conformance + 18 pack + 10 from the owner's first log; Python model model.py; round-trip + Books tests | Round trip byte-for-byte 74/75 (exception: conformance case 04, non-canonical by design); verb names recovered without labels 75/75; every key given a role (27 as is properties); Books rebuilt from flow facts alone identical to today's rules. The test forced changes: names belong to a position and a phase together; fact/possible belongs to each fact; three markers (use, legs, set) exist only to rebuild today's JSON | "These results concern the model and its corpus, and do not show coverage of every domain." The 6-bit stored form's context derivation is not tested by this corpus. Farm + workshop filled 11 proposed/open positions with no new positions needed — coverage evidence, not proof |
| The 13-step derivation, graded (DIGEST §2) | Steps 1–13: mark → direction → assertion → four relations → acts → fact/possible → frame/world → sign/substance → self/other → phase ×4 → crossings → roles → kind trees | A spine with honest grading: steps 1–5 and 10 forced; 6–8, 11, 12 strong; step 9 promising but newest; the step-4 pairing interpretive. "Later review holds that unique derivation of the phases, the roles and the 128 meanings is not established" | The derivation is a table in a design inquiry, not an executed construction. Steps 6–9 vs "three context bits" bookkeeping seam: steps 6–9 describe four doublings (to 16, 32, 64, 128) while the prose calls them "the three context bits", counting only steps 7–9 |
| Note 16b addressed transcript (L:1–L:16) | A hand-worked 16-record bootstrap transcript: C0 proposes foundation bundle F (L:1), activates it (L:2), creates nodes R/B/A/C/P (L:3–7), attaches B under R, A under B, C under B (L:8–10), proposes principal rule D (L:11), attests binding P (L:12), activates D (L:13, principal(P) then follows), issues a one-use grant (L:14), moves A from B into C (L:15), refuses the retry with a new key (L:16) | That every activation/action in the transcript is understood from the preceding accepted prefix; dormant definition vs active rule vs applicable rule are different states; a grant cannot satisfy its own action's check; refusal advances audit only | "This is a bootstrap demonstration with semantic events in one illustrative sequence. It does not settle physical address zero, Segment 0 packaging, Genesis byte grammar, or the distinction between a reusable kernel capsule and each working log's initialization." "Transcript + state calculation reviewed manually; no implementation or conformance test has been run." Deterministic refusal precedence unspecified (L:16 has two failures: spent grant + stale parent reference) |
| Note 18 seed reduction | What can be removed from the seed without losing the transcript: one-use counter, separate grant ID, independent entity allocator, primitive principal, materialized tables, general recursive engine (for this forest transcript), arbitrary inference through absence | A smaller candidate: consume/produce as one shared delta B_next = (B_current ∖ C) ∪ A; occurrence identity as the one-use capability token; birth references from occurrence addresses | "Neither result establishes universally minimal reader." Reader B (bounded forest traversal) can reproduce this transcript's observations but "cannot necessarily accept same definitions" — a semantic translation for a restricted domain, not byte compatibility. "Keep A as the reference semantics until the wider STREAM operators establish that B's restrictions suffice." No measurements or comparative implementation claimed |
| Relations as operators (note 08) | First formal attempt: distinction as subset/characteristic function; in as the partial order of forms; is as valuation; may as transition guard over authorized sets (needs added axioms — "Permission is not generated by Boolean distinction alone"); to as conserved transfer Δh = Bq, 1ᵀΔh = 0 | That the four relations are four mathematically different ways a distinction participates in state — ordering, evaluation, admissibility, conserved movement — with real laws and state effects | "That is a stronger proposal than 'four labels for four slots.' It should be accepted only if the same algebra can handle real domains without hidden fifth relations or ambiguous operator laws." Nine open prove-or-decide items, including whether the first mark constructs a useful carrier or the seed must separately posit identifiers |
3. What is missing, item by item
Consolidated from note 17's 13 missing deliverables and persistent-questions.md's 10 obligations (they overlap; note 17 is the authoritative count). Each item names its source and the completion bar the source itself sets.
| # | Missing | Source | Grading / what completion requires | |||||
|---|---|---|---|---|---|---|---|---|
| M1 | Normative bootstrap grammar | Note 17 #1; persistent-questions "Bootstrap grammar and transcript"; unfolding-kernel open Q | Exact tokens/bytes, reference syntax, types, errors, limits, canonicalization. Unfolding-kernel: "Canonical tokens, references, types, errors, limits and a complete sealed transcript are still to be written." The eight examples are readable pseudocode; the canonical byte grammar is a separate, unwritten specification | |||||
| M2 | Complete canonical bootstrap transcript | Note 17 #2 | Every record, definition address, check, activation, derived state, refusal, and seal. Note 16b's L:1–L:16 is a hand-worked semantic transcript, not a canonical byte transcript | |||||
| M3 | Machine-readable operator workbook | Note 17 #3; persistent-questions "Operator workbook"; note 12 Stage A | Defined effects, guards and invalid combinations for every supported coordinate — all 4 relations × 2 directions × 2 modalities × 4 phases, with role signatures, refusal behaviour, evidence behaviour, examples. Unsupported cells marked, not left ambiguous | |||||
| M4 | Full primitive dependency accounting | Note 17 #4; persistent-questions "Dependency accounting" | Explicit dependencies and a comparative trusted-complexity analysis of candidate readers. Note 15 §12: the irreducible trusted mechanisms include parser/framing, reference allocation, types, equality, matching/substitution, finite closure, complete-scope guards, exact arithmetic, staging/constraints, authentication/admission, idempotency, atomic append, resource limits. "Encoding everything into pairs/bits can reduce surface constructs while enlarging interpreter/definitions; it is not automatically reduction in trusted complexity" | |||||
| M5 | Checked derivations for claimed forced branches | Note 17 #5 | Typed calculus, interpretation map, proof or stated convention for each branch. Bears directly on the DIGEST grading "steps 1–5 and 10 forced" — and on the tension that the same step 10 (phase) is graded forced while note 06 warns re-entry→time must not be imported as a theorem | |||||
| M6 | Universal context derivation argument | Note 17 #6 | Defined domain, counterexamples/coverage, ambiguity policy. "Corpus success alone is not universal proof." This is the 6-bit scheme: six stored bits (`relation 2 | direction 1 | modality 1 | phase 2) with frame/world, sign/substance, self/other derived from kind definition + role values + log frame via derive_context(...) -> Context | Ambiguous | Invalid`. Notes 10/11 (per the PR #2 analysis): the context-bit derivation test has not been run; claiming it validated is false as stated. Note 12: "Until this is proven on the corpus and edge cases, retain the full context in the reference AST and do not freeze the 6-bit wire form" |
| M7 | Books arithmetic in the new seed | Note 17 #7; persistent-questions "Books arithmetic in the seed"; unfolding-kernel grading table | Exact aggregation, unit and boundary laws, overflow/scale behaviour, invariant checks. Unfolding-kernel grades it: "Incomplete; exact aggregation needs specification." Note 15 §11: the candidate "does not yet define aggregate sums; that arithmetic extension must be explicit before claiming Books coverage." Note 18 §8 shows the shape (consume two live balance occurrences, produce two new ones, (x−q)+(y+q) = x+y), but reservations, conversions, partial settlement, losses and external flows "require typed conventions beyond this example" | |||||
| M8 | Full fact-role adequacy argument | Note 17 #8; persistent-questions "Fact-role adequacy" | Multiparty, evidence and bundle cases without hidden semantic loss. Current-design-vision: "Full sufficiency for multiparty events, evidence, and atomic bundles is still a design obligation" | |||||
| M9 | Cross-log authority and concurrency contracts | Note 17 #9; persistent-questions "Cross-log contracts" | Causality, completeness, conflict, reservation and federation semantics. Outside the current reader's scope | |||||
| M10 | External-effect recovery contract | Note 17 #10; persistent-questions "External effects" | Adapter idempotency boundaries, unresolved outcomes, recovery and compensation. Replay reconstructs record state, not external effects; retiring a record is not physical reversal | |||||
| M11 | Definition migration and revocation model | Note 17 #11; persistent-questions "Definition migration" | Deprecation, dependent-rule changes, authority preservation, historical replay. Note 15 §13 open decision #5: how active definitions are deprecated/migrated while preserving old interpretation and preventing authority widening | |||||
| M12 | Predictive-work model and evaluation | Note 17 #12; persistent-questions "Predictive work" | Forecast models, assumptions, calibration and outcome evaluation. Note 16 §18: enabled and reachable work arise from executable logic; likely outcomes need an additional predictive model | |||||
| M13 | Executable conformance for the new seed | Note 17 #13; persistent-questions "Conformance for the new seed" | Independent reader implementations and vectors. "Older experiments do not validate this language." The v1 conformance suite (6 cases, structure/seal/canonical/kernel only) does not cover the seed language at all |
Cross-cutting claims that are not established (not deliverables, but the grading that governs them):
- Authority / root trust arises from distinctions — not established; trust is supplied (unfolding-kernel table; note 16 §19; note 12 §3.3). C0 is "an admitted starting authority. It is not derived from a later principal predicate" (note 16b §3).
- The seed is the smallest possible — not established (unfolding-kernel table; note 16 §19). Note 18: neither the removal results nor the transcript establish a universally minimal reader.
- Unique derivation of the phases, the roles, and the 128 meanings — not established (relations-and-matrix grading paragraph; note 16 §19). Self/other as the seventh bit is "promising but newest" / "the newest and softest" (DIGEST §2; OVERVIEW still-open).
- The step-4 pairing naming — interpretive (DIGEST §2). Two candidate 2×2 explanations exist and are not reconciled: Candidate A (assertion × direction, from the landscape diagram) and Candidate B (thing/change × membership/evaluation, note 19 §3): "The product is offered as a candidate explanation and is not an established replacement for the earlier derivation."
- The 128 positions are not all inhabited — 42 open, 51 ZAKO verbs, 35 proposed names; 13 ZAKO verbs are not positions at all. "A claim of 128 usable types requires an inhabitant for each" (relations-and-matrix.md). Each position needs a typed signature, admissibility rule, evidence requirement and example (note 19 §11).
- Direction-bit meaning disagrees across the inherited specifications (starting-inquiry.md open question) — unresolved, and the v0.1 compact-header direction field sits on top of it.
- Three type encodings with no migration and no approved final layout: v1 64-verb byte (
phase << 6 | code); 128-position coordinate (c = 64F + 32S + 16M + 8O + 2R + D); six stored bits with derived context. "No migration or final byte layout is approved by this publication" (note 17). - Seal-code discrepancy, unreconciled in the sources: DIGEST §7 says the segment-0 seal is
0x01 in the 128 model; OVERVIEW Phase 9 says seal0x02. - Kernel identity across generations is five different answers (hash of the descriptor file; Merkle root of a node tree; the seal's hash; the seal's hash plus the seed's own hash; a fingerprint that never changes for wording) — different generations, not one settled identity.
- Genesis in v1 vs genesis in the unfolding model: v1 first entry by convention, not enforced (the two holes); unfolding model GENESIS as an atomic constructor accepted only as the first entry; kernel-model Arc III genesis as the zero byte (
0x00may only follow0x02). Three different genesis proposals. - Finite closure proves termination, not efficiency (notes 15 §5, 16 §13). Work limits, metering and affordable runtime are not guaranteed; a limit exhaustion returns
EvaluationLimit, never false. - Deterministic refusal precedence is unspecified (note 16b L:16 has two failures); fresh ordering, emitted fact ordering, integer representation, duplicate-occurrence policy, request identity and receipt fields have no canonical rules yet (note 16b §7).
- Physical address zero, Segment 0 packaging, Genesis byte grammar, and the reusable-kernel-capsule vs per-log-initialization distinction are not settled (note 16b §5).
- The seed text does not exist; no canonical bootstrap transcript; the eight worked examples are "manual reasoning, not executed conformance results."
4. What it would take, in the spirit of the sources
4.1 The spirit, as the sources state it
- Small, explicit, auditable — not zero assumptions. Note 05's strong goal is the governing sentence for the whole programme.
- Tag everything: note 12 §2.1 — every item tagged derived / stipulated / domain interpretation / measured, and "'Forced' is reserved for a proof from explicitly stated operations and laws."
- No derivation from literal nothing; trust supplied out of band. The root is passed to the reader out of band deliberately (toy-reader probe); C0 is an admitted starting authority.
- Canonical first, encodings second (note 12 §6.1): implement the semantic AST and canonical full-line text first; encodings only as decoders/encoders around it. "Hash only canonical entries." Every compact spelling must decode byte-for-byte to the same canonical entries before integrity checks run.
- Refusals are first-class: a refusal never changes domain projections (BKL-06), advances audit/idempotency history only, and is recorded durably and deterministically. A retry with the same submission key returns the original receipt.
- Later rules never authorize earlier acts; activation takes effect from the next position; a final bootstrap review may add retrospective checks but cannot retroactively authorize.
- Do not conflate evidence classes (note 12 §3.4): a finite example, an exhaustive check over a declared finite domain, an invariant-preservation proof checked by the seed, and an authorized governance decision are different kinds of evidence. "For mathematical/kernel-level activation, prefer small proof checker or exhaustive finite checker; single successful example establishes only that example."
4.2 The staged work plan (note 12 §8, Stages A–H, in order)
| Stage | Deliver | Gate — what it proves |
|---|---|---|
| A — Freeze semantic workbook | Machine-readable table for all 4 relations × 2 directions × 2 modalities × 4 phases: role signature, guards, effect, refusal, evidence behaviour, examples. Mark unsupported cells. Resolve phase/direction; keep sample separate from epistemic quality | No cell ambiguous; each has a deterministic evaluator rule |
| B — Formalize / enumerate tree | Primitive terms, operations, equations/rewrite rules, equality notion, bounded derivation depth. Generate the tree; report duplicates, inaccessible leaves, changes under alternative operation orders. Map leaves to operator codes in a separate table | Every "forced" edge has a proof relative to stated axioms; all other edges honestly marked as design choices |
| C — Audit corpus and roles | For every one of the 75 corpus facts: source, semantic AST, six bits, three derived bits, derivation trace, full-position mapping, round-trip result. Resolve 74/75 vs 75/75. Test the four-role mapping against each relation signature; add counterexamples | The 6-bit/context derivation is total and unambiguous for the corpus, or the format retains explicit context bits / revises the claim |
| D — Write seed + executable reference | Fixed grammar, bounded evaluator, Genesis rule, step, refusal codes, canonicalizer, seal verifier, full Segment 0 replay. Prefer two independent readers (small Python oracle + Rust) before treating vectors as self-confirming | Both readers agree on all valid/invalid conformance logs, including first-entry/genesis attacks, mid-log genesis, bad authority, malformed seals, unknown codes, contradictory declarations |
| E — Implement semantic projections | One canonical log fold + materialized projections for structure, Register, authority, Books, possible/planning, evidence. Corrections/revocations as append-only transitions. Caches rebuild exactly | Replay and incremental updates produce byte-identical canonical projection snapshots after every prefix |
| F — Add compact encodings | Full-line grammar, role mask, base-32 fields, addresses, headers/rows, binary framing. Conformance vectors generated from the canonical AST; expand all modes before hashing | Zero round-trip mismatches across generated edge cases + corpus; no encoding-only distinction changes semantic identity |
| G — Benchmark + domain trials | Benchmark vs v1; trial farm, workshop, agent-operator, invoice/accounting packs — units, boundary crossings, external sources/sinks, estimates, corrections, permission revocations, offline duplicate uploads | Publish methodology + raw workload counts. Performance claims only for measured dimensions; adopt a compact form only if it improves target workloads without weakening auditability |
| H — Migrate or retain as parallel kernel | Only after A–G, decide whether the unfolding kernel replaces, imports into, or remains parallel to v1. Publish a deterministic converter, preserve original bytes/evidence. Never reinterpret a v1 log under v2 without an explicit migration frame | Decision gate — no separate numeric gate stated |
Note 12 §9, immediate authoring tasks in order: (1) operator-cell workbook + exact type-coordinate map; (2) derivation calculus + enumerator, explicit proof-status label on every tree edge; (3) 75-entry audit with separate columns for full-position verb recovery, context derivation, round trip; (4) seed language + fixed bootstrap grammar, Genesis and root policy decided explicitly; (5) AST, canonical text grammar, generated valid/invalid vectors; (6) only then start the Rust v2 reader + telemetry benchmarks.
Note 12 §10 recommendation: "Proceed with the unfolding kernel as a small abstract machine over relation operators, not as a direct replacement for the current kernel yet." Keep the distinction tree as a candidate generator, the operator signatures/state transitions as the executable contract, the four containers as rebuildable projections, and the canonical AST semantics independent of compact spelling.
The candidate improvement backlog (note 12 §11, BKL-01–BKL-06, proposed not normative) belongs inside this plan: BKL-01 typed state deltas (replay vs incremental must agree after every prefix); BKL-02 explicit Register resolution states (Active / Superseded / Withdrawn / Conflicted / Unknown — do not select a winner by arrival order); BKL-03 capability subsumption + revocation graph (child grant ⪯ parent by action subset, nested scope, contained validity, strictly smaller delegation depth); BKL-04 separate containment topology from temporal membership (closing an interval must not delete edge identity); BKL-05 per-unit Books + explicit boundary flows (never sum different units into one conservation equation); BKL-06 refusal as a first-class transition (every domain projection unchanged by a refusal).
4.3 The seed-text and transcript work, specifically
The single most load-bearing missing piece is M1+M2 together: a seed text (a short text plus test vectors, both hashed) and a canonical bootstrap transcript. What "done" looks like, from the sources:
- Seed text v0.1: the primitives as operations; the meaning of each type bit; the fact shape and what each role holds; the four step rules with behaviour along containment; a small evaluator (equal, and, not, count, every, first, previous); the seal check; one plain-text spelling. No verb names, field names, units or rules. Plus a seed identifier and a way to tell which base model a reader implements.
- Canonical bootstrap transcript: the note 16b L:1–L:16 sequence rendered in exact bytes — every record, definition address, check, activation, derived state, refusal, and seal — with the deterministic refusal precedence, fresh ordering, emitted-fact ordering, integer representation, duplicate-occurrence policy, request identity and receipt fields all fixed by canonical rules (note 16b §7 lists these as currently unfixed).
- Test vectors: positive and negative conformance vectors for K, including first-entry/genesis attacks, mid-log genesis, bad authority, malformed seals, unknown codes, contradictory declarations (Stage D gate).
- Python oracle first: a small Python oracle plus a Rust reader, agreeing on all vectors, before the vectors are treated as self-confirming (Stage D). The 75-entry corpus audit (Stage C) comes before the seed is frozen, not after.
4.4 The authority question, specifically
This is the one item that cannot be solved by more derivation, and the plan must say so: root trust is a declared convention at the seed boundary. What the work can do is make the convention explicit, minimal, and checkable: name C0 (or the root set + threshold policy) in the seed profile; pass it to the reader out of band; record every activation's governance evidence as a distinct evidence class; enforce that a proposed authority cannot approve itself, that a grant created by an action cannot satisfy that action's own check, and that activation is evaluated under prefix-effective knowledge (so a new rule cannot use its own newly derived permissions to authorize its admission). The GENESIS constructor is the mechanism that packages this convention atomically — but it packages it, it does not derive it.
4.5 The Books question, specifically
Books arithmetic in the seed (M7) is a separate work item from the seed language, and note 18 §8 gives its shape: consume two live balance occurrences, produce two new ones, (x−q)+(y+q) = x+y, with checked exact arithmetic and range limits (overflow refuses the transaction). What remains: the authoritative representation decision (balance occurrences as base facts vs canonical transfer events + derived balances — "do not introduce second source of truth accidentally"), per-unit vectors h⁽ᵘ⁾ ∈ ℤⁿ with no cross-unit sums (BKL-05), explicit boundary accounts/legs for crossings, and the aggregation/overflow/scale laws. General aggregation over large histories can be deferred if local paired updates + unique balance invariants provide the necessary transition law — but that deferral must be stated, not assumed.
5. The options
Option A — Minimal seed + Python oracle first (no Rust change)
- What it is. Do Stages A–D only, in Python. Freeze the operator workbook (A), formalize the tree with proof-status labels (B), run the Stage C 75-entry audit, then write the seed text v0.1 + canonical bootstrap transcript + test vectors and a small Python oracle that replays Segment 0 and the L:1–L:16 transcript. No change to the Rust kernel, no change to v1 logs, no new kernel version.
- What it costs. The cheapest decisive step. Weeks of authoring and one small program, not a kernel rewrite. It needs the authoring decisions first: the operator-cell workbook, the type-coordinate map, Genesis/root policy, the canonical byte grammar.
- What it proves. Whether the seed language is coherent at all: whether the eight forms, the activation dialogue, and the 16-record transcript actually run, whether the 6-bit context derivation holds on the corpus or fails, whether the four roles cover the corpus, whether the refusal rules hold. It produces the two missing artefacts (seed text, transcript) that every other option needs.
- What it risks. That the oracle becomes a second, unmaintained implementation if nothing follows it; that Python's permissiveness hides constraints a Rust reader would enforce (work limits, metering, canonical bytes).
- What it leaves undecided. Everything about migration (Stage H), the Reader A vs Reader B choice, the three type encodings, the direction bit, the 42 open positions, and whether the unfolding kernel ever replaces v1. Deliberately so.
Option B — Toy reader v2 as executable transcript (extend the mark-boundary experiment)
- What it is. Grow the existing executable foothold rather than starting a new one: extend
experiments/mark-boundary/from mark/enclose/relocate into a toy reader that runs the note 16b transcript — proposal → check → activation → invoke — with the premise inventory extended for every new capability ("Extend the premise inventory whenever a new capability is introduced. Do not add a domain assertion to make a desired derivation pass."). Keep the checker in Python standard library only, as now. - What it costs. Small-to-medium. It reuses the experiment's harness, its rejection fixtures, and its honesty discipline. It does not need the full seed language; it needs the transcript's foundation bundle F plus the principal rule D.
- What it proves. That the activation dialogue executes, that a refused pre-activation use leaves domain state unchanged, that activation at n is effective from n+1, that a spent grant refuses, and — by extending the premise inventory — exactly what each new capability costs in supplied machinery. It makes the supplied-vs-derived ledger executable.
- What it risks. Scope creep: the experiment's value is its smallness, and each added capability (guards, closure, arithmetic) makes it a second kernel. The relocation lesson applies: each new law must be declared as supplied, or the experiment stops being honest about what it proves.
- What it leaves undecided. The full seed language (eight forms), the Books, the 6-bit scheme, the type encodings, migration. It is a transcript runner, not a kernel.
Option C — MOV register-machine seed as the alternative beginning (test both seeds against the same transcript)
- What it is. Take note 09 seriously as a competing seed rather than a footnote: a minimal machine with move operations as the seed, where
inis region membership (In(ℓ,R) ⇔ ℓ ∈ R),isis a predicate on state (Is(ℓ,P,σ) ⇔ P(σ(ℓ))),mayis a transition guard (May(a,op,σ) ⇔ Guard(a,op,σ) = true), andtois a target/update mode — with the crucial distinction that ordinary MOV is copy, not a conserved transfer, so a conserved transfer needs a paired deltah' = h + q(e_destination − e_source). Build the same L:1–L:16 transcript on both seeds (distinction-algebra seed and MOV seed) and compare them on the same criteria: total trusted implementation, definition size, evaluation bounds, expressiveness, explanation quality (note 18 §9's comparison criteria). - What it costs. Medium. Two small readers instead of one, plus the comparison work. It does not need the full 128-position model — it needs the transcript's foundation bundle expressed in both idioms.
- What it proves. Whether the distinction algebra is actually the better seed, or whether the machine seed is smaller, clearer, or more honest about what it supplies. It answers note 09's seven open questions (is the primitive state a mapping or a set of relations? does a mark create a location, distinguish one, or write a value? can in/is/may all be guarded transitions? should
tomean destination, copy, transfer, or three typed modes? which facts are canonical instructions vs derived views? what is the minimum trace for a second implementation to compute identical state and refusals? can telemetry update from deltas while full replay stays the oracle?). - What it risks. That the comparison is inconclusive — both seeds can express the transcript, and the choice becomes taste rather than proof. That it doubles the design surface before the first seed is settled.
- What it leaves undecided. The 128-position model (neither seed needs it to run the transcript), the 6-bit scheme, migration, the Books beyond the paired-delta form.
Option D — Full Rust unfolding kernel (new kernel version, segment 0, GENESIS)
- What it is. Stages A–H in full, in Rust: a new kernel version with a seed identifier, a segment-0 replay, the GENESIS atomic constructor, the fixed reader contract in
stream-kernel/stream-log, semantic projections (E), compact encodings (F), benchmarks and domain trials (G), and the Stage H migration decision with a deterministic converter. The v1 descriptor stays valid for v1 logs; the new kernel is identified by its own seed hash. - What it costs. The most, by far. It is a second kernel implementation plus a migration, and it can only start after Stages A–D are done and gated — the authoring tasks in note 12 §9 are ordered, and (6) "only then start Rust v2 reader" is explicit.
- What it proves. Everything, if it passes: two independent readers agreeing on all conformance vectors including genesis attacks, byte-identical replay vs incremental projections after every prefix, zero round-trip mismatches on encodings, measured performance vs v1. It is the only option that makes the unfolding kernel real rather than designed.
- What it risks. The most. Premature freezing: if the seed language, the type-coordinate map, or the context derivation change after the Rust reader is built, the migration cost is paid twice. The v1 holes (genesis not enforced,
open()not verifying) would need fixing in the same pass or they carry over. And the Stage H decision — replace, import, or parallel — is a real fork: a parallel kernel doubles the maintenance surface indefinitely. - What it leaves undecided. Nothing about the kernel itself, if it completes — but it does not settle the philosophical questions (whether the seed is smallest, whether authority could ever be derived, whether 128 positions cover all domains). Those stay interpretive by the sources' own account.
Option E — Documentation-first: publish the seed text + transcript as design prose in design/, let the code follow
- What it is. Write the seed text v0.1 and the canonical bootstrap transcript as design prose — a new section in
babbworks/streamdesign/, alongsideunfolding-kernel.md— with the derivation table, the grading column, the premise inventory, and the 13 missing deliverables listed as open obligations. No code, no oracle, no experiment extension. The same move that was made for the compact header (adopted draft v0.1 indocs/compact-header/) and for the design prose itself (moved intodesign/as a pure relocation). - What it costs. The least. Authoring only, one branch + PR, Morgen merges. It can be done before any of the other options, and it makes the seed text a citable, versioned document that later work builds on.
- What it proves. Nothing executable. What it does is social and archival: it fixes the seed text as a public commitment, exposes every semantic choice as a definition or declaration (note 05's strong goal), and gives the Stage C audit and the Python oracle something stable to test against. It also prevents the seed from drifting silently across chats and notes.
- What it risks. That a published draft is mistaken for a frozen or ratified kernel — the same risk the compact-header draft carried, which is why it is labelled "adopted working draft, not frozen" and why the design page carries version/state pills. The mitigation is the same: label it Open, not v1, and list its obligations in the open-questions section.
- What it leaves undecided. Everything executable. It is a statement of intent with a testable text, not a test.
The "do not" list (from the PR #2 analysis, still binding)
- Do not rebuild the Rust kernel until Stages A–C pass.
- Do not freeze the glyph/head layout (the 6-bit wire form, the type-coordinate map, the compact-header layout) until the context derivation is proven on the corpus and edge cases.
- Do not present the synthesis as a v2 kernel until gates A–C pass. The unfolding model is a design inquiry;
design/stream/unfolding-kernel.mdsays so, and the current design vision says it is "not a declaration that the existing Rust kernel implements the unfolding model." - Do not let a published draft be read as ratified. Label it Open, carry its obligations, and keep the counter-verdict (note 05) attached to it.
- Do not add a domain assertion to make a desired derivation pass (mark-boundary README). Extend the premise inventory instead.
- Do not conflate evidence classes: a finite example, an exhaustive check, a proof checked by the seed, and a governance decision are different kinds of evidence.
6. Recommended order, with decision points for Morgen
Recommended order: E → A → B → (C in parallel with A/B if the comparison is wanted) → D.
- E first — publish the seed text + transcript as design prose. It is the cheapest step, it creates the stable text every later step tests against, and it follows the move already made for the design prose and the compact header. Decision point 1: approve the seed text v0.1 as an Open design document in
design/, with its obligations listed — not as v1, not as frozen. - A next — minimal seed + Python oracle, Stages A–D. This is the cheapest decisive step and the one the sources order first. The Stage C audit (75-entry corpus, separate columns for full-position recovery, context derivation, round trip) is the gate that decides whether the 6-bit claim survives or the format retains explicit context bits. Decision point 2: approve starting Stage A (the operator workbook) — and, at the Stage C gate, decide the 6-bit question on the audit's evidence, not before.
- B alongside or after A — toy reader v2. Extending the mark-boundary experiment into a transcript runner is the fastest way to make the activation dialogue executable, and its premise inventory is the honest ledger of what each capability costs. Decision point 3: approve extending the experiment (its value is its smallness — each new capability must be declared as supplied).
- C if the comparison is wanted — MOV seed, tested against the same transcript. This is the only option that tests whether the distinction algebra is the right seed at all, rather than assuming it. It can run in parallel with A/B because it uses the same transcript. Decision point 4: is the comparison worth two small readers, or is the distinction-algebra seed adopted as the working hypothesis and the MOV seed kept as a noted alternative?
- D last — full Rust unfolding kernel, only after A–C gates pass. Stages E–H, with the Stage H migration decision (replace / import / parallel) taken on the evidence of A–G, not before. Decision point 5: the Stage H decision itself, plus the Reader A vs Reader B choice (note 18: "Keep A as the reference semantics until the wider STREAM operators establish that B's restrictions suffice" — that establishment is a Stage D/E result, not a preference).
The exact next step that needs Morgen: approve Option E — publishing a seed text v0.1 + canonical bootstrap transcript as an Open design document in design/ — and, in the same decision, approve starting Stage A (the operator-cell workbook). Those two approvals unlock everything else in order, and neither commits the Rust kernel, the wire format, or the migration. If he wants only one of them, E alone is still useful (it fixes the text); A alone is still useful (it tests the claim). But E first makes A testable against a stable text, which is why they are paired.
What is still outstanding from the wider round (not part of this deep dive): stream PRs #4 and #5 (steps 3–4 of the design move) are open, unmerged; the "New" / relabelling status decisions and the 15 draft issues and the Discussions proposal are prepared in workspace/stream-harmonization-round/ and undecided; step 5 (guide design stream on Morgen's laptop) is still not run.
Written 2026-11-29, from the sources listed at the top, read at stream main 525c084. No repo writes, no issues created, no narratives or visuals built. Full extracts behind this dossier are in the three subagent reports; the source files themselves were read live from GitHub and are not copied here.