What you need
- Node.js 22.18 or later (every package in the tree declares
engines: node >=22.18). Check:node --version. - curl and, for readability, jq. jq is a convenience only; every load-bearing response is also printed in full in this guide.
- The Collapser tree. There is no install step: the tree has zero dependencies. If your copy asks you to install something, it is not this tree.
The tree, in one line each:
| Path | What it is |
|---|---|
core/ | The derivation core: records, addressed streams, collapse/replay, proof ledgers. Domain-free. |
record-layer/ | The contract a domain declares itself under: founding schema, fact types, recipe pins. |
domains/chronicle/ | The second domain (a hero's chronicle) — served by the prototype service. |
domains/replay-verify/ | The third domain (replay verification) — §3's worked example. |
service/ | The prototype HTTP service + playground over the core and the layer. |
Conventions used below: commands run from the tree root unless a step says otherwise; the service runs in its own terminal (start it, leave it running, work in a second terminal); the base URL is written $B — set it once per terminal:
B=http://localhost:8734