Repository navigation
🚑 fix: sdk: sign off only the isolated commit - #398
Merged
Merged
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
pascalandy
force-pushed
the
cor-103-t9-isolated-signoff
branch
from
October 30, 2026 03:44
e1a9e78 to
92db45f
Compare
Purpose: prevent dirty fixes and moving HEAD from clearing an unfixed commit Impact: share detached signoff and receipts between core and the template
- Purpose: keep global signing settings out of fixture commits - Impact: signoff regressions run without a configured signer
- Purpose: prevent dirty overlays from signing a broken committed SHA - Impact: ignore caller Go flags, workspace modules, and persisted settings
- Purpose: recover a scratch worktree after an uncatchable signal - Impact: name the removal command and its path from the printed receipt
- Purpose: Let signoff use settings such as GOPRIVATE that go env -w keeps - Impact: A blank GOFLAGS masks a persisted overlay, and GOENV is no longer turned off Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pascalandy
force-pushed
the
cor-103-t9-isolated-signoff
branch
from
October 30, 2026 04:10
8147d2f to
78963f6
Compare
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.
Dirty files could make an unfixed HEAD pass signoff. A later HEAD change could also separate the signed commit from its evidence.
Core and the template now use the shared SDK signoff program. It freezes the SHA, checks a detached worktree, clears caller task variables, saves a receipt, and signs that SHA. Success keeps the landing script's
Signed off on <sha>line.Proved by: dirty-fix regression red on the old script and green after; template wiring red before and green after; full
uv run --no-project --python 3.12 just check; scratch-clone signoff with stubbedghrecording the frozen SHA.nclystringsjust checkpassesjust signoffis a maintainer recipe, and no verify-nicely feature covers it. Independent proof instead: Sol round 3 reranbash scripts/signoff-test.shat8147d2fa(pass, "including persisted settings and overlay rejection"), and the landing of this pull request is the first real run of the new signoffnicelyfor core. Repository instructions and the contract teach this developer taskjust signoffpasses, orjust signoff-layersfor a stack. pending: rootReview fixes: signoff drops caller
GOFLAGSand turnsGOWORKoff, so an overlay cannot sign a broken SHA (Sol S1); the fixture disables commit signing (S2); the doc explains recovery after SIGKILL (S3); signoff keeps the caller'sGOENVand masks a persistedGOFLAGSwith a blank value, so settings such asGOPRIVATEstay (S5,caller-go-envred exit 1, green exit 0). Declined: S4, a hand-edited Go module cache; Go writes those files read-only, and the card covers the working tree.go mod verifybefore signing is a follow-up.Root review: Opus 5.5 read the full diff and each fix, wrote the S5 fix, and rebased onto T4 (nicely#394). The one conflict, in
sdk/extensionrepo/program.go, keeps both thetestand thesignoffdispatch lines.Reviewed with sol-loop: 3 rounds with gpt-6.1-sol on xhigh. Sol verdict: approved
by GPT-6.1-Sol via Codex