Repository navigation
CI rehearsal (DO NOT MERGE): combined end state of the chosen Apodeixis.jl fixes - #28
hyperpolymath wants to merge 10 commits into
Conversation
The container-templates directory entry on line 228 was 1159 octets, over the 998-octet DEED line cap. This splits it onto three lines, copied from the current template deed (lines 223 to 225). No words change. Only line breaks and indentation differ. The owner approved this one deed edit. No hash, receipt or pin covers deed lines. Co-Authored-By: Claude <noreply@anthropic.com>
The template added a module-level dupeZ helper to main.zig after this repository was cut from it. The template upgrade added tests/ffi_strings_test.sh, which calls that helper, but did not apply the matching main.zig change. The test fails to compile with "use of undeclared identifier 'dupeZ'". This file was identical to the base mint, so the change is the template update applied with the project name filled in. Nothing else changes. Co-Authored-By: Claude <noreply@anthropic.com>
The template root-shape gate requires LICENSE.adoc. This adds it with two lines. Line 1 is the SPDX identifier for the dual licence. Line 2 is a plain-text note that MPL-2.0 covers code and CC-BY-SA-4.0 covers prose. It is not an SPDX tag, because REUSE has no header tag for a code and prose split. docs/architecture/REPOSITORY-MAP.adoc is regenerated with just repo-map, because the map lists root files and goes stale when LICENSE.adoc is added. Co-Authored-By: Claude <noreply@anthropic.com>
The two issue template links in .github/CONTRIBUTING.md resolved to .github/.github/..., and the templates are .yml files, not .md. The SECURITY.md link in docs/troubleshooting.adoc pointed at the repo root, but the file is .github/SECURITY.md. The owner approved this docs fix. No gate or allowance change. Co-Authored-By: Claude <noreply@anthropic.com>
The mint-gates job has been red on main since the template upgrade to 48671ce (983f619). This repo was instantiated and upgraded by hand, so two mint steps never ran here. mise.toml: the file was the template's own toolchain (idris2, zig) and did not declare julia. It is now rendered by scripts/render-mise.sh for this tree's languages (idris2, julia, zig). The SPDX-FileCopyrightText line is kept unchanged. mise.lock does not pin julia yet: run `just toolchain-refresh` (needs mise and the network). build/container/Containerfile: the file came from template base 889f7f7 and has 2 floating `FROM cgr.dev/chainguard/wolfi-base:latest` lines. Template #266 removed it from the template because it could not build. This repo publishes no image, so the file is removed here too. A repo that publishes an image adds it back pinned with scripts/pin-container-digests.sh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZoZwvZCfM387TZQ5kY
…ault
`Dogfood Gate / RSR oracle — dogfood this repo` has failed on every push to
main (exit 139: `mix hypatia.rsr_score` segfaults). This repo pins Hypatia at
be98f74, which does not contain hypatia#1062 ("Stop the OTP 28 segfault in
scans and the RSR oracle (PinSites miscompile)", merged as 37b8d01). The
template moved to 51539ab, which does contain it.
Checked against the Hypatia history, not assumed: 37b8d01 is an ancestor of
51539ab and is NOT an ancestor of be98f74.
dogfood-gate.yml is now identical to rsr-template-repo main (d183b32). The
whole difference was 8 lines: the pin, its explanatory comment, the cache key
that embeds the pin, and a comment that the mint's self-name pass had rewritten
from "rsr-template-repo#333" to "Apodeixis.jl#333".
No `uses:` line changes, so actions.lock is untouched; scripts/check-lock-sync.sh
passes. The rsr-template-repo oracle passes on this pin and the same
OTP 27.3.4.19. Not verified here: that the oracle passes in THIS repo. The CI
result on the PR is the test.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0136P7ZpPGXDRaKVgNQUecwy
…y together The previous commit moved the RSR oracle's pin in dogfood-gate.yml. The same stale Hypatia commit, be98f74 (it lacks hypatia#1062, the PinSites miscompile fix, 37b8d01), was still pinned in three more workflows, and the scan in hypatia-scan.yml segfaulted with exit 139 on PR #25 ("Hypatia Neurosymbolic Analysis"; it had passed on main, so the crash is intermittent). Sync to rsr-template-repo main (d183b32), which pins 6693f9a for these: - hypatia-scan.yml (HYPATIA_SHA, and a comment renamed by the mint) - fork-governance.yml and verdict-grid-publish.yml (--hypatia-ref) - .machine_readable/policies/hypatia-rule-order.json (scanner.commit) These move together because scripts/check-hypatia-rule-order.sh requires the policy's scanner.commit to equal HYPATIA_SHA. Syncing the workflows alone fails that check (verified). The template's policy also classifies a structural_drift module, which needs an SD022 exemption for build/docs-seed/. This repo has no build/docs-seed/, and check-hypatia-ignore.sh rejects an exemption for a missing path. Followed the mint's own handling (build/just/repo-init.just, where it prunes docs-seed): the exemption block is left out of .hypatia-ignore (unchanged from main) and the structural_drift object is removed from the policy with the same sed. Checked locally, all pass: check-hypatia-rule-order, check-workflow-edges, check-hypatia-ignore, check-lock-sync. check-ijson-jcs reports the same one non-canonical file as main (.machine_readable/arrival-pack/claude-md-data.json), not touched here. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZpPGXDRaKVgNQUecwy
|
Update: this rehearsal now has seven linear commits, not six. I added #25's second commit (the remaining Hypatia pins plus the rule-order policy, Generated by Claude Code |
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. |
|
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 1 minute. 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 312b95b081
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| ref: be98f74ce93df200752f3798efa1305bfa3e0e10 | ||
| # Pinned to a Hypatia commit that contains hypatia#1062 (the PinSites miscompile | ||
| # fix, merged as 37b8d01). The earlier pin be98f74 lacks it. | ||
| ref: 51539abf3d2472b955da9b051a68c5971f6cfa22 |
There was a problem hiding this comment.
Keep the oracle on the repository-wide Hypatia pin
When Hypatia behavior changes between commits, the RSR oracle here runs 51539ab… while .github/workflows/hypatia-scan.yml, both verdict renderers, and the rule-order policy use 6693f9a…. This reintroduces the policy's explicitly recorded “one tool, two pins” clash and can make dogfood scoring evaluate different rules from the repository's scanner; update this checkout and its cache key to the repository-wide pin.
Useful? React with 👍 / 👎.
…ated region `estate-rules` fails on the rehearsal at `bash tests/workflows/governance_policy_test.sh` with `AssertionError: missing section: ## Proofs — which prover for which obligation`. That test (synced from rsr-template-repo by the template upgrade in #12) requires CLAUDE.md to carry this hand-authored section below the generated arrival-pack region, pointing at the canon proof policy and at verification/proofs/README.adoc. The upgrade synced the test but not the CLAUDE.md section. This repo already has verification/proofs/README.adoc with every section the test reads. Append the section verbatim from rsr-template-repo main (d183b32). CLAUDE.md allows hand-authored notes above or below the generated region; the generated region (lines 17-82) is byte-identical (checked by hash), and the section sits after ARRIVAL-PACK:END, as the test requires. Verified: governance_policy_test.sh fails on main with the assertion above and passes (exit 0) with this change. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZpPGXDRaKVgNQUecwy
|
Update: the rehearsal now has eight linear commits. The rehearsal found a failure that State of this rehearsal on the previous head Note: the Generated by Claude Code |
Codex raised the same P2 on two PRs: the oracle ran Hypatia 51539ab while hypatia-scan.yml, both verdict renderers and the rule-order policy name 6693f9a. docs/HYPATIA-RULE-ORDER.adoc (C2) says one pin per tool per repository and that a pin at two commits in two workflows is a failure. Move the oracle's checkout and its cache key to 6693f9a. Verified from the Hypatia history: 6693f9a descends from 51539ab, so it contains hypatia#1062 (37b8d01), the PinSites miscompile fix that the stale be98f74 lacked. Every Hypatia pin in the repo is now the same commit (6 occurrences in 5 files). check-hypatia-rule-order, check-workflow-edges, check-hypatia-ignore and check-lock-sync pass. Not verified: that the RSR oracle PASSES on 6693f9a. It passed on 51539ab (the first commit of this PR, in CI). This commit is an experiment: if the oracle fails on 6693f9a in CI, revert this commit. This departs from rsr-template-repo main, whose dogfood-gate.yml has the same 51539ab/6693f9a split (sent to the rule owner as CASE 8). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZpPGXDRaKVgNQUecwy
Codex (P2, PR 25): docs/HYPATIA-RULE-ORDER.adoc still named be98f74 and the old exemption sets while hypatia-rule-order.json records 6693f9a. The document calls itself the repository's policy statement, and no checker compares the prose with the JSON, so the two drifted silently. Take the template's version (rsr-template-repo d183b32): the pin line, the universal excludes (adds .hypatia-exemptions.md) and the built-in default exemptions (per-module list, integration.yml, harvested-registry/). Three lines differ from the previous file; nothing else changed. Follow-up for the template: no gate compares this prose with the policy JSON. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZpPGXDRaKVgNQUecwy
|
|
Closing this rehearsal. It did its job. Result on head What I merged on the strength of it: #15, #18, #23, #17, #16, #25 and #29, in that order, each squash-merged. I applied the seven PR heads to the old main in a scratch tree first, and the result was identical to this branch's tree (0 differing lines). After the last merge, main ( Not yet proven: CI on main itself. Its runs for The branch Generated by Claude Code |



DO NOT MERGE: this is a rehearsal
Each open fix PR on this repo shows red on its own, because the others fix what it cannot. So no single PR can prove CI will be clean once they land. This branch applies the set the owner chose, onto
main, as six linear commits (no merge commits, to comply with the repo's linear-history ruleset), to run the full pipeline once on the combined result. If it is green, merging the real PRs in this set should give a greenmain. Close this PR after reading the result.It replaces #27, which had merge commits that the ruleset should have refused (see the note on #27).
What is applied here
main.zigdupeZhelperLICENSE.adoc(MPL-2.0 AND CC-BY-SA-4.0) and the repository mapbuild/container/ContainerfileOne conflict, resolved here only:
mise.tomlin #23. #13 already merged thejuliadeclaration, and both versions declare the same tools. I kept main's. The #23 session should drop itsmise.tomlchange.Not included: #19 (template-form docs; not needed for green) and #22 (competing
LICENSE.adoc; its session was asked to drop that file).Checked locally on this tree
Deed lint at standards
f0b3cd4OK;check-mint-tokens,check-spdx-headers,check-mise-language,check-container-pinsall PASS;check-root-shapePASS;check-internal-linksPASS (83 links);tests/ffi_strings_test.shPASS under Zig 0.16.0;check-lock-syncPASS. (Checked on the identical tree before the commits were made linear;git diffbetween the two is empty.)Not checkable locally, so CI is the test: the RSR oracle,
just validate-claude-md(needsnickel), the full Proven suite, and Fork governance.Generated by Claude Code