Strange LoopsGrammarLawsEvidenceDecisions

Rendered from ROADMAP.md in the repository.

On this page

Roadmap

What is next, in order. This file holds no history and no open questions.

Where we are

The evidence and its counts are kept where they are made: the law index, vectors, the fuzz report, the mutation report and Rust boundaries. The changelog entry of 2026-11-21 has them as they stood on that day.

Now

Adoption is the step in hand. It is done when loops is first on PATH for daily work, and the homelab repository, the first daily user, reads and writes through it.

OrderWorkStateWaits on
1The CLI's own pieces: loops ls, a scan by the start of a name, --fields, the plain view with relative times, --version, the cache of checked segments.Built (changelog, 2026-11-22).Nothing
2Reads across several stores: a spec's from names stores; the read takes their union first.Ruled 2026-11-23 (AD1): a per-user list, an optional list kept with a group of stores, and --store <name>=<dir>. Built 2026-11-23 for read and fold (changelog).Nothing. The release binary on main waits for rex-tools to pass --store
3The shadow import: the old stores copied into new ones, read beside the old tool.Ruled (AD2 to AD4) and built. The six homelab stores are imported (2026-11-23, changelog): each thing reads as the old tool shows it, references included.Nothing
4loops first on PATH.Done on the workbench (2026-11-23); the six homelab stores are cut over to the new tool. Kyle's Mac is left for later.Nothing
5The homelab repository converted. Its agent instructions and skills emit with the new tool into the live stores; its readers (the changelog generator, the session-start hook, the SRE agent's history search) read the live stores.Built 2026-11-23 (changelog): gruel.network !9 to !11, in that order, and the SRE agent's history search in the bench. estate.py and atlas_materialize.py stay on the archive until an audit next writes the audit store.Kyle: the three merges. The live stores have no backup: the workbench has none, and they are no longer in git
6What a store says about its kinds, and what the CLI does with it: .loops/store.json, the shorthand for a declared key, the stop on a key slip and --root, --add-about and --drop-about, loops describe, ls --active, ls --refers-to, and a store by name on every verb (--in, --group).Ruled 2026-11-24 (SD1 to SD4); --in settled the same day (the store descriptions note, section 3). Built 2026-11-24 (changelog), as ST1 settles it: a store by name (--in, --group), the description file and the plain views that use it, ls --active, describe, ls --refers-to, the emit shorthand with its key rule and its stops, and --add-about and --drop-about. No live store has a description file yet, so nothing in daily use has changed; writing one is the next act, and it is the store owner's.Nothing
7One written form for a reference at the import (AD5).Deferred by Kyle on 2026-11-24, after he said he would rebuild stores and pick from the originals: its plumbing is built and changes nothing; the rest waits until a store is picked from by its reference fields. The homelab is not cut over a second time.Nothing

Beside these: the old .vertex files of real stores described kinds (reference fields, lifecycle, key formats) and held one fold, by name. The descriptive half comes forward now as a plain file (rows 6 and 7, ruled 2026-11-24). What a store enforces of it stays with standing. The opening input was the store descriptions note.

Next

The order Kyle set on 2026-11-10 is: step 4 (ticks, done), then step 3 (standing) together with step 5 (sharing). Kyle ruled on 2026-11-21 for one step between ticks and standing, adoption, with its CLI-only pieces built beside the tick work (W1).

OrderStepBuildsDone when
nowAdoptionThe old stores imported as a shadow; ls, a scan by name prefix, relative times and a plain-text view; reads across several stores; a cache of checked segmentsloops is first on PATH for daily work
then3, standingDeclarations, admission, stances, grants, presence key, retire through; then name tables and resolve-byA strict store rejects visibly; a steward's changeset takes effect
with it5, sharingThe git layout, then segment-list syncTwo clones converge
later6Index and search, SQLite segments, collectors, lenses, serveSomething is slow, or a surface needs it

Standing matters once records cross between people: sharing through git repositories across teams, and over HTTP. Everything wanted before that runs on one machine under one trust root. Retiring still follows ticks, as the Trust walk found. Left out of step 4 and wanted by nothing yet: boundaries and markers, the runner, and what verifying a deep tick tree costs. Each step extends the model's laws, computes protocol vectors, then implements Rust.

Small pieces, any time

None needs a ruling. Each is built when it is the cheapest useful thing to do.

All steps

StepBuildsDone when
0, doneThe Lean spike: Count and LatestBy, one lens combinator, 23 vectorsThe first laws are proved
1, doneProtocol and vectors for layer 0: canonical bytes, salt and commitment, id, signatureThe model and the JS writer agree on every vector; Rust checks all fixture families and external standards
2, doneEmit, read, fold for one person: JSONL segment, JSON spec, the two fold families, "follow": "prev", by, a signing key, signing by default. of names a record's one thing, an id or a natural key; about only mentions. D8a, D8b and D8c are built: sets in the envelope, every slot that follows keys, the slice laws for one keyed thing and for a spec with a keyed slot, and the writer's anchor rule.It does the old CLI's workable job, signed
3Standing: declarations, admission, stances, grants, presence key, retire through; then name tables and resolve-byA strict store rejects visibly; a steward's changeset takes effect
4, doneTicks: the tick record, its check, a tick over a cut, a write against a base. Boundaries and markers were left outA content tick recomputes to the same hash on two machines
5Sharing: the git layout, then segment-list syncTwo clones converge
6Index and search, SQLite segments, collectors, lenses, serveSomething is slow, or a surface needs it

The step numbers are names, not the order. Steps 3 to 6 are proposals.

Later work, by value

Costs are S, M, or L for relative effort, not schedules. None of these is scheduled.

WorkValueCostDependencies and blocking choices
Integrate a workbench pageReaders build scenarios and try vector presetsM: UI, validation, browser testsUse the Rust core compiled for the browser (ruled 2026-11-21) and scenario-vector presets; version localStorage drafts; never treat them as canonical storage
Turn horizons into Lean scenario vectorsTests concrete compositions and exposes missing premisesL: model and scenario workStart with minimal compositions of existing core; mark new boundary, tick, and service premises unimplemented before proof claims
Prove binary64 roundtrip, then shortestStrengthens assurance beyond sampled standard casesL: formal number reasoningExisting canonical formatter; neither proof blocks the settled standard choice
Bridge source and fold records to hashesConnects text, record bytes, IDs, and fold outputsL: byte-level model and evidenceDefined source and writer boundaries; do not assume SHA correctness from bounded IDs
Model the placeGives the product slice laws: segments as a setM: model and vectorsThe choices in rust/PLACE.md; a second reader of the layout. The payload half of this row is built (2026-11-21)
Build standing, routing, key management, and syncSupports more than one writerL: architecture and security workStep 3; explicit service contracts and key decisions; safe-wrapper versus raw access choice
Expand malformed-input fuzz and standards coverageFinds more boundary and adapter differencesM: generators, triage, and regression pinsThe settled D1–D5 boundaries; explicit contract before broadening raw extrema
Complete browser, accessibility, and link validationChecks the reader experience and published referencesM: browser and accessibility checksWorkbench and generated pages; validate anchors and external links separately

"Ask without a hand-written spec" (a scan by name prefix, ls, relative times) left this table: it is part of the proposed adoption step.

Reference

Why Rust. Small writers can use JSON in any language. Phones and browser extensions need embedded readers, and Rust runs there without a server. Exhaustive enums expose missing cases, and Lean's closed types map directly to enums. This is design rationale; no bindings exist.

A reader reaches the core in three proposed ways. All three speak the same JSON shapes.

Standards to stand on

The record rows are settled; see R1–R6 in the changelog and record rules. Index, keys and provenance export are proposals.

ConcernChoice
emittedCanonical UTC instant, with at most nine fractional digits
occurredA span: dates, instants and intervals from ISO 8601 and EDTF Level 1; the grammar is closed in protocol/record.md
Canonical bytesRFC 8785 (JCS): ECMAScript-exact numbers, no NaN
HashSHA-256
Id textTyped prefix plus lowercase unpadded base32hex (r:, st:, sl:, …); algorithm changes go through the version label
SignaturesRFC 8032 (Ed25519) over loops/record/v1: + id
SpecsJSON (RFC 8259), defined by protocol/spec.md; declaration and config shapes are proposals
Index, searchSQLite with FTS5 through rusqlite, bundled; the CLI only, never the core
KeysThe OS keychain behind a Signer trait, with a file fallback
Provenance exportW3C PROV or PREMIS mapping, undecided

The premises and domains that the laws keep are in retained boundaries.