Skip to content

Commit e8d17bb

Browse files
fix(ci): re-attest hypatia credential-read-check at its current pin (fixes red Pinned source closure) (#698)
## Why `main` (dec1e7c) is red on "Pinned source closure": `audit-pinned-reusable-sources.sh --fetch-sources` reports `FATAL SOURCE-ACTIVE-MISSING`. The probable cause in the task (#688 moving mirror/scorecard) was **not** the cause — mirror and scorecard were already attested at b49a33e. The actual drift is `hypatia-scan.yml` job `scanner-credential`, bumped by #686 to `hyperpolymath/hypatia/.github/workflows/credential-read-check.yml@29a9e4a8…` while the manifest still binds `@b93f0615…`. Both commits carry the same blob (`15c597e…`). ## What Fallback only: attestation for the **current** pins, **no standards bump**. - `scripts/lib/pinned-reusable-sources.json`: commit binding b93f0615 → 29a9e4a8 (blob and content SHA-256 unchanged, re-verified from fetched objects). - `scripts/lib/lock-closure-receipts.tsv`: receipt row and comment moved to 29a9e4a8. - No workflow, `actions.lock`, SPDX or `.a2ml` change. ## Evidence (baseline origin/main → after; gawk installed locally, fresh cache each) | Check | Baseline | After | |---|---|---| | `audit-pinned-reusable-sources.sh --fetch-sources` | findings=1 (SOURCE-ACTIVE-MISSING) | findings=0 not-run=0 verified-roots=6 | | `audit-lock-closure.sh` | fatal=1 review=5 accepted=2 not-run=7 | fatal=0 review=0 accepted=3 not-run=0 source-attested-records=13 | | `check-lock-sync.sh` | rc=0 | rc=0 | | pinned-reusable-sources-test | 55/0 | 55/0 | | lock-closure-test | 45 pass / 2 fail | 47/0 | | pinned-source-entrypoints-test | 7 pass / 2 fail | 9/0 (after the CI historical-source fetch step) | | prepared-migration `preflight.sh --quiet` | — | rc=0 | | `STANDARDS_DIR=<standards @3b57589d> tests/fleet-report-back-test.sh` | — | 69 passed, 0 failed | ## Not done - **The four-pin bump to standards 3b57589 is blocked.** `governance-reusable.yml` at 3b57589 contains job-level nested reusable calls (`deed-conformance.yml@bfa851f…` line 436, `k9-conformance.yml@bfa851f…` line 445). The verifier deliberately returns NOT-RUN `SOURCE-LOCAL` for nested reusables, so the governance pin cannot be attested without extending the verifier's reviewed profile — out of scope. `hypatia-scan-reusable` at 3b57589 also adds `actions/download-artifact@9000827…`, absent from the current receipts/lock closure, so it needs a lock regeneration (tool-owned, never hand-edited) plus review. Needs an owner decision on the verifier profile first. - **actionlint and mikefarah yq v4 were not run**: installation (go install, release binaries) was denied by this session's permission classifier. No workflow file is touched here, but actionlint is unverified. The "Regenerate vendor lock" CI step (`gh actions-lock`) was not run locally either. - Compat-branch hypatia pin (75bd599) left as is. --- _Generated by [Claude Code](https://claude.ai/code/session_01J4QvDjMjpyixLqzirvwV1s)_ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Chores** * Updated the pinned workflow source to a newer revision. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Claude <noreply@anthropic.com>
1 parent dec1e7c commit e8d17bb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎scripts/lib/lock-closure-receipts.tsv‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,5 @@ metadatastician/standards ea2f4d8a886585ed442687ae63d4ad7493379ba4 oven-sh/setup
7676
# Reviewed source: hyperpolymath/proven-cicd-and-workflows/.github/workflows/secret-scanner-reusable.yml@1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6
7777
hyperpolymath/proven-cicd-and-workflows 1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6 actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
7878

79-
# Reviewed source: hyperpolymath/hypatia/.github/workflows/credential-read-check.yml@b93f0615a61ee4c05af66eb526538eab47120aaa
80-
hyperpolymath/hypatia b93f0615a61ee4c05af66eb526538eab47120aaa step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a
79+
# Reviewed source: hyperpolymath/hypatia/.github/workflows/credential-read-check.yml@29a9e4a881b6a3cc4cd27fcbc0886ffbadcbc5fe
80+
hyperpolymath/hypatia 29a9e4a881b6a3cc4cd27fcbc0886ffbadcbc5fe step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a

‎scripts/lib/pinned-reusable-sources.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@
731731
},
732732
{
733733
"repository": "hyperpolymath/hypatia",
734-
"commit": "b93f0615a61ee4c05af66eb526538eab47120aaa",
734+
"commit": "29a9e4a881b6a3cc4cd27fcbc0886ffbadcbc5fe",
735735
"path": ".github/workflows/credential-read-check.yml",
736736
"blob": "15c597ea720a5affb861dab058084f7245ee4cbd",
737737
"content_sha256": "645e8ac8ff118c33f2dc941ec46f1abac895f7836339736841c269e4b9dc084d",

0 commit comments

Comments
 (0)