amaru
memory cortex — DSSE-wrapped receipts with optional Cardano L1 checkpoint, 7-chakra scheduler
amaru is the memory cortex of the SZL platform — the module a11oy queries for retrieval (YACHAY) and K-candidate simulation (MUSQUY). Every memory event runs the
7-chakra scheduler (KALLPA→HATUN, with the crown→root ouroboros loop) and is sealed into a SHA-256 hash-chained receipt, wrapped in a canonical
DSSE envelope, with an optional periodic Cardano L1 checkpoint. The runtime below is live — every action calls /api/amaru/*.
What amaru is
Memory cortex
Holds YACHAY (temporal retrieval / RAG codex) and MUSQUY (parietal K-candidate simulation). a11oy queries amaru when it needs recall.
Receipt attestation
Every event mints an append-only SHA-256 receipt: prevHash → selfHash. The chain is replayable and tamper-evident.
DSSE + Cardano
Receipts are wrapped in a canonical DSSE envelope. An optional periodic Cardano L1 checkpoint anchors the chain head to a public ledger.
7-chakra scheduler
The canonical ascend order with the crown→root ouroboros loop, read live from /api/amaru/scheduler/wiring. Shape: …
Submit a memory event
Runs the full 7-chakra scheduler server-side and mints a hash-chained tick receipt. This is the real POST /api/amaru/scheduler/tick.
Tick result
No tick yet. Submit an event to mint a receipt.
DSSE envelope
The latest tick receipt wrapped in a canonical DSSE v1 envelope. PAE per the spec: "DSSEv1" SP LEN(type) SP type SP LEN(body) SP body over the raw receipt body, matching vessels#76 / szl-receipts. The keyid and signature here are demo-domain (deterministic over PAE) — production signing is Ed25519 + optional ML-DSA-65.
Submit a memory event to produce a DSSE envelope.
Receipt chain
Live receipts from /api/amaru/receipts, each chained by prevHash. The plot shows the growing chain; the table lists the head receipts.
| seq | endpoint | prevHash | selfHash | ts |
|---|
Cardano L1 checkpoint
amaru can anchor the chain head to Cardano L1 via a transaction metadata label (field 674), giving the receipt chain an external, publicly verifiable checkpoint. This checkpoint is optional and periodic — the chain is fully functional and tamper-evident without it.
Current chain head: …
Checkpoint cadence: roadmap · pending v0.4.0
HUKLLA tripwires & overwatch
amaru self-reports honestly. 10 HUKLLA tripwires + R0513 overwatch invariants, read live from the runtime. Degradation is surfaced, not hidden.
Tripwires
Overwatch invariants (read-only)
Citations
- github.com/szl-holdings/amaru — memory-cortex source (7-chakra scheduler, receipt chain)
- Zenodo DOI 10.5281/zenodo.20434276 — UDS deposit
- DSSE specification — secure-systems-lab/dsse (canonical PAE)
- Cardano transaction metadata — L1 checkpoint anchor (label 674)
License: LicenseRef-SZL-Proprietary. Doctrine v7.