Skip to content

fix(rhodibot): automated RSR compliance fixes#1

Closed
hyperpolymath wants to merge 1 commit into
mainfrom
rhodibot/rsr-compliance-20260330
Closed

fix(rhodibot): automated RSR compliance fixes#1
hyperpolymath wants to merge 1 commit into
mainfrom
rhodibot/rsr-compliance-20260330

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner
  • Deleted duplicate (keeping .md for GitHub)

Summary

Changes

RSR Quality Checklist

Required

  • Tests pass (just test or equivalent)
  • Code is formatted (just fmt or equivalent)
  • Linter is clean (no new warnings or errors)
  • No banned language patterns (no TypeScript, no npm/bun, no Go/Python)
  • No unsafe blocks without // SAFETY: comments
  • 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

  • .machine_readable/STATE.a2ml updated (if project state changed)
  • .machine_readable/ECOSYSTEM.a2ml updated (if integrations changed)
  • .machine_readable/META.a2ml updated (if architectural decisions changed)
  • Documentation updated for user-facing changes
  • TOPOLOGY.md updated (if architecture changed)
  • CHANGELOG or release notes updated
  • New dependencies reviewed for license compatibility (PMPL-1.0-or-later / MPL-2.0)
  • ABI/FFI changes validated (src/interface/abi/ and src/interface/ffi/ consistent)

Testing

Screenshots

- Deleted duplicate  (keeping .md for GitHub)

Co-Authored-By: rhodibot <rhodibot@hyperpolymath.dev>
@hyperpolymath
hyperpolymath deleted the rhodibot/rsr-compliance-20260330 branch April 3, 2026 05:46
hyperpolymath added a commit that referenced this pull request Jun 26, 2026
…d-trip theorems (#37)

## Idris2 ABI proofs — genuinely compile + machine-checked theorems

Part of the family-wide ABI-proofs review, following the merged
**iseriser** reference. chapeliser uses a domain-specific proof set
(partitions/slices/gather for Chapel distribution).

**Systemic fixes** applied (build went from non-compiling to clean),
**plus** two theorems that were *vacuously inhabited* and are now
genuine — caught by an adversarial verification pass:
- `PartitionComplete` (invariant #1, "no items lost/duplicated") bound a
**free implicit `n`** disconnected from the partition index, so
`IsComplete Refl` typechecked for *any* partition. Now `{n}{k}{p}` are
bound so the obligation `sliceSum p.slices = n` is real — an incomplete
partition (sum 9, n=10) is rejected.
- `RoundTrip` accepted every format unconditionally; re-indexed on
`(origLen, decodedLen)` with a real `decodedLen = origLen` obligation
(`RoundTrip Bincode 128 64` is now uninhabited).

**Verified:** `idris2 --build chapeliser-abi.ipkg` clean (0/0);
**negative controls** for both theorems fail to typecheck as required;
no `believe_me`/`postulate`/holes.

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

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

---------

Co-authored-by: Jonathan D.A. Jewell <paraordinate@yahoo.co.uk>
Co-authored-by: Claude Opus 4.8 <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