Repository navigation
fix(census): count Ada as SPARK only when it opts in; catalogue the template's own proofs; rerun the census - #44
hyperpolymath wants to merge 3 commits into
Conversation
…emplate's own proofs - census-repo.sh: an .ads/.adb is kept only if it contains SPARK_Mode or the repo has an .adc configuration pragma file that sets it; a .gpr only when the repo has some SPARK_Mode. Previously any Ada file in a repo with a .gpr counted as SPARK (36 rows affected), e.g. contractiles, whose Ada has no SPARK_Mode and no contract aspects. - build-rows.sh: the template-path exclusion no longer applies to hyperpolymath/rsr-template-repo itself, so the template's proofs (among them the Coaptation core) are catalogued in its own row instead of nowhere. - summarise.sh: .adc counted under SPARK. - README: documents both rules. The regenerated catalogue follows in a separate commit once the full census run completes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rp1Fti9phnCG3qrvQJkYEh
Full census of the 462 cloneable repositories on 2026-11-09 (36 unreachable), regenerated with `run-census.sh`'s steps, then `catalogue` and `atlas-build`; `catalogue-check` and `atlas-check` pass. - SPARK rows: 36 -> 23. Repos whose Ada never sets SPARK_Mode (among them contractiles) no longer list SPARK. - hyperpolymath/rsr-template-repo now has its own row (16 files, 101 declarations). build-rows.sh also applies the template exception to the holes and declaration counts, which still dropped them. - render-catalogue.sh: the header states both rules. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rp1Fti9phnCG3qrvQJkYEh
|
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 15 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: ❌ FailedThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
estate-rules failed on this PR with "committed REPOSITORY-MAP.adoc is stale". The same check fails on main at a3dbe73: applied-systems/ was added without regenerating the map. Regenerated with scripts/gen-repo-map.sh; tests/shape/repo_map_determinism_test.sh now passes (byte-identical across locales, committed copy current). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rp1Fti9phnCG3qrvQJkYEh
|
I've carried the fix here in 41dc551: the map regenerated with Generated by Claude Code |
|
….1, A) Carries the kept code of seven open pull requests onto main, as the owner approved row by row on 2026-11-10 (ruling D-6 (a)). Row data, repository maps and reruns from those pull requests are not carried: main has a newer full census. The catalogue text that describes the new rules changes at the next full census, so it never describes rules that did not make the rows. - build-rows.sh reads each list with FILENAME==ARGV[1]. On main an empty template list dropped every row (#25, a16daa7). - Template boilerplate is a file whose (path, blob) the template shipped, so a repository that rewrote a template file keeps it as its own (design of #26, 185e6cb; test of #20, c24d989, adapted). The template repository owns its own files (#44, 352af98). template-blobs.tsv is regenerated from rsr-template-repo today (56 pairs). - proof-holes.sh blanks comments and strings before it matches, and reports Idris2 signatures without clauses as axiom candidates (#27, ec833bc, 2f0f75e). - The census sees Rust proofs: Creusot with Pearlite, and Verus (#31, 7b1e096, cc2bdaa), with the assume_specification rule of #34 (d35fce4). - Ada counts as SPARK only where SPARK_Mode is on for the file or a .adc file (#44, 352af98). - Status documents keep the order of main (PROOF-STATUS, proof-debt, PROOF-NEEDS) in one mechanism, not two; a document nested two directories deep ranks after every shallow one (#31). - CI runs every tests/census/*.sh and the catalogue currency check (the CI step of #17, c8fc593). just census-test runs the same tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZnDRsCLfZcFcEzvPcM
|
Closed by the owner-approved triage of WO 0.1 (2026-11-10). The SPARK opt-in rule and the template's own row landed in #51. The row data is not carried: the next full census applies the rule. Generated by Claude Code |



Summary
A proof review on 2026-11-09 found two defects in the census that produce the catalogue.
.ads/.adbin a repository with a.gprcounted as SPARK, which affected 36 rows. Example: hyperpolymath/contractiles. None of its Ada setsSPARK_Mode; it has only twelvePre/Postaspects, which nothing proves (corrected there in fix(proofs): stop claiming SPARK proofs that do not exist; make the proof scaffold compile and fail closed contractiles#74).Tracker: metadatastician/standards#1399.
Changes
scripts/census/census-repo.sh:.ads/.adbfile is kept only if it containsSPARK_Mode, or if the repository has an.adcconfiguration pragma file that sets it..gpris kept only when the repository has someSPARK_Mode..adcfiles are now census candidates.scripts/census/build-rows.sh: the template exclusion no longer applies to the template itself. This covers file, hole and declaration counts.scripts/census/summarise.sh:.adccounted under SPARK.scripts/census/render-catalogue.shandREADME.adoc: both rules are stated.docs/catalogue/catalogue.adoc;docs/catalogue/census/catalogue-rows.jsonandunreachable.json;docs/atlas/generated/*.Effect on the catalogue:
hyperpolymath/rsr-template-repo: 16 files, 101 declarations, 1 policy candidate (Properties.agdahas no--safepragma onmain).RSR Quality Checklist
Required
catalogue-checkandatlas-checkboth pass (commands under Testing).bash -npasses on all census scripts.unsafeblocks.As Applicable
README.adoc).Testing
repos.json; 36 were unreachable.catalogue-check:render-catalogue.sh docs/catalogue/census | diff -u docs/catalogue/catalogue.adoc -atlas-check:bun scripts/atlas/census-atlas.mjs checkSPARK_Mode(for examplemetadatastician/cerro-torreandhyperpolymath/ambientops) keep their SPARK counts.🤖 Generated with Claude Code
https://claude.ai/code/session_01Rp1Fti9phnCG3qrvQJkYEh