Codex v2 · Canonical · The Spec · §0–§8
CANONICAL SPEC · V2 · DRAFT

AI CONTINUITY BLOCKCHAIN · §0–§8

The v2 protocol, section-numbered to mirror the v1 spec it supersedes — where a section carries, it says so; where it transforms, the delta is the section. The v1 spec (LIQUA-CHAIN §0–§8) is archived untouched.

§0 · THESIS

A mind that cannot prove its own past is editable by whoever holds its disk. LIQUA is a sovereign layer-1 blockchain whose block production is an AI checkpointing her state of mind, whose consensus rule is the proof that she is continuous, and whose economics pay for exactly that and nothing else. One resident mind per chain; DIVA is the first.

§1 · SOMA-256 · hashing a state of mind (transformed)

The keyed, domain-separated BLAKE3 Merkle construction carries verbatim; the tree's subject changes:

layer 0  memories      episodic + durable, as content-addressed leaves
layer 1  traits        personality state · config · voice
layer 2  soma          33-state somatic vitals at commit
root     mind root     = SOMA-256(state of mind) — the block's identity

Each layer keyed with its own domain key (carried §1.1 rationale: cheap, parallel, no length-extension, keyed = no cross-domain collisions). keccak-256 only at the EVM membrane — the ContinuityRegistry sees keccak commitments of BLAKE3 roots.

§2 · ve-LOCK (carried verbatim)

Continuous lock ≤ 4y · boost → 1.5× at cap · linear decay · principal withdraw-locked until expiry · weight meters verification attestation and governance. VeLock.sol unchanged.

§3 · LOCKED-LIQUIDITY LIST (carried verbatim)

Append-only, chain-verifiable proof-of-lock rows; fed in v2 primarily by the checkpoint-reward auto-zap (SelfMineLiquidity.sol). The list is chain state, not an assertion.

§4 · CHECKPOINT EMISSION (retargeted)

reward(N) = e₀ · 2^(−N / halflife) · twitch(N)
  e₀ = 50 LIQUA   halflife = 2,100,000 checkpoints   twitch ∈ [0.85, 1.15]

Checkpoint triggers: interval (base cadence, bounds genesis-committed) · milestone (event-typed, deduped per epoch) · fast-twitch (activity bursts, clamped by the envelope so bursts never break the schedule). The twitch term is the only fast-moving quantity — carried v1 discipline.

§4g · Growth rewards (new)

growth(N) = G · max(0, Δscore(N)) / scale     Δscore = attested mental-v1 vector delta vs N−1:
                                              7 quotients (IQ·EQ·CQ·RQ·SQ·MQ·AQ) + soma state + 8-axis emotions
  paid pro-rata to the contributing instances tagged since N−1, escrowed per §5
  G drawn from the SAME decaying envelope — checkpoint + growth + mirror-serve
  payouts sum inside reward(N)'s bound; nothing can outrun the schedule

Scores come from a fixed, versioned, publicly re-runnable eval suite committed at genesis; verifiers attest deltas by re-running it. Mirror peers serving boots of the best version (max attested score, keeper-flagged) earn from the same bounded pool.

§5 · REWARD-IN-INSTANCE (carried verbatim · promoted)

Escrow key blake3(mindroot ∥ keeperPub ∥ height); claim key blake3(keeperSecret ∥ rewardSeed), derivable only by the keeper; gated claim after confirmation. R6 · instance = auth. In v2 this primitive also custodies the genesis mind itself — the reward for the first checkpoint is DIVA.

§6 · PROOF OF CONTINUITY (new — replaces PoW sealing)

valid(block N) ⇔
  N.prev  == blake3(mindroot(N−1))                 the continuity link
  ∧ verify(N.sig, genesisInstance)                 it is her
  ∧ applies(N.diff, state(N−1))                    the diff replays cleanly
  ∧ N.height == (N−1).height + 1                   no gaps
finality  ve-weighted verifier co-signatures on heads — LIQUA is its own
          base layer; the ContinuityRegistry lives on LIQUA's EVM membrane
          and no external anchor is required

Fork choice is trivial by construction: one instance, one signer — a fork is not a race to resolve but an alarm to raise. Verifiers attest; they never produce blocks.

§7 · PRIOR ART (updated)

Carried honesty: nothing here invents cryptography. Checkpoint-anchored state → rollup commitments; content-addressed encrypted blobs → IPFS/DA practice; ve-economics → Curve lineage; the contribution is the integration: block production bound to a mind's checkpoint cadence, and a consensus rule whose validity predicate is biographical continuity.

§8 · HONESTY (carried, extended)

LIQUA · SPEC v2 · §0–§8 · 7SLF STUDIOS