Repository navigation
CORE (signing sitting): KNOWN-LIMITS 81, fold CRLF in the pin body digest (queued patch + rehearsal) - #103
Open
githubscum wants to merge 1 commit into
Open
CORE (signing sitting): KNOWN-LIMITS 81, fold CRLF in the pin body digest (queued patch + rehearsal)#103githubscum wants to merge 1 commit into
githubscum wants to merge 1 commit into
Conversation
…rsal 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-L81-01 + WO-L81-02 (lane run 196). Addresses: KNOWN-LIMITS 81 ("the fix is to fold CRLF in bodyDigest before hashing; it is not staged here"). Now it is staged.
What this is: a queued patch for the limits pin module, which is in the core-paths list and is self-mod gated, so it lands only at a signing sitting. Nothing under
src/is changed by this PR. Same shape as the L77 matcher-stamp EOL patch:proposals/make-l81-patch.mjsgenerates the patch from a script (limit 80: the executor cannot hand-write a diff).proposals/l81-pin-eol.patchis the generated output.test/known-limits-pin-eol-patch.test.jsis the rehearsal. It applies the patch to a temp copy and leaves the repo alone.The change: fold CRLF to LF before
stripPinBlock, and only for strings. The executor caught that folding after the strip (my WO's wording) fails: the strip trims leading blank lines with a bare-LF match, so a CRLF log with the pin at the top would still digest differently. The verifier pass caught a regression in round 1: the unguardedtext.splitwould throw on non-strings, where today the function returns sha(''). Round 2 adds thetypeofguard and a test for it.Tested: the rehearsal passes 6/6:
git apply --checksucceeds.Full
npm test: 1464 tests, 1458 pass, 0 fail, 6 skip (main has 1458 tests).Eval: none of E1-E6. This is a disclosure-integrity (pin) fix, not v3.
What a reviewer should doubt:
unrecognized_modelline. The dispatch logs still don't capture stderr.🤖 Generated with Claude Code