07 · Tracing every change to its source
Babb2026-11-23.
The question
The owner asked for the agreed suggestions to be recorded so that each could be traced as a lineage mutation of what currently exists. They then clarified the intent: what should be traceable is changes to the definitions of terms, and to how records are coded.
The approach
The lineage register was built as data, with a checker:
- Decisions, as mutations with parents. Every decision is a mutation with a stable ID (BUN-1, PAC-7, ZAK-1 …). Its parents are lines in Workwarrior, MobileOS/ZAKO or the research notes, each pinned to a commit with a quoted excerpt, or an earlier entry, or an external source.
- Append-only, with two-way supersession links. A superseded entry stays, linked both ways. FRI-1 (the "from" state) points to BAL-1 (the base version); PAC-6 (a close that restates balances) points to PAC-7 (a close by hash).
- Terms. Each term has its definition today, at a pinned line, and its proposed definition, with the decisions that change it. There are 37: the five fields, the record rules, each op family, derived terms such as interval, balance and density, and twelve new terms.
- Record coding. Six worked examples show the same occurrence coded four ways: in Stream v1 today, as a canonical journal line, in run form, and as a type byte.
- A checker. It verifies every pinned line at its commit, every supersession link, every "recorded in" anchor, and that each run-form example decodes to its canonical lines. It was tested by breaking an excerpt, a line number and a link; each break was caught.
What building it found
- The unit registry already existed. Workwarrior already had
units-v1, built on the idea that "double-entry is a conservation law, and money is merely the first commodity it was applied to". It also keeps conversion apart from price. The notation's separate quantity codebook was therefore marked superseded, in favour of extendingunits-v1. - Punch-posting can double-count. Workwarrior's
punch-posting-v1already moves an actor's hours from their capacity into work, which is the origin of the pool idea. Once overlapping punches are kept apart, an operator clocked on at two machines would have their hours debited twice. This was logged as an open question (PAC-11). - A ZAKO divergence. Wire Conventions line 160 gives COMMIT as
0x14, but the Codebook gives0x15;0x14is REMOVE. - The ledger adapter is miscoded. Workwarrior codes ledger postings as
T post, under the Task op, with no amount.
Where it lives
docs/creation/LINEAGE.md and docs/creation/lineage/ in this repository hold a snapshot. The editable version, and the checker's pinned paths, are in ww-standard (proposals/stream-journal/lineage/).