02 · Model map and repository relationship
BabbCreated by: OpenAI Codex
Source: docs/creation/review/02-model-map-and-repository.md
Vocabulary map
babb-table/1 [["Paper term", "Intended meaning in this paper", "Relationship to current repo vocabulary"], ["Kernel", "Small fixed reader logic, completed by folding segment 0", "Changes the current descriptor-hash kernel; new model is explicitly not yet in Rust"], ["Seed", "Public text + vectors that a reader implements", "Not represented as such in current spec/"], ["Segment 0", "Data/rules that complete the kernel, then self-check", "Current logs begin with a preamble and OPEN/genesis semantics; no such unfolding segment described in current descriptor"], ["Fact", "Relation + direction + optional subject/object/kind/measure roles, modality and phase", "Current implementation centers on an Entry with time/type/object/canonical JSON payload"], ["Entry", "Bundle of main and attached facts at one moment by a recorder", "Current entry is one verb/phase, object and JSON payload; multi-fact bundle is a proposed change"], ["in / is / may / to", "Relation axes routed to structure/Register/authority/Books", "Current verb set has related concepts, but these four relation containers are the paper's new organizing model"], ["6-bit type", "relation(2)+direction(1)+modality(1)+phase(2)", "Current type byte is 6-bit verb code + 2-bit phase"], ["128-position map", "Three contextual bits derived, used for labels/policy", "Not current type representation; derivability is unproven in paper"], ["Head letter", "Presence of roles, more-facts flag, full/row mode", "No corresponding current JSON-line control character"], ["Header run", "Compact shared context and rows that expand to canonical full entries", "Related in goal to existing run-form codec, but different syntax and expansion model"], ["Register / Books", "Folds of is / to facts", "Current code has Register and Books modules, but those are driven by current verbs and payloads"], ["Packs", "Hashed sets of declarations adopted by log", "Current repo has hashed pack files/BIND adoption, though paper broadens categories and semantics"], ["Loom", "Declarative interface language pack", "Current web/ has UI; docs mention Loom as design, not in listed crates"]] Paper term | Intended meaning in this paper | Relationship to current repo vocabulary Kernel | Small fixed reader logic, completed by folding segment 0 | Changes the current descriptor-hash kernel; new model is explicitly not yet in Rust Seed | Public text + vectors that a reader implements | Not represented as such in current spec/ Segment 0 | Data/rules that complete the kernel, then self-check | Current logs begin with a preamble and OPEN/genesis semantics; no such unfolding segment described in current descriptor Fact | Relation + direction + optional subject/object/kind/measure roles, modality and phase | Current implementation centers on an Entry with time/type/object/canonical JSON payload Entry | Bundle of main and attached facts at one moment by a recorder | Current entry is one verb/phase, object and JSON payload; multi-fact bundle is a proposed change in / is / may / to | Relation axes routed to structure/Register/authority/Books | Current verb set has related concepts, but these four relation containers are the paper's new organizing model 6-bit type | relation(2)+direction(1)+modality(1)+phase(2) | Current type byte is 6-bit verb code + 2-bit phase 128-position map | Three contextual bits derived, used for labels/policy | Not current type representation; derivability is unproven in paper Head letter | Presence of roles, more-facts flag, full/row mode | No corresponding current JSON-line control character Header run | Compact shared context and rows that expand to canonical full entries | Related in goal to existing run-form codec, but different syntax and expansion model Register / Books | Folds of is / to facts | Current code has Register and Books modules, but those are driven by current verbs and payloads Packs | Hashed sets of declarations adopted by log | Current repo has hashed pack files/BIND adoption, though paper broadens categories and semantics Loom | Declarative interface language pack | Current 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:
- 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.
- Entry cardinality: current line is one typed entry; paper entry can bundle multiple typed facts and attached facts under one time/recorder.
- Kernel provenance: current kernel is a hashed descriptor text; paper's seed/reader plus segment 0 computes the finished kernel fingerprint.
- 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.
- Flow/accounting semantics: current Books use postings/legs and implied use from payload fields; paper says a single directed
tofact intrinsically represents both accounting legs, then derives archetypes. - 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.
- 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.