Skip to content

good - #49

Closed
SuperInstance wants to merge 2 commits into
openclaw:mainfrom
SuperInstance:main
Closed

good#49
SuperInstance wants to merge 2 commits into
openclaw:mainfrom
SuperInstance:main

Conversation

@SuperInstance

Copy link
Copy Markdown

What Problem This Solves

User Impact

Why This Change Was Made

Evidence

CCC and others added 2 commits September 17, 2026 17:14
…ode spine

Every mutating recordNominationVote transition now projects BIND-for-BIND
into a QuiltKernel and appends hash-chained rows to quilt_wal — D1 as
the kernel's WAL. Dual-write posture: existing guarded batch stays
authoritative; projection failure is caught and logged, never thrown.

- src/quilt/reference-kernel.mjs: vendored byte-identical from
  SuperInstance/quilt-studio @ 5821ebf (L1 contract v5, 5-opcode spine)
- src/quilt/projection.ts: vote -> kernel ops, fnv1a hash chain
  (integrity, not security), replay-from-WAL reducer
- src/quilt/commit.ts: kernel -> WAL in one D1 batch
- drizzle/0013_quilt_kernel_wal.sql + schema + journal
- recordNominationVote: awaits projection, catch+log
- tests/quiltKernelReplay.test.ts: 8 tests — replay equals live D1 on
  granting/decline paths, chain is gap/tamper-sensitive, genesis anchor,
  vote-switch rebind, non-mutating calls project nothing

Suite: 346 tests, baseline failures unchanged (8 env fails + 3 errors
identical to main — missing magick/dwebp, unbuilt styles.generated.js).
tsc: clean apart from the same pre-existing Layout.tsx error on main.
quilt kernel P1: nomination vote ledger → 5-opcode spine + WAL
@clawsweeper

clawsweeper Bot commented Sep 17, 2026

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant