Repository navigation
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
Open
githubscum wants to merge 3 commits into
githubscum wants to merge 3 commits into
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.jswith 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 bothverifyIncremental({trusted})(fork / forward check) andverifySealed()(full walk from genesis) pass.--fastskips 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 inproposals/seal-cli/instead, the same home as the L82 classifier. Moving it tobin/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_modelline). Round 3 (this push) is a mechanical path rename done by ike, no logic.Verifier finding caught before shipping (round 1):
checkran onlyverifyIncremental, 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:
npm test1470 tests, 1464 pass, 0 fail, 6 skipped (main was 1458).Eval: none of E1-E6 applies; this is limit 86, not a v3 WO.
What a reviewer should doubt:
verifyon an empty home says VALID with 0 entries. That's true, but a holder might read it as reassurance.checkdoes a full walk, so it costs O(chain).--fastis the escape hatch and it says what it skips.bin/or Isaac rules that proposals/ is its home.