Repository navigation
feat(rsr): write the RSR scorecard as a deed, not rsr.scorecard.a2ml - #1115
Conversation
`mix hypatia.rsr_score --write` and the reusable rsr-oracle.yml wrote .machine_readable/scorecards/rsr.scorecard.a2ml into every scored repo: an estate-wide A2ML producer. The owner ruled on 2026-11-14 to give the RSR scorecard a deed clause and switch the writer to it. The writer now emits .machine_readable/scorecards/rsr-scorecard_praxis.deed, the one (rsr-scorecard …) clause of a praxis-deed with :profile rsr-scorecard (standards branch deed/rsr-scorecard-clause: clauses/rsr-scorecard.abnf v0.1.0, DRAFT; checked by deed_lint.js --rsr-scorecard): - RsrConformance.to_deed/2 replaces to_record_dialect/1: tier, score, provisional, coverage and weights, and one (criterion …) per catalogue criterion, na included, so the score can be recomputed; decimals are strings, never exponent form; strings escaped to the grammar's four escapes. - RsrConformance.deed_context/1 takes :repo from the scored repo's chora deed :canonical-name and copies its :beholding-chora (#uuid or #u8; a #u5 is not copied). - --source-commit SHA records the scored commit; rsr-oracle.yml passes the checkout's HEAD. - An existing rsr.scorecard.a2ml is neither written nor deleted: the task notes it and leaves it for the repo's own migration PR. Tests replace the record-dialect round trip: the output parses with Hypatia.Deed as a praxis-deed, carries every criterion, takes the chora context, and escapes names. Outputs for hypatia, standards, an empty repo and a simulated CI checkout all pass the standards profile checker. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0136P7ZoBy5xGnGDLk7wQ8jC
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 34 minutes. View limit details
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. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
) ## Summary Main does not compile since #1117. `descriptiles_parse/1` calls `deed_state/1`, which nothing defines. A duplicate `record_files == []` branch could never run, and `descriptile_carrier/0` was never called. ## Changes - 3.1.1 now uses `descriptile_carrier/0` (deed first, then the directory), as #1117 describes. - `deed_state/1` replaces `deed_parses?/1` and returns `:ok`, `:none` or `:broken`. - 3.2.1: a broken chora deed fails even when the `.a2ml` files parse, as #1117 says. The dead duplicate branch is removed. ## Verification - `mix compile --warnings-as-errors`: clean (it failed before with the undefined function and the unused function). - `mix format --check-formatted` on the file: clean. - `mix test`: 3514 tests, 0 failures, 246 excluded (LANG=C.UTF-8). Not run: Rust, Zig and Idris2 checks. --- _Generated by [Claude Code](https://claude.ai/code/session_0136P7ZmUcth17dd8P9G2L1G)_ Signed-off-by: Jonathan D.A. Jewell <[email protected]> Co-authored-by: Claude <[email protected]>



Summary
On 2026-11-14 the owner ruled that the RSR scorecard gets a new deed clause and the writer switches to it. This PR switches hypatia's writer. The clause itself is metadatastician/standards#1583.
Changes
RsrConformance.to_deed/2replacesto_record_dialect/1. After this, nothing in hypatia writes A2ML scorecards..machine_readable/scorecards/rsr-scorecard_praxis.deed, a praxis-deed with:profile rsr-scorecard.deed_context/1takes:repoand:beholding-chorafrom the scored repo's chora deed.--source-commitflag.rsr-oracle.ymlpasses the checkout's HEAD, and its summary step shows the new file.rsr.scorecard.a2mlis noted in the output and never deleted.docs/consumers/rsr-oracle.adocis updated.Verification
rsr_conformancetests: 27/27.mix test: 3219 tests, with the same 10HttpcRedirectCredentialsTestfailures that main has.deed_lint --rsr-scorecardfrom standards#1583.Known
:repo "repo", the checkout directory name. The old writer did the same.rsr/criteria-accept-chora-deed, the two need a small merge inrsr_conformance.exand its test.This is a draft until standards#1583 merges.
Generated by Claude Code