Skip to content

Commit af2bd27

Browse files
fix(ci): move mirror and scorecard off standards 75bd5994 (Mirror startup_failure since 2026-11-09) (#688)
## Why `Mirror to Git Forges` has ended in **`startup_failure` on every push to `main` since 2026-11-09** (first at `1c22722`, 34 runs), while `mirror.yml` has been unchanged since 2026-11-01. It is the only red workflow on `main`. **Diagnosis.** The cause is supported by evidence below, but the failure message itself could not be read from this session. - At `75bd5994`, standards' own `actions.lock` records the callee's edge as `dtolnay/rust-toolchain@e2a55d2f` with `ref: 'v1'`. - Upstream's `v1` tag now resolves to `683b588c` (`git ls-remote https://github.com/dtolnay/rust-toolchain`). - GitHub validates the **callee** lock at the called SHA (recorded in `scripts/lib/stale-reusable-pins.tsv`, Window B). - Of this repo's three `75bd5994` callers, `mirror-reusable` is the only one whose closure includes dtolnay. That explains why `hypatia-scan` and `scorecard` still start at the same pin. - Standards HEAD has already re-locked to `683b588c`. The `startup_failure` annotation text is not exposed by the APIs available to this session. Confirmation is the first `Mirror` run on `main` after merge, because Mirror runs only on push and dispatch, not on `pull_request`. ## What | File | Change | |---|---| | `.github/workflows/mirror.yml`, `scorecard.yml` | `75bd5994` → `b49a33e9` (standards `main`, 2026-11-17) | | `scripts/lib/pinned-reusable-sources.json` | Re-attested both sources: commit, blob, content SHA-256, direct `uses`. Added a `standards@b49a33e9` parent record. Added `dtolnay/rust-toolchain@683b588c` (v1) and `ossf/scorecard-action@fa7117db` (v2.5.0) records, taken from standards' lock and checked against upstream tags. Shrank the `75bd5994` parent to its remaining three sources. Removed the two records this change orphans. | | `scripts/lib/lock-closure-receipts.tsv` | Both groups **re-emitted** with `audit-lock-closure.sh --emit-receipt`, not hand-edited. Provenance comment updated. | **Interface checks against `75bd5994`:** - `mirror-reusable` adds only three optional R2 secrets, an R2 job gated on `vars.R2_BUNDLE_MIRROR_ENABLED`, and a `visibility-guard` job with `permissions: {}`. That guard is a privacy improvement: forge pushes now also require a public repo or an explicit `*_PRIVATE_CONFIRMED`. - `scorecard-reusable` keeps the same inputs, secrets and per-job permissions. **Deliberately not in this PR:** `hypatia-scan` stays at `75bd5994`. Its newer reusable changes the scanner pins (Hypatia, panic-attack, pons) and the reporting, so it changes *what is found* and needs its own review. ## Validation (local replay of the `Pinned source closure` CI job, with `PINNED_SOURCE_CACHE` set) - `pinned-reusable-sources-test.sh`: 55 passed, 0 failed - `audit-pinned-reusable-sources.sh --fetch-sources`: findings=0, not-run=0, verified-roots=6 (also on the historical-scanner tree) - `scanner-caller-contract-test.sh`: passed - `lock-closure-test.sh`: 47 passed, 0 failed - `audit-lock-closure.sh`: `fatal=0 review=0 accepted=3 not-run=0 source-attested-records=14` - `pinned-source-entrypoints-test.sh`: 9 passed, 0 failed - `check-lock-sync.sh`: rc 0 ## Follow-up, estate-wide (not done here) About 20 or more hyperpolymath repos call `mirror-reusable`; code search finds e.g. modshells, echidna, verisimdb and panic-attack. Any still pinned at `75bd5994` would hit the same failure. Once this PR's first `main` run confirms the diagnosis, a `stale-reusable-pins.tsv` row (`mirror-reusable@75bd5994` → `b49a33e9`) lets `fix-stale-reusable-pin.sh` and Hypatia PIN-003 repair them. I have not added that row yet, because it would act on a diagnosis that is still unconfirmed. --- _Generated by [Claude Code](https://claude.ai/code/session_01J4QvDhFeexmokLqLRfZNce)_ Co-authored-by: Claude <noreply@anthropic.com>
1 parent f13ecb4 commit af2bd27

4 files changed

Lines changed: 78 additions & 54 deletions

File tree

‎.github/workflows/mirror.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permissions:
1515

1616
jobs:
1717
mirror:
18-
uses: metadatastician/standards/.github/workflows/mirror-reusable.yml@75bd5994470661a099df562d6d5ad2fe744dbd66
18+
uses: metadatastician/standards/.github/workflows/mirror-reusable.yml@b49a33e991f37a2249d873cbdc02c27a08f05d6d
1919
# mirror-reusable declares exactly these seven forge keys and forbids
2020
# `secrets: inherit`; pass them by name.
2121
secrets:

‎.github/workflows/scorecard.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
contents: read
1919
security-events: write
2020
id-token: write
21-
uses: metadatastician/standards/.github/workflows/scorecard-reusable.yml@75bd5994470661a099df562d6d5ad2fe744dbd66
21+
uses: metadatastician/standards/.github/workflows/scorecard-reusable.yml@b49a33e991f37a2249d873cbdc02c27a08f05d6d

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

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,17 @@
2222
# PROVENANCE (re-emit, do not hand-edit)
2323
# standards@75bd5994470661a099df562d6d5ad2fe744dbd66
2424
# source: metadatastician/standards .github/workflows/{governance,hypatia-scan,
25-
# mirror,scorecard,secret-scanner}-reusable.yml at that commit
25+
# secret-scanner}-reusable.yml at that commit (mirror and scorecard
26+
# moved to b49a33e9; see below)
2627
# command: ./scripts/audit-lock-closure.sh \
2728
# --emit-receipt metadatastician/standards@75bd599... \
28-
# --source <each of the five files>
29+
# --source <each of the three files>
30+
# standards@b49a33e991f37a2249d873cbdc02c27a08f05d6d
31+
# source: metadatastician/standards .github/workflows/{mirror,
32+
# scorecard}-reusable.yml at that commit
33+
# command: ./scripts/audit-lock-closure.sh \
34+
# --emit-receipt metadatastician/standards@b49a33e9... \
35+
# --source <each of the two files>
2936
# actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9
3037
# source: action.yml at the commit the tag v5.0.0 resolved to when the lock
3138
# record was written (fc324d3 is the reviewed immutable commit)
@@ -43,13 +50,18 @@ metadatastician/standards 75bd5994470661a099df562d6d5ad2fe744dbd66 actions/cache
4350
metadatastician/standards 75bd5994470661a099df562d6d5ad2fe744dbd66 actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
4451
metadatastician/standards 75bd5994470661a099df562d6d5ad2fe744dbd66 actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
4552
metadatastician/standards 75bd5994470661a099df562d6d5ad2fe744dbd66 denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed
46-
metadatastician/standards 75bd5994470661a099df562d6d5ad2fe744dbd66 dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f
4753
metadatastician/standards 75bd5994470661a099df562d6d5ad2fe744dbd66 editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393
4854
metadatastician/standards 75bd5994470661a099df562d6d5ad2fe744dbd66 erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124
4955
metadatastician/standards 75bd5994470661a099df562d6d5ad2fe744dbd66 github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63
50-
metadatastician/standards 75bd5994470661a099df562d6d5ad2fe744dbd66 ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc
5156
metadatastician/standards 75bd5994470661a099df562d6d5ad2fe744dbd66 oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
52-
metadatastician/standards 75bd5994470661a099df562d6d5ad2fe744dbd66 webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555
57+
58+
# Reviewed source: metadatastician/standards/.github/workflows/{mirror,scorecard}-reusable.yml@b49a33e991f37a2249d873cbdc02c27a08f05d6d
59+
metadatastician/standards b49a33e991f37a2249d873cbdc02c27a08f05d6d actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
60+
metadatastician/standards b49a33e991f37a2249d873cbdc02c27a08f05d6d actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
61+
metadatastician/standards b49a33e991f37a2249d873cbdc02c27a08f05d6d dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8
62+
metadatastician/standards b49a33e991f37a2249d873cbdc02c27a08f05d6d github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63
63+
metadatastician/standards b49a33e991f37a2249d873cbdc02c27a08f05d6d ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e
64+
metadatastician/standards b49a33e991f37a2249d873cbdc02c27a08f05d6d webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555
5365
actions/upload-pages-artifact fc324d3547104276b827a68afc52ff2a11cc49c9 actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
5466

5567
# Reviewed source: metadatastician/standards/.github/workflows/governance-reusable.yml@ea2f4d8a886585ed442687ae63d4ad7493379ba4

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

Lines changed: 59 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -286,10 +286,10 @@
286286
},
287287
{
288288
"repository": "metadatastician/standards",
289-
"commit": "75bd5994470661a099df562d6d5ad2fe744dbd66",
289+
"commit": "b49a33e991f37a2249d873cbdc02c27a08f05d6d",
290290
"path": ".github/workflows/mirror-reusable.yml",
291-
"blob": "ec52acc3a975fbd528d9a38741bd868fb55de6e5",
292-
"content_sha256": "bc7443e325e255dd19baf48722583f07f7be1cd0cdce0f1ce229cfbeab3d17a1",
291+
"blob": "f083ab767099ae224d2be0c64075ccf6c74eda8a",
292+
"content_sha256": "ae1e3ee421562b67f2c81938b4589c816fc70d723ee55fae77508b1783aebfc3",
293293
"role": "active",
294294
"callers": [
295295
{
@@ -302,83 +302,87 @@
302302
{
303303
"kind": "step",
304304
"ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1",
305-
"line": 91
305+
"line": 174
306306
},
307307
{
308308
"kind": "step",
309309
"ref": "webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555",
310-
"line": 95
310+
"line": 178
311311
},
312312
{
313313
"kind": "step",
314314
"ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1",
315-
"line": 149
315+
"line": 235
316316
},
317317
{
318318
"kind": "step",
319319
"ref": "webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555",
320-
"line": 153
320+
"line": 239
321321
},
322322
{
323323
"kind": "step",
324324
"ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1",
325-
"line": 201
325+
"line": 290
326326
},
327327
{
328328
"kind": "step",
329329
"ref": "webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555",
330-
"line": 205
330+
"line": 294
331331
},
332332
{
333333
"kind": "step",
334334
"ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1",
335-
"line": 253
335+
"line": 345
336336
},
337337
{
338338
"kind": "step",
339339
"ref": "webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555",
340-
"line": 257
340+
"line": 349
341341
},
342342
{
343343
"kind": "step",
344344
"ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1",
345-
"line": 305
345+
"line": 400
346346
},
347347
{
348348
"kind": "step",
349349
"ref": "webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555",
350-
"line": 309
350+
"line": 404
351351
},
352352
{
353353
"kind": "step",
354354
"ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1",
355-
"line": 357
355+
"line": 458
356356
},
357357
{
358358
"kind": "step",
359359
"ref": "webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555",
360-
"line": 361
360+
"line": 462
361361
},
362362
{
363363
"kind": "step",
364364
"ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1",
365-
"line": 411
365+
"line": 513
366+
},
367+
{
368+
"kind": "step",
369+
"ref": "dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8",
370+
"line": 532
366371
},
367372
{
368373
"kind": "step",
369-
"ref": "dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f",
370-
"line": 427
374+
"ref": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1",
375+
"line": 568
371376
}
372377
],
373-
"source_url": "https://github.com/metadatastician/standards/blob/75bd5994470661a099df562d6d5ad2fe744dbd66/.github/workflows/mirror-reusable.yml",
374-
"local_file": "C:\\Users\\sudoodle\\OneDrive\\Documents\\ChatGPT\\TYPE THEORY\\echo-reader-compat-20261106\\closure-cycle-20261107\\sources\\metadatastician\\standards\\75bd5994470661a099df562d6d5ad2fe744dbd66\\.github\\workflows\\mirror-reusable.yml"
378+
"source_url": "https://github.com/metadatastician/standards/blob/b49a33e991f37a2249d873cbdc02c27a08f05d6d/.github/workflows/mirror-reusable.yml"
375379
},
376380
{
377381
"repository": "metadatastician/standards",
378-
"commit": "75bd5994470661a099df562d6d5ad2fe744dbd66",
382+
"commit": "b49a33e991f37a2249d873cbdc02c27a08f05d6d",
379383
"path": ".github/workflows/scorecard-reusable.yml",
380-
"blob": "4e4fd33a6259b34cdc8c5f08d0d4280a216fb492",
381-
"content_sha256": "db6ae19dcb09329533d1537e63c329d469dc602badcb4cc514af5da7b9b3a9b6",
384+
"blob": "9f939f037743e2379efa81c0e263dbc315e9909d",
385+
"content_sha256": "fb2dd21f527ed4af110edf574d7ec7b6125dfb5b7880e77b3021a642e0e87943",
382386
"role": "active",
383387
"callers": [
384388
{
@@ -395,7 +399,7 @@
395399
},
396400
{
397401
"kind": "step",
398-
"ref": "ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc",
402+
"ref": "ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e",
399403
"line": 38
400404
},
401405
{
@@ -420,7 +424,7 @@
420424
},
421425
{
422426
"kind": "step",
423-
"ref": "ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc",
427+
"ref": "ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e",
424428
"line": 146
425429
},
426430
{
@@ -439,8 +443,7 @@
439443
"line": 250
440444
}
441445
],
442-
"source_url": "https://github.com/metadatastician/standards/blob/75bd5994470661a099df562d6d5ad2fe744dbd66/.github/workflows/scorecard-reusable.yml",
443-
"local_file": "C:\\Users\\sudoodle\\OneDrive\\Documents\\ChatGPT\\TYPE THEORY\\echo-reader-compat-20261106\\closure-cycle-20261107\\sources\\metadatastician\\standards\\75bd5994470661a099df562d6d5ad2fe744dbd66\\.github\\workflows\\scorecard-reusable.yml"
446+
"source_url": "https://github.com/metadatastician/standards/blob/b49a33e991f37a2249d873cbdc02c27a08f05d6d/.github/workflows/scorecard-reusable.yml"
444447
},
445448
{
446449
"repository": "metadatastician/standards",
@@ -760,14 +763,6 @@
760763
"uses": [],
761764
"original_lock_record": " 'denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed':\n ref: 'v2.0.5'\n commit: 'sha1-22d081ff2d3a40755e97629de92e3bcbfa7cf2ed'\n owner_id: 42048915\n repo_id: 356423100\n"
762765
},
763-
"dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f": {
764-
"ref": "v1",
765-
"commit": "sha1-e2a55d2ffb04f378e9626c28d38b36d230d1e12f",
766-
"owner_id": 1940490,
767-
"repo_id": 260749683,
768-
"uses": [],
769-
"original_lock_record": " 'dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f':\n ref: 'v1'\n commit: 'sha1-e2a55d2ffb04f378e9626c28d38b36d230d1e12f'\n owner_id: 1940490\n repo_id: 260749683\n"
770-
},
771766
"editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393": {
772767
"ref": "v3.0.0",
773768
"commit": "sha1-51f63319f592f97930c73d9c46184d20bd206393",
@@ -802,24 +797,13 @@
802797
"actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1",
803798
"actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9",
804799
"denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed",
805-
"dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f",
806800
"editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393",
807801
"erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124",
808802
"github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63",
809-
"ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc",
810-
"oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6",
811-
"webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555"
803+
"oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6"
812804
],
813805
"original_lock_record": " 'metadatastician/standards@75bd5994470661a099df562d6d5ad2fe744dbd66':\n ref: '75bd5994470661a099df562d6d5ad2fe744dbd66'\n commit: 'sha1-75bd5994470661a099df562d6d5ad2fe744dbd66'\n owner_id: 297579217\n repo_id: 1116521501\n uses:\n - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'\n - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'\n - 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9'\n - 'denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed'\n - 'dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f'\n - 'editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393'\n - 'erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124'\n - 'github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63'\n - 'ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc'\n - 'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6'\n - 'webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555'\n"
814806
},
815-
"ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc": {
816-
"ref": "v2.4.4",
817-
"commit": "sha1-2d1146689b8cda280b9bc96326124645441f03bc",
818-
"owner_id": 67707773,
819-
"repo_id": 421101922,
820-
"uses": [],
821-
"original_lock_record": " 'ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc':\n ref: 'v2.4.4'\n commit: 'sha1-2d1146689b8cda280b9bc96326124645441f03bc'\n owner_id: 67707773\n repo_id: 421101922\n"
822-
},
823807
"oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6": {
824808
"ref": "v2.2.0",
825809
"commit": "sha1-0c5077e51419868618aeaa5fe8019c62421857d6",
@@ -871,6 +855,34 @@
871855
"commit": "sha1-1d88384fd173af6ecb012dfd0264a306b711241a",
872856
"owner_id": 88700172,
873857
"repo_id": 422287306
858+
},
859+
"metadatastician/standards@b49a33e991f37a2249d873cbdc02c27a08f05d6d": {
860+
"ref": "b49a33e991f37a2249d873cbdc02c27a08f05d6d",
861+
"commit": "sha1-b49a33e991f37a2249d873cbdc02c27a08f05d6d",
862+
"owner_id": 297579217,
863+
"repo_id": 1116521501,
864+
"uses": [
865+
"actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1",
866+
"actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9",
867+
"dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8",
868+
"github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63",
869+
"ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e",
870+
"webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555"
871+
]
872+
},
873+
"dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8": {
874+
"ref": "v1",
875+
"commit": "sha1-683b588c487a69d01f6c6ddf40f036ff682cc2c8",
876+
"owner_id": 1940490,
877+
"repo_id": 260749683,
878+
"uses": []
879+
},
880+
"ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e": {
881+
"ref": "v2.5.0",
882+
"commit": "sha1-fa7117db83c52d787ae5a89f350999701505d78e",
883+
"owner_id": 67707773,
884+
"repo_id": 421101922,
885+
"uses": []
874886
}
875887
}
876888
}

0 commit comments

Comments
 (0)