Skip to content

ci(agda): move the Agda job into its own workflow - #18

Merged
hyperpolymath merged 2 commits into
mainfrom
ci/agda-own-workflow
Nov 16, 2026
Merged

hyperpolymath merged 2 commits into
mainfrom
ci/agda-own-workflow

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

The agda job moves unchanged from quality.yml into a new workflow, .github/workflows/agda-proofs.yml ("Agda Proofs"). Every Code Quality run since 2026-11-09 has ended in startup_failure with no job started, on main (most recently run 43942559816, the #16 merge) and on PRs. As a result, the Agda gate, including the stdlib digest pin and the strict flags from #16, has never produced a CI receipt.

quality.yml did not change between the last successful run (run 11, 2026-11-02) and the first failure (run 12, 2026-11-09). The reason is not exposed through the run API, so the cause is still unknown. This PR does not fix Code Quality's startup failure; it only takes the Agda gate out of the failing workflow.

Changes

  • New .github/workflows/agda-proofs.yml:
    • It has the same triggers (push to main/master, pull_request), the same concurrency group pattern and top-level permissions: contents: read as quality.yml.
    • The agda job is byte-for-byte the job from quality.yml.
  • quality.yml: the agda job is removed. The lint, mint-gates and docs jobs are unchanged.
  • actions.lock: there is a new entry for agda-proofs.yml. It uses actions/checkout@3d3c42e…, which already has a dependencies: record, so the lock stays transitively closed.

RSR Quality Checklist

Required

  • Tests pass: the local workflow checks below. CI is pending.
  • No banned language patterns.
  • No secrets.
  • SPDX header present on the new workflow.

Testing

All checks were run locally on this branch:

Check Result
bash scripts/check-lock-sync.sh in sync and transitively closed, rc 0
bash scripts/check-workflow-edges.sh rc 0
bash scripts/check-required-contexts.sh rc 0
bun scripts/check-action-pinning.js all action refs pinned
tests/workflows/{validate_workflows,runtime_policy_fold,hypatia_ignore,check_lock_sync,workflow_edges,governance_policy}_test.sh all rc 0
yq on both workflow files and actions.lock parse

What this PR's CI run will show:

  • Whether Agda Proofs starts. If it also hits startup_failure, the cause is something shared by both workflows rather than quality.yml alone.
  • The first real check of the stdlib digest pin. A mismatch prints the observed digest.

I haven't claimed anything here about CI results.


Generated by Claude Code

The `agda` job moves unchanged from quality.yml into a new
.github/workflows/agda-proofs.yml ("Agda Proofs"), with the same
triggers, concurrency and read-only permissions. actions.lock gains the
new workflow's entry; the checkout pin it names already has a record.

Why: every Code Quality run since 2026-11-09 has ended in
startup_failure with no job started, on main and on PRs, so the Agda
gate has never produced a CI receipt. quality.yml did not change between
the last success (run 11, 2026-11-02) and the first failure (run 12), and
the reason is not visible through the run API, so the cause is still
unknown. This move only separates the Agda gate from it; quality.yml's
startup failure itself is not fixed here.

Local: check-lock-sync.sh, check-workflow-edges.sh,
check-required-contexts.sh, check-action-pinning.js and six
tests/workflows suites pass; both workflow files parse.

Claude-Session: https://claude.ai/code/session_01J4QvDj3HpjUjBmkva3d4HQ
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

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

@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Hypatia grid green

🟢 clean · commit 352839b26231 · run 43980591696 · scope: this change (3 file(s))

Advisory: 11 row(s), worst 🟠 indeterminate (0 critical, 0 high in grid scope) — reported, never grading the change.

Unique graded findings across gating and advisory rows: 0 (0 reporter observations; 0 without sufficient identity to corroborate). Row counts remain per reporter; unique totals do not change gating.
Raw Hypatia alert-derived observations: 38 (code-scanning, Dependabot and secret-scanning; some may also be in SARIF; not an extra total).

Reporter Gate Status Critical High Medium Minor Since previous revision
Hypatia scan gating 🟢 clean 0 0 0 0 ↔ unchanged
panic-attack assail advisory 🟢 clean 0 0 0 0 ↔ unchanged
pons asinorum advisory 🟢 clean 0 0 0 0 ↔ unchanged
echidnabot advisory ⚪ not applicable 0 0 0 0 ↔ unchanged
rhodibot (RSR compliance) advisory 🟠 indeterminate 0 0 0 0 — evidence changed
panicbot advisory ⚪ not applicable 0 0 0 0 ↔ unchanged
sustainabot advisory ⚪ not applicable 0 0 0 0 ↔ unchanged
glambot (presentation quality) advisory 🟠 indeterminate 0 0 0 0 — evidence changed
seambot advisory ⚪ not applicable 0 0 0 0 ↔ unchanged
finishingbot (release readiness) advisory 🟠 indeterminate 0 0 0 0 — evidence changed
cipherbot advisory ⚪ not applicable 0 0 0 0 ↔ unchanged
accessibilitybot advisory ⚪ not applicable 0 0 0 0 ↔ unchanged
Hypatia scan: 1 finding(s)
  • 1 further finding(s) in files this change does not touch: reported, not graded (0 critical, 0 high).
panic-attack assail: 19 finding(s)
  • 19 further finding(s) in files this change does not touch: reported, not graded (0 critical, 0 high).
pons asinorum: 9 finding(s)
  • 9 further finding(s) in files this change does not touch: reported, not graded (0 critical, 0 high).
echidnabot: not_applicable — template default: enrol once the repository carries proofs and an ECHIDNA engine is configured
  • ⚪ not applicable: template default: enrol once the repository carries proofs and an ECHIDNA engine is configured
rhodibot (RSR compliance): not_run — enrolled, but no report-back was received
  • 🟠 indeterminate: enrolled, but no report-back was received
panicbot: not_applicable — panic-attack is already graded by the verdict grid's own panic-attack row, from static-analysis-gate.yml evidence; enrolling panicbot would report one scanner twice and give two rows that can disagree
  • ⚪ not applicable: panic-attack is already graded by the verdict grid's own panic-attack row, from static-analysis-gate.yml evidence; enrolling panicbot would report one scanner twice and give two rows that can disagree
sustainabot: not_applicable — reserved fleet slot; no adapter exists (gitbot-fleet bots/sustainabot/README.adoc)
  • ⚪ not applicable: reserved fleet slot; no adapter exists (gitbot-fleet bots/sustainabot/README.adoc)
glambot (presentation quality): not_run — enrolled, but no report-back was received
  • 🟠 indeterminate: enrolled, but no report-back was received
seambot: not_applicable — template default: enrol once a seam register exists at spec/seams/seam-register.json
  • ⚪ not applicable: template default: enrol once a seam register exists at spec/seams/seam-register.json
finishingbot (release readiness): not_run — enrolled, but no report-back was received
  • 🟠 indeterminate: enrolled, but no report-back was received
cipherbot: not_applicable — template default: enrol once the repository implements cryptography
  • ⚪ not applicable: template default: enrol once the repository implements cryptography
accessibilitybot: not_applicable — template default: enrol once the repository serves HTML
  • ⚪ not applicable: template default: enrol once the repository serves HTML

Scope: static findings reported by each row's tool at the named commit. The table grades only findings in files this change touches, so the colour answers "does this change introduce anything?", not "what does the whole repository still carry?". Standing findings are counted in each accordion and in report.json; the baseline filter remains the place where acknowledged debt is recorded. The lane state is the worst GATING row; advisory rows are listed and counted but never set it. Purple, red, yellow and blue grade the worst GRADED finding present; orange is evidence missing, malformed or a scanner that did not run; grey is an explicit scope exclusion with its reason. No row is a security certification. report.json, badge.json and the raw findings are in the verdict-grid artifact on the linked run.

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 16, 2026 23:34
@hyperpolymath
hyperpolymath enabled auto-merge (squash) November 16, 2026 23:34
@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.

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath merged commit b30a9ae into main Nov 16, 2026
44 of 45 checks passed
@hyperpolymath
hyperpolymath deleted the ci/agda-own-workflow branch November 16, 2026 23:35
hyperpolymath added a commit that referenced this pull request Nov 18, 2026
…#21)

## Summary

Records the first PWG receipt for this repository. The receipt describes
source commit `de05422` and the `agda` job of [Agda Proofs run
43981542366](https://github.com/hyperpolymath/ordinal-notation/actions/runs/43981542366/job/133698990528)
on that commit:

- Agda 2.7.0.1 and agda-stdlib v2.3.
- `All.agda` checked with `--safe --without-K --cubical-compatible
--double-check -W error -W noUnsupportedIndexedMatch`.

Of the 17 claims, 13 are `PWG-3` and the 4 open ones are `ungraded`.

## Changes

- **Receipt.** New file
`verification/receipts/ordinal-notation-proofs_praxis.deed` (standards
PROOF-POLICY §8.5.1).
- **Import cone** (`agda --dependency-graph` over `All.agda`): 209
modules. 76 are from this repository, 126 from agda-stdlib and 7 are
supplied with Agda.
- **Stdlib import.** The stdlib modules and its library file are
recorded in an `(import :repository "agda/agda-stdlib" …)` clause at
`8326c74`, the commit tag `v2.3` resolves to. The stdlib's
`.gitattributes` has no `export-ignore` or `export-subst`, so the tag
archive CI downloads has the same file bytes as that commit.
- **Home manifest.** Lists `ordinal-notation.agda-lib` and
`.github/workflows/agda-proofs.yml`, which holds the Agda and stdlib
pins.
- **Trusted base.** A comment-aware postulate scan of the cone finds
only the four `Agda.Primitive` level postulates; the receipt lists them
as its trusted base. `Buchholz/Fidelity.agda`, which is quarantined and
has two postulates, is outside the cone.
- **`docs/status/PROOF-STATUS.adoc`.**
  - The Claims table gains IDs `ON-1`..`ON-17` and a Grade column.
- Census: 17 rows, 13 `PWG-3`, 0 `PWG-2i`, 0 `PWG-2ii`, 0 `PWG-1`, 4
`ungraded`. The ungraded rows are ON-7 (Γ₀ least), ON-12 (unbudgeted
global WF), ON-13 (`OrderExtended._<ᵇ⁺_` WF) and ON-17 (fidelity), all
`open`.
  - The census paragraph cites the receipt.
- The stale "Known gaps" bullet that placed the Agda job in
`quality.yml` now names `agda-proofs.yml` (#18 moved it).

## RSR Quality Checklist

### Required

- [x] Tests pass: no proof source changes. `All.agda` passes cold
locally with the same Agda tarball (sha256 `975b515a…`) and stdlib
commit.
- [x] Code is formatted: no code changes.
- [x] Linter is clean: no code changes.
- [x] No banned language patterns.
- [x] No `unsafe` blocks without `// SAFETY:` comments: no code changes.
- [x] No banned functions.
- [x] SPDX license headers present on all new/modified source files: the
receipt has an MPL-2.0 header, and `scripts/check-spdx-headers.sh`
passes.
- [x] No secrets, credentials, or `.env` files included.

### As Applicable

- [x] Documentation updated: `docs/status/PROOF-STATUS.adoc`.

## Testing

| Check | Result |
|---|---|
| standards `deed_lint.js --proof-receipt-json` | accepts the receipt;
every claim derives its recorded `:pwg` |
| standards `scripts/check-proof-receipt.sh --import agda/agda-stdlib=…`
| every check holds: source on `main`, both manifests hold at their
commits for all 13 graded claims |
| `scripts/check-internal-links.sh` | PASS (68 links) |
| `scripts/check-spdx-headers.sh` | PASS |
| `scripts/check-root-shape.sh` | PASS |
| `scripts/check-no-placeholders.sh` | PASS |
| `scripts/check-adoc-renders.sh` | not run here: asciidoctor is not
installed |

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

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Documentation**
* Updated the proof status report with the current claim grades and
verification results.
* Recorded verification receipts for 13 claims, including the toolchain
and proof-checking details.
* Listed four claims as open and ungraded, with their Rocq and Lean
verification unavailable.
* Updated the CI status note to reflect the Agda job’s passing result on
the main branch.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

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