Skip to content

CI rehearsal (DO NOT MERGE): combined end state of the chosen Apodeixis.jl fixes - #27

Closed
hyperpolymath wants to merge 12 commits into
mainfrom
ci/rehearsal-green-main
Closed

hyperpolymath wants to merge 12 commits into
mainfrom
ci/rehearsal-green-main

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

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 that CI will be clean once they land. This branch merges the set the owner chose, into main, to run the full pipeline once on the combined result. If it is green, merging the real PRs in this set should give a green main. Close this PR after reading the result.

What is merged here

PR What it fixes Owner decision
#15 deed line 228 over the 998-octet cap approved
#18 main.zig dupeZ helper keep the narrow PR
#16 LICENSE.adoc (MPL-2.0 AND CC-BY-SA-4.0) and the repository map chosen over #22's copy
#17 three dead internal links –
#23 delete build/container/Containerfile chosen over pinning it (#21, #24 closed)
#25 Hypatia pin that fixes the RSR oracle segfault –

One conflict, resolved here only: mise.toml in #23. #13 already merged the julia declaration; both versions declare the same tools. I kept main's. The #23 session should drop its mise.toml change.

Not included: #19 (template-form docs, not needed for green) and #22 (competing LICENSE.adoc; the #22 session was asked to drop it).

Checked locally on this combined tree

deed lint at standards f0b3cd4 OK; check-mint-tokens, check-spdx-headers, check-mise-language, check-container-pins all PASS; check-root-shape PASS; check-internal-links PASS (83 links); tests/ffi_strings_test.sh PASS under Zig 0.16.0; check-lock-sync PASS.

Not checkable locally (CI is the test): the RSR oracle, just validate-claude-md (needs nickel), the full Proven suite, and Fork governance.


Generated by Claude Code

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 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 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 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
@coderabbitai

coderabbitai Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

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.

Share

Copy link
Copy Markdown
Owner Author

Closing this rehearsal unmerged, and flagging a mistake of mine.

This branch (ci/rehearsal-green-main) contains merge commits, and the repo's ruleset requires linear history on all branches. The push was accepted anyway, reported as a violation, which I read as a bypass through the account's permissions. I did not mean to bypass a rule, and I should have checked the ruleset before pushing merge commits. The rules also forbid deleting or force-pushing the branch, so I cannot remove it myself: the owner may want to delete ci/rehearsal-green-main.

I am rebuilding the same rehearsal as a linear branch (cherry-picked commits, no merges) so that it complies, and will open it as a new draft PR.


Generated by Claude Code

@sonarqubecloud

Copy link
Copy Markdown

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.

2 participants