Skip to content

DefendableLedger · Four Rails

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)

Two real receipt rails exist today.

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 (prior receipt_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.

railstatuswhat existsmints defendable asset
Receipt (cloud)REAL · LIVEper-org hash chain, Postgres, /ledger + /ledger/verify✅ recomputable, chained
Receipt (router)REAL · LOCALflat checksum_sha256 receipts in JSONL✅ tamper-evident per line
Verdictroadmapplanned
Training Pairroadmapplanned
Deedroadmapplanned

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.