Repository navigation
chore(toolbox): bump pinned tools to clear the drift gate - #80
Merged
Merged
Conversation
Applied by tool-bump.yml and validated by building every image from these pins before the branch was written. ### Bumped | Tool | From | To | Files | |---|---|---|---| | betterleaks | `1.8.1` | `1.9.0` | toolbox/tools.lock x1, toolbox/base/Dockerfile | | trufflehog | `3.97.9` | `3.99.2` | toolbox/tools.lock x1, toolbox/base/Dockerfile | | osv-scanner | `2.6.0` | `2.7.0` | toolbox/tools.lock x1, toolbox/base/Dockerfile | | syft | `1.52.0` | `1.54.1` | toolbox/tools.lock x1, toolbox/base/Dockerfile | | snyk-agent-scan | `0.6.7` | `0.6.8` | toolbox/tools.lock x1, toolbox/mcp-review/Dockerfile | | zizmor | `1.30.1` | `1.31.1` | toolbox/tools.lock x1, toolbox/gha/Dockerfile | | semgrep | `1.178.0` | `1.181.0` | toolbox/tools.lock x2, toolbox/skill-audit/Dockerfile, toolbox/sast/Dockerfile | | checkov | `3.3.20` | `3.3.29` | toolbox/tools.lock x1, toolbox/iac/Dockerfile |
garymike
added a commit
that referenced
this pull request
Oct 19, 2026
) #73 made these digest pins deliberate on purpose: a rebuild must not silently change what every caller scans with, after betterleaks 1.6.1 -> 1.8.1 in #64 turned green repos red overnight. Its commit message says they "move deliberately, alongside toolbox/tools.lock". They did not move. #80 bumped eight tools and #81 bumped SkillSpector v2.3.11 -> v2.13.0, both rebuilt and published, and neither touched these five lines. My #81 is half of that omission. Measured, not inferred: skill-audit.yml pinned 6f5f4c48 -> SkillSpector v2.3.11 (tools.lock: 2.13.0) security-scan.yml pinned 5bfad328 -> betterleaks 1.8.1 (tools.lock: 1.9.0) So every caller of these reusable workflows was scanning with the Oct-1 toolchain while tools.lock claimed otherwise. All five now point at the digests the b0d54d4 build published, each one confirmed present in that build's output (run 39298358613) rather than read off a local pull: podman inspect reports the platform manifest digest, which differs from the registry index digest for the images whose latest index carries attestations, and build-push-action's own output digest is the convention #73 used. Ordering note for the sibling repos: security-agents#22 and skills#32 refresh their reusable-workflow pin to 0fd7cac. Those must land AFTER this, or they move both repos off :latest and onto the stale digests this fixes. I tried adding a drift check for this and pulled it back out. Comparing the pin against the registry's :latest index digest false-reds on exactly the two attestation-bearing images, and a gate that cries wolf is worse than the manual step it replaces. The right home is build-toolbox.yml, which already holds both the digest it just built and the pin, but that is the publish path and #73 deliberately kept it clean. Left as a decision, not a half-gate. Co-authored-by: Claude Opus 5 <[email protected]>
This was referenced Oct 19, 2026
garymike
added a commit
that referenced
this pull request
Oct 21, 2026
…ublished (#88) Fourth time today the five reusable-workflow digest pins went stale, so the manual step gets a control. #73 made those pins deliberate on purpose: a rebuild must not silently change what every caller scans with, after betterleaks 1.6.1 -> 1.8.1 in #64 turned green repos red overnight. The cost of "deliberate" is that nothing moves them for you, and nothing reminded anyone either. #80 bumped eight tools and #81 bumped SkillSpector, both published, neither moved the pins, and callers kept getting the previous toolchain while tools.lock said otherwise. #82 was the cleanup. Every toolbox/** change since has put them behind again, including #87 and #86. Each build job now records the digest it published, and a new `pins` job compares those against the pin in the matching reusable workflow. Two design points that are the whole reason this works: It is a SEPARATE job, after base and domain, so publishing is never blocked. It cannot be blocked: the digest to pin does not exist until the publish has happened, so failing the publish on a stale pin would be circular. The images ship, and the run still goes red, so the follow-up is not optional. Same contract as tool-drift.yml: red means a pin is behind, not that anything is broken. It reads steps.build.outputs.digest rather than the registry. Comparing against the `latest` index digest false-reds on images whose index carries attestations, which is exactly why I pulled the equivalent check back out of check-tool-updates.sh in #82 rather than ship a flaky gate. The build already holds both halves, so no lookup and no ambiguity. mcp-review-toolbox is built here but no reusable workflow pins it, so it is reported as unpinned rather than counted as a mismatch. Verified by running the comparison standalone against three scenarios: all pins matching exits 0; two behind exits 1 with both named in ::error:: and marked in the job summary; and no digest files at all exits 1 saying the pins were NOT verified, rather than passing quietly, which is the failure mode that let this go unnoticed in the first place. actionlint clean, zizmor clean. Co-authored-by: Claude Opus 5 <[email protected]>
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.
Prepared by
tool-bump.ymlon the 2026-10-19 scheduled run (run), opened by hand so the normal PR checks run — aGITHUB_TOKEN-created PR would skip them.Tool drifthas been red for three consecutive weeks (Oct 5, 12, 19) because this manual step lapsed after #74 on 2026-09-30. This clears it.Bumped
1.8.11.9.0tools.lock,toolbox/base/Dockerfile3.97.93.99.2tools.lock,toolbox/base/Dockerfile2.6.02.7.0tools.lock,toolbox/base/Dockerfile1.52.01.54.1tools.lock,toolbox/base/Dockerfile0.6.70.6.8tools.lock,toolbox/mcp-review/Dockerfile1.30.11.31.1tools.lock,toolbox/gha/Dockerfile1.178.01.181.0tools.lockx2,toolbox/skill-audit/Dockerfile,toolbox/sast/Dockerfile3.3.203.3.29tools.lock,toolbox/iac/DockerfileEvery image was built from these pins before the branch was written, so each version resolves and its published checksum verifies.
Not in scope
SKILLSPECTOR_REFstays atc2d09df(v2.3.11). The drift check reports it as advisory and does not fail on it, and bumping it is a three-part change rather than a version line: current SkillSpector blocks the.husky/pre-commitcarrier thatgate-proof.sh#4 asserts it clears, so the pin, the assertion, and the docs across all three repos have to move together. Tracked separately.Merge mechanics
The branch is
ahead 1, behind 3after #77/#78/#79 merged. No update needed:required_status_checks.strictis off, so being behind does not block the merge.git merge-treeagainstmainis conflict-free, and the merged tree keeps both sides —toolbox/base/Dockerfileends up with the new python digest48b13b0on both stages and the four new tool versions. The digest bump is not reverted.pull_requestchecks run againstrefs/pull/N/merge, so the required check validates the merged result rather than the stale branch.The commit is signed by GitHub (
verification.reason: valid), so it merges under the signed-commits rule onmainwithout an admin bypass.🤖 Generated with Claude Code