/ Stream
build 2026.12.03 · --:--:-- UTC · RSS

BabbTools for the frontier.

mascot mascot
All materials

Reply 05: Issues before coding

05-issues-before-coding.md View the source file

Date: Sun 2026-11-29, 02:46 EST (approx.)

User question: "do we have issues to resolve before we attempt to code this?" [verbatim]

Source: Same chat as above. Assistant reply reproduced in full and verbatim from the chat transcript. Sources cited are the deep-dive dossier, note 17's 13 missing deliverables, and the harmonization conflicts, at babbworks/stream main 525c084.

Status: Lab/prose record of a discussion. Not adopted, not frozen, no kernel code, no status relabelling.


Yes — and they're exactly the things that decide what you'd be coding, so they're worth settling before any code. Here's the list, in the order that matters, drawn from the deep dive dossier, note 17's 13 missing deliverables, and the harmonization conflicts.

Blockers — decide these first, or the code has no target

1. The 6-bit context derivation is untested. The whole compact form rests on it: stored fact type is 6 bits (relation 2 | direction 1 | modality 1 | phase 2), and frame/world, sign/substance, self/other are supposed to be derived from kind and roles — 3 context bits. Notes 10/11 (as corrected in the dive: the untested status is stated in notes 12/19 and the PR #2 analysis) say that derivation test has not been run. Until Stage C runs the 75-entry corpus with separate columns for full-position recovery, context-bit derivation with trace, and round-trip, you don't know whether the stored form can recover the position at all. Coding a reader around an unproven derivation is building on a guess.

2. Reader A vs Reader B. Note 18 gives two candidate readers and says explicitly: "Compare a finite relational reader with a more restrictive forest reader; do not silently exchange their meanings." Reader A is finite relational closure; Reader B is finite derived expressions and forest traversal. They have different trusted sizes, different evaluation bounds, different expressiveness. The code for one is not the code for the other. This is a decision, not an implementation detail.

3. The direction-bit meaning is disputed. The inherited specifications disagree about what the direction bit means — recorded as early as analysis 01, and still open in starting-inquiry. The v0.1 header's direction field sits on top of that disagreement. If you code the direction bit now, you're picking a side without a decision.

4. Three type encodings, no migration. v1's 64-verb byte (phase << 6 | code), the 128-position coordinate (c = 64F + 32S + 16M + 8O + 2R + D), and the six stored bits with context derived — three generations, unreconciled, with no approved migration or final layout. Coding a new kernel before choosing which encoding is canonical (and how v1 logs migrate, or don't) means the new code can't read the old logs.

5. Authority and root trust do not arise from distinctions. Unfolding-kernel.md: "Not established; trust is supplied." Note 12 §3.3: "Root trust is a declared convention at the seed boundary, not a theorem of the distinction algebra." The seed-boundary log: "A root's assertion that it is root authenticates itself — False without an external trust/signature premise." So the code needs an explicit, declared trust convention at the seed boundary — who the roots are, how they're supplied out of band — and that convention has to be written down before it's coded, or the code will silently invent one.

6. Genesis is unenforced in v1. A log whose first entry isn't genesis opens with no name and no roots; a second genesis mid-file silently replaces the root and verify() doesn't notice; the descriptor's core rules don't state genesis-first/only. The unfolding model's GENESIS is an atomic constructor, accepted only as the first entry — but that rule exists in prose, not in code. Before coding, decide: does the new reader enforce genesis-first/only, and what does it do with a log that violates it?

Must be written down before coding, but not decided by code

7. The seed text does not exist. No canonical seed, no canonical bootstrap transcript (note 16b's L:1–L:16 is hand-worked, semantic, no implementation run). Stage D is "write seed and executable reference" — but Stage A (the operator-cell workbook) and Stage C (the corpus audit) come first, because they tell you what the seed has to contain. Coding without a seed text means coding without a specification.

8. Seed minimality is not established. "Minimum size is undefined until cost is named" — note 18 preserves one transcript with fewer fields, but that doesn't establish a universally minimal reader. You need to name the cost (trusted size? definition size? evaluation bounds?) before you can say a seed is minimal.

9. The Books' fit to the seed language is incomplete. Exact aggregation, unit and boundary laws, overflow behaviour still to be specified. The Books are the payoff — balances as folds — so if their arithmetic isn't in the seed, the seed can't produce them.

10. 42 of the 128 positions are open. 51 hold ZAKO verbs, 35 have proposed names, 42 have nothing. "Can all 128 be inhabited?" is open, and "A claim of 128 usable types requires an inhabitant for each." Coding a reader that treats all 128 as usable would be claiming more than the corpus supports.

11. The seal-code discrepancy. DIGEST §9: COMMIT 0x14 vs 0x15, ASSIGN/DELEGATE used twice, C0 slots defined three ways, and the seal code 0x01 vs 0x02. Small, but it's the kind of thing that makes a second implementation fail on a byte.

Not blockers — can be deferred, but must not be forgotten

12. The 13 missing deliverables from note 17 — the operator workbook, dependency accounting, checked forced-branch derivations, fact-role adequacy, cross-log contracts, external-effect recovery, definition migration, predictive work, executable conformance — are the work plan, not preconditions. Stages A–H order them; A–C are the gates, D–H follow.

13. The two relativity postulate tests with no evidence — whether the shared verbs reach other domains, whether a larger frame pays off in tokens/parse cost. They matter for the claim that the kernel is general, not for whether the first reader runs.

14. The v0.1 freeze gates — X06 delta-overflow rule, versioning decided in writing — matter for the header, not for the unfolding kernel, unless the new reader is also meant to read the compact header. Keep the two separate.

The short version

Before coding, you need: Stage C run (does the 6-bit derivation hold?), Reader A or B chosen, the direction bit decided, one type encoding chosen with a migration rule, the trust convention written down, and genesis-first/only decided. Those six are the issues. Everything else is work that the code does, not work that has to happen before the code.

And the recommended order from the dive already respects that: E → A → B → (C in parallel) → D — publish the seed text and transcript as Open design prose first, then the operator workbook (Stage A), then toy reader v2, then the MOV comparison if you want it, and only then the full Rust unfolding kernel. The first two steps in that order — E and A — are exactly the steps that resolve issues 1, 2, 7 and 8 without writing a line of Rust.