Skip to content

ci: move the standards reusable pins to 75d38f80 and SHA-pin every uses: - #1230

Open
hyperpolymath wants to merge 5 commits into
mainfrom
claude/clever-heisenberg-q9qp32-pins
Open

hyperpolymath wants to merge 5 commits into
mainfrom
claude/clever-heisenberg-q9qp32-pins

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Summary

This PR moves hypatia's five metadatastician/standards reusable-workflow pins from 7641c7f (2026-11-06) to standards main 75d38f80, and relocks actions.lock to match. The five workflows are governance, hypatia-scan, mirror, scorecard and secret-scanner.

Why move the pin: the baseline gate.

  • At 7641c7f, governance / Validate Hypatia Baseline runs an apply-baseline.sh that blocks findings marked advisory: true.
  • Standards c7d75c00 (#1668, 2026-11-18) exempts that class at medium or below.
  • With this pin, a flag-only rule reports without turning the gate red. That covers RE011 today and RE012, the planned rule for a <<<"$(cmd)" that drops the writer's exit status.

Second change: every tag-form uses: is now SHA-pinned.

  • At 75d38f80 the lock pin contract (canon rule 10, check-lock-pin-contract.sh) applies to callers, and hypatia's lock failed it in 34 places.
  • relock-sha-keys.sh keeps a tag key while a workflow still writes the tag.
  • So 213 uses: lines in 26 workflows now read owner/repo@<sha> # <tag>. Each SHA is the commit this lock had already recorded for that tag, so no action version changes.
  • The tool that did this is new in standards: metadatastician/standards#1704.

How it was made

All with standards' own scripts; nothing was hand-edited. actions.lock is tool-owned.

  1. scripts/propagate-workflow-pins.sh --fix --to 75d38f80 . moved the five standards pins and relocked.
  2. scripts/pin-uses-from-lock.sh --write, from standards#1704, pinned 213 lines. 9 were already pinned.
  3. relock-sha-keys.sh merged 6 records. complete-job-refs.sh and prune-stale.sh changed nothing.

Evidence

Run locally with the scripts at 75d38f80, using mikefarah yq v4.52.4 and gh-actions-lock v0.2.0:

  • check-lock-sync.sh .github/workflows: exit 0.
  • check-lock-pin-contract.sh: 0 violations. Before step 2 there were 34.
  • update-actions-lock.sh --verify-local: exit 0, with 107 advisory findings and none blocking. They are sha-as-ref (expected now) and stale on the standards reusable edges, which main's tree also has.
  • In the workflow diff, every changed line is a uses: line. Every added line has the form @<40-hex> # <tag>.

Not verified

  • close-lock.sh stops on the nested metadatastician/standards@bfa851f5… edge. It does that on main's tree too, and the gate does not run it.
  • Tag movement and remote reachability are not proven locally. This PR's CI is that run.
  • The 25 standards commits between the two pins may surface new governance checks here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01J4QvDgzT72Tq2HTJmikyNg

Moves the five metadatastician/standards reusable-workflow pins
(governance, hypatia-scan, mirror, scorecard, secret-scanner) from
7641c7f (2026-11-06) to standards main 75d38f80, with actions.lock
relocked to match.

Why: the baseline gate at 7641c7f runs an apply-baseline.sh that
blocks findings marked `advisory: true`. Standards c7d75c00 (#1668,
2026-11-18) exempts that class, as RE011's own @doc anticipates. A
flag-only rule (RE011 today, RE012 next) then reports without turning
the gate red.

Made with standards' own tools, not by hand:
  propagate-workflow-pins.sh --fix --to 75d38f80 .   (pins + relock)
  relock-standards-pin.sh --to 75d38f80              (already keyed)
  check-lock-sync.sh .github/workflows               (in sync)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDgzT72Tq2HTJmikyNg
@gitnotebooks

gitnotebooks Bot commented Nov 24, 2026

Copy link
Copy Markdown

Review these changes at https://app.gitnotebooks.com/hyperpolymath/hypatia/pull/1230

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 22 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 5a36d86d-b1f9-4415-a158-799a7f3132b0
Commits

Reviewing files that changed from the base of the PR and between bcd98e5 and d08c026.

Files ignored due to path filters: 1

  • .github/workflows/actions.lock is excluded by !**/*.lock
Files selected for processing: 31

  • .github/workflows/abi-codegen-drift.yml
  • .github/workflows/bridge-gate.yml
  • .github/workflows/build-gossamer-gui.yml
  • .github/workflows/ci-health-sweep.yml
  • .github/workflows/ci.yml
  • .github/workflows/clusterfuzzlite.yml
  • .github/workflows/codeql.yml
  • .github/workflows/dependabot-automerge.yml
  • .github/workflows/dogfood-gate.yml
  • .github/workflows/estate-rescan.yml
  • .github/workflows/governance.yml
  • .github/workflows/hypatia-remediation-sweep.yml
  • .github/workflows/hypatia-scan.yml
  • .github/workflows/inbox-steward-intake.yml
  • .github/workflows/language-blockers.yml
  • .github/workflows/merge-orchestrate.yml
  • .github/workflows/mirror.yml
  • .github/workflows/pages.yml
  • .github/workflows/push-email-notify.yml
  • .github/workflows/quality.yml
  • .github/workflows/release.yml
  • .github/workflows/roadmap-sync.yml
  • .github/workflows/rsr-oracle.yml
  • .github/workflows/rust.yml
  • .github/workflows/scorecard.yml
  • .github/workflows/secret-scanner.yml
  • .github/workflows/security-policy.yml
  • .github/workflows/sq-map-source-check.yml
  • .github/workflows/tests.yml
  • .github/workflows/verify-proofs.yml
  • .github/workflows/zig.yml

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Chores
    • Updated automated repository workflows to use fixed revisions of their tools and shared workflows.
    • Workflow checks, builds, scans, and release processes retain their existing configuration.
  • Bug Fixes
    • High- and critical-priority suggestions are now reported as notices rather than appended to the baseline.
    • Farm dispatch failures are now surfaced as job errors instead of being suppressed as warnings.

The pull request updates reusable workflow and GitHub Actions references across repository workflows to commit SHAs. It also changes suggestion recording and API error handling in the inbox-steward intake workflow. Most existing workflow configuration remains unchanged.

Changes: Workflow action pin updates

Layer / File(s) Summary
Reusable workflow references
.github/workflows/governance.yml, .github/workflows/hypatia-scan.yml, .github/workflows/mirror.yml, .github/workflows/scorecard.yml, .github/workflows/secret-scanner.yml
Five jobs now reference reusable workflows at commit 75d38f80b6cb41e9785cf6f0c6ecf60846db7519 instead of the previous commit.
CI, build, and test action references
.github/workflows/abi-codegen-drift.yml, .github/workflows/bridge-gate.yml, .github/workflows/build-gossamer-gui.yml, .github/workflows/ci.yml, .github/workflows/clusterfuzzlite.yml, .github/workflows/dogfood-gate.yml, .github/workflows/merge-orchestrate.yml, .github/workflows/rsr-oracle.yml, .github/workflows/rust.yml, .github/workflows/sq-map-source-check.yml, .github/workflows/tests.yml, .github/workflows/verify-proofs.yml, .github/workflows/zig.yml
These workflows replace action version tags with commit SHAs. The summaries report that job inputs, commands, and configuration remain unchanged.
Security, quality, and release workflow updates
.github/workflows/ci-health-sweep.yml, .github/workflows/codeql.yml, .github/workflows/estate-rescan.yml, .github/workflows/hypatia-remediation-sweep.yml, .github/workflows/inbox-steward-intake.yml, .github/workflows/language-blockers.yml, .github/workflows/pages.yml, .github/workflows/push-email-notify.yml, .github/workflows/quality.yml, .github/workflows/release.yml, .github/workflows/roadmap-sync.yml, .github/workflows/security-policy.yml, .github/workflows/dependabot-automerge.yml
These workflows pin action references to commit SHAs. In inbox-steward intake, suggestions are recorded in update JSON and emitted as notices, and farm-dispatch API errors are no longer suppressed.

Estimated code review effort: 2 (Simple) | ~15 minutes

Change: Other

Possibly related issues

  • Issue 990: The governance reusable workflow reference is updated as described in the issue, but the supplied change summary does not show whether the Allowlist Preflight failure is resolved.
Merge Risk: Minimal · previous review bcd98 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title states the two main changes: moving the standards reusable-workflow pins to 75d38f80, and SHA-pinning every tag-form uses: line. The raw summary confirms both: the five reusable pins move to…
Description check Passed The description is closely related to the changeset. It explains moving the five standards reusable-workflow pins, the SHA-pinning of 213 uses: lines across 26 workflows, the scripts used, and the ver…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title states the two main changes: moving the standards reusable-workflow pins to 75d38f80, and SHA-pinning every tag-form uses: line. The raw summary confirms both: the five reusable pins move to 75d38f80, and many workflows switch from tags to commit SHAs. The title is specific and matches the changeset. It is a little long at 72 characters, but that is not a failure.

Full details: Description check

Explanation

The description is closely related to the changeset. It explains moving the five standards reusable-workflow pins, the SHA-pinning of 213 uses: lines across 26 workflows, the scripts used, and the verification steps. It matches the file-level summaries and the stated objectives.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 55527973-4c7b-43e4-ba66-a9ca1dc854fc
Commits

Reviewing files that changed from the base of the PR and between 5c6cb7b and bcd98e5.

Files ignored due to path filters: 2

  • .github/workflows/actions.lock is excluded by !**/*.lock
  • Cargo.lock is excluded by !**/*.lock
Files selected for processing: 26

  • .github/workflows/abi-codegen-drift.yml
  • .github/workflows/bridge-gate.yml
  • .github/workflows/build-gossamer-gui.yml
  • .github/workflows/ci-health-sweep.yml
  • .github/workflows/ci.yml
  • .github/workflows/clusterfuzzlite.yml
  • .github/workflows/codeql.yml
  • .github/workflows/dependabot-automerge.yml
  • .github/workflows/dogfood-gate.yml
  • .github/workflows/estate-rescan.yml
  • .github/workflows/hypatia-remediation-sweep.yml
  • .github/workflows/inbox-steward-intake.yml
  • .github/workflows/language-blockers.yml
  • .github/workflows/merge-orchestrate.yml
  • .github/workflows/pages.yml
  • .github/workflows/push-email-notify.yml
  • .github/workflows/quality.yml
  • .github/workflows/release.yml
  • .github/workflows/roadmap-sync.yml
  • .github/workflows/rsr-oracle.yml
  • .github/workflows/rust.yml
  • .github/workflows/security-policy.yml
  • .github/workflows/sq-map-source-check.yml
  • .github/workflows/tests.yml
  • .github/workflows/verify-proofs.yml
  • .github/workflows/zig.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Recent review details

Context from checks skipped due to timeout: 19

  • GitHub Check: governance / Validate Hypatia Baseline
  • GitHub Check: Build Ephapax toolchain (pinned)
  • GitHub Check: CodeRabbit
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: hypatia / Hypatia Neurosymbolic Analysis
  • GitHub Check: Rust Dependency Audit
  • GitHub Check: Container Security (Trivy) (deploy/Containerfile)
  • GitHub Check: idris2 --check
  • GitHub Check: abi-codegen-drift
  • GitHub Check: Build Test Images
  • GitHub Check: Rust Check & Clippy
  • GitHub Check: E2E — Elixir Scanner Pipeline
  • GitHub Check: E2E — Rust CLI Scan
  • GitHub Check: stress-test
  • GitHub Check: Cargo check + clippy + fmt
  • GitHub Check: Clippy
  • GitHub Check: Build AsciiDoc
  • GitHub Check: zig build test (FFI + wire contract)
  • GitHub Check: Build AsciiDoc
Additional context used

zizmor (1.32.0)

.github/workflows/abi-codegen-drift.yml

[warning] 43-44: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

.github/workflows/bridge-gate.yml

[warning] 38-38: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 48-48: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

.github/workflows/build-gossamer-gui.yml

[warning] 55-56: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 112-113: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 136-137: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 140-140: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

.github/workflows/ci-health-sweep.yml

[warning] 57-57: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

.github/workflows/ci.yml

[warning] 38-39: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 42-42: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[warning] 69-70: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 73-73: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[warning] 87-88: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 91-91: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[warning] 113-114: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 117-117: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[warning] 152-153: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 177-178: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 230-231: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 258-259: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

.github/workflows/clusterfuzzlite.yml

[warning] 65-67: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 87-87: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

.github/workflows/dogfood-gate.yml

[warning] 32-33: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 86-87: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 155-156: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 232-233: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 293-294: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

.github/workflows/inbox-steward-intake.yml

[warning] 64-68: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 258-262: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

.github/workflows/language-blockers.yml

[warning] 37-37: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

.github/workflows/merge-orchestrate.yml

[warning] 48-56: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 57-61: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

.github/workflows/pages.yml

[warning] 23-24: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 25-29: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

.github/workflows/quality.yml

[warning] 25-26: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 115-115: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[warning] 225-226: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 355-355: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 379-379: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 373-373: workflow or action definition without a name (anonymous-definition): this job

(anonymous-definition)

.github/workflows/release.yml

[warning] 53-54: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 122-123: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[error] 132-132: runtime artifacts potentially vulnerable to a cache poisoning attack (cache-poisoning): omitting lookup-only enables caching

(cache-poisoning)

[info] 126-126: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[warning] 217-218: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 289-290: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 343-343: action functionality is already included by the runner (superfluous-actions): use gh release in a script step

(superfluous-actions)

.github/workflows/rust.yml

[warning] 30-30: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 31-31: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[warning] 47-47: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 59-59: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 48-48: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[info] 60-60: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[warning] 71-71: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 72-72: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[warning] 84-85: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 88-88: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[warning] 112-113: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 116-116: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

.github/workflows/security-policy.yml

[warning] 80-81: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 84-84: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[warning] 139-140: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 220-223: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 332-378: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 541-542: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 586-587: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 636-637: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 711-712: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 715-715: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

.github/workflows/tests.yml

[warning] 41-42: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 96-97: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 154-155: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 158-158: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[warning] 198-199: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 255-256: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 346-347: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 359-359: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[warning] 585-586: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 589-589: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[warning] 712-712: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 715-715: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[warning] 812-813: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[info] 816-816: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

.github/workflows/verify-proofs.yml

[warning] 100-101: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 266-267: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 330-331: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 413-414: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 473-474: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 501-502: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

[warning] 518-519: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

.github/workflows/zig.yml

[warning] 63-64: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false

(artipacked)

Additional comments: 4

.github/workflows/dogfood-gate.yml: 1

121-121: Stability & Availability

The concern that the pinned K9 action commit reintroduces the extraction failure does not hold. At c1a34884054fabf0e9de81dbf68f4ba7874e85f1, the recursive tree contains no symlink entries, so no dangling links can break extraction. The path and strict inputs that the workflow passes are still declared in validate-action/action.yml. The pin change from @main to a full SHA is not a regression for this failure mode.

.github/workflows/abi-codegen-drift.yml: 1

44-44: Stability & Availability

The checkout pin at line 44 is correct. actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 is the commit that v7.0.1 dereferences to, and it is reachable upstream. The conversion therefore preserves the release recorded in the lock, and no change is required here.

.github/workflows/security-policy.yml: 2

478-478: Security & Privacy

The wrapper version did not change in this PR. Both gate steps already used trufflesecurity/trufflehog@v3.99.9 at the merge base. The head replaces only the tag with the SHA 3bd2b5887eb0efb8fa18bfd1d296032924e4ffdc and keeps the # v3.99.9 comment. The scanner pin, TRUFFLEHOG_VERSION, also remains 3.97.6 in both revisions. The regression described in this comment does not occur.

285-285: Security & Privacy

The estate baseline file is identical at both revisions.

The comment states that the reusable secret scanner might apply different baseline rules than this checkout. The inspected config/gitleaks/estate-baseline.toml is byte-identical at 7641c7f and 75d38f80. Both scans therefore get the same rules from that file, so the baseline change does not cause differing verdicts.

coderabbitai[bot]
coderabbitai Bot previously approved these changes Nov 24, 2026
@linear-code
linear-code Bot marked this pull request as ready for review November 24, 2026 10:34
Security's cargo audit and cargo deny fail on main and here: url 2.5.8
carries RUSTSEC-2026-0592. Same Cargo.lock as #1225 and as f8332b4 on
#1195 (cargo update -p url --precise 2.5.9); a no-op once #1225 lands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDgzT72Tq2HTJmikyNg
coderabbitai[bot]
coderabbitai Bot previously approved these changes Nov 24, 2026
The lock pin contract needs each actions.lock key to be a 40-hex commit.
relock-sha-keys.sh keeps a tag key while a workflow still writes the tag, so
the 34 tag-keyed records could not be re-keyed while 213 `uses:` lines named
tags.

Rewritten with standards scripts/pin-uses-from-lock.sh --write
(metadatastician/standards#1704): each `owner/repo@<tag>` becomes
`owner/repo@<sha> # <tag>`, the SHA being the commit this lock already
recorded for that tag, so no action version changes. 213 lines in 26
workflows; 9 were already SHA-pinned. Then relock-sha-keys.sh (6 records
merged), complete-job-refs.sh and prune-stale.sh (no changes) at the
standards pin 75d38f80.

Checked at 75d38f80: check-lock-sync.sh exit 0; check-lock-pin-contract.sh
0 violations (34 before); update-actions-lock.sh --verify-local exit 0
(107 advisory findings, none blocking).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDgzT72Tq2HTJmikyNg
@hyperpolymath hyperpolymath changed the title ci: move the standards reusable pins to 75d38f80 ci: move the standards reusable pins to 75d38f80 and SHA-pin every uses: Nov 24, 2026

Copy link
Copy Markdown
Owner Author

CI on a5764f4: all 116 check runs pass, including governance / Validate Hypatia Baseline, Actions lockfile verify, Standards integration contract and Workflow security linter.

The one red item is the commit status pre-commit.ci - pr, which reports "error during build". It is not caused by this PR:

No fix exists yet. How to handle the config is put to the owner, because the same file is in gitbot-fleet and proof-burrower.


Generated by Claude Code

hyperpolymath added a commit to metadatastician/standards that referenced this pull request Nov 24, 2026
…A pins from its own lock (#1704)

## Why

The lock pin contract (canon rule 10, `check-lock-pin-contract.sh`,
enforced on callers since `2b543da1`) needs every `actions.lock` key to
be a 40-hex commit. But `relock-sha-keys.sh` deliberately keeps a tag
key while any workflow still writes that tag. So a caller that writes
`uses: actions/checkout@v7.0.1` can't satisfy the contract with the
repair chain alone.

The measured case is hyperpolymath/hypatia: 212 tag-form `uses:` lines
across 26 workflows, and 34 contract violations. That is what keeps
[hyperpolymath/hypatia#1230](hyperpolymath/hypatia#1230)
red. The same class applies to the other ledgered callers.

## What

`scripts/pin-uses-from-lock.sh [--write] [<workflows-dir>]` rewrites
each `uses: owner/repo[/path]@<tag>` to `owner/repo[/path]@<sha> #
<tag>`.

- **Where the SHA comes from:** the caller's own lock record (`commit:
'sha1-…'`). The rewrite needs no network and changes no action version.
- **Dry run by default.** It prints TSV (`file line old-ref new-ref
verdict`) on stdout and a summary on stderr. Pass `--write` to apply.
- **What it preserves:**
  - single and double quotes, with the comment placed after them
  - sub-path actions
  - each workflow's own spelling of owner/repo
  - a missing final newline
- **Case handling:** owner/repo folds case, because `gh actions-lock`
writes keys in lower case (`swatinem/rust-cache`). A ref keeps its case.
- **What it leaves alone and reports:** expression refs, lines already
pinned, lines with a comment, and tags with no lock record.
- **When it refuses:**
- exit 1 when the lock is missing, or when a record's commit is not
`sha1-<40 hex>`
  - exit 2 on a usage error
- `check-lock-pin-contract.sh` now names this remedy in its `INVALID …
key ref is not a 40-hex commit` message.

## Evidence

- `bash scripts/tests/pin-uses-from-lock-test.sh`: 33 passed, 0 failed.
It is also run under mawk in `self-test.yml`.
- Nine mutants of the script each fail the suite:
  - no case fold on the lock side
  - no case fold on the lookup
  - dry run writes
  - final newline dropped
  - quotes dropped
  - comment ignored
  - ref case folded
  - bad commit accepted
  - expression pinned
- `PATH=<yq v4>:$PATH bash
scripts/tests/check-lock-pin-contract-test.sh`: 36 passed, 0 failed.
- `shellcheck` is clean on both new files.
- End to end on a copy of hypatia's `.github`:
  1. Ran `--write`: 213 lines pinned, 9 already pinned.
2. Ran `relock-sha-keys.sh`, then `complete-job-refs.sh`, then
`prune-stale.sh`.
  3. Results:
     - `check-lock-sync.sh`: exit 0
     - `check-lock-pin-contract.sh`: 0 violations, down from 34
     - `update-actions-lock.sh --verify-local`: exit 0
- `close-lock.sh` stops (exit 3) on the nested
`metadatastician/standards@bfa851f…` edge. That happens on main's tree
too, the gate does not use it, and this PR does not change it.

## Not in this PR

- Applying the script to hypatia. That follows as a hypatia PR once this
lands, or from this branch's commit.
- Composite actions under `.github/actions/`. They are not read,
matching `relock-sha-keys.sh`.

---
_Generated by [Claude Code](https://claude.ai/code)_

Co-authored-by: Claude <noreply@anthropic.com>
Repository owner deleted a comment from chatgpt-codex-connector Bot Nov 24, 2026
@sonarqubecloud

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants