Skip to content

seal CLI: keep a checkpoint note and hold the chain to it (limit 86, non-core half) - #102

Open
githubscum wants to merge 3 commits into
mainfrom
lotor-lane/seal-cli
Open

githubscum wants to merge 3 commits into
mainfrom
lotor-lane/seal-cli

Conversation

@githubscum

Copy link
Copy Markdown
Owner

WO: WO-L86-01 + WO-L86-02 (lane runs 193-195). Addresses: KNOWN-LIMITS 86, non-core half: a CLI that lets a party other than the key holder keep a checkpoint note and later hold the chain to it. That is trace -> witness.

What it is: proposals/seal-cli/seal.js with three commands:

  • seal [--at-head] [--out <file>]: seal the chain at the head and write the note to hand out.
  • check [--fast] <note>: CONSISTENT only if both verifyIncremental({trusted}) (fork / forward check) and verifySealed() (full walk from genesis) pass. --fast skips the walk and prints the limit 85 caveat.
  • verify: full sealed walk from genesis.

Where it lives and why: the executor's target was bin/seal.js + test/seal-cli.test.js; those writes are self-mod gated (request 39343210, unsigned, expired). It lives in proposals/seal-cli/ instead, the same home as the L82 classifier. Moving it to bin/ is a path-only change and is Isaac's call.

Executor: glm-5.3-flash:cloud for both rounds (confirmed from the dispatch stderr unrecognized_model line). Round 3 (this push) is a mechanical path rename done by ike, no logic.

Verifier finding caught before shipping (round 1): check ran only verifyIncremental, so a same-length rewrite of covered entries read CONSISTENT, and the executor's test pinned that as expected. Round 2 adds the full walk and flips that test to INCONSISTENT.

Tested:

  • seal-cli tests 12/12; full npm test 1470 tests, 1464 pass, 0 fail, 6 skipped (main was 1458).
  • Probes outside the suite: truncate under the note -> INCONSISTENT (2); garbage note -> INCONSISTENT (2); missing note -> usage/read error (1); delete a covered line -> INCONSISTENT (2); sidecar removed -> INCONSISTENT (2); verify on an empty home -> VALID, 0 entries (0).

Eval: none of E1-E6 applies; this is limit 86, not a v3 WO.

What a reviewer should doubt:

  • verify on an empty home says VALID with 0 entries. That's true, but a holder might read it as reassurance.
  • check does a full walk, so it costs O(chain). --fast is the escape hatch and it says what it skips.
  • Error messages surface absolute paths from the operator's machine (the ENOENT case).
  • No KNOWN-LIMITS entry is added; limit 86 stays open until this lands in bin/ or Isaac rules that proposals/ is its home.

githubscum and others added 3 commits November 15, 2026 08:40
…inding

check trusts verifyIncremental alone and passes a same-length rewrite of
covered entries; round 2 adds the full walk. bin/ and test/ targets are
self-mod gated, so the draft lives here unexecuted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…st keeps incremental-only (WO-L86-02)

Executor glm-5.3-flash:cloud (stderr unrecognized_model line). Reviewed by
read; tests not run: the scratch export to run them was stopped by the
self-mod gate (request 89739b89, unsigned). Drafts stay .draft.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drafts renamed from .draft to .js in proposals/, relative paths fixed; no logic change.
check = incremental + full sealed walk; --fast keeps incremental-only with the limit 85 caveat.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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