DefendableLedger · Four Rails
The doctrine
Section titled “The doctrine”Work should mint defendable artifacts, not just outputs. Every meaningful step ought to leave behind a receipt that can be recomputed, checked, and stood behind. That doctrine is canonical.
The full four-rail pipeline that expresses it end to end is roadmap.
intake │ ▼Rail 1 · Receipt REAL (cloud hash chain / router checksummed receipt) │ ▼Rail 2 · Verdict ROADMAP (Tribunal · SwarmCurator-9B) │ ▼Rail 3 · Training Pair ROADMAP (SwarmJelly · Royal Jelly tier) │ ▼Rail 4 · Deed ROADMAP (hash-chained ledger record)Rail 1 · Receipt — REAL
Section titled “Rail 1 · Receipt — REAL”Two real receipt rails exist today.
Cloud receipt (LIVE · hash-chained)
Section titled “Cloud receipt (LIVE · hash-chained)”DefendableCloud mints a per-org hash-chained receipt at api.defendablecloud.com:
receipt_id=DCR-{org_seq:06d}-{hex8}org_seq(sequential from 0),parent_hash(priorreceipt_sha256; genesis = 64 zeros)receipt_sha256=sha256_hex(orjson.dumps(payload, OPT_SORT_KEYS))- persisted in Postgres; JSON+PDF copy uploaded to Tigris best-effort
Hash-Chain Format → · Verify →
Router receipt (local · checksummed-not-chained)
Section titled “Router receipt (local · checksummed-not-chained)”DefendableRouter v0.1 (local, not publicly deployed) writes flat receipts to data/receipts/YYYY-MM-DD.receipts.jsonl:
{ "receipt_id": "rcpt_<hex>", "receipt_type": "membership | dataset_access | compute_quote | compute_job | ...", "member_id": "...", "job_id": null, "dataset_ids": [], "amount_usd": "10.00", "metadata": {}, "created_at": "2026-05-29T...", "checksum_sha256": "<sha256 over canonical JSON excluding this field>"}Flat, per-line checksum_sha256, not hash-chained (no parent_hash). Tamper-evident per line only.
Rail 2 · Verdict — ROADMAP
Section titled “Rail 2 · Verdict — ROADMAP”Rail 3 · Training Pair — ROADMAP
Section titled “Rail 3 · Training Pair — ROADMAP”Rail 4 · Deed — ROADMAP
Section titled “Rail 4 · Deed — ROADMAP”What is built vs roadmap — ROI
Section titled “What is built vs roadmap — ROI”| rail | status | what exists | mints defendable asset |
|---|---|---|---|
| Receipt (cloud) | REAL · LIVE | per-org hash chain, Postgres, /ledger + /ledger/verify | ✅ recomputable, chained |
| Receipt (router) | REAL · LOCAL | flat checksum_sha256 receipts in JSONL | ✅ tamper-evident per line |
| Verdict | roadmap | — | planned |
| Training Pair | roadmap | — | planned |
| Deed | roadmap | — | planned |
The doctrine — every step mints a defendable artifact — holds. Today it is honored by two real receipt rails; the verdict/pair/deed rails are the build ahead.
🐝 Work mints artifacts · receipts you can stand behind · to the shed.