Skip to content

ci: re-pin standards reusables to metadatastician@e064539 - #284

Merged
hyperpolymath merged 2 commits into
mainfrom
claude/new-session-ywdrth-standards-repin
Nov 10, 2026
Merged

hyperpolymath merged 2 commits into
mainfrom
claude/new-session-ywdrth-standards-repin

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

typed-wasm's five standards workflows call reusable workflows pinned to hyperpolymath/standards@da2c748. At that pin all five fail at startup on every push, before any job runs. So the required scan / gitleaks check never reports, and governance, Hypatia, mirror and Scorecard are red on main.

This PR re-pins them to metadatastician/standards@e064539, the commit panll already runs green (hyperpolymath/panll#171).

Changes

  • Re-pin: governance, hypatia-scan, mirror, scorecard and secret-scanner move from hyperpolymath/standards@da2c748 to metadatastician/standards@e064539. GitHub redirects the old org name; PROOF-POLICY §8.6 confirms both names are the same repository.
  • Permissions: governance.yml and mirror.yml now grant actions: read, which both reusables declare at workflow level at e064539.
  • Compatibility checked: I compared each reusable's workflow_call interface at both pins. The new inputs are all optional, and no job asks for a permission its caller does not grant. Scorecard and Hypatia already granted what they need. secret-scanner's job needs only contents: read.
  • CHANGELOG.adoc gets an entry.

Not changed: triggers and secrets handling stay as they were (Hypatia still runs on pull_request, mirror still uses secrets: inherit).

RSR Quality Checklist

Required

  • Tests pass (CI is the test here; see below)
  • No banned language patterns
  • No banned functions (believe_me, unsafeCoerce, Obj.magic, Admitted, sorry)
  • SPDX license headers present on all new/modified source files
  • No secrets, credentials, or .env files included

As Applicable

  • CHANGELOG updated

Testing

  • yq parses all five edited workflows.
  • Each caller compared with panll's green callers at the same pin.
  • The real test is this PR's own CI: scan / gitleaks should now report.

Generated by Claude Code

The five standards reusables (governance, hypatia-scan, mirror,
scorecard, secret-scanner) were pinned to hyperpolymath/standards at
da2c748, where all five failed at startup on every push, so the required
`scan / gitleaks` check never reported. Re-pin to
metadatastician/standards@e064539, the commit panll runs green
(hyperpolymath/panll#171).

governance.yml and mirror.yml grant `actions: read`, which both
reusables declare at workflow level at e064539.

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

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

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 55 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: 773051a0-4c48-4d3f-868f-4dbef36ed06c
Commits

Reviewing files that changed from the base of the PR and between e613ff3 and b6857bb.

Files selected for processing: 6

  • .github/workflows/governance.yml
  • .github/workflows/hypatia-scan.yml
  • .github/workflows/mirror.yml
  • .github/workflows/scorecard.yml
  • .github/workflows/secret-scanner.yml
  • CHANGELOG.adoc
  • 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

`secrets: inherit` hands every repository secret to the callee. The
mirror reusable at e064539 declares seven forge keys, so pass those by
name; the secret-scanner reusable declares none, so pass none. SonarCloud
rated the re-pin's new code C for security on the inherited secrets.

The secret-scanner comment now says what the reusable asks for at
e064539 (contents: read only).

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

sonarqubecloud Bot commented Nov 9, 2026

Copy link
Copy Markdown

Copy link
Copy Markdown
Owner Author

This PR is blocked, and the change that unblocks it is a repository setting, not code.

On both commits (a6bc805, b6857bb), Secret Scanner, Governance and Hypatia Security Scan end in startup_failure with no jobs. These are runs 42626057286, 42626059068 and 42626060716. GitHub keeps no logs for a startup failure, so the error text can't be read here. The cause below is inferred from evidence, not read from a log.

  • The callers pin metadatastician/standards/...@e064539. hyperpolymath/standards is a permanent redirect to that repository.
  • panll pins the same reusables at the same commit. Its runs also ended in startup_failure from 2026-11-04 to 2026-11-06 around 13:05Z. They have succeeded since 13:17Z that day, on PRs and on main. The only commit in that window was a Rust provenance change (panll#175), so the fix there was a settings change.
  • panll#171 records that standards' canonical Actions allowlist gained metadatastician/standards/.github/workflows/*@*.
  • At this pin, the reusables ask for no permission the callers here don't grant. The first commit, still on secrets: inherit, failed the same way, so neither the permissions nor the secrets change caused this.

The likely cause: typed-wasm's Actions allowed-actions setting does not yet admit metadatastician/standards/.github/workflows/*@*. Adding it is an admin change in Settings → Actions → General, and I can't make it from here. Once it is in place, this PR needs no further change.

For context, main is red on the same three workflows. They run on the old pin, hyperpolymath/standards@da2c748, and fail with zero jobs. typed-wasm#283 and typed-wasm#285 inherit that failure from main.


Generated by Claude Code

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 9, 2026 15:43
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-09T15:43:40.780508Z
We couldn’t complete this review. Comment @codex review to try again.
b6857bb Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@hyperpolymath
hyperpolymath enabled auto-merge (squash) November 9, 2026 22:54
@hyperpolymath
hyperpolymath merged commit de8d638 into main Nov 10, 2026
23 checks passed
@hyperpolymath
hyperpolymath deleted the claude/new-session-ywdrth-standards-repin branch November 10, 2026 01:52
hyperpolymath added a commit that referenced this pull request Nov 10, 2026
…285)

## Summary

The kernel-proofs gate re-checks the sibling repositories' Agda proofs
(resource-algebra, occupancy-types, choreographic-types' K-CUT slice)
and checks the kernel transcription table. It ran them on Ubuntu 24.04's
Agda 2.6.3. Each sibling pins Agda 2.6.4.3 in its own CI, so this gate
checked their proofs on a different prover.

The gate's own Agda checks also ran without `--cubical-compatible`, the
canonical theory invocation in PROOF-POLICY §2.1
(`metadatastician/standards`, `3-practice/PROOF-POLICY.adoc`).

## Changes

- **`.github/workflows/contract-gate.yml`** (`kernel-proofs` job):
- Runs in `debian:trixie-slim` with `agda-bin=2.6.4.3-1+b2`, and asserts
the version, as the siblings' `proofs.yml` do.
- Idris2 0.8.0 is still built from source at its pinned commit. Debian
names the Chez binary `chezscheme`, so the build uses whichever of
`chezscheme` and `scheme` exists.
- **`tools/check-kernel-proofs.sh`:**
- Requires Agda 2.6.4.3 (the whole version line); `ALLOW_ANY_AGDA=1`
still overrides.
- Its own Agda checks (choreographic-types' KCut slice and rejects, the
transcription table, the negative controls) run under `--safe
--without-K --cubical-compatible`.
- Sets `LC_ALL=C.UTF-8`. Without a UTF-8 locale, Agda stops with exit 42
on the Unicode warnings `--cubical-compatible` prints.
- **`CHANGELOG.adoc`:** entry added.

Not changed: the sibling pins. The siblings' own scripts run at those
pins with their own flags. resource-algebra#19 and occupancy-types#18
move those scripts to the canonical flags. A later re-pin here picks
them up, together with the stale `af95728` citations.

## RSR Quality Checklist

### Required

- [x] Tests pass (see Testing)
- [x] No banned language patterns
- [x] No banned functions (`believe_me`, `unsafeCoerce`, `Obj.magic`,
`Admitted`, `sorry`)
- [x] SPDX license headers present on all new/modified source files
- [x] No secrets, credentials, or `.env` files included

### As Applicable

- [x] `CHANGELOG` updated

## Testing

This environment cannot reach the Debian archive or Docker Hub, so it
has no Agda 2.6.4.3. What I could check locally:

- **Under the new flags on 2.6.3:** `ALLOW_ANY_AGDA=1 bash
tools/check-kernel-proofs.sh` gives `OK: kernel proofs — build, 13
rejection(s), table, and 4 negative control row(s)`.
- **Version guard:** without the override, the gate refuses 2.6.3:
`FAIL: Agda 2.6.4.3 required ...`.
- **`yq`** parses the workflow.

The run that counts is this PR's `Grade kernel proofs (Idris2 0.8.0 +
Agda)` job, which is the first run on 2.6.4.3.

CI note: `scan / gitleaks` and the governance, Hypatia and mirror
workflows fail on main too, until #284 lands.

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

Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
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