Unfolding kernel
OpenOn this page
Question
Can a small fixed reader learn its vocabulary from the record — proposal, check, activation — and can six stored bits recover the full 128-position context?
What was done, what was learned
Question
Can a small fixed reader learn its vocabulary from the record — proposal, check, activation — and can six stored bits recover the full 128-position context?
What was done
Prep only, staged 2026-11-29 (see ~/workspace/stream-unfolding-lab-prep/ for the full prep package: Stage C audit plan, Reader A vs B comparison, direction-bit test design, type-encoding analysis, trusted-root CLI draft, genesis enforcement rule, seed-minimality options, seed text + Books autogeneration, slot-naming candidates, missingness-at-start options, and the Lab framework findings). Nothing built yet; the record.py lab tool does not exist (spec merged as PR #8, main 5d18970; implementation is plan Tasks 1–7, not started).
What was learned
Stage C (2026-11-29, evidence/ — first run)
The 75-entry corpus IS in the repo (docs/kernel-model/test/corpus.json, run at main 7761b9a; the Lab base is 5d18970, one merge later). Three numbers, kept separate:
- Full-position recovery: 75/75.
- Round-trip, byte-for-byte: 74/75 (the one failure is conformance case 04, non-canonical by design).
- Verb-name recovery: 75/75 (a distinct metric — not round-trip).
- Books rebuilt from flow facts alone: identical.
Context-bit derivation, as specified in note 12: NOT RUNNABLE — no derive_context function exists in the sources. The best audit candidate got 4/75 correct (31 ambiguous, 40 wrong). F and O are currently properties of the verb's assigned position, not of any payload field; S is not determined by carrying a quantity. This does NOT prove the 6-bit scheme impossible — it proves the function is missing. The Lab's next work is to WRITE derive_context (or revise the claim to "6 bits + a verb table"), not to re-test it. Do not freeze the 6-bit wire form. Reader A / Reader B proceed independently, carrying the full 7-bit position + phase in the reference AST.
Full report: evidence/STAGE-C-REPORT.md.
Restoration and additions, 2026-11-30 (lab-ready package)
This copy is the staged copy at base 5d18970, gathered into a lab-ready package on 2026-11-30 because the Lab as created through record.py lived in the ephemeral checkout, which a VM replacement wiped. What was lost with it, and what this package restores:
notes/amendments-claude-2026-11-29.mdandnotes/construction-order-test.mdwere filed into the created Lab and died with the wipe; they survive nowhere else. Both are restored here, to this Lab, their original home — they are NOT also filed in the2026-11-30-primitives-verbs-lineage-museLab.evidence/stage-d/is new here: the Stage D work (derive_context v2, readers A/B + discriminator, direction-bit test + Option 9), produced 2026-11-29 in~/workspace/stream-unfolding-work/and filed here as the Lab's evidence, since it is the evidence for this Lab's question. Seeevidence/stage-d/PROVENANCE.mdfor per-file provenance.__pycache__bytecode was excluded.notes/2026-11-30-decisions-from-chat.mdrecords the dated decisions from chat that bear on this Lab.
Base question (unresolved, owner's decision)
Approved base 5d18970; the Lab as created came out at base ccecd0d (the VM's checkout was shallow and git egress was blocked). Morgen decided 2026-11-29 ~14:30 EST: HOLD LOCAL, decide the base with the next batch of work. A fresh clone attempt on 2026-11-30 was flagged by an execution-risk check and removed unused; a second attempt on 2026-12-01 (after Morgen authorized a direct-to-main push for this batch) was flagged again and removed unused. record.py lab new / lab test / lab check have NOT been re-run on this package — that needs a healthy checkout through a cleared clone route. Status stays open; nothing here is marked accepted or rejected.
Restoration notes (2026-12-01)
Recreated through record.py lab new at the approved base 5d18970 (the 2026-11-29 creation had come out at ccecd0d; the base question is now settled by using the approved base). The Claude amendments and the construction-order test, filed into the original creation and lost with the /tmp wipe, are restored here. One engage differs from the 2026-11-29 record: the original sixth engage file:experiments/mark-boundary/ is refused by the current record.py (it resolves file: refs to files in the base tree, not directories), so it is re-recorded as lab:2026-11-28-mark-boundary-peers8862 (uses), which names the same experiment.
Two redactions and one migration were needed for the current record.py check to pass (2026-12-01, all disclosed here; no result, number, or conclusion changed):
evidence/stage-d/PROVENANCE.mdquoted a literal absolute home-directory path while documenting the scrub; the quote itself trips the machine-path rule, so it now says "the absolute path toderive_context_table.csv" instead.notes/amendments-claude-2026-11-29.mdline 277 gave Claude's reading path as an absolute home-directory path on his machine; it now reads~/inbox/stream/(same meaning, no machine path).evidence/runs.jsonl: the 2026-11-29 Stage C line used the old schema (run_id/stdout_file/stdout_sha256), which the current checker cannot read. It was re-keyed to the current schema with every fact preserved verbatim (id, time, by, command, base, state hash, exit code, stdout file + hash, notes);stderrwas null and is represented as an empty file, and the migration is noted in the line itself.
Files changed (published files.csv)
| Path | Change | Hash | Base hash |
|---|
Artifacts
| Artifact | Size (B) | SHA-256 (first 12) |
|---|---|---|
artifacts.md | 929 | 8c9118c4ccf5… |
Evidence
Recorded runs
| Run | Time (UTC) | Command | Exit |
|---|---|---|---|
stage-c-2026-11-29-01 | 2026-11-29T08:16:00Z | python3 stage_c.py | |
20261201T060447795311Z | 2026-12-01T06:04:47+00:00 | python3 -c 'import hashlib,json,pathlib; p=pathlib.Path('"'"'../stream-main/labs/2026-11-29-unfolding-kernel-muse'"'"'); run=json.loads(open(p/'"'"'evidence/runs.jsonl'"'"').readline()); h=hashlib.sha256((p/'"'"'evidence/stage-c-run.log'"'"').read_bytes()).hexdigest(); print('"'"'stage-c stdout hash matches recorded:'"'"', h==run['"'"'stdout_sha256'"'"']); print('"'"'recorded exit:'"'"', run['"'"'exit_code'"'"']); print('"'"'notes:'"'"', len(list((p/'"'"'notes'"'"').glob('"'"'*.md'"'"')))); print('"'"'evidence files:'"'"', len([x for x in (p/'"'"'evidence'"'"').rglob('"'"'*'"'"') if x.is_file()]))' |
Evidence files
| File | Size (B) | SHA-256 (first 12) |
|---|---|---|
20261201T060447795311Z.stderr | 0 | e3b0c44298fc… |
20261201T060447795311Z.stdout | 89 | eaae956315a6… |
STAGE-C-REPORT.md | 13,491 | ee3c880a7001… |
stage-c-2026-11-29-01.stderr | 0 | e3b0c44298fc… |
stage-c-run.log | 19,180 | 0c74106c4c88… |
stage-c-table.csv | 44,066 | 336eb111dfe4… |
stage-d/DERIVE-CONTEXT-V2-REPORT.md | 15,066 | 281212431f38… |
stage-d/DIRECTION-BIT-REPORT.md | 18,216 | fe7c3304c870… |
stage-d/OPTION9-REPORT.md | 22,118 | 3fd9d689e28d… |
stage-d/PROVENANCE.md | 2,980 | 03222636fd71… |
stage-d/READERS-COMPARISON.md | 19,357 | 971bd769611b… |
stage-d/READERS-DISCRIMINATOR-REPORT.md | 15,952 | bc6b4851892d… |
stage-d/derive_context.py | 42,228 | 616524daae6e… |
stage-d/derive_context_run.log | 1,737 | caa538c7784d… |
stage-d/derive_context_table.csv | 64,790 | 2e8ec3d5e86b… |
stage-d/direction_bit_test.py | 30,961 | ed3830ef752d… |
stage-d/discriminator-log.txt | 5,689 | 3f1cb91ffefb… |
stage-d/discriminator.py | 47,901 | b232d03f0217… |
stage-d/metrics.json | 1,148 | 85fd0238c7e8… |
stage-d/option9_test.py | 25,960 | 1725efdd1e7c… |
stage-d/reader-a-transcript.txt | 12,463 | 5aed409bada5… |
stage-d/reader-b-transcript.txt | 21,382 | a24c2b4532f9… |
stage-d/reader_a.py | 33,595 | d43488b2d392… |
stage-d/reader_b.py | 30,991 | 32abe7af6e87… |
stage-d/rewrites.py | 16,523 | 76f34535cfe1… |
stage-d/run_readers.py | 18,501 | 7bedd70a12c0… |
stage-d/test_discriminator.py | 10,522 | e494dfd2cf49… |
stage-d/test_readers.py | 13,965 | 1101482e6be4… |
stage-d/transcript.py | 15,183 | e950de95fef3… |
stage_c.py | 12,573 | 62bd2ed6aee1… |
Notes (later additions)
2026-11-29-lab-approval-and-open-decisions.md — - Lab approved by Morgen peers8862, 2026-11-29 ~03:19 EST: Lab
Lab approval and open decisions — 2026-11-29
Approved
- Lab approved by Morgen (peers8862), 2026-11-29 ~03:19 EST: Lab
2026-11-29-unfolding-kernel-muse, base main5d18970(full5d18970655d14a4bf67394345e377c7a763c73f0), kindchanges, authormuse. Question: "Can a small fixed reader learn its vocabulary from the record — proposal, check, activation — and can six stored bits recover the full 128-position context?" - Lab build staged locally (this folder), 2026-11-29. Not pushed, no PR, not merged, not published. The push as a PR is a separate step Morgen approves; he merges.
- Stage C run (evidence/): the 75-entry corpus audit. Recorded honestly — see "What was learned" in the Lab README.
Still open (not decided by the Lab approval)
- Option E + Stage A (from the deep dive: publish seed text v0.1 + transcript as Open design prose, then the operator-cell workbook). The Lab approval covers the Lab itself, not E/Stage A as a design-document decision.
- Book key: (boundary, unit) or (boundary, unit, kind)?
- Cross-boundary
tolegs: refuse, or a provisional rule? - Minimal-first or generous-first for the Books?
- Missingness M-A vs M-B: absence kinds first-class in the seed from line one (M-A, recommended narrow scope in prep file 09) vs a later activated extension (M-B).
- Direction-bit decision: the five-observable test is designed (prep file 02); it has not been run.
- Type encoding: Morgen's leaning is E3 (six stored bits + 3 derived context bits). A leaning, not a decision — and Stage C now shows the context derivation has no function to test, so E3 is gated on writing
derive_context, not on re-testing it. - "New"/relabelling decisions, the 15 draft GitHub issues, and the Discussions proposal — prepared in
~/workspace/stream-harmonization-round/, still outstanding; separate from this Lab. - Lab framework gaps (spec §14, plan Tasks 1–7):
record.py+recordlib/do not exist on remote; the element index (design/register/elements.csv) does not exist; nolabs/folder exists on main yet. This Lab was built by hand following the spec, not through the tool — see STAGING-NOTES.md.
2026-11-29-prep-01-stage-c-and-readers.md — Morgen's direction: "Don't we just need to run those tests? We should likely code Reader A and B."
01 — Stage C audit + Reader A vs Reader B
Morgen's direction: "Don't we just need to run those tests? We should likely code Reader A and B."
1.1 Stage C — just run the tests
Stage C is note 12 §8: audit the 75-entry corpus (docs/kernel-model/test/corpus.json, model.py, test_roundtrip.py, test_books.py at main 7761b9a).
For every one of the 75 corpus facts, produce a table with separate columns — this separation is the whole point, because the two headline numbers are two different metrics:
| Column | What it records | |||
|---|---|---|---|---|
| source | which corpus entry (id, file, line) | |||
| semantic AST | the fact as a typed AST under the seed language | |||
| full position | the 7-bit coordinate c = 64F + 32S + 16M + 8O + 2R + D | |||
| six stored bits | relation 2 \ | direction 1 \ | modality 1 \ | phase 2 |
| three derived bits | frame/world, sign/substance, self/other — with the derivation trace (derive_context(...) inputs: kind definition + role values + log frame) | |||
| derivation verdict | recovered / ambiguous / invalid — per entry, not in aggregate | |||
| round-trip | byte-for-byte decode(encode(entry)) == entry? | |||
| verb recovery | verb name recovered without labels? | |||
| roles | every key assigned a role (subject/object/kind/measure)? |
Known baseline to reproduce first: round trip 74/75 (exception: conformance case 04, non-canonical by design); verb names recovered 75/75; Books rebuilt from flow facts alone identical. If the rerun does not reproduce those three numbers, stop — the corpus or the model has drifted, and the audit is measuring the wrong thing.
The deciding question Stage C answers: is the context derivation total and unambiguous for the corpus, or does it fail? Outcomes, in order:
- Pass: every entry's three derived bits recover with a trace, no ambiguity. Then the 6-bit wire form may proceed to Stage D, and the claim "six stored bits recover the context" is proven for the corpus (not universally — note 17 #6: corpus success alone is not universal proof; the universal argument is still M6).
- Fail with a pattern: e.g. derivation fails only where the kind definition is missing, or only for
possiblefacts, or only for self/other. Then the fix is named (require kind definitions before derivation; add an explicit context bit for that axis; restrict the domain) — and the format retains explicit context bits until the fix is proven. - Fail without a pattern: the 6-bit form is not viable as stated; retain the full context in the reference AST (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").
Also in Stage C: test the four-role mapping against each relation signature; add counterexamples; resolve the 74/75 vs 75/75 distinction in writing so it is never quoted conflated again; check the seal-code discrepancy (COMMIT 0x14 vs 0x15; seal 0x01 vs 0x02) against the corpus — a single byte difference here makes a second implementation fail.
Where it runs: in the Lab, as evidence — lab test <id> -- python3 <stage-c script> — so the run, its exit code, stdout/stderr and state hash are recorded in evidence/runs.jsonl, not in a chat message.
1.2 Reader A vs Reader B — code both, compare, do not silently exchange
Note 18 §6: two candidate readers. "Compare a finite relational reader with a more restrictive forest reader; do not silently exchange their meanings." Note 18's verdict to respect: "Keep A as the reference semantics until the wider STREAM operators establish that B's restrictions suffice."
Reader A — finite relational closure
- What it is: relations as sets of ground tuples; rules as positive typed implications; every variable bound by a premise; no fresh terms/numbers/nested values in rules; finite domain D gives at most
Σ_p |D|^arity(p)ground tuples; closure reaches a fixed point. In substance: Datalog safety/stratification (note 15 §5). - What it can do that B cannot (yet): general recursive inference over relations; arbitrary positive rules; the full note-15 seed language.
- What it costs: the trusted machinery is larger — parser, matching/substitution, finite closure, complete-scope guards, exact arithmetic, staging, admission, atomic append (note 15 §12's irreducible list).
Reader B — finite derived expressions and forest traversal
- What it is: the transcript's observations reproduced by bounded forest traversal; 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. No general recursive engine (for this forest transcript). - What it can do: reproduce the note 16b L:1–L:16 transcript's observations with fewer fields — remove the one-use counter, separate grant identity, independent entity allocator, primitive principal, materialized tables.
- What it costs: less trusted machinery, but "cannot necessarily accept same definitions" — a semantic translation for a restricted domain, not byte compatibility. It reproduces observations, not the same definitions.
The comparison plan (both readers, same transcript, same criteria)
Run both readers against the same inputs and score them on note 18 §9's comparison criteria:
| Criterion | How to measure |
|---|---|
| Total trusted implementation | Lines of code + the premise inventory: every supplied capability listed, as in experiments/mark-boundary/premises.json |
| Definition size | Bytes of the seed + definitions needed to run the L:1–L:16 transcript |
| Evaluation bounds | Worst-case steps / time for the transcript; what happens at the limit (EvaluationLimit, never false) |
| Expressiveness | Which of the note-15 eight forms each reader can run; which transcript events each can reproduce |
| Explanation quality | Can each reader explain a refusal (which guard, which missing grant, which spent occurrence)? |
| Books | Can each produce the paired-delta transfer (x−q)+(y+q) = x+y with exact arithmetic and range limits? |
| Failure behaviour | Refused pre-activation use leaves domain state unchanged? Spent grant refuses? Second GENESIS refused? |
Decision rule, stated in advance: A stays the reference semantics unless B reproduces all of the transcript's observations and the wider STREAM operators (the eight forms, the Books, the refusal rules) establish that B's restrictions suffice. If B wins on size but loses on expressiveness, that is a recorded trade-off, not a silent exchange.
What "code both" means in practice
- Language: Python, standard library only, in the Lab working folder — same discipline as
experiments/mark-boundary/src/checker.py. No Rust yet (do-not list: do not rebuild the Rust kernel until Stages A–C pass). - First target: the note 16b L:1–L:16 transcript, rendered in exact bytes (M2). Second target: the Stage C corpus, read through each reader.
- Evidence: every run recorded via
lab test; every new capability extends the premise inventory ("Extend the premise inventory whenever a new capability is introduced. Do not add a domain assertion to make a desired derivation pass."). - What it does not do: it does not settle the seed text, the type encodings, or migration. Those are separate decisions (files 03, 06, 07).
2026-11-29-prep-02-direction-bit-test.md — Morgen's direction: "For the direction bit — help me choose or suggest how we test for outcomes."
02 — Direction bit: help Morgen choose, by testing outcomes
Morgen's direction: "For the direction bit — help me choose or suggest how we test for outcomes."
The disagreement, as it stands
The inherited specifications disagree about what the direction bit means (analysis 01; design/stream/starting-inquiry.md open question). The v0.1 compact-header direction field sits on top of this unresolved disagreement. The sources do not enumerate the candidate meanings in one place, so the first job is to name them. The candidates that can be recovered from the sources:
| # | Candidate meaning of D | Where it comes from |
|---|---|---|
| D1 | Crossing direction: into (0) vs out of (1) a boundary — entry vs exit | DIGEST steps 2–4; mark-boundary entry/exit fixture *() → (*) → *() |
| D2 | Assertion polarity: the direction of the claim — into = asserting membership, out of = withdrawing it | The assertion/direction product (Candidate A in relations-and-matrix); note 19 §7: "Entry/exit; claim/withdrawal; grant/revocation; inflow/outflow" as the distinguishing cases for direction |
| D3 | Flow direction: inflow (0) vs outflow (1) of a conserved quantity — the to leg's direction | Note 19 §3: TO as directed effect; the Books' paired delta |
| D4 | Operand direction: into = the operand is a referent entering a region; out of = a transition leaving it | Note 19's candidate 2×2 (referent/transition × membership/evaluation) |
Note 19 §7's warning applies to all of them: "Inverse cannot be assumed; label-specific refinements" — i.e. flipping D must not be assumed to give the inverse act. And: "Witness pairs must share all other declared coordinates to establish an independent split. Merely finding two different verbs is insufficient."
The test design — one transcript, each convention, compare the observables
Run the same transcript and corpus under each candidate convention, and compare. The transcript: note 16b L:1–L:16 (foundation bundle, principal rule, one-use grant, move A from B into C, refused retry). The corpus: the 75-entry kernel-model corpus. The mark-boundary fixture: entry/exit *() → (*) → *().
Observable 1 — Do to legs conserve?
For each convention, fold the corpus's to facts into Books and check: does every leg pair sum to zero per book and unit? A convention that makes a to leg read as inflow at one end and outflow at the other, with matching quantities, conserves. A convention under which the same entry reads as two inflows (or two outflows) breaks conservation — and that convention is wrong for to, whatever it does elsewhere.
- Decides: D3 (flow) vs D1/D2 for
tofacts specifically. If D1 and D3 disagree on atofact, the Books say which one is right.
Observable 2 — Are entry/exit signs consistent with the mark-boundary fixture?
Run the mark-boundary construction under each convention. The fixture produces *() then (*) then *(): an entry, then an exit. Under D1, the first crossing must read D=into and the second D=out of, and a query about an enclosure before its birth must return undefined (⊥), never "outside" and never zero. Any convention that reads the entry as out-of, or that treats a pre-birth state as zero, fails this observable outright.
- Decides: D1 is the only candidate that even speaks to this fixture; D2–D4 must at least not contradict it. If a convention contradicts the fixture, it is not a candidate for the same bit — it would need a different bit.
Observable 3 — Does grant/revocation invert cleanly?
GRANT (0C) and REVOKE are the permission pair. Under each convention, check: does REVOKE of a GRANT return the authority state to exactly what it was before the GRANT (for that grant), and does a grant created by an action satisfy that action's own check? (Note 16b: it must not — a grant cannot satisfy its own action's check.) A convention under which GRANT and REVOKE are not inverses, or under which a self-grant passes, fails.
- Decides: whether D carries the grant/revocation polarity (D2) or whether that polarity lives elsewhere (in the verb, not the bit).
Observable 4 — Do the 75 corpus entries keep their verb names?
For each convention, run the Stage C derivation and count verb-name recovery. Baseline is 75/75 under the current (unspecified) convention. A convention that drops recovery below 75/75 — i.e. that makes two different verbs collapse onto one coordinate, or one verb split across two — has broken the naming map, and the breakage names the entries where the convention is wrong.
Observable 5 — Does the corpus's direction bit agree with the v0.1 header's?
The compact-header draft v0.1 already has a direction field (bit 19, 0 into / 1 out of). Check each convention against the three header presets (ACT end steel QToB4, ATTEND begin UpgALACAHT, FAIL sample I5wlhYAADe): does the preset's direction bit read correctly under this convention? A convention that contradicts the adopted draft's presets forces a choice: change the convention, or change the draft (which is adopted, not frozen — so it can change, but only by a decision, not silently).
The decision procedure
- Run observables 1–5 for D1–D4. Record the results per convention in a table — pass/fail per observable, with the failing entries named.
- The winner is the convention that passes all five. If none passes all five, the honest outcome is: the direction bit is not one bit — different families need different polarity axes, and the bit must be split or moved into the verb/role. That is a real possible outcome, and the test is designed to be able to say it.
- If two conventions pass all five, they are equivalent on this evidence — record that, and pick the simpler one (fewest new rules), noting the equivalence.
- Morgen decides. The test does not decide for him; it gives him the table.
What this does not do
It does not resolve the step-4 naming (interpretive), the 42 open positions, or the three type encodings. It settles one bit. That is the point — one bit, five observables, a table, a decision.
2026-11-29-prep-03-type-encodings-lab.md — Morgen's direction: "For the issue of 4 three type encodings — this work here will be a 'Lab' with a name which we will initiate once we fetch changes from remo
03 — Three type encodings: the Lab, and what choosing the 3rd commits to
Morgen's direction: "For the issue of #4 three type encodings — this work here will be a 'Lab' with a name which we will initiate once we fetch changes from remote for Stream repo, we now have there a Lab creator into which this experimental work can be placed. As for which to choose I'm not sure — my foggy sense is that the 3rd one is what's relevant to this experiment."
The three encodings
| # | Encoding | Form | Where it lives | |||
|---|---|---|---|---|---|---|
| E1 | v1 64-verb byte | `phase << 6 \ | code` — 6 bits verb + 2 bits phase, one byte | spec/kernel.descriptor; crates/stream-kernel/src/verb.rs; implemented, 21 tests | ||
| E2 | 128-position coordinate | c = 64F + 32S + 16M + 8O + 2R + D — 7 bits, 0–127 | docs/kernel-model/DIGEST.md §2; design/stream/relations-and-matrix.md; note 19 | |||
| E3 | Six stored bits + 3 derived context bits | stored: relation 2 \ | direction 1 \ | modality 1 \ | phase 2; derived: frame/world, sign/substance, self/other from kind + roles + log frame via derive_context(...) | docs/overview/current-design-vision.md; note 12; note 19 §11 — untested |
No migration or final byte layout is approved (note 17). The three coexist with no migration plan.
Morgen's leaning: E3 — what it would commit to
His foggy sense is that E3 is the relevant one for this experiment. Treat that as a leaning, not a decision. If E3 is chosen, here is what it commits to:
Commits to:
- The context derivation being provable — which is exactly Stage C (file 01). E3 is only viable if
derive_context(...)is total and unambiguous on the corpus. If Stage C fails, E3 fails with it, and the choice must be revisited. - A
derive_context(...)function with a defined domain, a counterexample policy, and an ambiguity verdict (Context | Ambiguous | Invalid) — not a silent default. - Retaining the full context in the reference AST until the derivation is proven (note 12). The stored form is a spelling; the AST is the meaning.
- A migration story for E1 logs: either a deterministic converter (E1 → E3, preserving bytes/evidence), or a declared "v1 logs stay under v1" rule (Stage H: replace / import / parallel). E3 does not read E1 logs by itself.
- Resolving the bookkeeping seam: steps 6–9 are four doublings (16, 32, 64, 128) while the prose calls them "the three context bits", counting only steps 7–9. Step 6 (modality) is a stored bit in E3, not a derived one — the seam must be named in the seed text.
Commits against:
- E1 as the canonical encoding for the new kernel (E1 stays valid for v1 logs, but the new kernel's canonical form is E3).
- E2 as a stored form — E2 remains the coordinate (the address), but it is not what is written on the wire. The 128 positions are still the map; E3 is the spelling of a position plus phase.
What E1 would commit to instead (for contrast): the new kernel speaks v1's byte; no migration needed; but the 128-position model and the context derivation have no wire form at all, and the unfolding kernel would be a v1 reader with a bigger vocabulary — not a new kernel.
What E2 would commit to instead: every position stored in full (7 bits + 2 phase bits = 9 bits, i.e. two bytes or a packed form); no derivation needed, no ambiguity possible; but the compactness claim (six stored bits) is abandoned, and the wire form is larger.
The Lab
- Proposed Lab id:
2026-11-29-unfolding-kernel-muse(spec §5 naming:YYYY-MM-DD-<short-title>-<author>; date = day the work was created, 2026-11-29; author =muse, a registered id per plan Task 1). - Base:
5d18970(full5d18970655d14a4bf67394345e377c7a763c73f0— main after PR #7 merged; PR #8's merge was7761b9a; see file 10). - Kind:
changes(notin-place— the Lab produces new files: readers, audit tables, seed text, test vectors; it does not only touch paths on main). - Question (draft, for Morgen to approve): "Can a small fixed reader learn its vocabulary from the record — proposal, check, activation — and can six stored bits recover the full 128-position context?"
- Engages (draft):
section:unfolding-kernel,section:relations-and-matrix,section:kernel-identity,section:the-books,element:…(once the element index exists — plan Task 1; until then, section + file references),file:docs/kernel-model/test/corpus.json,file:experiments/mark-boundary/. - Folder shape (spec §7):
labs/2026-11-29-unfolding-kernel-muse/withAGENTS.md,CLAUDE.md(@AGENTS.md),README.md,lab.json,files/,artifacts/,evidence/,notes/. A skeleton is staged in this package underlabs/for backfilling. - Creation (once the tool exists — it does not yet; see file 10):
python3 design/tools/record.py lab new unfolding-kernel --question "…" --author muse --date 2026-11-29from a checkout at base5d18970. Until the tool is built (plan Tasks 1–7), the Lab is prepared here, in this package, and backfilled — which is exactly what Morgen asked for in item 10. - Status:
openon creation (status lives inlabs/status.csv, not inlab.json; only the owner accepts/rejects). - Size limit: 5 MB for a published lab (spec §12, proposed) — the three lab HTML pages already in
docs/labs/total ~240 KB, so this Lab has room, but the HTML artifacts belong inartifacts/, not infiles/.
2026-11-29-prep-04-trusted-root-cli.md — Morgen's direction: "For trusted root let's devise a simple solution like giving a name or supplying a key using normal dev practices from command line, help me
04 — Trusted root: a simple command-line solution
Morgen's direction: "For trusted root let's devise a simple solution like giving a name or supplying a key using normal dev practices from command line, help me out here."
The principle (from the sources, not invented)
- "Root trust is a declared convention at the seed boundary, not a theorem of the distinction algebra." (note 12 §3.3)
- "A root's assertion that it is root authenticates itself — False without an external trust/signature premise." (seed-boundary process log)
- "The root is passed to the toy reader out of band. This is deliberate: it tests the honest boundary around authority rather than letting genesis invent its own trust." (toy-reader probe)
- C0 is "an admitted starting authority. It is not derived from a later principal predicate." (note 16b §3)
So: the root is supplied out of band, named in genesis, and never derived. The CLI just makes that supply explicit and checkable.
The CLI shape (draft — for the Lab, not for v1)
# A named root — the simplest form, for a personal or demo log.
# The name is an actor address, exactly as v1 already uses: actor:root.
stream init my-log --root-name actor:root
# A keyed root — the serious form. The operator supplies an ed25519 public key.
# The private key never leaves the operator's machine; only the public key is recorded.
stream init my-log --root-key ./root.pub
# Both: a human-readable name bound to a key.
stream init my-log --root-name actor:morgen --root-key ./morgen.pub
# A threshold root set (for later; the GENESIS constructor already allows
# "stated single-root or threshold policy" — note 12 §3.3).
stream init my-log --root-name actor:morgen --root-key ./morgen.pub \
--root-name actor:deb --root-key ./deb.pub \
--root-threshold 1
# Verifying a log against the root it was created with:
stream verify my-log --root-key ./morgen.pub
# or, if the log's genesis names a key, the reader checks the genesis
# signature against the supplied public key and refuses on mismatch.
Normal dev practices used, deliberately: a public-key file on disk (like ~/.ssh/id_ed25519.pub); a --root-key flag (like --identity / -i); a human name as an address (like a git author); nothing new invented. Key generation is the operator's job, with their own tooling:
# Generate a root keypair (operator's machine, once):
ssh-keygen -t ed25519 -f ./root -C "stream root for my-log"
# ./root.pub is supplied to `stream init`; ./root stays private, never in the log.
What the reader does with it:
- At
init, the root name(s) and/or public key(s) are written into the GENESIS entry (see below) and into the log's preamble record. The private key is never recorded, never hashed into the log, never transmitted. - At
open, the reader reads the root from genesis (not from a later entry, not from a config file it found lying around). If a--root-keyis supplied at open/verify time, the reader checks it matches the genesis record and refuses on mismatch. - If no key was supplied at init (name only), the log is explicitly a named-trust log: the trust is the name, and the record says so. That is honest, and it is the right default for a personal log — but it must be labelled as such, not mistaken for cryptographic trust.
The genesis entry it produces
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. In v1's canonical JSON spelling, extended with the root record:
{"clock":"ntp","kind":"genesis","log":"c1","rec":"actor:morgen","root":["actor:morgen"],"root_key":["ed25519:SHA256:…"],"seed":"sha256:<seed hash>","tz":"UTC"}
root: the named root actor(s), as in v1 ("root":["actor:root"]).root_key: the ed25519 public key(s), ined25519:SHA256:<base64>form (the same formssh-keygen -lprints). Optional — absent for a named-trust log.seed: the seed hash (the seed text + test vectors, both hashed — OVERVIEW Arc IV). The kernel identity is the seed's hash for the new kernel.clock/tz: clock provenance and timezone, as in v1.
Lowering (note 12 §3.3): GENESIS lowers deterministically into ordinary in, is, may projections — the root becomes an is fact (this principal exists), a may fact (this principal may administer this log), and an in fact (this log is inside the root's boundary). The lowering is recorded, not invented at read time.
What the reader enforces (with file 05)
- First entry must be GENESIS (genesis-first/only — see file 05).
- The first recorder must be one of the stated roots.
- No later GENESIS may replace them.
- A proposed authority cannot approve itself; a grant created by an action cannot satisfy that action's own check; activation is evaluated under prefix-effective knowledge.
- A log whose genesis names a key, opened without that key, is readable but unverified as to root — the reader says so, rather than silently trusting it.
What this does NOT do
- It does not derive trust from distinctions. It declares it, records it, and checks later entries against it.
- It does not invent a PKI, a certificate authority, or a key-rotation protocol. Rotation is a later decision (note 17 #11, definition migration) — for now, a root is fixed at genesis, and changing it means a new log (or an explicit, owner-approved migration, recorded as such).
- It does not put the private key anywhere near the log, the repo, or Syncthing. (Standing rule: no secrets in Syncthing.)
2026-11-29-prep-05-genesis-enforcement.md — Morgen's decision: "Yes of course reader when loading a new kernel enforces genesis."
05 — Genesis enforcement: genesis-first/only in the new reader
Morgen's decision: "Yes of course reader when loading a new kernel enforces genesis."
The rule (exact)
For any log opened under the new kernel (seed-identified; the unfolding kernel, not v1):
- The first entry MUST be GENESIS. It is the atomic constructor
GENESIS(log_id, roots, clock, timezone, seed_hash, policy_hashes)(note 12 §3.3). It is accepted only as the first entry under the seed's bootstrap rule. "Genesis is not permitted in Segment 0 and may occur only as the first entry of a working log." (note 12 §3.2) - No second GENESIS is permitted. Any GENESIS after the first entry is rejected. A second genesis mid-file must not silently replace the root — that is one of the two v1 holes (kernel-model OVERVIEW Arc II).
- The first recorder must be one of the stated roots. The
recof the GENESIS entry must be in therootlist it names. - The seed hash in GENESIS must match the kernel the reader was loaded with. A log naming a different seed is not read under this kernel — it is refused with "not this seed", the same way v1 refuses a wrong kernel (
open: not this one, conformance case 05). - Genesis lowers deterministically into
in,is,mayprojections (file 04). The lowering is part of the fold, not a separate step.
Rejection behaviour
| Violation | Reader behaviour |
|---|---|
| First entry is not GENESIS | open refuses: open: first entry is not GENESIS. The log is not opened, not folded, not partially read. |
| Second GENESIS anywhere later | Refused at the position it appears: verify: seg N: second GENESIS. Earlier entries remain as read; the log is not trusted past that point. |
First recorder not in root | open: GENESIS recorder is not a stated root. |
| Seed hash mismatch | open: not this seed. |
| GENESIS in Segment 0 | Refused: Segment 0 is the bootstrap (boundary → kinds → rules → seal); GENESIS belongs to a working log, not to the seed. |
| Missing root / empty roots | Refused at init time (stream init refuses to create a log with no root) and at open time. (v1's Log::init panics on empty genesis roots — the new reader must refuse cleanly, not panic.) |
Key point: rejection happens at open, not only at explicit verify(). The v1 gap was exactly this: open() does not verify seals and does not call Entry::check(), so a tampered log opens fine and only explicit verify() catches it. The new reader must not repeat that shape — open enforces genesis, canonical form, and kernel/seed identity; verify additionally recomputes every seal and chain. A log that fails open is not a log the reader will fold.
What stays v1 (unchanged)
v1 logs are not retroactively subjected to this rule. v1's genesis is a convention (OPEN kind=genesis, first entry by convention, not enforced), and v1 logs already in existence were created under that convention. The new rule applies to logs opened under the new kernel (new seed hash). Whether v1 logs migrate, import, or stay parallel is Stage H — not decided here, not decided by this rule.
Conformance vectors (to be written in the Lab)
Positive: a well-formed GENESIS first, with named root and key, opens and folds. Negative (each must be refused with the named error):
- first entry is an ACT, not GENESIS;
- a second GENESIS at position 10;
- GENESIS whose recorder is not in
root; - GENESIS naming a different seed hash;
- GENESIS in Segment 0;
- empty
rootlist; - a log whose first entry is GENESIS but whose seal chain is broken (seal failure is separate from genesis failure — both must be reported, and the genesis check must not mask the seal check).
2026-11-29-prep-06-seed-minimality.md — Morgen's direction: "For seed minimality I'm not sure, we'll need to re-examine options but we have a few already."
06 — Seed minimality: re-examining the options (no decision)
Morgen's direction: "For seed minimality I'm not sure, we'll need to re-examine options but we have a few already."
The governing warning
"Minimum size is undefined until cost is named. A byte-minimal seed, a smallest trusted implementation, a smallest primitive set, and a smallest total trust/evaluator contract are different optimization problems." (seed-boundary process log, 2026-11-26 19:04 UTC)
And: "The seed is the smallest possible — Not established." (unfolding-kernel.md grading table)
So the first job is not to pick the smallest seed — it is to name the cost. Each option below is a different cost, and they give different answers.
The options already on the table
Option M1 — Smallest trusted implementation (Reader B's direction)
- Cost metric: lines of code + premise-inventory entries in the reader (the supplied capabilities, as in
experiments/mark-boundary/premises.json). - Candidate: Reader B (finite derived expressions / forest traversal). It reproduces the L:1–L:16 transcript with fewer fields — no one-use counter, no separate grant ID, no independent entity allocator, no primitive principal, no materialized tables, no general recursive engine.
- What it optimises for: auditability — the smallest thing a reviewer must trust.
- What it gives up: general recursive inference; "cannot necessarily accept same definitions" — a semantic translation for a restricted domain, not byte compatibility.
- How to measure it: count the premise inventory for each reader (supplied capabilities, each named) and compare. The comparison is in file 01.
Option M2 — Smallest seed text (the "short text" recommendation)
- Cost metric: bytes of the seed text (plus test vectors, both hashed).
- Candidate: OVERVIEW Arc IV's recommendation — "a short text plus test vectors, both hashed. The regress ends in people agreeing, as a log's authority ends in its root."
- What it optimises for: transmissibility — a seed you can print, quote, and agree on.
- What it gives up: a short text may hide complexity in the reader (the evaluator still supplies parsing/matching/equality/evaluation/admission/atomic commit — note 15 §12). "Encoding everything into pairs/bits can reduce surface constructs while enlarging interpreter/definitions; it is not automatically reduction in trusted complexity." (note 17 #4)
- How to measure it: bytes of the seed text v0.1, once written (file 07). Until the seed text exists, this option cannot be scored.
Option M3 — Smallest primitive set (the distinction-algebra direction)
- Cost metric: number of primitives the seed must stipulate (constructors, operations, laws).
- Candidate: the mark-boundary experiment's set — empty sequence +
mark+enclose(+relocateas a supplied v1 law) — and the DIGEST's 13-step derivation from a single primitive (a boundary). - What it optimises for: conceptual minimality — fewest ideas.
- What it gives up: the experiment's own honesty inventory says it does not derive MAY, IS, TO, authority, phases, or the 128-cell map — so a small primitive set may need a large interpretation layer to reach a usable kernel. "That these are the uniquely necessary or mathematically smallest primitives" is not established (premises.json).
- How to measure it: count primitives, and separately count the interpretation rules needed to reach the eight forms.
Option M4 — Smallest total trust/evaluator contract (note 05's layered boot)
- Cost metric: the whole contract — reader + seed + trust assumptions together.
- Candidate: note 05's Layer 0–3: Layer 0 tiny reader contract (framing, equality, one generic fact constructor,
step+ fold, seed/version id, conformance vectors); Layer 1 root declarations; Layer 2 semantic maps; Layer 3 ordinary facts and views. - What it optimises for: the honest total — nothing hidden in a layer you forgot to count.
- What it gives up: it is the hardest to measure, because it requires the dependency accounting (note 17 #4, M4 in the deep dive) — explicit dependencies and a comparative trusted-complexity analysis of candidate readers.
- How to measure it: the dependency accounting itself is the work; it does not exist yet.
Option M5 — Smallest definition size for a given transcript (note 18's reduction)
- Cost metric: bytes of definitions needed to run a specific transcript (L:1–L:16).
- Candidate: note 18's reduced transcript — consume/produce as one shared delta
B_next = (B_current ∖ C) ∪ A. - What it optimises for: a concrete, measurable number for a concrete job.
- What it gives up: it is transcript-relative. A seed that is minimal for L:1–L:16 may not be minimal for the next transcript. "Neither result establishes a universally minimal reader." (note 18)
The three beginnings, kept distinct
Whichever cost is chosen, note 16 §2's three beginnings stay distinct: formal (an initial expression and permitted transformations), machine (an interpreter able to represent and run them), organizational (the trust and governance under which records and activations are accepted). "An empty formal state still presupposes the calculus that interprets it." A seed that is minimal on one beginning may be large on another — that is not a contradiction, it is the reason the beginnings are kept apart.
What is needed before a decision
- The seed text v0.1 written (file 07) — without it, M2 cannot be scored.
- Reader A and Reader B coded (file 01) — without them, M1 cannot be scored.
- The dependency accounting (note 17 #4) — without it, M4 cannot be scored.
- Morgen naming the cost he cares most about. The candidates are: auditability (M1), transmissibility (M2), conceptual minimality (M3), honest total (M4), or transcript-relative size (M5). They are different goals, and the Lab should say which one it is optimising for before it claims any seed is "minimal".
No decision is made in this file. That is deliberate, per Morgen's direction.
2026-11-29-prep-07-seed-text-and-books.md — Morgen's direction: "Yes need to work on seed text for mapping as well as what minimal or generous set of books to supply and how might our system autogenerate
07 — Seed text for mapping + Books: minimal vs generous, and autogeneration
Morgen's direction: "Yes need to work on seed text for mapping as well as what minimal or generous set of books to supply and how might our system autogenerate books in relation to the creation of things in the system like objects, subjects, kinds etc, review that with me."
7.1 Seed text for mapping — what it must contain
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."
For mapping specifically — the naming map that is applied after the relations are built — the seed text must also contain:
- The coordinate map: the 7-bit coordinate
c = 64F + 32S + 16M + 8O + 2R + D, with each axis named and its two values stated. This is the map the naming map is applied to. - The naming map itself, as a separate table: coordinate → name, with the status of each name (derived / stipulated / interpretive / candidate — note 05's three statuses, plus "candidate" for the 42 open slots; see file 08). The naming map lives in a label pack, separate from the kernel, "so the kernel's fingerprint never changes for wording" (DIGEST §7).
- The derivation ledger: for each step of the 13-step derivation, its grading (forced / strong / interpretive / promising-but-newest) and its witness (the pair of cases that differ only on that axis — note 19 §7: "Witness pairs must share all other declared coordinates").
- The operator workbook (Stage A): every supported coordinate — 4 relations × 2 directions × 2 modalities × 4 phases — with role signature, guards, effect, refusal behaviour, evidence behaviour, examples. Unsupported cells marked, not left ambiguous. This is the mapping from coordinates to behaviour, which is what earns a name.
Seed text v0.1 (draft outline, to be written in the Lab):
§1 Primitives: mark, enclose, beside (supplied constructors)
§2 The four operations: cross, call, combine, re-enter
§3 The coordinate: c = 64F + 32S + 16M + 8O + 2R + D
§4 The four step rules: in → structure, is → Register, may → authority, to → Books
§5 The fact shape: subject, object, kind, measure (roles)
§6 The evaluator: equal, and, not, count, every, first, previous
§7 The seal check
§8 One plain-text spelling
§9 The naming map (label pack, separate): coordinate → name, with status per name
§10 The derivation ledger: grading + witness per step
§11 What is NOT in the seed: verb names, field names, units, rules, authority (supplied out of band)
7.2 Books — minimal vs generous
Books arithmetic in the seed is note 17 #7 / M7: "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."
Minimal set
The smallest set that lets the L:1–L:16 transcript and the Stage C corpus run:
- One book per conserved unit, per boundary. A book is named by (boundary, unit) — e.g.
book:workshop-1/kg:steel,book:agent-ops/cpu-seconds. - The paired-delta transfer only (note 18 §8): 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). - No aggregate sums — general aggregation over large histories is deferred, stated as a deferral, if local paired updates + unique balance invariants provide the necessary transition law (deep dive §4.5).
- No conversions between units. No cross-unit sums (BKL-05: "never sum different units into one conservation equation").
Generous set
Everything the minimal set has, plus:
- Per-unit vectors
h⁽ᵘ⁾ ∈ ℤⁿwith explicit boundary accounts/legs for crossings (BKL-05). - Reservations, conversions, partial settlement, losses and external flows — "require typed conventions beyond this example" (note 18 §8). Each needs a typed convention written before it is used.
- Aggregate sums over histories, with the aggregation law stated (sum over a log prefix, grouped by coordinate — the lens arithmetic from the 128-positions reply).
- Boundary accounts for flows that cross a boundary (a
toleg leaving one boundary and entering another needs a leg at each end, plus a boundary account if the two ends are in different books).
Recommendation for the Lab: start minimal, and add generous items one at a time, each with its typed convention written first. The minimal set is what Stage C and the transcript need; the generous set is what a real deployment needs. Conflating them is how a seed gets big without anyone noticing.
7.3 Autogeneration of books — the proposed rule
Proposed rule (for review, not decided):
A book is auto-created on the first
toleg for a new (boundary, unit) pair. The book's identity is(boundary, unit); its opening balance is zero; its first entry is the leg that created it, recorded as such. No book is created by anin,is, ormayfact alone — only atofact (a directed, conserved quantity) creates a book, because onlytocarries a quantity that must balance.
How it relates to the creation of things:
| Thing created | What happens to Books |
|---|---|
A new object (via fresh / CREATE) | No book. An object is a referent, not a quantity. |
| A new subject (actor / principal, via GENESIS or GRANT) | No book. A subject is an authority holder, not a quantity. |
A new kind (via a relation definition, activated) | No book — unless the kind declares a conserved unit. A kind that declares unit: kg and conserved: true pre-registers the (boundary, unit) pair, so the book exists before the first leg (it opens at zero, with no entries). |
A first to leg for a (boundary, unit) pair | A book is auto-created, opening at zero, with the leg as its first entry. The creation is recorded as a to fact about the book itself (the book's birth is a fact, not a silent side effect). |
A new boundary (via enclose / OPEN) | No book, until a to leg crosses it or lives inside it. |
Why this rule, and not "a book per object" or "a book per kind":
- A book is a conservation boundary for a quantity, not a container for a thing. An object with no quantity has nothing to balance.
- Auto-creating on first
toleg means books appear exactly when they are needed, and never before — the log never contains an empty book that nothing ever used. - Pre-registration via a kind's conserved-unit declaration gives the generous case (a book that exists before its first leg) without breaking the rule — the kind declares the conservation, so the book is a consequence of the declaration, not a surprise.
Risks (stated plainly):
- Book explosion. If kinds proliferate, or if units are free-text rather than drawn from a pack, (boundary, unit) pairs proliferate and so do books. Mitigation: units come from an adopted pack (e.g.
si-units@1), not free text; a kind's conserved-unit declaration must name a pack unit. - Boundary ambiguity. A
toleg whose two ends are in different boundaries — which boundary owns the book? Answer in the proposed rule: both — each end's boundary gets a leg in its own book, and the pair of legs is one transfer. But that needs the boundary-account convention (generous set) written before it is used; the minimal set should refuse cross-boundarytolegs until that convention exists, rather than silently assigning them. - Silent creation. Auto-creation must be recorded — the book's birth is a fact in the log, not a side effect of the fold. If the fold creates books silently, two readers can disagree about which books exist. The rule above requires the birth to be a recorded fact.
- Unit confusion. Two kinds both declaring
unit: kgin different boundaries are different books — correct — but two kinds declaring the same unit in the same boundary share a book, which is correct only if they are the same conserved quantity. If they are different quantities that happen to share a unit (steel vs aluminium, both kg), sharing a book would sum them — which BKL-05 forbids. Mitigation: the book's identity is (boundary, unit, kind) where kinds differ in what they conserve, not just (boundary, unit). This needs a decision in the Lab: is the book key (boundary, unit) or (boundary, unit, kind)? Open questions for Morgen:
- Book key: (boundary, unit) or (boundary, unit, kind)?
- Cross-boundary
tolegs: refuse until the boundary-account convention exists, or allow with a provisional rule? - Minimal first, then generous — or generous from the start, with the conventions written first?
2026-11-29-prep-08-slot-naming-candidates.md — Morgen's direction: "For naming all the slots we can start with the corpus we have for current slots and do some back and forth analysis to try and determine wh
08 — Naming all 128 slots: candidates for the 42 open positions
Morgen's direction: "For naming all the slots we can start with the corpus we have for current slots and do some back and forth analysis to try and determine what other primitives for human and agentic actions and undertakings might be."
Ground rules (from the sources)
- "A claim of 128 usable types requires an inhabitant for each." (relations-and-matrix.md)
- Each position needs "a typed signature, declared contextual interpretation, admissibility rule, evidence requirement and an example" (note 19 §11).
- "Each split must earn its bit: two cases alike in every other coordinate must differ in some calculable consequence. Finding two different verbs is not enough." (note 19 §7)
- Labels are renderings, not derivations: "Meaning = interpret(coordinates, operands, active_definitions, frame, evidence); result = typed operation/claim | ambiguous | invalid. Labels are renderings of the result." (note 19 §10)
- Every candidate below is marked CANDIDATE. None is presented as derived. The behaviour it would have to exhibit to earn the slot is stated alongside it — that behaviour is the test.
What the corpus already gives
- 51 ZAKO verbs at positions — the inhabited slots. The worked examples in note 19 §8: 00 OPEN, 0C GRANT, 12 PROPOSE, 2E DRAW, 4F SEND, 5E QUERY, 6F PAY, 7E INVOICE, 7F QUOTE. (Full mapping is in
docs/kernel-model/test/corpus.json+model.py; the Lab's Stage C audit will produce the complete per-position table.) - 35 proposed names — named in the design, not yet inhabited by a corpus verb.
- 42 open — no name, no inhabitant.
- 13 ZAKO verbs are not positions at all — phase names/variants (MEASURE/OBSERVE/PROGRESS/COMPARE are sample-phase names; VERIFY is a sample of ATTEST; TRIGGER/RECUR are realising; ALERT is anticipating; REPORT/RESPOND/TEACH are variants of SEND; TRAVEL is a variant of ACT; CLOSE is the end phase of OPEN).
Method for the back-and-forth
For each open slot, ask in order:
- What would have to be true for this coordinate to be used — what guard, what effect, what evidence?
- Is there a human or agentic action that does exactly that, and nothing else in the corpus does?
- Does it differ from its nearest neighbour (same coordinate except one bit) in a calculable consequence — a different guard, a different delta, a different evidence class? If not, the slot is not earned, and the honest answer is "unreachable/invalid cell" (note 19 §7: "Not all combinations must be admitted: unreachable/invalid cells can be meaningful restrictions of the model").
- If it is earned, propose a name, a signature, and an example — and mark it CANDIDATE until Stage C or the transcript exercises it.
Candidate primitives, by relation family
IN family (containment, part–whole) — candidates for open IN slots
| Candidate | Coordinate shape | Behaviour it must exhibit to earn the slot | Human / agentic action |
|---|---|---|---|
| ADMIT | in · into · fact · self/frame | A member enters a boundary by decision of the boundary, not by movement — admission as an act, distinct from a thing moving in. Guard: the admitter may admit. Effect: membership begins; interval rules apply. | A workshop admits a new member; an agent admits a task into its queue. |
| RELEASE | in · out of · fact | The inverse of ADMIT that is not assumed — membership ends by release, with the interval closed (not deleted). Evidence: the release record, the interval's end. | A member leaves a project; a task is released from a queue. |
| NEST | in · into · possible | A proposed containment — a plan to place X inside Y, not yet performed. Planning changes cannot mutate actual membership. | A proposed org chart; a planned folder structure. |
| SPLIT | in · out of · possible/other | A proposed division of a boundary into two, with the membership of each part stated in advance. | A team split proposal; a shipment split. |
IS family (identity / property) — candidates
| Candidate | Coordinate shape | Behaviour it must exhibit | Human / agentic action |
|---|---|---|---|
| ATTEST | is · into · fact · other | An attributed claim about another's property, with evidence — distinct from a self-claim. Evidence: the attester, the evidence, the claim. | A reviewer attests a measurement; an agent attests a peer's output. |
| CORRECT | is · into · fact | A superseding claim that replaces a named earlier claim without erasing it — the old claim stays, superseded. Evidence: the old claim's address, the reason. | A corrected posting (the replay test's corrected posting); an erratum. |
| WITHHOLD | is · out of · fact | A claim is withdrawn from the active Register — not deleted, but no longer current. Distinct from CORRECT (which replaces) and from refusal (which never entered). | A retracted statement; a withdrawn certification. |
| DECLARE | is · into · possible | A claim about a future state, stated as a possibility — a forecast claim, not a fact. | A forecast; a bid; a promise about a future property. |
MAY family (authority / permission) — candidates
| Candidate | Coordinate shape | Behaviour it must exhibit | Human / agentic action |
|---|---|---|---|
| DELEGATE | may · into · fact · other | Authority passed to another, with scope and depth — child grant ⪯ parent by action subset, nested scope, contained validity, strictly smaller delegation depth (BKL-03). | A lead delegates a task; an agent delegates a sub-task. |
| REVOKE | may · out of · fact | The inverse of GRANT that closes a grant's interval. Evidence: the grant's address. | A revoked permission; a cancelled authorisation. |
| REQUEST | may · into · possible | A request for permission — not a grant, not a refusal, but a recorded ask. Evidence: the asker, the action, the scope. | A permission request; an access request. |
| REFUSE | may · out of · fact | A recorded refusal of a request — first-class, advances audit only, never changes domain projections (BKL-06). Distinct from a grant that was never requested. | A denied request; a refused delegation. |
| CONDITION | may · into · possible | A grant with a condition — valid only while the condition holds. Guard: the condition, evaluated at use time. | A conditional approval; a time-boxed grant. |
TO family (directed, conserved) — candidates
| Candidate | Coordinate shape | Behaviour it must exhibit | Human / agentic action |
|---|---|---|---|
| ALLOCATE | to · into · fact · self | A conserved quantity assigned within a boundary (self) — internal allocation, not exchange. The paired delta stays inside one boundary. | Internal budget allocation; assigning steel to a job. |
| EXCHANGE | to · out of · fact · other | A conserved quantity leaving one boundary for another — the cross-boundary transfer, needing a leg at each end. | A sale; a shipment between workshops. |
| CONSUME | to · out of · fact | A quantity leaving the conserved system entirely (used up) — with an explicit sink, not a disappearance. Evidence: the sink account. | Fuel burned; material consumed in a job. |
| PRODUCE | to · into · fact | A quantity entering the conserved system from outside — with an explicit source, not an appearance from nothing. Evidence: the source account. | Material delivered; energy generated. |
| RESERVE | to · into · possible | A planned transfer — a reservation of a quantity for a future transfer, not yet performed. | A reserved budget; a held shipment. |
| SETTLE | to · into · fact | A partial settlement — part of an obligation discharged, the remainder still owed. Evidence: the obligation's address, the amount settled. | A part-payment; a partial delivery. |
What this list is and is not
- It is a first back-and-forth: 4 IN + 4 IS + 5 MAY + 6 TO = 19 candidates, against 42 open slots. It does not fill all 42 — and it should not pretend to. The remaining 23 slots are either unreachable/invalid cells (a meaningful restriction) or need a second round of analysis against the corpus.
- Each candidate names the behaviour that would earn it. The next step is to test each candidate against the corpus and the transcript: does any existing verb already do this? Does the candidate differ from its nearest neighbour in a calculable consequence? If the answer to the first is yes, the candidate is a duplicate and is dropped. If the answer to the second is no, the slot is not earned.
- The candidates are deliberately grouped by family, and deliberately include both human and agentic actions — a workshop member and an agent delegating a sub-task are the same shape of act, and the coordinate system should not care which kind of actor performed it. That is the point of the exercise: the primitives are about actions and undertakings, not about who performs them.
- None of these names is adopted. They are candidates for the Lab's naming-map work (file 07 §9), to be tested in Stage C and in the transcript.
2026-11-29-prep-09-missingness-at-start.md — Morgen's direction: "Let's include as our first exploration what it could mean to include at the start of the kernel more support for the 'absent-ness' or missi
09 — Missingness at the start: Heidegger's absent-ness in the seed
Morgen's direction: "Let's include as our first exploration what it could mean to include at the start of the kernel more support for the 'absent-ness' or missing-ness types that we gained from Heidegger, it may be the case they come later, open to ideas."
Where the idea comes from
Heidegger's withdrawal (Entzug): what withdraws draws us toward it; thinking is toward that which has withdrawn. Morgen's turn (2026-11-26): records at their atomic level should be able to carry varying kinds of missing pieces. The typed missingness that resulted:
| Kind | Meaning |
|---|---|
| not-yet | will exist, does not yet |
| unknown | no one knows (yet) |
| withheld | known to someone, not shared |
| not-applicable | the field cannot apply to this fact |
| refused | someone refused to supply it |
| estimated | present as an estimate (STREAM already has ~) |
| ambiguous | more than one reading, unresolved |
It landed in the adopted Draft v0.1 as absence kind per role in the extended header (3 bits per role, 12 bits). It is also in the v0.1 test vectors (V06 ATTEND begin with measure unknown; V07 FAIL sample with actor withheld).
The naming discipline (note 06): keep ∅ (empty collection), 0 (zero quantity), ⊥ (undefined), and unknown/not-observed distinct. "If we store 'Nothing' as a node, we have already marked it." A query about an enclosure before its birth returns undefined (⊥), "not outside" — its absent pre-birth state is never treated as zero (mark-boundary experiment).
Option M-A: Absence kinds in the seed from line one (first-class)
What it means: the seed's fact shape carries a per-role absence code from the first line. A fact is subject, object, kind, measure — and each role carries either a value or an absence kind (3 bits per role, as in the v0.1 extended header, or the equivalent in the seed's canonical text). A partial fact is still a fact, from the first entry of segment 0.
What it would look like in the seed text (draft):
§5 The fact shape: subject, object, kind, measure.
Each role holds a value, or an absence code:
0 present | 1 not-yet | 2 unknown | 3 withheld |
4 not-applicable | 5 refused | 6 ambiguous | 7 reserved.
A fact with any role absent is a partial fact. It is still a fact.
The fold must propagate the missingness (weakest-wins: a derived
fact is only as complete as its least complete premise).
What it costs:
- The fact shape is bigger from the start — every role needs its absence code, even when present. (In the compact form this is the extended header's 12 bits; in the canonical text it is explicit tokens, which must hash differently — "field absent", "field unknown" and "field withheld" must hash differently, so absence needs an explicit token in the canonical line.)
- The fold's propagation rule must be written now (weakest-wins as a lattice meet — see the master overview's Math & Logic tab), not later.
- Filling a missing piece must be an append-only completing entry referring back by address (never an edit) — that rule must be in the seed, not added later.
- The operator workbook (Stage A) must cover absence for every cell: what does it mean for a
toleg's measure to be withheld? For amayfact's subject to be refused? Some combinations may be invalid — and "invalid" must be a stated verdict, not a silent gap.
What it gains:
- Missingness is not a bolt-on. A record can be honest about what it does not know from the first line, and the honesty is in the record, not in a comment about it.
- The Genesis narrative's Stage 9 — "absence returning inside the record, distinguished into kinds" — becomes a property of the kernel, not a story about it.
- The v0.1 header's extended absence codes and the seed's absence codes are the same system, not two systems that happen to agree.
Option M-B: Absence kinds as a later extension
What it means: the seed starts with complete facts only (every role present, or the fact is refused). Absence kinds arrive as a later, activated definition — a relation/rule pair proposed, checked, and activated under the activation dialogue, after the core vocabulary is established. Segment 0 does not know about absence; a later segment does.
What it costs:
- Less in the seed. The fact shape stays small; the fold stays simple; Stage A is smaller.
- But: every fact written before the extension cannot express absence, and cannot be retroactively given it (later rules never authorize earlier acts; a fact's meaning is fixed at its position). Early logs would be systematically less honest than later ones — and the difference would itself need recording.
- The extension must define migration: do old facts get re-read under the new rule? (No — rule 3: an entry is read under the declarations in force at its position.) So old facts stay absence-blind, forever.
- The v0.1 header already has absence kinds — so the extension would be catching the seed up to the header, not inventing something new. That is backwards: the header is a spelling of the seed, not the other way round.
What it gains:
- A smaller seed, faster to Stage C and Stage D. The absence system can be designed with the benefit of seeing the core vocabulary work first.
- If the absence kinds turn out to need revision (a new kind, a merged kind), revising an extension is cheaper than revising the seed.
Recommendation (for Morgen, not a decision)
M-A, absence from line one — but with a narrow scope. The seed should carry the absence code per role from the first line, and the fold's propagation rule, and the completing-entry rule — because those three are cheap to state and expensive to retrofit, and because the header already assumes them. What should not be in the seed from line one is the full per-cell absence semantics (what "withheld measure on a to leg" means for the Books) — that belongs in the operator workbook, cell by cell, and some cells may legitimately be marked invalid. In other words: the shape of absence is in the seed; the meaning of absence per cell is in the workbook.
Open questions:
- Is 7 kinds the right set, or should
estimated(already~) andambiguousbe handled differently from the other five? - Reserved code 7: what is it for? (In v0.1 it is rejected — X05. In the seed, is it "reserved for future kinds", and does using it refuse?)
- Does a refused subject (who did it, refused) break the authority trace? A
mayfact whose subject is refused cannot be traced to a root — is that fact invalid, or merely incomplete?
2026-11-29-prep-10-lab-framework.md — Checked live 2026-11-29 this prep session. Morgen was right — the Lab work IS merged.
10 — The Lab framework: what actually exists on remote
Checked live 2026-11-29 (this prep session). Morgen was right — the Lab work IS merged.
Head state
- Main HEAD:
5d18970(full5d18970655d14a4bf67394345e377c7a763c73f0) — "Merge pull request #7" (the unfolding-replies batch), merged 2026-11-29 at Morgen's "merge any of our work not yet merged". Before that, main was7761b9a— "Merge pull request #8 from babbworks/docs/lab-release-spec", merged 2026-11-29 08:09 UTC / 03:09 EST, after PRs #4/#5/#6 (main was8bf6932before it). - PR #7 (unfolding-replies batch) is MERGED (merge commit
5d18970, main HEAD now5d18970).docs/labs/unfolding-replies/is now on main. The Lab plan's Task 8 lists it as a future in-place lab (2026-11-29-unfolding-replies-<author>, base = the merge commit of PR #7) — that indexing row can now proceed; it is not a precondition for this Lab. - PR #8 (the Lab framework) is merged. Its files are on main.
What exists (read in full this session)
| Path on main | Size | What it is |
|---|---|---|
design/specs/2026-11-29-labs-and-releases-design.md | 17,612 B, 402 lines | The Lab + releases design. Status: "approved by peers8862 on 2026-11-29, including the points marked (proposed). Points marked (open) are still unanswered. Nothing here is built." |
design/plans/2026-11-29-stream-labs.md | 26,110 B, 380 lines | Implementation plan, spec §14 phases 0–2, Tasks 1–8 with failing tests first. |
design/README.md | 5,400 B (updated by PR #8) | The design folder's README, now referencing the lab commands. |
design/stream.json, design/schema.json, design/inventory.json, design/dispositions.json | (from PRs #3–#5) | The design index, schema, generated inventory, dispositions — the indexes labs engage against. |
The framework, in brief (the spec, not a summary of a summary)
- A lab is a piece of work that asks a question: it alters files, makes something that explains an idea, or gathers evidence. Failed labs are kept. A release is a published version of the standard (Version Alpha is the first). The two must not be confused.
- Chosen approach (decided): a folder per lab holding only changes, evidence and artifacts — not a branch per lab (rejected: variations invisible beside main, branches deleted on merge), not a full copy (rejected: hides what changed), not a separate repo (rejected: splits the record from the design).
- Names (decided):
YYYY-MM-DD-<short-title>-<author>, lowercase, hyphen-joined, e.g.2026-11-24-rust-kernel-claude. Date = day the work was created. Author =peers8862,claude,museor another registered id. An id never changes once published. - Where things live:
labs/<lab-id>/withAGENTS.md,CLAUDE.md(one line:@AGENTS.md),README.md,lab.json,files/(only new/changed files, at the same paths as the repo),artifacts/,evidence/,notes/(later additions, allowed after publication). Pluslabs/index.csv,labs.csv,engagements.csv,status.csv(append-only). Plusreleases/<release-id>/,design/register/elements.csv,design/register/tools.csv,design/tools/record.py. - Lab tool (proposed, not built):
design/tools/record.py, standard-library Python, run aspython3 design/tools/record.py <lab|release> <command>. Commands:lab new/open/save/engage/test/note/attach/status/check/publish/index. Commands never commit or push. Working folder:~/work/stream-lab--<id>(detached checkout of the base with the lab's files applied). Build output:~/.cache/stream-lab/<id>. lab.json: id, title, question, author, created, kind (changesorin-place), base ({commit: <40 chars, on main>, from: null | release id | published lab id}), removed, engages ({ref, how}— how istests,changes,demonstratesoruses). Status is NOT inlab.json— it is the latest row instatus.csv. Statuses:open,accepted,rejected,deferred,withdrawn,superseded.rejectedrequireslearned.accepted/rejectedrecord the owner's decision (byispeers8862).- Engagement references resolve against indexes; unknown ones are refused:
element:<id>(fromdesign/register/elements.csv),section:<id>(fromdesign/stream.json),file:<path>,tool:<id>,lab:<id>,release:<id>. - Evidence:
evidence/runs.jsonlis append-only — run id, time (UTC), who, command, base commit, state hash (SHA-256 over paths+hashes of the lab's changes), exit code, duration, stdout/stderr files with hashes. Failing runs recorded same as passing. Machine paths redacted to<work>,<lab>,~. - Publishing (spec §12):
lab publishrefuses unless: base commit is onorigin/main;files/matches the working folder; every reference resolves; at least one recorded run, artifact or written account; every recorded output matches its hash; no symlinks, likely secrets or machine paths; (proposed) folder ≤ 5 MB. It writesfiles.csv,changes.patch(usable withgit apply),published.json(date + hash of every other file). Publication takes effect when the folder is merged into main; from then onlab checkfails if a hashed file changes or disappears. Only new files undernotes/may be added. - Existing work (spec §13, indexed where it is, nothing moves):
2026-11-24-rust-kernel-claude(base4f08699…, pathscrates/,Cargo.toml,Cargo.lock);2026-11-28-mark-boundary-<author>(base1dc1563…,experiments/mark-boundary/; author still open);2026-11-28-header-labs-<author>(base88e523e…, the files indocs/labs/at that commit; author still open; amended: later work indocs/labs/gets its own lab).web/is a tool made by the Rust lab, not part of the standard. - Order of building (spec §14): 0. element index (explicit ids for question elements,
elements.csv— the plan's Task 1; the real index has 150 elements, 46 questions); 1. labs (new→publish+index); 2. existing work indexed; 3. website; 4. releases + Alpha blockers. - Open points in the spec: licence for code and for the written specification (blocks releases); whether to protect
main(§18, open — "main is currently unprotected, so a forced push or a deletion could remove those commits"); authors of the earlier labs (blocks Task 8); several points marked (proposed) vs (decided).
What is NOT yet updated / NOT built
- The tool does not exist.
design/tools/record.pyanddesign/tools/recordlib/are specified and planned (Tasks 1–7) but not built — "Nothing here is built" (spec header). There is nolab newcommand to run yet. That is why this prep package is staged locally and backfilled later, as Morgen directed. - The element index does not exist yet.
design/register/elements.csvis Task 1. Until it exists, a lab cannot engageelement:<id>references — it engagessection:andfile:references instead. labs/does not exist on main yet. Nolabs/index.csv, no lab folders. The first lab created with the tool will create it.docs/labs/(the HTML labs) stays where it is. The spec is explicit: "Indexed where it is. Nothing moves, because published links point at it." The header labs are an in-place lab (Task 8), not a folder lab. Our three newer HTML pages (Genesis, Kernel, 128-explorer — PR #7, unmerged) will get their own lab when PR #7 merges, per Task 8's fourth row.- Releases are not built (phase 4, separate plan). Alpha blockers (§17) are open, including the licence.
- PR #7 is merged. Its merge makes
test_the_saved_inventory_covers_the_same_filesfail untildesign/inventory.jsonis regenerated (PR #8's own note) — check whether that regeneration has landed; it is not part of this Lab.
Consequences for this Lab
- Proposed id
2026-11-29-unfolding-kernel-muse, base5d18970(full5d18970655d14a4bf67394345e377c7a763c73f0), kindchanges— see file 03. The date is the day the work was created (2026-11-29); the authormuseis a registered id in the plan (authors.csv:peers8862,claude,muse). - Until
record.pyexists, this package is the Lab's staging area. Backfill = runlab newat base5d18970, copy these files into the working folder /files//artifacts//evidence/as appropriate, record the first runs withlab test, and publish only when spec §12's seven checks pass. - The Lab must not change any "In v1" label, section text, version or state (plan global constraints; only the owner changes them).
- After adding/changing tracked files outside
design/, regenerate the inventory (design/tools/stream-inventory.py).
2026-11-29-prep-package-readme.md — Prepared: Sun 2026-11-29, for Morgen, at his direction after the blockers list reply 05-issues-before-coding.md.
STREAM Unfolding Kernel — Lab Prep Package
Prepared: Sun 2026-11-29, for Morgen, at his direction after the blockers list (reply 05-issues-before-coding.md). Status: Prep only. Nothing here is adopted, frozen, built, or pushed. No repo writes, no PRs, no merges. Lab framework: design/specs/2026-11-29-labs-and-releases-design.md + design/plans/2026-11-29-stream-labs.md, merged into main as PR #8 at 7761b9a (2026-11-29 03:09 EST); main has since moved to 5d18970 (PR #7 merged). See 10-lab-framework.md. Proposed Lab: labs/2026-11-29-unfolding-kernel-muse/ — base 5d18970 (full 5d18970655d14a4bf67394345e377c7a763c73f0; main after PR #7 merged). Kind: changes. Author: muse. Sources: deep dive ~/workspace/stream-unfolding-deep-dive/README.md; Genesis dossier ~/workspace/stream-genesis-materials/; the five replies in ~/workspace/stream-recent-replies/; repo at main 5d18970.
What Morgen decided (his words, paraphrased only for brevity — see the log)
- Blocker #1: just run the tests — Stage C on the 75-entry corpus. Code BOTH Reader A and Reader B and compare them; do not silently exchange them.
- Direction bit: help him choose — design a test for outcomes.
- Three type encodings: this work will be a named Lab, initiated once the remote changes are fetched. His foggy sense: the 3rd encoding (six stored bits + 3 derived context bits) is the relevant one — a leaning, not a decision.
- Trusted root: devise a simple solution with normal command-line dev practices — a name, or a supplied key.
- Genesis enforcement: YES — the new reader enforces genesis-first/only when loading a new kernel.
- Seed minimality: re-examine the options already on the table; do not decide yet.
- Seed text for mapping, plus Books: minimal vs generous book set, and how books could autogenerate from the creation of things (objects, subjects, kinds).
- Naming all 128 slots: start from the corpus (51 ZAKO / 35 proposed / 42 open) and do back-and-forth analysis for human and agentic primitives.
- First exploration: what it would mean to include Heidegger absent-ness / missing-ness types at the START of the kernel, vs later.
- Keep a detailed running log so it can be backfilled into the Lab folder once the framework is pulled from remote.
Files in this package
| File | Covers |
|---|---|
README.md | This file |
01-stage-c-and-readers.md | Stage C audit plan + Reader A vs B comparison plan |
02-direction-bit-test.md | Direction-bit experiments — the observables that decide it |
03-type-encodings-lab.md | The three encodings; what choosing the 3rd commits to |
04-trusted-root-cli.md | Trusted-root CLI draft + genesis entry it produces |
05-genesis-enforcement.md | Genesis-first/only rule and rejection behaviour |
06-seed-minimality.md | Cost metrics for each minimality option |
07-seed-text-and-books.md | Seed text for mapping + Books autogeneration rule |
08-slot-naming-candidates.md | Candidate names for the 42 open slots, by family |
09-missingness-at-start.md | Absence kinds in the seed from line one, vs as an extension |
10-lab-framework.md | What the Lab framework actually is on remote (PR #8, merged) |
labs/2026-11-29-unfolding-kernel-muse/ | Skeleton of the proposed Lab folder (spec §7 shape), ready to backfill |
../stream-unfolding-prep-log.md | The running log Morgen asked for (dated entries, decisions, open questions, files produced) |
Order of work (recommended, from the dive: E → A → B → (C in parallel) → D)
- E — publish seed text v0.1 + transcript as Open design prose (not in this package; needs Morgen's approval as a design document).
- A — Stage C audit + operator workbook (file 01 here).
- B — Toy reader v2 / Reader A + Reader B in Python (file 01 here).
- C in parallel — MOV seed comparison (optional; see deep dive §5 option C).
- D — full Rust unfolding kernel, only after A–C gates pass.
The do-not list (still binding, from the PR #2 analysis)
- Do not rebuild the Rust kernel until Stages A–C pass.
- Do not freeze the glyph/head layout until context derivation is proven.
- Do not present the synthesis as a v2 kernel until gates A–C pass.
- Do not let a published draft be read as ratified.
- Do not add a domain assertion to make a derivation pass.
- Do not conflate evidence classes.
amendments-claude-2026-11-29.md — Status: APPENDIX — PROPOSED, not decided. Nothing here changes the plan file
Amendments to the STREAM Work Plan — Claude's review, 2026-11-29
Status: APPENDIX — PROPOSED, not decided. Nothing here changes the plan file (stream-work-plan.md, 276 lines, prepared 2026-11-29). Each amendment below is recorded with a verification verdict against the plan file and the source reports. Morgen decides each one; until he does, the plan stands as written.
Source of the amendments: two replies from Claude (a second agent on Morgen's other machines), 2026-11-29 ~13:08 EST. Caveat from Claude himself: his local checkout at ~/github/stream stops at PR #1 while the plan refers to main ccecd0d / PR #9, and the ~/workspace/... sources the plan cites are on this VM, not his machine — so he checked the plan's reasoning against itself, not against the repos. Verdicts below were re-checked on this VM against the plan file and the source reports where a check was possible.
How to read the verdicts: CHECKS OUT — the claim is supported by the cited evidence; PARTIALLY — supported in substance, with a qualification or a gap named; DOES NOT CHECK OUT — the claim fails against the evidence (none so far, but the slot is kept honest). A verdict of CHECKS OUT on a proposal means the proposal is sound and consistent with the evidence — it does not mean it is adopted.
Reply 1 — Plan review (8 points)
R1-1. D-03 is really E1 vs E2; "6 bits + a verb table" is not a third option
Amendment: Drop the "6 bits + a verb table" phrasing. The plan's own lemmas (L1: the same stored 6 bits can carry different F/S/O context bits; L4: context bits are fixed per verb, 13/13) mean the verb table only works if the verb's identity is stored in the record — and that verb ID is information the 6 bits don't hold. "6 bits + a verb table" therefore stores 6 bits plus a verb ID, which is no longer 6 bits. That is basically E1: v1's byte is already phase << 6 | code, a verb code. Pick one of two honest options: E2 (store the full 7-bit coordinate — no derivation, no possible ambiguity, Stage C stops being needed) or E1 + a verb→coordinate table (keep v1's verb byte, look the coordinate up; bonus: Stage H becomes "apply the table", so a v1 log converts deterministically for free). Either way, write down what replaces the Stage C gate: the do-not list says "no Rust until Stages A–C pass", and Stage C has failed as specified — if the gate is not redefined, the Rust work stays blocked forever. Also: plan line 176 ("Stages A–C have passed in the Lab") contradicts Q1. That is a bug in the plan.
Verification — CHECKS OUT (two parts).
- The information argument: confirmed verbatim in
DERIVE-CONTEXT-V2-REPORT.md: L1 — two stored-6 groups carry mixed FSO ((is,0,0,instant)→{000 CREATE, 101 NOTE};(to,1,0,instant)→{001 ACK, 111 PAY}); L4 — FSO constant per verb, 13/13 verbs. The verb table is keyed by verb, and the verb's identity must come from somewhere in the record; the 6 stored bits (R 2 + D 1 + M 1 + phase 2) do not contain it. The plan's Q9 already anticipates the consequence in its own hedge ("E3 stays the Lab's working encoding only if D-03 is resolved as '6 bits + a verb table' (which changes what E3 means)"), so this amendment makes explicit what the plan already implies. - The line-176 bug: confirmed. Phase 3, "Explicitly not done", says "Stages A–C have passed in the Lab, but the Rust rebuild is Phase 4's decision" — while Q1 records that Stage C found no
derive_contextfunction exists (best audit candidate 4/75) and v2 recovers 6/75. "Passed" is wrong for C. The do-not list ("do not rebuild the Rust kernel until Stages A–C pass") therefore names a gate that, as written, can never open. This is a genuine bug in the plan file and should be corrected whether or not the E1/E2 choice is adopted.
What it would change in the plan: D-03's two options become E2 vs E1+table; the "6 bits + a verb table" recommendation is withdrawn; Phase 3's "Explicitly not done" line is corrected; the do-not list's Stages A–C gate is redefined (e.g. "until Stages A–B pass and the Stage C verdict is recorded and acted on", or replaced by the E1/E2 decision).
R1-2. The seed (Phase 3) doesn't need Phase 2 — split it, move it up
Amendment: Split Phase 3 into 3a (start now): seed text v0.1, the transcript, the Stage A workbook — written against the full coordinate, with direction mode and ACT end as named open parameters; and 3b (after Phase 2): anything that depends on the wire spelling. The plan says the reference AST keeps the full context, so the seed works at the level of meaning and wire form is an encoding question below it. The plan's own "cheapest approval" (Phase 1 + D-13) already breaks Phase 3's entry gate. This takes Phase 2 off the critical path for the lofty goal.
Verification — CHECKS OUT. The plan's break-resistant scenario §1 states the wire form is "the full 7-bit position + phase in the reference AST". Phase 3's entry gate requires Phase 2's exit (stored form and direction decided), yet the plan's closing line recommends approving "Phase 1 (backfill the Lab) + D-13 (E + Stage A)" as the cheapest useful approval — D-13 is a Phase 3 decision. The plan is internally inconsistent here: its own cheapest path violates its own gate. The 3a/3b split resolves the inconsistency without changing any decision.
What it would change in the plan: Phase 3 gains entry gate "Phase 1 exit" for 3a (seed against the full coordinate, direction/ACT end as named open parameters); 3b keeps the Phase 2 gate; the "How to answer" closing line stops contradicting the phase gates.
R1-3. D-01 can't settle while D-02 stays open — test both ACT-end readings
Amendment: Run the extended corpus as a 2×2 grid: {Option 9, D1b} × {ACT end = IN pair, ACT end = TO flow}. Record D-01 as conditional, e.g. "Option 9 if ACT end = X". For the header cost, pick the option the plan lists but doesn't recommend: a 1-bit projection in the short header, with the full mode in the extended header — the only option that doesn't re-encode the published v0.1 presets, and it doesn't clash with D-10 ("no v0.2 work"). Widening the header is v0.2 work.
Verification — CHECKS OUT (proposal; the header-cost claim is structurally sound, untested against the draft in full). The plan's Q2 records the O4/O5 failure as invariant and Phase 2's exit gate requires "D-01 decided" — with D-02 (ACT end) decided-undecided, no direction candidate can pass all five observables, so the gate as written cannot be met unconditionally; a conditional D-01 is the honest form. The header option is listed in the plan's Phase 2 step 2 among the widening options. Structurally it fits Draft v0.1: the short header already carries a 1-bit direction field and an extended-follows bit, and the extended header (60 bits) exists precisely to carry more — a 1-bit projection in the short header leaves the published 5-character presets (extended-follows = 0) byte-identical. Not yet verified: whether the extended header's 60-bit budget has room for a 2-bit mode alongside the absence codes, kind index, and check bits — that needs a bit-budget check against the draft before adoption.
What it would change in the plan: Phase 2's exit gate becomes "D-01 decided, conditionally on D-02 if D-02 is still open"; the 2×2 grid becomes the Phase 2 test design; the header-cost recommendation becomes the 1-bit projection, with the bit-budget check as a named step.
R1-4. D-05 and Q6 are the same gap — fix both in open()
Amendment: D-05 happens because data seeded by the test harness bypasses admission; Q6's v1 gap is that open() doesn't verify. Make open() replay every entry through admission: genesis rules, seals, depth checks. Then no fact exists that didn't come through admission, and Reader A doesn't need an extra depth check outside its rules — keeping the reference semantics clean. Also on R4: A's 294 rule applications per can query come from recomputing everything from scratch each time; semi-naive evaluation plus keeping the derived closure updated as entries are appended is the standard Datalog fix — do it before Phase 4, or the A-vs-B competition measures a naive A, not A's real cost.
Verification — CHECKS OUT (proposal; the open() extension goes beyond what Q6 decided). D-05's cause (harness-seeded delegate(..., depth=99) honoured by A) and Q6's v1 gap (open() does not verify seals or call Entry::check()) are the same structural hole: facts can exist that admission never saw. The plan's Q6 already decides genesis-first/only at open for the new reader — Claude's proposal extends that decided rule from genesis to seals and depth, which is coherent with it but is an extension, not a restatement; it needs its own decision. The R4 point is sound: the plan's own R4 names "incremental closure or memoisation for A" as the work, and measuring A naive against B in Phase 4 would bias the competition. Doing the evaluation work before Phase 4 is an ordering improvement, not a new claim.
What it would change in the plan: D-05's recommended fix becomes "replay-through-admission in open()" (replacing the query-time depth check outside the rules); Q6's genesis rule is extended to seals/depth; an evaluation-performance step (semi-naive + incremental closure) is added before Phase 4.
R1-5. Books key: use (boundary, kind); check the unit, don't key on it
Amendment: (boundary, unit, kind) correctly stops steel and aluminium being summed, but it also splits one quantity into separate books if two entries spell its unit differently (steel in kg vs t). Each kind declares its canonical unit; the book key is (boundary, kind); a to leg with a non-canonical unit is refused. Minimal Books excludes conversions anyway, so this costs nothing and removes the book-explosion risk.
Verification — CHECKS OUT (proposal). The plan's D-11 recommends (boundary, unit, kind) precisely to stop the steel/aluminium sum (BKL-05), and its Q5 names unit confusion as a risk. Claude's variant keeps that protection (kind in the key) while removing the split-book failure mode the plan's key introduces (kg vs t for the same kind). It is consistent with Minimal Books (no conversions), since refusing a non-canonical unit is cheaper than converting it. One open point the amendment doesn't settle: where the canonical unit per kind is declared (the kind-definition table, presumably — that table is a v2 input already) and what "refused" means for a leg that arrives with a non-canonical unit (admission refusal vs fold refusal).
What it would change in the plan: D-11's book key becomes (boundary, kind) with a per-kind canonical unit and a refusal rule for non-canonical units; Q5's unit-confusion risk is reworded accordingly.
R1-6. The publishing approval gate can be bypassed — OPEN ALTERNATIVE, NOT ADOPTED
Amendment (Claude's proposal): If the agent holds the Telegraph token and can edit queue.json, it can write approved_by itself — "the publisher refuses unapproved rows" isn't a gate against the very agent it's meant to check. Propose instead: approval = Morgen merging a PR (the agent opens a PR that sets rows to queued; Morgen's merge on master is the approval — recorded, attributed, reviewed with git tools already in use). Keep the token off this VM; the publisher runs only on the machine that already holds the token (the plan says deb — Claude asks whether it now means tpad or the Toughbook, given the hostname history). It publishes only approved rows from master. That removes the D-15 token handover and risk R6 entirely, and "no agent runs post" is enforced rather than promised. The feed is small: one Liquid page, e.g. stream/feed.xml with layout: null, looping over site.data.telegraph.posts filtered to section == "stream" — build it, not the "link to the Notes page" fallback.
Verification — PARTIALLY. The bypass observation is correct; the proposal CONTRADICTS a decision Morgen has already made, and is recorded here as an open alternative, NOT as adopted.
- The bypass: correct as stated. Owner-only approval recorded in a file the publishing agent can write is not a check on that agent. The plan's Phase 6 step 3 models the gate on "Only the owner changes a version or a state", but a queue file is not protected the way a git merge is.
- The conflict: Morgen decided 2026-11-29 12:51 EST that he will provide the Telegraph token for Muse's usage here (recorded in MEMORY.md and in the plan's D-15). Claude's "keep the token off this VM" directly contradicts that decided handover. It is a legitimate alternative — and arguably a stronger security posture — but it is not the decided route, and adopting it would mean reversing a decision Morgen made an hour before these replies arrived.
- The hostname question ("deb, or tpad, or the Toughbook?") is unverified speculation on Claude's part: the publishing research established the token is on deb at
~/.config/babb-home/telegraph.env; no evidence in the record says it has moved. Do not treat the question as a fact. - Interaction with PR #25: babb-home PR #25 (open, unmerged) already implements the queue + owner-only-approval mechanism the plan describes. Adopting Claude's merge-as-approval would require reworking that PR's approval mechanism, not just its docs.
- The feed page: the proposed
stream/feed.xml(layout null, loop oversite.data.telegraph.postsfiltered to stream) is concrete and consistent with the research finding that/feed.xml(jekyll-feed, fromsite.posts) excludes Telegraph notes. Untested — no Liquid page has been built or rendered — but sound as a design.
What it would change in the plan (if adopted): D-15's token route becomes "no token on this VM; publisher runs only on the token-holding machine"; Phase 6's approval gate becomes merge-as-approval; R6 is removed rather than mitigated; the feed fallback ("Notes page is the feed") is dropped in favour of the built feed page. None of this is decided. Morgen would need to reverse his 12:51 EST token decision explicitly for any of it to move.
R1-7. Move D-08 (issues) to just after Phase 1
Amendment: Phase 5 holds back the issues "so the record describes a settled thing", but the 16 decisions in the plan are exactly what an issue tracker is for. Per AGENTS.md, repo-owned records are the authority, so issues in babbworks/stream fit. Do D-06 (new status) first so the labels exist, then file D-01 to D-16 as issues and run Phases 2–4 from them.
Verification — CHECKS OUT (ordering judgement, consistent with the plan's own gates). The plan's Phase 5 entry gate already says "none — this phase can start in parallel with Phases 2–4"; its placement in Phase 5 rests on a preference ("the plan prefers the kernel work to settle first"), not on a dependency. Filing the decisions as issues early is consistent with that gate and with the plan's own statement that repo-owned records are the authority. D-06 first (so status:new labels exist) is a correct sequencing detail.
What it would change in the plan: D-08 (and D-06/D-07) move to a new Phase 1b, immediately after the Lab backfill; Phases 2–4 then run from the issue list; Phase 5 keeps the freeze gates and artifact harmonization.
R1-8. D-12: name a cost you can measure now
Amendment: M4 ("honest total") can't be scored until the dependency accounting exists, and Phase 3 only starts that accounting. Define M4 concretely now — e.g. trusted lines of code + seed-text bytes + the number of declared trust assumptions — and report M1/M2/M5 against it from the first draft.
Verification — CHECKS OUT (proposal). The plan's D-12 recommends M4 with M1 as tie-breaker but never defines M4 measurably; Phase 3 "starts" the dependency accounting that would let M4 be scored. Claude's definition is concrete, computable from the first draft, and composed of things the plan already counts (trusted size is measured for both readers; seed-text bytes is M2; trust assumptions are the seed's declared premises). It does not change any decision, only makes D-12 operational from the start.
What it would change in the plan: D-12 gains the concrete M4 definition; Phase 3's dependency accounting becomes a measurement against that definition from the first seed draft, rather than a new accounting started from scratch.
Reply 2 — Docs review (8 points)
Claude read the three docs at ~/inbox/stream/ (on his machine): stream-128-positions.md, stream-genesis-from-nothing-to-something.md, stream-kernel-how-a-log-builds-itself.md. His summary of the design is accurate as far as it goes (two kernels — built v1 vs aspired unfolding; 128 positions as 7 stipulated axes; the stipulated/derived/interpreted discipline; masking as arithmetic; closure as positive Datalog). The eight points below are where he pushes.
R2-1. The 6-bit stored form fails on information content — two architectures
Amendment: The 6 stored bits are R(2) + D(1) + M(1) + phase(2), leaving only 16 type cells. With 51 + 35 = 86 named positions, telling them apart needs ⌈log₂ 86⌉ = 7 bits of type. The 3 missing bits can't be free; they have to come from the payload (roles plus the Register). L1, where the same stored bits carry different context bits, is exactly the pigeonhole witness. L2/L3 sharpen it: in the corpus, O ("self/other") does not track whether the actor is the recorder — the same actor is "self" for ACT and "other" for QUERY — it tracks the verb. So the corpus's F/S/O bits are verb-class labels, while the naming map says they are relations between the operands. The data and the names disagree. Two coherent architectures — pick one; either removes the dispute:
| A: F/S/O are type bits | B: F/S/O are views | |
|---|---|---|
| Stored type | Full 7-bit c + 2 phase bits (E2) | 4-bit cell (R, D, M) + 2 phase bits: honestly 6 bits |
| F/S/O | Stored, constant per verb | Computed at read time from roles: subject = recorder → self; object anchors the frame → frame; kind has a conserved unit → substance |
| "128 positions" | 128 types | 16 types × 8 contextual readings |
| Consequence | The 6-bit claim is dropped | The 6-bit claim becomes true, but the corpus verbs have to be re-read under the operand meanings, and some ZAKO verbs will split or merge |
Option B is the mathematically elegant one — it keeps the 6-bit claim and makes derive_context a well-posed function of roles rather than of the type field. The catch: v2 scored 6/75 because the corpus doesn't behave the operand way. Option A matches the data as it is.
Verification — CHECKS OUT (the argument; B's read-time computation is untested).
- The counting: 51 + 35 = 86 named positions; 2⁶ = 64 < 86 ≤ 128 = 2⁷, so ⌈log₂ 86⌉ = 7. Confirmed arithmetic.
- L1 as pigeonhole witness: confirmed verbatim in the v2 report (L1: identical stored bits, different context — "a proof, not a heuristic failure").
- L2/L3: confirmed verbatim (L2:
agent:claude-07is O=0 for ACT, O=1 for QUERY; L3:task-83is F=0 for AMEND, F=1 for ACT/QUERY/NOTE/ESTIMATE). The v2 report adds L5/L6 (the verb-proxy artefact), which sharpens the same point: kind-field presence implies F=0 and S=0 in this corpus because kind-carrying facts are definitional/log verbs. - Architecture B's cost: the re-reading it requires is real and untested. Under B, the corpus verbs as currently coded are wrong in the O bit (QUERY's
otheris the intended respondent, who is not named in any role of the fact — v2 report §3), so B cannot be a pure re-interpretation of the existing corpus; it needs corpus entries that name the respondent, or verbs split/merged. That work is not scoped anywhere yet. - Relation to R1-1: architecture A is E2; architecture B is a redefined E3 in which the 6 bits are honestly 6 bits and the context is genuinely derived. R2-1 and R1-1 agree that "6 bits + a verb table" is not a third option — R2-1 replaces it with a sharper fork.
What it would change in the plan: D-03 becomes the A-vs-B fork (not E1-vs-E2 vs "6 bits + verb table"); the plan gains the open question Claude asks at the end (see below); if B is chosen, the corpus re-reading becomes a named Phase 2/3 work item with its own cost.
The open question for Morgen (Claude's, endorsed here as the decision that picks between A and B): the naming map says O is an operand relation; the corpus behaves as if O is a verb class. Which is the intended meaning? That one answer picks between A and B, and with it most of D-03 and Q9.
R2-2. Direction is a separate axis in the encoding but not in meaning
Amendment: In the derivation table, step 2's into/out is used up building the four relations at step 4, and then step 5 adds into/out again. D1b gives D a different meaning for each relation (open/close, assert/withdraw, grant/revoke, incoming/outgoing) — so D only means something together with R. Practical consequence: a mask on D alone ("all into facts") is semantically meaningless across relations — the one place the "lens is arithmetic" claim fails. Masks on R×D are fine. Either document D-only lenses as invalid, or accept Option 9 (a named pair plus a mode), which makes the dependence explicit.
Verification — CHECKS OUT. D1b's per-relation meanings are in the plan's Q2 (note 19 §5). A D-only mask across relations therefore mixes four different meanings under one bit, which is exactly what Claude says. Within a single relation a D mask is fine, and R×D masks are fine — Claude says both, and both follow. This is a documentation fix (one paragraph in the derivation ledger / seed text), not a design change — unless it tips the D-01 choice toward Option 9, which is precisely what Option 9's named pair is for.
What it would change in the plan: a named line in the seed text / derivation ledger: "D-only lenses are invalid; direction is always read as R×D"; D-01's Option 9 case gains one more argument.
R2-3. The conservation claim mixes up type counts with quantities
Amendment: "+1 at one coordinate and −1 at its mirror (c XOR 1)" counts facts by type. Books conserve measures per (book, unit). Two legs can sit at mirrored coordinates and still not balance — e.g. 5 kg out and 3 kg in balance on type count but not on mass. The mirror is a useful consistency check (every out-leg should have an in-leg). It isn't conservation. That paragraph should say so before someone builds a check on it.
Verification — CHECKS OUT. The sentence is in stream-128-positions.md:181: "a to leg leaving one boundary and entering another is a +1 at one coordinate and a −1 at its mirror, and the total must sum to zero per book and unit." The +1/−1 are counts of legs at coordinates; the "total must sum to zero per book and unit" is about quantities. The paragraph runs the two together, and a reader could build a check on the mirror that passes while the Books don't balance (5 kg out, 3 kg in: two legs, mirror counts +1/−1, mass −2 kg). The fix is a wording correction in the 128-positions doc and anywhere the plan repeats the claim (the plan itself does not state the mirror claim in Q2/Q5 — it is in the positions doc, so the correction belongs there, with a note in the plan's Q5).
What it would change in the plan: one correction note in Q5 / the seed text: mirror = consistency check (every out-leg has an in-leg); conservation = measures per (book, unit), checked by the Books, not by the mirror.
R2-4. Fold efficiency: split state by its algebra
Amendment: Every query is currently a full fold, O(n). The four containers have different algebraic shapes: Books form an abelian group (deltas in ℤⁿ per (book, unit); summaries of segments combine associatively, so prefix sums or a Fenwick tree give the balance at any address in O(log n); a tree of segment sums can be checked against the existing "close commits by hash of the balance table"); Register and authority depend on order (positional reading), so they are sequential state machines — checkpoint them at every seal, keyed by the chain hash, so a query at address a costs O(a − last seal), and a checkpoint can be verified because it is tied to the chain value; C (the derived closure) stays disposable, as designed. The seal chain already gives content-addressed cut points; a state snapshot keyed by chain can be checked by anyone who replays that segment, so checkpoints cost no extra trust — a cache with a hash attached. Only the Books are commutative, which is why "a fold with a different mask" is fast for balances and slow for "who may record X at address a": two different query engines over one log.
Verification — CHECKS OUT (sound design; untested in this codebase). The algebraic claims are standard and match the v1 design as described: Books are deltas per (book, unit) — additive, commutative; Register/authority are positional (read under the declarations in force at an entry's position) — order-dependent; the seal chain is a hash chain, so a checkpoint keyed by chain value is verifiable by replay. No part of this has been implemented or measured in either reader; it is a design proposal for Phase 4's cost work, not a measured result. One phrase could not be verified on this VM: "close commits by hash of the balance table" — the exact wording was not found in the readers' comparison report; treat it as Claude's paraphrase of the v1 close rule, not as a quoted requirement.
What it would change in the plan: Phase 4's cost measurement gains a concrete design to test (prefix sums/Fenwick for Books, seal-keyed checkpoints for Register/authority); R4's mitigation becomes this split rather than the generic "incremental closure or memoisation".
R2-5. A vs B is a choice of evaluation strategy, not of semantics
Amendment: B is cheap because it walks a chain top-down, guided by the query; A is expensive because it materialises the whole closure bottom-up for every query. Branching delegation turns the delegation graph into a directed acyclic graph (DAG); walking up a DAG with a visited set is still O(V+E) per query, so B didn't have to restrict itself to forests to stay cheap. The standard bridge is goal-directed evaluation of A's own rules — the magic-sets transformation, or tabled top-down Datalog — keeping A's semantics (joins, branching, recursion) at roughly B's cost per query. That turns Phase 4's A-vs-B competition from "pick one" into "A's meaning, B's strategy", and it reduces risk R4. One more effect: retire makes the base facts shrink over time; positive rules guarantee termination for each snapshot, but keeping the closure up to date incrementally across a retire needs deletion-aware maintenance (DRed or counting) — name this in the seed text.
Verification — CHECKS OUT (standard results; the DAG claim is sound). Magic-sets and tabled top-down evaluation are the standard goal-directed forms of Datalog; applying them to A's rules preserves A's semantics by construction. Branching delegation does produce a DAG (delegations point from delegator to delegatee; a cycle would be a delegation loop, which the D3 2-cycle test shows is harmless in both readers — a cycle is possible in the graph, so strictly the walk is over a directed graph with a visited set, still O(V+E); the "DAG" label is loose but the cost bound holds either way). The retire point is new and correct: the plan's readers treat facts as monotonic, and a retire that removes a base fact breaks incremental closure maintenance unless DRed/counting is used — the plan does not currently name this anywhere. It belongs in the seed text as a stated constraint.
What it would change in the plan: Phase 4's competition gains a third outcome — "A's meaning, B's strategy" (goal-directed evaluation of A) — alongside "A wins" and "B wins"; the seed text gains a named note on retire and incremental maintenance; R4's mitigation is sharpened accordingly.
R2-6. Phase: "Forced" is the wrong grade
Amendment: Begin/end imply pairing (an interval needs a reference from end back to begin), and sample implies a series — those are constraints between entries, not a property of a single fact. Treat phase as a small temporal role with its own pairing rule, and grade it Strong (a stipulated design), not Forced. That also explains why 13 ZAKO verbs are phase variants rather than positions.
Verification — CHECKS OUT (judgement, consistent with the plan's own flagged tension). The plan's Q8 records that 13 ZAKO verbs are not positions at all (phase names/variants), and the derivation notes the tension between DIGEST's "phase ×4 (forced)" and note 06's "re-entry → time is interpretive". A pairing rule between entries (end refers back to begin) is a relation across facts, not a property of one fact, so "Forced" — which in the DIGEST grading means forced by the derivation — is the wrong grade for it. "Strong (a stipulated design)" fits the plan's own grading language.
What it would change in the plan: the derivation ledger's grade for the phase step changes from Forced to Strong, with the pairing rule written as a cross-entry constraint; the 13 phase-variant ZAKO verbs are explained by that rule rather than listed as an anomaly.
R2-7. Don't try to fill all 128
Amendment: "A claim of 128 usable types requires an inhabitant for each" puts pressure on the 42 open slots. A product code doesn't need every cell filled: the masking only needs the axes to mean something. Mark cells as invalid in the workbook where no behaviour earns them — the plan's own rule from note 19 §7. A sparsely filled 7-cube keeps every lens property. Filling cells to complete the grid is how labels get applied without being earned (risk R10).
Verification — CHECKS OUT. The plan's Q8 already cites note 19 §7 ("each split must earn its bit") and R10 already names the risk ("labels applied without being earned"). Claude's point is a restatement with a concrete mechanism (mark cells invalid in the workbook) rather than a new claim — and the mechanism is the right one, since the workbook is where supported cells are enumerated. No correction needed to the plan's substance; the workbook spec in Phase 3 should carry the "mark invalid" instruction explicitly.
What it would change in the plan: Phase 3's Stage A workbook gains the explicit instruction: unsupported cells are marked invalid, not left blank; R10's mitigation names the workbook marking.
R2-8. One consistency fix between Genesis and Books
Amendment: The plan's auto-created book has "opening balance zero". The Genesis discipline says a query before birth returns ⊥, not 0. Both can hold if the book's birth is a recorded fact, which the plan proposes: before birth the balance is ⊥, at birth it is 0. Write that rule into the seed so the two docs don't contradict each other.
Verification — CHECKS OUT. The Genesis discipline is confirmed in stream-genesis-from-nothing-to-something.md:51: "a query before an enclosure's birth returns undefined (⊥), 'not outside' — its absent pre-birth state is never treated as zero." The plan's Q5 proposes "opening balance zero" for an auto-created book, and in the same paragraph requires "the book's birth must be a recorded fact, not a fold side effect". Claude's rule (⊥ before birth, 0 at birth) is exactly the combination of those two, and it resolves a real contradiction between the plan's Q5 and the Genesis doc. The fix is one rule in the seed text.
What it would change in the plan: Q5 / the seed text gains the rule: "a book's balance before its recorded birth is ⊥; at birth it is 0."
The decision session (Reply 1's table, reproduced)
| Decide now (cheap, reversible) | Needs the 2×2 run | Leave gated |
|---|---|---|
| D-16 backfill, D-13 as 3a, D-14 CLI, D-09 (X06 reject), D-06/D-07, D-08 moved up, D-03 → E2 or E1+table | D-01 (conditional on ACT end) | D-10, D-04 implementation, Rust go/no-go, D-15 token (avoided by point 6) |
Updates from owner decisions 2026-11-29 13:44 EST (see the section at the end of this file): D-11 is now decided — book key (boundary, kind) with the canonical-unit rule and non-canonical-unit refusal, approved by Morgen; it no longer sits in the "decide now" column as an open item. D-03 remains undecided, but a third reading is now on the record as PROPOSED: the construction-order reading (verb table applied after the fact, because the seed + established math determine the tables and addresses procedurally). It does not replace the E2 vs E1+table choice in the table above; it reframes what the choice is about, and the construction-order test (~/workspace/stream-unfolding-work/construction-order-test.md) is the evidence that would settle it. The mirror check is approved as a consistency check (R2-3), not as conservation.
Notes on the table, from verification: "D-15 token (avoided by point 6)" in the right-hand column is not the decided position — Morgen decided the token handover on 2026-11-29 12:51 EST, and R1-6 is an open alternative to that decision, not a replacement for it. "D-13 as 3a" is the R1-2 split, which checks out. "D-09 (X06 reject)" matches the plan's own recommendation already; deciding it now costs nothing new.
What Claude asked for
Reply 1 ends by asking whether to write these amendments into the plan file or publish them as a page to mark up section by section. Neither has been done. This appendix is the record; the plan file is untouched. The choice — amend the plan file, or publish a markup page — is Morgen's.
Reply 2 ends by asking whether to draft point 1 (the type-bits vs views note) as a short design document for the Lab. That draft has been written as a separate file (see the accompanying report): the staged Lab's notes/type-bits-vs-views.md — placed in notes/, not files/, per the Lab's AGENTS.md ("Change files in the working folder, never in files/"; design docs live in notes/). Marked DRAFT — UNDECIDED.
Verification summary (one line each)
- R1-1 (D-03 = E1 vs E2; line-176 bug): CHECKS OUT — L1/L4 verbatim; the line-176 "Stages A–C have passed" sentence is a genuine bug.
- R1-2 (seed split 3a/3b, start now): CHECKS OUT — the plan's cheapest approval already breaks its own Phase 3 entry gate.
- R1-3 (2×2 grid; 1-bit projection header): CHECKS OUT — conditional D-01 is the honest form; the projection fits Draft v0.1 structurally, bit-budget check still needed.
- R1-4 (
open()replay; semi-naive before Phase 4): CHECKS OUT — same structural hole as Q6; the extension beyond genesis-only needs its own decision. - R1-5 (Books key (boundary, kind), canonical unit): CHECKS OUT — keeps the BKL-05 protection, removes the split-book failure mode; refusal semantics still open.
- R1-6 (publishing gate bypassable; merge-as-approval; token off VM): PARTIALLY — the bypass is real, but the proposal contradicts Morgen's decided token handover (2026-11-29 12:51 EST); recorded as an open alternative, NOT adopted. The feed page design is sound, untested.
- R1-7 (D-08 right after Phase 1): CHECKS OUT — consistent with Phase 5's own "can start in parallel" entry gate.
- R1-8 (define M4 concretely now): CHECKS OUT — makes D-12 measurable from the first draft.
- R2-1 (information content; architectures A vs B): CHECKS OUT — 86 needs 7 bits; L1–L3 verbatim; B's read-time computation is untested and needs corpus entries naming the respondent.
- R2-2 (D-only lenses invalid): CHECKS OUT — follows from D1b's per-relation meanings; a documentation fix.
- R2-3 (mirror is a consistency check, not conservation): CHECKS OUT — the sentence is at
stream-128-positions.md:181; 5 kg out / 3 kg in is the witness. - R2-4 (fold efficiency by algebra): CHECKS OUT — sound design, untested in this codebase; the "close commits by hash" phrase could not be verified verbatim.
- R2-5 (A vs B = evaluation strategy; retire needs DRed/counting): CHECKS OUT — standard results; the "DAG" label is loose (a cycle is possible; the O(V+E) bound holds either way); the retire point is new and correct.
- R2-6 (phase grade Strong, not Forced): CHECKS OUT — consistent with the plan's own flagged tension (note 06).
- R2-7 (don't fill all 128; mark cells invalid): CHECKS OUT — restates the plan's own note 19 §7 rule with a concrete mechanism.
- R2-8 (⊥ before birth, 0 at birth): CHECKS OUT — resolves a real contradiction between Q5 and the Genesis doc (line 51).
Owner decisions 2026-11-29 13:44 EST
Morgen's own words, paraphrased closely: something simple is being missed again and again. If the seed is the minimal needed to make the first mark and logs and build out according to established math, then we know what the resulting tables will be and their addresses (codings) — so it is just a procedural question of applying the verb table after the fact, since we know which sequence of established addresses belongs to which verb. Recorded here as three items: two approvals, one proposal.
(i) Books key (boundary, kind) — APPROVED
D-11 is now decided: the book key is (boundary, kind), with the canonical-unit rule from R1-5 — each kind declares its canonical unit, and a to leg with a non-canonical unit is refused. This is the book-explosion prevention: the key can no longer split one quantity into separate books because two entries spell its unit differently (steel in kg vs t), and it still stops different quantities sharing a unit from being summed (steel vs aluminium, both kg — BKL-05). Two points stay open and are not decided by this approval: where the canonical unit per kind is declared (the kind-definition table, presumably — that table is already a v2 input) and what "refused" means for a leg that arrives with a non-canonical unit (admission refusal vs fold refusal). Minimal Books excludes conversions, so the refusal costs nothing.
(ii) Mirror check — APPROVED as a consistency check
The mirror check is approved — with its meaning fixed as R2-3 states it: it is a consistency check, not conservation. The mirror (c XOR 1) counts facts by type: every out-leg should have an in-leg at its mirror coordinate. Books conserve measures per (book, unit); two legs at mirrored coordinates can still fail to balance (5 kg out and 3 kg in balance on type count but not on mass). The paragraph at stream-128-positions.md:181 should say so before anyone builds a check on it. Approval of the check is approval of the check as a consistency check.
(iii) The seed / verb-table-after-the-fact reading — PROPOSED, NOT DECIDED
Morgen's reading: the seed is the minimal needed to make the first mark and logs and build out according to established math. The construction is deterministic — mark → cross → call → combine → … — so the resulting tables and their addresses (codings) are known by construction, and the verb table is applied after the fact: we know which sequence of established addresses belongs to which verb. Under this reading the address→verb mapping is not looked up per record from a table stored alongside the bits; it is known because the construction that produced the record is known.
The honest caveat, stated precisely. This reframes Stage C rather than passing it as specified. What Stage C and v2 tested was per-record derivation: given the 6 stored bits plus kind, roles, and log frame, recover FSO — and v2 recovers 6/75, with lemmas L1 (stored bits alone cannot determine context: two stored-6 groups carry mixed FSO) and L4 (FSO constant per verb, 13/13) showing the verb is the only input that varies exactly as FSO varies. The construction-order reading does not dispute L1 or L4; it changes what is being derived from. It works only if:
- The reader replays the same construction deterministically — the address is a function of construction history, not of the 6 stored bits alone. A reader that receives only the 6 bits (plus kind and roles) cannot recover the address→verb mapping without the construction; a reader that replays the seed's construction can.
- It holds only for entries produced by the canonical construction. For an entry that arrives from outside that construction — a foreign log, a hand-written entry, a migrated v1 entry — the address carries no construction history, and the mapping does not hold.
- The verb table itself must still be part of the trusted, versioned seed package — agreed, not stored per record. The lookup is not eliminated; it is relocated from per-record storage to the seed package. Whether that rescues the 6-bit claim or just relocates the lookup is exactly what the test in Task 2 must settle (see
~/workspace/stream-unfolding-work/construction-order-test.md).
Status: PROPOSED. D-03 remains undecided. The construction-order reading is a third way of seeing the A/B fork in the type-bits-vs-views draft — neither "F/S/O are type bits" (A) nor "F/S/O are views computed at read time" (B), but "the mapping is known because the construction is deterministic". It does not yet decide between A and B, and it does not change the 2026-11-29 13:43 EST decision to keep both readings until the corpus is re-read. The corpus re-read (see Task 2's discriminating cases) is the evidence that would discriminate it.
construction-order-test.md — Status: Test design, untested. Written 2026-11-29 from Morgen's 13:44 EST reading of the seed. Nothing here is decided; D-03 remains undecided.
The construction-order test: does the verb table apply after the fact?
Status: Test design, untested. Written 2026-11-29 from Morgen's 13:44 EST reading of the seed. Nothing here is decided; D-03 remains undecided.
1. The claim, stated precisely
Claim (Morgen, 2026-11-29 ~13:44 EST): If the seed is the minimal needed to make the first mark and logs and build out according to established math, then we know what the resulting tables will be and their addresses (codings). The verb table is therefore applied after the fact: we know which sequence of established addresses belongs to which verb, because the construction that produced the record is deterministic.
In symbols: let C be the canonical construction (mark → cross → call → combine → … as graded in DIGEST steps 1–13), let A = C(seed) be the address sequence it generates, and let T be the verb table (address → verb, with the F/S/O context the verb carries). The claim is that for every entry e produced by C, the context bits FSO(e) are recovered by T[A(e)] — where A(e) is the address the construction assigns to e — without consulting the 6 stored bits, the kind table, or the roles. The 6 stored bits (R 2, D 1, M 1, phase 2) remain the wire spelling; the context comes from the construction, not from the bits.
What the claim is not: it is not the v2 claim. v2 tested per-record derivation — given the 6 stored bits plus kind, roles, and log frame, recover FSO — and recovered 6/75, refusing on 69, wrong on 0, with lemmas L1 (stored bits alone cannot determine context: two stored-6 groups carry mixed FSO) and L4 (FSO constant per verb, 13/13). The construction-order claim does not dispute L1 or L4. It changes the input: the derivation is from construction history, not from the record's bits. L1 says the bits alone underdetermine context; the claim agrees and says the bits were never the input — the construction was.
2. Procedure
- Fix the construction. Write down
Cas an executable procedure: the seed text's §1–§11 operations in order, with the DIGEST derivation steps (1 mark → 2; 2 cross/direction → 2; 3 call/assertion → 2; 4 combine → 4 relations; 5 cross → 8 acts; 6 call fact/possible → 16; 7 re-enter frame/world → 32; 8 sign/substance → 64; 9 self/other → 128; 10 phase ×4; 11 +5 crossing kinds; 12 four roles; 13 kind trees), each step producing its table and addresses. The construction must be deterministic: same seed, same address sequence, every run. If any step admits a choice (e.g. which name a slot gets, which order two independent doublings are applied in), the choice must be fixed in the seed text before the test runs — an unfixed choice is a free parameter, and the test fails on it. - Generate the address sequence. Run
Cfrom the seed and recordA: the full ordered list of (address, verb, FSO) triples it produces. This is the verb tableT, generated, not asserted. - Replay the corpus. Take the 75-entry corpus (
docs/kernel-model/test/corpus.json). For each entry, determine its address by replaying the construction — i.e. by finding the entry's position in the construction's own generation order, not by reading its stored bits. Then applyTand compare the recovered FSO against the corpus's recorded FSO. - Score. Count exact matches over all three context bits per entry, exactly as v2 scored (correct / ambiguous / wrong). The corpus covers only 13 verbs/positions, so a pass is evidence about those 13, not proof about all 128 — the same scope limit v2 carried.
Pass: 75/75 exact FSO recovery via construction replay, with zero ambiguous and zero wrong, and the construction's determinism demonstrated (two independent runs of C from the same seed produce byte-identical address sequences).
Fail: any wrong recovery, or any entry whose address cannot be determined by replay, or any non-determinism in C (two runs diverge), or any entry that needs a per-record input (kind, roles, frame anchor) beyond the construction to be placed.
How it differs from the v2 test: v2 asked "can the bits + kind + roles + frame determine context for this record, standing alone?" The construction-order test asks "can the reader, replaying the seed's construction, determine context for this entry from its place in the generation order?" v2 is a per-record function; this is a whole-log replay. v2's inputs are all present in or beside the record; this test's input is the reader's own replay of history. That is why the two tests can give different answers without contradicting each other — and why a pass here does not retroactively pass Stage C as specified.
3. Discriminating cases
Two cases decide whether the reading is real or a relabelling of the lookup:
(a) An entry whose address is reached by two different construction paths. If the construction can generate the same address by two different routes (e.g. two different doubling orders landing on the same coordinate, or a slot reached both as a phase variant and as a position), then the address alone does not identify the verb — the mapping is one-to-many, and the reader needs the path, not just the address. Find such a collision by enumerating C's generation graph: if any address has in-degree > 1 in the generation order, the claim fails in its strong form (address → verb) and survives only in a weaker form (path → verb), which requires the reader to store or recompute the path — a new cost that must be named. If no collision exists, the strong form survives this case.
(b) An entry not produced by the canonical construction. Take a real entry that did not come out of C: a migrated v1 log entry (E1 byte, no construction history), a hand-written entry, or a foreign log's entry. Run the test on it. The claim predicts it cannot be placed by construction replay — its address carries no construction history. That is a pass of the prediction (the claim is honest about its scope) but a fail of the system if such entries must be readable: it means the unfolding kernel can only read logs it built itself, and every foreign or migrated entry needs a separate admission path (which is Stage H's problem, now sharpened: migration is not just a byte conversion, it is a construction-history problem). If instead the entry can be placed, say how — that would mean the address carries the mapping after all, which would be evidence for architecture A (type bits), not for construction order.
4. What a pass would imply for D-03
A pass would mean: the verb table becomes seed-derived, not stored per record. The reader holds the seed package (seed text + construction + generated table, versioned and hashed), replays the construction, and reads context from the replay. The 6 stored bits stay the wire spelling; the context is recovered from the replay, not from the bits.
Does that rescue the 6-bit claim, or just relocate the lookup? It relocates it — and whether that counts as a rescue depends on what the 6-bit claim was claiming. If the claim was "six stored bits per record suffice, with no other trusted input", a pass does not rescue it: the reader now trusts the whole seed package and the replay, which is a larger trusted input than a verb table, not a smaller one. The no-label-lookup constraint still has to go, because the replay is a lookup — into a generated table rather than a stored one. If the claim was the weaker "six stored bits per record suffice, given the agreed seed package", a pass does rescue it: the per-record cost stays 6 bits, and the lookup lives in the seed package where the seed text already lives. The honest statement after a pass would be: "6 bits + the seed package" — and D-03's decision would be between that and E2 (full coordinate stored), with the difference now being where the lookup lives (seed package vs record), not whether one exists.
What a fail would imply: if the test fails — wrong recovery, ambiguous placement, a path collision, or non-determinism in C — the construction-order reading is out, and D-03 is back to the E2 vs E1+table choice from R1-1, with the verb table stored per record (E1) or the full coordinate stored (E2). A fail on case (b) alone (foreign entries unplaceable) would not kill the reading, but would bound it: the kernel reads only its own construction, and Stage H (migration) becomes a first-class design problem rather than a byte conversion.
Appendix: Books and quick lookups
Question (Morgen, 2026-11-29 ~13:44 EST): Books hold balances — so do they enable quick lookups?
Answer: yes — with a precondition. Fast lookup is a design commitment, not automatic.
The mechanism, checked against Claude's R2-4: Books form an abelian group — deltas in ℤⁿ per (book, unit). Because addition is associative and commutative, summaries of segments combine: prefix sums or a Fenwick tree give the balance at any address in O(log n), and a tree of segment sums can be checked against the existing "close commits by hash of the balance table". Register and authority are different: they depend on order (positional reading), so they are sequential state machines — checkpoint them at every seal, keyed by the chain hash, and a query at address a costs O(a − last seal). A checkpoint can be verified because it is tied to the chain value; the seal chain already gives content-addressed cut points, so checkpoints are a cache with a hash attached — they cost no extra trust.
The caveat, plainly: v1 as built recomputes by folding the whole log — every query is O(n). Nothing in v1 gives you O(log n) balances today. The fast lookup exists only if segment summaries and checkpoints exist and are verified against the seal chain; building them is real work (Phase 4's job, alongside the semi-naive evaluation for Reader A). Until they exist, "Books hold balances" means "balances are derivable by folding", not "balances are look-up-able".
Two different query engines over one log — the concrete query shapes:
| Query | Engine | Cost (once summaries exist) |
|---|---|---|
Balance of book (boundary, kind) at address a | Books (abelian group, prefix sums / Fenwick / segment-sum tree) | O(log n) |
| Balance of a single book across a range | Books, same | O(log n) |
Who may record X at address a | Register + authority (sequential, checkpoint at last seal, replay forward) | O(a − last seal) |
Does delegation chain D admit move M at address a | Reader A (closure) or B (forest walk), over the checkpointed state | A: closure cost on the segment; B: walk cost |
Full state at address a (all four containers) | Fold from the nearest checkpoint | O(a − last checkpoint) |
Only the Books are commutative — that is why "a fold with a different mask" is fast for balances and slow for "who may record X at address a". Treat them as two different query engines over one log, and do not promise fast lookups for the second kind on the strength of the first.
landing.md — STREAM claims a small fixed reader can learn its vocabulary from the
Landing: the unfolding kernel
Start here
STREAM claims a small fixed reader can learn its vocabulary from the record — proposal, check, activation — and that six stored bits can recover the full 128-position context of an entry. This Lab tests both claims against a real 75-entry corpus, honestly, and reports what fails.
Read this first if you are new: the question is the whole Lab. Everything in it is an attempt to answer it, and the answer is mostly "not as claimed" — which is the useful result.
What we found
- Full position: 75/75. Every corpus entry decodes to its position.
- Round-trip: 74/75. The one exception is conformance case 04, non-canonical by design, not a failure.
- Context derivation is NOT runnable. There is no
derive_contextfunction. The best candidate recovers 6 of 75 contexts. The stored form is really "6 bits + a verb table" — the no-label-lookup constraint has to go if the 6-bit claim is kept. Do not freeze the 6-bit wire form. - Two readers, one separation. Reader A (finite relational closure) admits a second delegator; Reader B (forest traversal) refuses it. On forest-shaped data they agree everywhere; recursive branching delegation is the discriminator.
- Direction has no uniform meaning. No candidate passes all five observables. Per-relation D1b and Option 9 (2-bit mode) both score 4/5, failing on different evidence. The corpus and the v0.1 preset genuinely disagree on the ACT end — that is left undecided, both readings kept.
- Decisions recorded here: F/S/O meaning undecided (both readings kept until the corpus is re-read); Books key is (boundary, kind), approved; the mirror check is a consistency check, not conservation.
A path through the Lab
- Stage C report (10 minutes) — the headline numbers and the one honest failure. Start here.
- derive_context v2 — why context recovery scores 6/75, and the four lemmas that say why. The code and its run table are beside the report.
- Readers A/B and the discriminator — the two reader designs, the comparison, and the 14-probe test that separates them.
- Direction bit + Option 9 — the five observables, the candidates, and why 4/5 is the ceiling.
- Decisions from chat — what the owner decided, what is proposed, what stays open.
Exhibits — open these first
- Stage C report + table (
evidence/STAGE-C-REPORT.md,evidence/stage-c-table.csv) — the numbers, and the run that produced them. - derive_context v2 (
evidence/stage-d/DERIVE-CONTEXT-V2-REPORT.md,derive_context.py) — the failing test, run honestly. - Readers (
evidence/stage-d/READERS-COMPARISON.md,READERS-DISCRIMINATOR-REPORT.md) — A vs B, and the probe that separates them. - Direction (
evidence/stage-d/DIRECTION-BIT-REPORT.md,OPTION9-REPORT.md) — the 4/5 ceiling, twice.
This Lab has no interactive HTML artifacts of its own. Its exhibits are the reports. The interactive pages from the same exploration live beside it on the site: the 128-positions explorer, the Genesis narrative, and the kernel companion — linked from the landing page.
Where this touches the standard
See standard-footprint.md in this folder: the Lab tests the standard's own question relations-and-matrix-can-the-stored-bits-recover-the-context verbatim, and tests relations-and-matrix-earn, unfolding-kernel-finite-closure, unfolding-kernel-supplied, while using the Books and the kernel identity.
standard-footprint.md — How this Lab relates to the STREAM standard. Each row names a modular
Standard footprint: the unfolding kernel
How this Lab relates to the STREAM standard. Each row names a modular element of the standard (design/register/elements.csv) and the relation the Lab bears to it — what the Lab did to the element, not just that it is "about" it. Section rows come from the Lab's recorded engages; element rows are stated here.
Section rows (from engages)
- tests
unfolding-kernel— Stage C and Stage D run against this section's claim that a seed acquires vocabulary. - tests
relations-and-matrix— the 128 positions are the thing under test: can six stored bits recover them? - uses
kernel-identity— the Lab relies on the kernel's identity hash and the section's core rules. - uses
the-books— Books conservation is checked identical in Stage C.
Element rows
- tests
relations-and-matrix-can-the-stored-bits-recover-the-context— the Lab's question, verbatim as a standard question. Answer: not as specified; best candidate 6/75. - tests
relations-and-matrix-earn— "every bit must earn its place". Stage C and derive_context v2 are the earning test for F/S/O: the bits do not earn their context without the verb table. - tests
unfolding-kernel-finite-closure— Reader A is the finite closure; the discriminator shows where it separates from the forest reader. - tests
unfolding-kernel-supplied— "what the reader must be given". derive_context v2 names the three inputs: kind table, owner boundary, frame anchor. - uses
the-books-book-rules— the five rules of the Books, checked identical across the corpus in Stage C. - uses
kernel-identity-identity— the kernel identity the Lab's runs are sealed under.
File and Lab rows (from engages)
- tests
file:docs/kernel-model/test/corpus.json— the 75-entry corpus the Lab ran. - uses
lab:2026-11-28-mark-boundary-peers8862— the mark-boundary experiment this Lab builds on.
type-bits-vs-views.md — Status: DRAFT — UNDECIDED. A design note for Lab
Type bits vs views: what the six stored bits can and cannot carry
Status: DRAFT — UNDECIDED. A design note for Lab 2026-11-29-unfolding-kernel-muse, written 2026-11-29 from Claude's review of the work plan and the three design docs. Nothing here is decided. It records a fork that D-03 must resolve, and the open question that picks between the two branches.
Owner decision, 2026-11-29 13:43 EST: Morgen decided to keep both readings (operand relation / architecture B, and verb class / architecture A) until the corpus is re-read. Neither branch is adopted; the re-read is the next evidence.
The question
The unfolding kernel proposes six stored bits per fact — relation 2, direction 1, modality 1, phase 2 — with the three context bits (frame/world, sign/substance, self/other) derived from the kind, the roles, and the log frame by derive_context(...). Can six stored bits recover the full 128-position context?
The information-content argument
The six stored bits are R(2) + D(1) + M(1) + phase(2). They leave 16 type cells. The corpus and the naming map together name 86 positions (51 ZAKO verbs at positions + 35 proposed names). Telling 86 things apart needs ⌈log₂ 86⌉ = 7 bits of type (2⁶ = 64 < 86 ≤ 128 = 2⁷). The 3 missing bits cannot be free: they have to come from somewhere else in the record — the payload (roles plus the Register) — or they have to be stored.
This is not a testing failure. It is a counting failure, and the tests are the witness to it.
The evidence (all computed by the harness, not asserted)
- L1 — the pigeonhole witness. Two stored-6 groups carry mixed context:
(is,0,0,instant)→{000 CREATE, 101 NOTE}and(to,1,0,instant)→{001 ACK, 111 PAY}. Identical stored bits, different context. Stored bits alone cannot determine context. (derive_contextv2 report, §3.) - L2 — the same actor, different O. Actor
agent:claude-07is O=0 (self) for ACT and O=1 (other) for QUERY. No owner-boundary rule over the actor can get both right. - L3 — the same object, different F. Object
task-83is F=0 (frame) for AMEND and F=1 (world) for ACT, QUERY, NOTE, ESTIMATE. No frame-anchor rule over the object can get both right. - L4 — FSO is constant per verb, 13/13 verbs. The verb is the only input that varies exactly as FSO varies.
- L5/L6 — the verb-proxy artefact. Kind-field presence implies F=0 and S=0 in this corpus (42/42), because kind-carrying facts are all definitional/log verbs. The kind table has no demonstrated ability to say "world" or "substance".
And the sharpest instance: QUERY's other is the intended respondent, who is not named in any role of the fact. The corpus does not carry the principal whose membership would decide O.
The consequence of L2/L3 together: in the corpus as it stands, F/S/O behave as verb-class labels, while the naming map says they are relations between the operands. The data and the names disagree. Any architecture has to pick a side; pretending both is what produced the 6/75 score.
The two architectures
| A: F/S/O are type bits | B: F/S/O are views | |
|---|---|---|
| Stored type | Full 7-bit coordinate c + 2 phase bits (E2) | 4-bit cell (R, D, M) + 2 phase bits: honestly 6 bits |
| F/S/O | Stored, constant per verb | Computed at read time from roles: subject = recorder → self; object anchors the frame → frame; kind has a conserved unit → substance |
| "128 positions" | 128 types | 16 types × 8 contextual readings |
| Consequence | The 6-bit claim is dropped | The 6-bit claim becomes true, but the corpus verbs have to be re-read under the operand meanings, and some ZAKO verbs will split or merge |
- A matches the data as it is. It is E2 as the stored form: the full coordinate, no derivation needed, no ambiguity possible. What it gives up is the compactness claim — 7 bits + 2 phase bits = 9 bits on the wire (or a packed form), and the "six stored bits" sentence in the design docs is withdrawn.
- B is the mathematically elegant one. It keeps the 6-bit claim and makes
derive_contexta well-posed function of roles rather than of the type field. What it costs is a re-reading of the corpus: the verbs as currently coded do not behave the operand way (v2 scored 6/75 for exactly this reason), so entries must be re-read — and where the operand reading distinguishes two cases the corpus currently codes as one verb, the verb splits; where it merges two cases, the verb merges. B also needs corpus entries that name the respondent for QUERY-like facts, since no role currently carries that principal.
What discriminates them
The discriminating facts are the ones v2 already found:
- A verb whose O bit changes with the operand, not the verb. Under A, O is constant per verb (L4 holds by construction); under B, the same verb with a different subject/object can flip O. The corpus has no such entry today — every verb in it is single-valued in FSO. Finding or constructing one is the test.
- A fact whose respondent is named. Under B, QUERY's
othermust be decidable from the roles; today the respondent is unnamed, so B cannot even be run on the existing QUERY entries without new data. - A split/merge candidate. Under B, two ZAKO verbs that differ only in a context bit and share all operand relations should merge; one verb whose operand relations differ across entries should split. The workbook (Stage A) is where those candidates are listed, one family at a time.
Until at least (1) exists, B is an elegant hypothesis about a corpus that does not yet behave that way, and A is the description of the corpus that exists.
The open question (for Morgen)
The naming map says O is an operand relation. The corpus behaves as if O is a verb class. Which is the intended meaning?
That one answer picks between A and B — and with it most of D-03 (the stored form) and Q9 (the three type encodings). It is not a question the Lab can answer from the data, because the data is the thing in dispute.
A third way of seeing the fork: construction order — PROPOSED, NOT DECIDED
Morgen, 2026-11-29 ~13:44 EST: something simple is being missed. If the seed is the minimal needed to make the first mark and logs and build out according to established math, then we know what the resulting tables will be and their addresses (codings) — so it is just a procedural question of applying the verb table after the fact, since we know which sequence of established addresses belongs to which verb.
Under this reading the fork is not A ("F/S/O are type bits, stored") versus B ("F/S/O are views, computed at read time"). It is a third position: the mapping is known because the construction is deterministic. The seed's construction — mark → cross → call → combine → … — produces the tables and their addresses by a fixed procedure, so the address→verb mapping is known by construction, and the verb table is applied after the fact rather than looked up per record.
The caveat, stated precisely: this reframes Stage C rather than passing it as specified. The address is a function of construction history, not of the 6 stored bits alone — so it works only if the reader replays the same construction deterministically, and only for entries produced by the canonical construction. An entry that arrives from outside that construction (a foreign log, a hand-written entry, a migrated v1 entry) carries no construction history, and the mapping does not hold for it. And the verb table itself must still be part of the trusted, versioned seed package — agreed, not stored per record. The lookup is relocated, not eliminated; whether that rescues the 6-bit claim or just moves it is what the construction-order test must settle (see ~/workspace/stream-unfolding-work/construction-order-test.md).
Status: PROPOSED. D-03 remains undecided, and the 13:43 EST decision to keep both readings until the corpus is re-read stands. The corpus re-read — in particular the discriminating cases in the test doc — is the evidence that would discriminate this reading from A and B.
What is untested
- Architecture B's read-time computation has never been run: no
derive_contextvariant computes F/S/O from roles, and v2's 6/75 is a score for the type-field derivation, not for B. - Architecture A's cost is known only in the abstract: storing the full coordinate is 9 bits per fact; no wire form, no migration story, and no measurement against the 5 MB Lab limit or the bitpack header exists yet.
- The 42 open slots are untouched by this fork: under A they are 42 unfilled types; under B they are 42 unfilled type×reading combinations. Either way, no slot is filled until its behaviour is demonstrated (note 19 §7).
Engages
| Reference | How |
|---|---|
section:unfolding-kernel | tests |
section:relations-and-matrix | tests |
section:kernel-identity | uses |
section:the-books | changes |
file:docs/kernel-model/test/corpus.json | tests |
lab:2026-11-28-mark-boundary-peers8862 | uses |
Decisions from chat
Recorded 2026-11-30 from the chat record. No transcripts are filed in a Lab; this note is the record of what was decided, when, and by whom. Only the owner (Morgen) decides; Muse records.
| Date (EST) | Decision | Decided by | Status |
|---|---|---|---|
| 2026-11-29 ~03:19 | Lab approved: base main 5d18970, kind changes, author muse; question as in lab.json | Morgen | Done; Lab created (base came out ccecd0d — see base question below) |
| 2026-11-29 ~10:09 | ACT end deliberately UNDECIDED — corpus says D=0 (IN pair), v0.1 preset says direction 1 (TO flow); keep both readings, fix neither | Morgen | Open |
| 2026-11-29 ~13:43 | F/S/O meaning UNDECIDED — keep BOTH readings (operand relation vs verb class) until the corpus is re-read | Morgen | Open |
| 2026-11-29 ~13:44 | Books key (boundary, kind) APPROVED, with the canonical-unit rule as book-explosion prevention; two open points: where the canonical unit is declared; what "refused" means | Morgen | Approved; two points open |
| 2026-11-29 ~13:44 | Mirror check APPROVED as a consistency check, not conservation | Morgen | Approved |
| 2026-11-29 ~13:44 | Construction-order / seed-verb-table-after-the-fact reading PROPOSED, not decided — relocates the D-03 objection into the trusted versioned seed package; holds only for entries the canonical construction produced | Morgen (stated as "something simple is being missed again and again") | Proposed |
| 2026-11-29 ~14:30 | Lab HOLD LOCAL; decide the base with the next batch of work (approved 5d18970 vs created ccecd0d) | Morgen | Open — still the blocking base question |
| 2026-11-29 13:29 | Claude's 16 amendments to the work plan recorded as PROPOSED, not decided (15 check out, 1 partially — R1-6, the merge-as-approval / token-off-VM alternative, contradicts the decided token handover and is NOT adopted) | Morgen (pasted from Claude) | Proposed |
| 2026-11-30 | Amendments + construction-order test restored to THIS Lab (their original home) after the /tmp wipe; not filed twice | Muse (restoration) | Done 2026-11-30 |
Open items carried by this Lab
- D-01 direction (D1b vs Option 9 vs others); D-03 stored form (E1 vs E2 vs construction-order reading); the 6-bit claim (derive_context v2: 6/75 — the stored form is really "6 bits + a verb table"); the base question above; Stage H (kernel-model migration); the seed text (E + Stage A).