Repository navigation
fix(rhodibot): automated RSR compliance fixes - #11
Merged
Merged
Conversation
- Deleted duplicate (keeping .md for GitHub) Co-Authored-By: rhodibot <[email protected]>
9 tasks done
hyperpolymath
added a commit
that referenced
this pull request
Oct 14, 2026
## Summary **This fixes `Grade kernel proofs (Idris2 0.8.0 + Agda)` on every fresh checkout of `main`.** `scripts/fetch-siblings.sh` pins occupancy-types at `6013483`. That commit sits on the branch of hyperpolymath/occupancy-types#11. #11 was squash-merged as `8f09c0b` at 11:31Z and its branch deleted. `fetch-siblings.sh` clones and then runs `git fetch origin`, which fetches branches only, so `6013483` is now unreachable: ``` $ git clone https://github.com/hyperpolymath/occupancy-types.git && git -C occupancy-types fetch origin $ git -C occupancy-types checkout --detach 60134839efe2c6f51a31d977a72c1cf94457e71d fatal: reference is not a tree: 60134839efe2c6f51a31d977a72c1cf94457e71d ``` This is task #18 from the MinMax work (#276): move the pin once #11 merged. ## Changes - **`scripts/fetch-siblings.sh`**: occupancy-types `6013483` → `8f09c0bb319dee99d532e261cd5da4d04ace479a` (occupancy-types `main`). - The two trees differ only in occupancy-types' own `scripts/check-agda.sh`, which CodeRabbit changed on #11. - The Agda sources this gate checks are identical. - No module header cites this pin. The `af95728` citations in `HWM.idr`, `typed-wasm.ipkg` and `LEVEL-STATUS.adoc` name the commit that R-1..R-5 were ported from, so they stay. - **`ResourceAlgebra/MinMax.idr`**: the header comment "…the identity for alternatives: and an unreachable alternative…" loses its stray "and". - **`CHANGELOG.adoc`**: an entry. ## RSR Quality Checklist ### Required - [x] Tests pass (`tools/check-kernel-proofs.sh`, see Testing) - [x] Code is formatted - [x] Linter is clean - [x] No banned language patterns - [x] No `unsafe` blocks without `// SAFETY:` comments - [x] No banned functions (the gate's own check: zero `believe_me` / `assert_total` / `assert_smaller` / `idris_crash`) - [x] SPDX license headers present on all new/modified source files (headers unchanged) - [x] No secrets, credentials, or `.env` files included ### As Applicable - [x] `CHANGELOG` or release notes updated ## Testing I ran `_build/dependencies` from scratch, the way CI does. The commands were `scripts/fetch-siblings.sh`, then `tools/check-kernel-proofs.sh`, with Idris2 0.8.0 and Agda 2.6.3: ``` resource-algebra at 0b338c9fc45cd04e7ee7d00b3855cd59d56a2afe occupancy-types at 8f09c0bb319dee99d532e261cd5da4d04ace479a choreographic-types at edb784a7d26c276c2abfa8399b773d346dbb101e PASS: upstream: PASS: core proofs, unit tests and all 8 expected rejections PASS: upstream occupancy-types: PASS: core proofs and all 2 expected rejections PASS: upstream choreographic-types: KCut.agda (K-1..K-5) checks against the resource-algebra pin PASS: idris2 --build typed-wasm.ipkg: 33 module(s) built, 0 errors PASS: kernel: zero believe_me / assert_total / assert_smaller / idris_crash … 11 rejections, each at its declaration … PASS: Agda (pinned resource-algebra) accepts the table by refl: 269 equalities PASS: Idris2 (port) accepts the table by Refl: 269 equalities … 4 negative-control rows refused by both provers … OK: kernel proofs — build, 11 rejection(s), table, and 4 negative control row(s) ``` 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Y6FD63UrriRBHqmhhEca9t --- _Generated by [Claude Code](https://claude.ai/code/session_01Y6FD63UrriRBHqmhhEca9t)_ Co-authored-by: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
RSR Quality Checklist
Required
just testor equivalent)just fmtor equivalent)unsafeblocks without// SAFETY:commentsbelieve_me,unsafeCoerce,Obj.magic,Admitted,sorry).envfiles includedAs Applicable
.machine_readable/STATE.a2mlupdated (if project state changed).machine_readable/ECOSYSTEM.a2mlupdated (if integrations changed).machine_readable/META.a2mlupdated (if architectural decisions changed)TOPOLOGY.mdupdated (if architecture changed)CHANGELOGor release notes updatedsrc/interface/abi/andsrc/interface/ffi/consistent)Testing
Screenshots