Skip to content

Make the proof-gate and R-bridge claims match the tree; first CI run - #1

Merged
hyperpolymath merged 1 commit into
mainfrom
ci/bootstrap-main
Oct 2, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
ci/bootstrap-main

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

First PR against the new main (created from wip/core-p1-p5 @ 62fb833), so CI runs for the first time — it had 0 runs because it only triggers on main, tags and PRs.

What changes

  • proofs/tests/gate-selftest.sh (was linked from the README and called by CI, but missing): each proofs/agda/reject/*.agda must fail Agda for the reason on its -- EXPECT: line; each of the 7 axiom-audit.sh checks must fire on a planted defect, with an unmodified copy as positive control.
  • proofs/PROOF-STATUS.md (linked, missing): proved vs tested vs open, per property. States that the BH proofs cover the scaling step only and that P5 is tested, not proved.
  • axiom-audit.sh committed 100755 — at 100644 the gate died with exit 126.
  • README / docs/R-SUNSET.md: the RCall extension and R oracle are planned, not in the tree; the multinomial is out of scope here (CompositionalCounts.jl, Proposal: Multinomial and Dirichlet-Multinomial regression as an external package (pure-Julia backend) JoshuaJewell/MetaManifold-WebUI#22).
  • Dangling proofs/residue/*.residue references repointed.

Verified locally: Pkg.test() passes; proofs/bootstrap.sh --check → axiom-audit: clean, proofs: OK; gate-selftest.sh → 3 controls rejected, 7 audit checks fire. Mutant check: disabling the audit's postulate check makes the self-test fail with audit check 'postulate' missed its planted defect.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WpM43to7Y8kCFbxyHvQ5Tp

- Add proofs/tests/gate-selftest.sh: every reject/ control must fail Agda
  for the reason on its EXPECT line, and each of the seven axiom-audit
  checks must fire on a planted defect (clean copy as positive control).
- Add proofs/PROOF-STATUS.md: proved vs tested vs open, per property.
- Mark axiom-audit.sh executable (100644 died with exit 126 in the gate).
- README / R-SUNSET: the RCall extension and the R oracle are planned, not
  shipped; the multinomial lives in CompositionalCounts.jl.
- Repoint dangling proofs/residue/*.residue references to PROOF-STATUS.md.

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

coderabbitai Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 47c08a2b-6ef2-414f-a793-9e7048a44221

📥 Commits

Reviewing files that changed from the base of the PR and between 62fb833 and b85cf9a.

📒 Files selected for processing (8)
  • README.md
  • docs/R-SUNSET.md
  • proofs/PROOF-STATUS.md
  • proofs/agda/CompositionalDA/BenjaminiHochberg.agda
  • proofs/agda/CompositionalDA/CLR.agda
  • proofs/bootstrap.sh
  • proofs/tests/axiom-audit.sh
  • proofs/tests/gate-selftest.sh
 _____________________________________________________________
< Please stop using global state like it's a communal fridge. >
 -------------------------------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • 🔴 Error committing to branch - (🔄 Check to retry)
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


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

Comment @coderabbitai help to get the list of available commands.

@hyperpolymath
hyperpolymath merged commit 81bbd10 into main Oct 2, 2026
4 of 5 checks passed
@hyperpolymath
hyperpolymath deleted the ci/bootstrap-main branch October 2, 2026 13:53
@coderabbitai

coderabbitai Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

❌ Failed to create Coding Agent finishing-touch task. Please try again.

@coderabbitai

coderabbitai Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Autopilot could not be updated. Open Coding to check access and billing.

@hyperpolymath

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor
⚠️ Action not completed

Pull request is closed.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

hyperpolymath added a commit that referenced this pull request Oct 2, 2026
…elf-test (18 controls); PROOF-STATUS; axiom-audit executable

Rebased onto PR #1. The two self-tests are merged: the theorem mutants and
StepUp controls from this branch, plus one audit control per axiom-audit check
from PR #1. Each audit control must fail with its named finding.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Y6e175rh1LbrsEhQvCrJ1
hyperpolymath added a commit that referenced this pull request Oct 2, 2026
Proves P5, the Benjamini–Hochberg step-up, and makes the gate self-test
cover every audit check.

**What changes**
- New `proofs/agda/CompositionalDA/BenjaminiHochberg/StepUp.agda` proves
three properties over exact rationals ℚᵘ: q ≥ p, q ≤ 1, and order
preservation (p_i ≤ p_j ⇒ q_i ≤ q_j).
- They hold on the sorted sequence and also at the original indices, via
a permutation.
- Named assumption: the input is sorted descending and every p is in [0,
1]. The sort itself is not verified, and nothing about floating point is
proved.
- `proofs/tests/gate-selftest.sh` now has 18 controls:
  - 7 theorem mutants;
- 7 audit plants, one per `axiom-audit.sh` check. Each must fail **with
its named finding**;
  - 3 `reject/` files;
  - the pristine tree.
  - This merges PR #1's audit plants with this branch's theorem mutants.
- `proofs/PROOF-STATUS.md` and `proofs/residue/*.residue` separate what
is proved, what is tested, and what is open.
- `README.md` no longer says the BH proofs cover only the scaling step.

**Verified locally (Agda 2.7.0.1, stdlib 2ffa8b7d, Julia 1.12)**
- `proofs/bootstrap.sh`: exit 0, 7 modules, audit clean.
- `proofs/tests/gate-selftest.sh`: exit 0, 18/18. A planted wrong reason
on one audit control is reported as FAIL (17/18).
- `Pkg.test()`: 43/43.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_019Y6e175rh1LbrsEhQvCrJ1

Co-authored-by: Claude Opus 5.5 <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.

1 participant