Repository navigation
ci(push): let prooft orchestrate the attestation - #4138
Merged
Merged
Conversation
added 3 commits
November 8, 2026 21:57
prooft already owns the trailer format and the lane rules, so ./push asks it
first: 'prooft soldr' runs soldr's porcelain and stamps the Rust gates it
proved. The hand-rolled soldr+ghd path stays only as a deprecated fallback for
machines without prooft, and a missing writer still never invents evidence --
it warns and pushes unless PUSH_REQUIRE_ATTESTATION=1, which refuses.
Verified on this machine: 'prooft run lint -- true' stamped two trailers and
ci-lint attest verify reported both valid (fmt, host clippy). prooft 0.1.0
installs with 'uv tool install prooft>=0.1'.
Ci-Attestation: {"at":1794203838,"gate":"rust/all/fmt","host":"linux-x86_64","key":"","lane":"lint","parents":["6d51ac6ba4628213c7fedee4ec08700760a9b281"],"secs":206,"stamp":"8ce189190dc44ca0851deac30e262fd7","tree":"100795a2aa22baa5f23fc48e49cadedc086f9fd7","v":1,"via":"run"}
Ci-Attestation: {"at":1794203838,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["6d51ac6ba4628213c7fedee4ec08700760a9b281"],"secs":206,"stamp":"2a26dd7d6a96a168f1044124a4982c6a","tree":"100795a2aa22baa5f23fc48e49cadedc086f9fd7","v":1,"via":"run"}
… they found
The rungs decide which component writes the trailers, so a regression silently
stops producing evidence. Four tests assert each rung's message and result with
a stubbed PATH: prooft first, an old prooft falling through to the deprecated
ghd path, no writer at all, and enforce refusing.
Writing them found a real bug: ./push put its evidence beside `.git/`, which is
a directory in a clone but a file in a worktree, so the deprecated path crashed
with NotADirectoryError. It now resolves the git dir.
Ci-Attestation: {"at":1794207521,"gate":"rust/all/fmt","host":"linux-x86_64","key":"","lane":"lint","parents":["be7c5505d81816e7dc62dc079032d495d1ce5217"],"secs":0,"stamp":"519774f72552f467ba968ee8181965aa","tree":"0d4875c3337ee4317df622b9cdd43a9bf9f45e7d","v":1,"via":"run"}
Ci-Attestation: {"at":1794207521,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["be7c5505d81816e7dc62dc079032d495d1ce5217"],"secs":0,"stamp":"90a7a2f0c1ad5edd8ab737683d11e934","tree":"0d4875c3337ee4317df622b9cdd43a9bf9f45e7d","v":1,"via":"run"}
The evidence path was a singleton beside the git dir, so two agents pushing
from one clone overwrote each other's evidence and a slow rung could stamp the
wrong tree's results. It is now <git-dir>/soldr-attest/<sha>.json, created on
demand and pruned to the newest 20 or a week, whichever ends first -- the file
is scratch, the attestation itself lives in the commit message.
Ci-Attestation: {"at":1794207654,"gate":"rust/all/fmt","host":"linux-x86_64","key":"","lane":"lint","parents":["7d6489beb844e72ecb00387004e3138abbd4a082"],"secs":0,"stamp":"e7ad485f76550a0b2efd85deeab3a6e8","tree":"6838441a19db24bdd61698bc231d26f47e10485c","v":1,"via":"run"}
Ci-Attestation: {"at":1794207654,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["7d6489beb844e72ecb00387004e3138abbd4a082"],"secs":0,"stamp":"8a671eb29455883531f977a76d857bcf","tree":"6838441a19db24bdd61698bc231d26f47e10485c","v":1,"via":"run"}
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 9, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to no response for status checks
Nov 9, 2026
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.
prooft already owns the trailer format and the lane rules, so ./push asks it
first: 'prooft soldr' runs soldr's porcelain and stamps the Rust gates it
proved. The hand-rolled soldr+ghd path stays only as a deprecated fallback for
machines without prooft, and a missing writer still never invents evidence --
it warns and pushes unless PUSH_REQUIRE_ATTESTATION=1, which refuses.
Verified on this machine: 'prooft run lint -- true' stamped two trailers and
ci-lint attest verify reported both valid (fmt, host clippy). prooft 0.1.0
installs with 'uv tool install prooft>=0.1'.
Ci-Attestation: {"at":1794203838,"gate":"rust/all/fmt","host":"linux-x86_64","key":"","lane":"lint","parents":["6d51ac6ba4628213c7fedee4ec08700760a9b281"],"secs":206,"stamp":"8ce189190dc44ca0851deac30e262fd7","tree":"100795a2aa22baa5f23fc48e49cadedc086f9fd7","v":1,"via":"run"}
Ci-Attestation: {"at":1794203838,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["6d51ac6ba4628213c7fedee4ec08700760a9b281"],"secs":206,"stamp":"2a26dd7d6a96a168f1044124a4982c6a","tree":"100795a2aa22baa5f23fc48e49cadedc086f9fd7","v":1,"via":"run"}