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

BabbTools for the frontier.

mascot mascot

Making

02 · Model map and repository relationship

Created by: OpenAI Codex

Source: docs/creation/review/02-model-map-and-repository.md

Vocabulary map

Paper termIntended meaning in this paperRelationship to current repo vocabulary
KernelSmall fixed reader logic, completed by folding segment 0Changes the current descriptor-hash kernel; new model is explicitly not yet in Rust
SeedPublic text + vectors that a reader implementsNot represented as such in current spec/
Segment 0Data/rules that complete the kernel, then self-checkCurrent logs begin with a preamble and OPEN/genesis semantics; no such unfolding segment described in current descriptor
FactRelation + direction + optional subject/object/kind/measure roles, modality and phaseCurrent implementation centers on an Entry with time/type/object/canonical JSON payload
EntryBundle of main and attached facts at one moment by a recorderCurrent entry is one verb/phase, object and JSON payload; multi-fact bundle is a proposed change
in / is / may / toRelation axes routed to structure/Register/authority/BooksCurrent verb set has related concepts, but these four relation containers are the paper's new organizing model
6-bit typerelation(2)+direction(1)+modality(1)+phase(2)Current type byte is 6-bit verb code + 2-bit phase
128-position mapThree contextual bits derived, used for labels/policyNot current type representation; derivability is unproven in paper
Head letterPresence of roles, more-facts flag, full/row modeNo corresponding current JSON-line control character
Header runCompact shared context and rows that expand to canonical full entriesRelated in goal to existing run-form codec, but different syntax and expansion model
Register / BooksFolds of is / to factsCurrent code has Register and Books modules, but those are driven by current verbs and payloads
PacksHashed sets of declarations adopted by logCurrent repo has hashed pack files/BIND adoption, though paper broadens categories and semantics
LoomDeclarative interface language packCurrent web/ has UI; docs mention Loom as design, not in listed crates

What the checked-out repository actually says

The checkout is /home/mp/make/stream, branch claude/stream-logging-handover-5juejo, tracking the same-named origin branch and reported two commits behind. Worktree was clean when reviewed. I did not fetch or switch branches.

The root README identifies the current kernel hash as fed5b36e80bad10c0545aa82ad5996175cebeb56e0af166162ddb5ff0c09202b. spec/kernel.descriptor defines a STREAM/1 preamble; time/type/object/canonical JSON entry grammar; integer-only canonical JSON numbers and decimal strings for quantities; a one-byte type consisting of 6-bit verb plus 2-bit phase; 64 named verbs; eight bootstrap verbs; and append-only, authority and in-force-declaration rules. This is the implementation the paper calls v1.

The README lists Rust crates for kernel, log, Books, codec, CLI and wasm, with conformance cases and two packs. It describes current implementation decisions such as unique verb names, four logical entry fields, JSON payloads, ACK refusals and implied postings. It also lists current limits: one writer per log directory, full Register/index in memory, and Close verification by recomputation from log start.

docs/creation/HANDOVER.md says the Rust implementation has kernel/log/Register/packs/Books/CLI/wasm; codec is partial; browser Now/Act screens work locally. It describes decisions agreed in the earlier design inquiry, open decisions, provenance and known ZAKO/Workwarrior source discrepancies. The handover does not contain the paper's late “one mark” grammar as an agreed implementation design.

docs/overview/stream-overview.md and the-log-and-the-books.md describe the earlier/current trial model: one-byte 6-bit verb + 2-bit phase, profiles, codebook/register/session/run meaning stack, canonical JSON and run form, entries that carry resource-use data, Books with implied postings, and views/caches. Those are useful context for the paper's motivations but should not be conflated with the paper's proposed six-bit relational fact type and packed glyph syntax.

Change in model, stated plainly

The paper is not just a revision of the current entry spelling. It replaces or reframes several foundations:

  1. Type identity: current code stores verb identity (6 bits) and phase (2); paper stores relation/direction/modality/phase (6 bits) and hopes to derive verb/context from kind and roles.
  2. Entry cardinality: current line is one typed entry; paper entry can bundle multiple typed facts and attached facts under one time/recorder.
  3. Kernel provenance: current kernel is a hashed descriptor text; paper's seed/reader plus segment 0 computes the finished kernel fingerprint.
  4. Payload grammar: current canonical JSON is explicit and self-describing; paper's compact printable grammar is positional and depends on labels/packs and field-letter case boundaries.
  5. Flow/accounting semantics: current Books use postings/legs and implied use from payload fields; paper says a single directed to fact intrinsically represents both accounting legs, then derives archetypes.
  6. Domain semantics: current packs declare units/agent operations; paper makes domains properties of created things and wants domain-sensitive print/export without changing the universal flow.
  7. Proof burden: current conformance cases test the implemented descriptor/kernel; paper's critical new proof obligations are derivability, exact compact grammar, bootstrap self-validation, and lossless BitLedger/domain export.

Source reading boundary

The review used the downloaded Markdown as the primary searchable text. The duplicate Markdown file is byte-identical by SHA-256. The 34-page PDF has matching title/date and extracted prose; its page breaks and visual callouts clarify presentation, while text extraction can flatten some table layouts. No contradictory paragraph was found in the extraction, but this was not a byte-level equivalence claim about the two formats.

The repo's creation analysis and overview are historical/contextual material. The current README, descriptor and handover establish what is implemented or recorded in this checkout. External GitHub links, Claude artifacts, ZAKO source repositories and the private 75-entry corpus were not independently inspected in this pass. Therefore notes such as “reports,” “claims,” and “says” are deliberate: they do not certify those external results.

Read on Telegraph