0/1 protocol demos for Taiko: deterministic preconfirmations (zero-alloc execution gates) + capability-gated agent runtime with an integrity notary. Rust, #![no_std], blake3 + ed25519.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Péter Lódri 1199f64b8a refactor: spherepop foundational layer + caveman-review fixes
The governing sequence is now explicit in the code:

- spherepop.rs: Step + GOVERNING_SEQUENCE + Walk (the transformation
  record — a gate that stopped is never silent about where)
- preconf.rs: the gate walks POP→REFUSE→BIND→TRANSFORM→VERIFY→COLLAPSE;
  the no-refunds budget closes the gate first (fix: budget dead-ends
  were unreachable under a forge storm)
- capability.rs: the notary walks the same sequence
- VERIFY is external (the verifier recomputes), not a self-asserted hash
- 9 tests green

💘 Generated with Crush

Assisted-by: Crush:deepseek-v4-pro
2026-09-30 01:11:21 -04:00
.cargo chore: standardgalactic README + hero + release optimizations 2026-09-30 00:35:49 -04:00
assets chore: standardgalactic README + hero + release optimizations 2026-09-30 00:35:49 -04:00
src refactor: spherepop foundational layer + caveman-review fixes 2026-09-30 01:11:21 -04:00
.gitignore feat: 0/1 protocol demos for Taiko — preconfirmations + capability notary 2026-09-30 00:26:42 -04:00
Cargo.lock feat: 0/1 protocol demos for Taiko — preconfirmations + capability notary 2026-09-30 00:26:42 -04:00
Cargo.toml chore: standardgalactic README + hero + release optimizations 2026-09-30 00:35:49 -04:00
README.md refactor: spherepop foundational layer + caveman-review fixes 2026-09-30 01:11:21 -04:00

taiko-01-protocol-demo

taiko-01-protocol-demo — the 0/1 protocol lane

two end-to-end demos, no UI fluff, pure protocol mechanics. built to answer one question: how far can deterministic, verifiable memory bounds be pushed at the preconfirmation layer before state touches L1.

pure rust · zero-alloc · BitNet b1.58 — the {-1, 0, +1} weights — honesty first. part of the MEM|16-10 sovereign library.

rust · blake3 · ed25519-dalek · target-cpu=native · fat LTO

idea 1 — deterministic preconfirmations via zero-alloc execution gates

a based sequencer validates, gates, and verifies a state transition before L1 inclusion. the hot path is zero-alloc — fixed-size arrays, no heap.

  • PreconfRequest — a state transition, a monotonic sequence, an ed25519 signature over both.
  • Gate::adjudicate — the gate. refuses a replay, a bad signature (charging the no-refunds budget), or an exhausted budget; commits an accepted transition into a hash-verified ledger head and emits the new state root.

it admits what it can verify and refuses what it cannot.

idea 2 — capability-gated agent runtime with an integrity notary

a vaked-style capability executes an off-chain computation, producing a hash-verified monotonic trace; the notary anchors the state proof as a receipt a verifier (a taiko L2 contract) can check.

  • Capability — a named permission with a hard step budget.
  • Trace — a hash-linked monotonic ledger. order matters; it is not commutative.
  • Notary::execute — runs within budget or refuses, never truncates.
  • Notary::verify — recomputes the root and checks the receipt.

every step compiles down to 0/1 verifiability on an L2 EVM layer.

run

cargo test              # 7 tests: gates refuse, traces verify, order matters
cargo build --release   # target-cpu=native, fat LTO, panic=abort, stripped

fast-linker note: mold / wild are the intended release linkers on Linux; macOS uses the system ld (mold does not yet link this project's build scripts on Darwin).

the pitch

"i built this to test how far we can push deterministic, verifiable memory bounds at the preconfirmation layer before state ever touches L1 storage."

the spherepop foundational layer

every request and every execution walks the governing sequence:

POP → REFUSE → BIND → TRANSFORM → VERIFY → COLLAPSE

Walk records where each operation stopped — the transformation record. a refusal is legible (refused at REFUSE), a completion is legible (collapsed at COLLAPSE). unobserved is not low-salience: a gate that stopped is never silent about where. a plausible branch may be ranked; only a verified branch may be bound.


eternal love for IRL support and the research background — 8b-is (Chris, Alex, Nate). from love, from within, for all who are honest and ready to be loved.