Skip to content

ci: move prover, secret, Rust, lock and audit gates onto the estate suite - #59

Open
hyperpolymath wants to merge 4 commits into
mainfrom
claude/new-session-xnf0fw
Open

hyperpolymath wants to merge 4 commits into
mainfrom
claude/new-session-xnf0fw

Conversation

@hyperpolymath

Copy link
Copy Markdown
Member

Summary

Moves hvn's CI onto hyperpolymath/proven-cicd-and-workflows at 50a443f01b1b85e4957b893a6f1a0ed2e8a52459 (full SHA on every suite call, no secrets: blocks). Draft: nothing here has run on a GitHub runner yet.

Changes

  • Add prover gates: agda-gate.yml, rocq-gate.yml, lean-axioms-gate.yml, tla-gate.yml. Rocq and Lean pass the 26 theorem names from the recheck correspondence record, with no allowed axioms. Agda and TLA+ use the gate defaults, which match this layout.
  • agda-gate.yml also holds a thin local job agda-kernel (needs: agda, if: always(), fails on anything but success). The required context agda-kernel therefore still reports and now reflects the suite gate. It sits in this file, not proof-kernel.yml, because needs: only works inside one workflow and the gate is a job of its caller file.
  • proof-kernel.yml: removed agda-kernel, tla-model-check and the check-recheck-legs.sh step. Kept models-agree-with-engine, and recheck-legs with its negative controls and the explorer-table cross-check. The scripts stay in the tree.
  • secret-scanner.yml and rust-ci.yml are now the suite callers, same file names. scan / gitleaks is unchanged.
  • lock-sync-gate.yml is replaced by the stamped proven-lock-gate.yml (PROVEN_SHA set to the suite SHA). This departs from the earlier owner decision to "fix the local checker": the suite's proven lock gate supersedes it. scripts/check-lock-sync.sh stays but nothing runs it; its test no longer asserts the removed workflow or the live lock.
  • Add main-estate-audit.yml, the suite's estate-audit caller.
  • actions.lock: suite callers de-onboarded as the suite's procedure says (secret-scanner, rust-ci entries removed; standards records kept as governance, hypatia-scan, mirror and scorecard still use them); lock-sync-gate entry removed; proven-lock-gate entry added. Edited by hand because the available yq is not mikefarah's.
  • Left alone: governance, hypatia-scan, mirror, scorecard, engine-guarantee, estate-rules and the rest.

Testing

Run locally against this tree: the suite's Agda, Rocq (with the 26 names) and TLA+ check scripts passed (toolchain digests matched). All workflows parse; scripts/check-ruleset-contexts.sh passes for estate-rules, guarantee, agda-kernel and scan / gitleaks.

Not run: the Lean gate (no Lean installed), the proven lock gate (needs mikefarah yq; its stamp check passed), actionlint (not installed). The legacy check-lock-sync.sh now reports the de-onboarded callers as unlisted. The first CI run is the real test of whether GitHub starts them.

Checklist notes

  • No Cargo.toml in this repo, so the Rust gate has nothing to check.
  • TypeSafety.v is not covered: the Rocq gate refuses it (it mentions typing flags). It was not in CI before.

Generated by Claude Code

…ence-types pin to 6f94640; untrack state.txt

- Mechanical bridge for the recheck legs (owner decision 2026-11-09). Agda,
  using residual-evidence-types' own Finite.Checker, and Rocq and Lean, using
  their restatements, each compute the 546-configuration explorer table: the
  verdict, the id-status and all 5,502 candidate worlds. Each result must
  equal one literal, tests/crosscheck/explorer-table.txt. A table with one
  verdict changed is refused by all three kernels. The check runs in Proof
  Kernel / recheck-legs. The legs stay BRIDGE-PENDING pending the owner's
  ruling; RECHECK-CORRESPONDENCE records what the check settles (the explorer
  definitions) and what it does not (the general Check statements).
- residual-evidence-types moves from 97244f5 to 6f94640. Every imported module
  changed only by adding --cubical-compatible to its pragma. Our modules,
  fixtures and generators now declare the same canonical profile. All gates
  were re-run: kernel gate and controls, TLA+, engine suites 30/25/34,
  difftest 10/10 on 3,186 traces, recheck legs 27/27 each, cross-check 6/6.
- state/state.txt is no longer tracked (owner decision): it binds an
  absolute, machine-specific target. state/ is kept with a .gitkeep, because
  the engine finds the repo root by it.

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

# Conflicts:
#	docs/status/PROOF-STATUS.adoc
#	docs/status/RECHECK-CORRESPONDENCE.adoc
…uite

Call hyperpolymath/proven-cicd-and-workflows at 50a443f01b1b85e4957b893a6f1a0ed2e8a52459
(full SHA on every call, no secrets: blocks):

- add agda-gate, rocq-gate, lean-axioms-gate and tla-gate callers. Rocq and
  Lean pass the 26 theorem names the recheck correspondence record lists, no
  allowed axioms. Agda and TLA+ use the gates' defaults, which match this
  layout (MANIFEST, tests/reject, fetch-siblings.sh, Engine.cfg, Original.cfg,
  OtherTarget.cfg).
- agda-gate.yml also carries a thin local job `agda-kernel` that needs the
  suite gate and fails on anything but success, so the required context still
  reports and now reflects the suite verdict.
- proof-kernel.yml drops its agda-kernel and tla-model-check jobs and the
  check-recheck-legs.sh step; models-agree-with-engine and the cross-check
  stay local. The scripts stay in the tree; CI no longer calls them.
- secret-scanner.yml and rust-ci.yml become suite callers under the same
  file names (scan / gitleaks is unchanged).
- lock-sync-gate.yml is replaced by the stamped proven-lock-gate.yml. This
  departs from the earlier decision to fix the local checker: the suite's
  proven lock gate supersedes it. check-lock-sync.sh stays, unwired, and its
  test no longer asserts the removed workflow or the live lock.
- add main-estate-audit.yml, the suite's estate-audit caller.
- actions.lock: the suite callers are de-onboarded (secret-scanner, rust-ci
  entries removed; the standards records stay, still used by governance,
  hypatia-scan, mirror and scorecard); lock-sync-gate entry removed;
  proven-lock-gate entry added.

Not run locally: the Lean gate (no lean here) and the proven lock gate
(needs mikefarah yq). Agda, Rocq (26 names) and TLA+ gates' check scripts
passed against this tree.

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

gitnotebooks Bot commented Nov 25, 2026

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • 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

…e CITATION author

- proven-lock-gate.yml: PROVEN_SHA was still the template's all-zero
  placeholder, so the gate failed to fetch the suite ("not our ref"). Set it
  to 50a443f01b1b85e4957b893a6f1a0ed2e8a52459. The line follows a
  proven-cicd:local-next marker, so it is outside the stamp's hash; the
  suite's proven-stamp.sh check still passes and the stamp is unchanged.
- docs/status/PROOF-STATUS.adoc: the HD-1T row pointed at the removed
  proof-kernel.yml tla-model-check job. The suite TLA+ gate checks the same
  spec and configs (Engine.tla; Engine.cfg passes, Original.cfg refuted by
  Guarantee, OtherTarget.cfg by GuaranteeBound; TLC v1.7.4), so the row and
  the receipt prose now point at tla-gate.yml. The HD-H-RL row, the Rocq/Lean
  receipt and the Agda receipt prose are updated the same way.
  check-proof-status.sh is unchanged and passes.
- CITATION.cff: the one author already recorded there is now indented under
  authors:. The suite's referencing check wants an indented list item
  (family-names or name) and rejected the unindented form. Same content,
  same YAML meaning.

Not fixed here: code hygiene (Haruspex.lean:882), the formatting gate
(docs/wikis) and the actions.lock verifier.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R2sn5P6FQkjZZ7A15GDNnG
@hyperpolymath
hyperpolymath marked this pull request as ready for review November 25, 2026 15:56

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.

2 participants