Skip to content

fix: drop the floating Containerfile - #23

Merged
hyperpolymath merged 2 commits into
mainfrom
marina/pensive-franklin-7u76wx
Nov 14, 2026
Merged

hyperpolymath merged 2 commits into
mainfrom
marina/pensive-franklin-7u76wx

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

The mint-gates job in quality.yml has failed on main since the template upgrade to 48671ce (983f619). 2 gates failed: check-mise-language.sh (no julia) and check-container-pins.sh (floating base image). #13 has since fixed the julia declaration on main. This PR fixes the remaining gate.

The cause is in this repo, not in the template. A fresh mint from rsr-template-repo at 48671ce ships no build/container/Containerfile. This repo was instantiated and upgraded by hand (#11, #12). Its Containerfile came from template base 889f7f7, and it has 2 floating FROM cgr.dev/chainguard/wolfi-base:latest lines. Template #266 later removed that file because it could not build. The hand upgrade kept it.

A later template upgrade will not fix this by itself. No template script removes the old Containerfile during an upgrade.

The owner chose to delete the file (as template #266 did) and not to pin it. The competing pin PRs #21 and #24 are closed.

Changes

  • build/container/Containerfile: removed. This repo publishes no image. To publish one later, add the file back pinned with scripts/pin-container-digests.sh.
  • mise.toml: no change. My first commit also rendered it, but chore: declare julia in mise.toml #13 already declares julia, so the merge from main keeps main's file unchanged.

Not changed: Apodeixis.jl_chora.deed still lists build/container/Containerfile as a canonical location. The template's own deed keeps the same entry after #266, and no gate checks it.

RSR Quality Checklist

Required

  • Tests pass (just test or equivalent): not run (just is not installed in this session)
  • Code is formatted: not applicable (no source code changed)
  • Linter is clean: not run
  • No banned language patterns
  • No unsafe blocks without // SAFETY: comments
  • No banned functions
  • SPDX license headers present on all new/modified source files
  • No secrets, credentials, or .env files included

Testing

I ran the 4 mint-gates scripts from the repo root at the merged head:

── check-mint-tokens ──
  PASS  every shipped brace token has an answer in repo-init
── check-spdx-headers ──
  PASS  SPDX headers: 207/207 files (idr jl zig sh ncl jq scm js rs)
── check-mise-language ──
  PASS  mise.toml matches the declared languages (idris2 julia zig): julia just shellcheck trivy yq zig
── check-container-pins ──
  PASS  no shipped Containerfile — nothing to pin (shipping one is optional)
exit=0

On the first head (f969524), the mint-gates CI job passed, and its control test reported 41/41 controls hold.

To confirm the template is correct, I also ran a fresh Julia mint from rsr-template-repo at 48671ce (tests/e2e/language_profiles_mint_test.sh: 32/32 controls hold). The 4 gates passed on the minted tree.

Some other checks fail on main too. My PR comment lists them.

🤖 Generated with Claude Code

https://claude.ai/code/session_0136P7ZoZwvZCfM387TZQ5kY

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

hyperpolymath commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner Author

4 checks fail on this PR. None of these failures comes from this PR. This PR changes only mise.toml and build/container/Containerfile. The same failures also occur on main at 983f619.

  1. estate-rules: scripts/check-root-shape.sh . fails because root-allow.txt requires LICENSE.adoc, and the repo does not have that file. I ran the check locally on both commits, and it fails on both. I did not fix it here, because licence edits are owner-only. To fix it, add LICENSE.adoc by hand, or mark the entry optional with ? and give the reason.

  2. DEED syntax: Apodeixis.jl_chora.deed line 228 is 1159 octets, and the limit is 998. Line 228 is the same at 983f619. I did not fix it here, because this repo's CLAUDE.md says to change the deed only through the estate process.

  3. Proven 3-outcome test & bench suite: the same workflow also failed on main (run 43501366019). The failing lanes are:

    • the root-shape lane and the root_shape bench (both fail because of item 1);
    • the proven-tools self-test: a Zig fixture calls dupeZ, and the FFI source does not declare it;
    • the bench regression gate, which is inert because the bench run is malformed.

    None of these lanes reads mise.toml or the Containerfile.

  4. RSR oracle — dogfood this repo: mix hypatia.rsr_score crashes with a segmentation fault (exit 139) before it scores anything. This is a crash in the Hypatia scanner, not a finding about this repo. The Dogfood Gate workflow also failed on main (run 43501366007).


Generated by Claude Code

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Hypatia grid green

🟢 clean · commit c1beee9cbfa1 · run 43614417351 · scope: this change (1 file(s))

Advisory: 11 row(s), worst 🔴 high (0 critical, 9 high in grid scope) — reported, never grading the change.

Unique graded findings across gating and advisory rows: 19 (19 reporter observations; 19 without sufficient identity to corroborate). Row counts remain per reporter; unique totals do not change gating.
Raw Hypatia alert-derived observations: 36 (code-scanning, Dependabot and secret-scanning; some may also be in SARIF; not an extra total).

Reporter Gate Status Critical High Medium Minor Since previous revision
Hypatia scan gating 🟢 clean 0 0 0 0 — same commit (no revision comparison)
panic-attack assail advisory 🟢 clean 0 0 0 0 — same commit (no revision comparison)
pons asinorum advisory 🟢 clean 0 0 0 0 — same commit (no revision comparison)
echidnabot advisory ⚪ not applicable 0 0 0 0 — same commit (no revision comparison)
rhodibot (RSR compliance) advisory 🟢 clean 0 0 0 0 — same commit (no revision comparison)
panicbot advisory ⚪ not applicable 0 0 0 0 — same commit (no revision comparison)
sustainabot advisory ⚪ not applicable 0 0 0 0 — same commit (no revision comparison)
glambot (presentation quality) advisory 🔵 minor 0 0 0 5 — same commit (no revision comparison)
seambot advisory ⚪ not applicable 0 0 0 0 — same commit (no revision comparison)
finishingbot (release readiness) advisory 🔴 high 0 9 5 0 — same commit (no revision comparison)
cipherbot advisory ⚪ not applicable 0 0 0 0 — same commit (no revision comparison)
accessibilitybot advisory ⚪ not applicable 0 0 0 0 — same commit (no revision comparison)
Hypatia scan: 1 finding(s)
  • 1 further finding(s) in files this change does not touch: reported, not graded (0 critical, 0 high).
panic-attack assail: 21 finding(s)
  • 21 further finding(s) in files this change does not touch: reported, not graded (0 critical, 1 high).
pons asinorum: 9 finding(s)
  • 9 further finding(s) in files this change does not touch: reported, not graded (0 critical, 0 high).
echidnabot: not_applicable — template default: enrol once the repository carries proofs and an ECHIDNA engine is configured
  • ⚪ not applicable: template default: enrol once the repository carries proofs and an ECHIDNA engine is configured
rhodibot (RSR compliance): 11 finding(s)
  • 11 further finding(s) in files this change does not touch: reported, not graded (0 critical, 10 high).
panicbot: not_applicable — panic-attack is already graded by the verdict grid's own panic-attack row, from static-analysis-gate.yml evidence; enrolling panicbot would report one scanner twice and give two rows that can disagree
  • ⚪ not applicable: panic-attack is already graded by the verdict grid's own panic-attack row, from static-analysis-gate.yml evidence; enrolling panicbot would report one scanner twice and give two rows that can disagree
sustainabot: not_applicable — reserved fleet slot; no adapter exists (gitbot-fleet bots/sustainabot/README.adoc)
  • ⚪ not applicable: reserved fleet slot; no adapter exists (gitbot-fleet bots/sustainabot/README.adoc)
glambot (presentation quality): 90 finding(s)
  • info GS-001 — Install git-seo for comprehensive SEO analysis: https://github.com/hyperpolymath/git-seo
  • info MACH-007 — ECOSYSTEM.scm not found in .machine_readable/ directory.
  • info MACH-007 — META.scm not found in .machine_readable/ directory.
  • info MACH-007 — STATE.scm not found in .machine_readable/ directory.
  • info MACH-005 — No robots.txt found. Consider adding one for crawler control.
  • 85 further finding(s) in files this change does not touch: reported, not graded (0 critical, 2 high).
seambot: not_applicable — template default: enrol once a seam register exists at spec/seams/seam-register.json
  • ⚪ not applicable: template default: enrol once a seam register exists at spec/seams/seam-register.json
finishingbot (release readiness): 173 finding(s)
  • high V1-DOC-ROADMAP.adoc — Required file ROADMAP.adoc not found (Project roadmap).
  • high TOOL-001 — .tool-versions file not found for asdf/mise version management.
  • high SCM-001-NEUROSYM.scm — Required SCM file NEUROSYM.scm not found (Neurosymbolic AI documentation).
  • high SCM-001-AGENTIC.scm — Required SCM file AGENTIC.scm not found (Agentic AI integration documentation).
  • high SCM-001-PLAYBOOK.scm — Required SCM file PLAYBOOK.scm not found (Operational playbooks and procedures).
  • high SCM-001-ECOSYSTEM.scm — Required SCM file ECOSYSTEM.scm not found (Project's place in the ecosystem).
  • high SCM-001-META.scm — Required SCM file META.scm not found (Meta-level information and architectural decisions).
  • high SCM-001-STATE.scm — Required SCM file STATE.scm not found (Project state and progress tracking).
  • high PH-100 — Found 124 placeholders, exceeds maximum allowed (0)
  • medium V1-COM-CONTRIBUTING.md — CONTRIBUTING.md file not found (Contribution guidelines).
  • medium V1-COM-CODE_OF_CONDUCT.md — CODE_OF_CONDUCT.md file not found (Code of conduct).
  • medium V1-SEC-001 — SECURITY.md not found for responsible disclosure.
  • medium TEST-001 — Could not determine if this is a Rust or Deno project.
  • medium REL-004 — No SECURITY.md file found
  • 159 further finding(s) in files this change does not touch: reported, not graded (0 critical, 4 high).
cipherbot: not_applicable — template default: enrol once the repository implements cryptography
  • ⚪ not applicable: template default: enrol once the repository implements cryptography
accessibilitybot: not_applicable — template default: enrol once the repository serves HTML
  • ⚪ not applicable: template default: enrol once the repository serves HTML

Scope: static findings reported by each row's tool at the named commit. The table grades only findings in files this change touches, so the colour answers "does this change introduce anything?", not "what does the whole repository still carry?". Standing findings are counted in each accordion and in report.json; the baseline filter remains the place where acknowledged debt is recorded. The lane state is the worst GATING row; advisory rows are listed and counted but never set it. Purple, red, yellow and blue grade the worst GRADED finding present; orange is evidence missing, malformed or a scanner that did not run; grey is an explicit scope exclusion with its reason. No row is a security certification. report.json, badge.json and the raw findings are in the verdict-grid artifact on the linked run.

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 14, 2026 14:25
@chatgpt-codex-connector

This comment was marked as low quality.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Take main's mise.toml unchanged. This PR now only removes the floating
build/container/Containerfile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0136P7ZoZwvZCfM387TZQ5kY
@coderabbitai

coderabbitai Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You'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 25 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 93c1f93 and c1beee9.

Files selected for processing: 1

  • build/container/Containerfile

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

@hyperpolymath hyperpolymath changed the title fix: declare the Julia toolchain and drop the floating Containerfile fix: drop the floating Containerfile Nov 14, 2026
@sonarqubecloud

Copy link
Copy Markdown

hyperpolymath pushed a commit that referenced this pull request Nov 14, 2026
The owner chose #15 (deed line), #18 (main.zig dupeZ) and #23 (delete the
Containerfile instead of pinning it). This PR keeps only the CLAUDE.md
Proofs section, which no other open PR carries.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0136P7Zk4qddXgo6Xwsqn8iz
@hyperpolymath
hyperpolymath merged commit 4fcf12d into main Nov 14, 2026
44 of 49 checks passed
@hyperpolymath
hyperpolymath deleted the marina/pensive-franklin-7u76wx branch November 14, 2026 16:55
hyperpolymath added a commit to hyperpolymath/rsr-template-repo that referenced this pull request Nov 14, 2026
…ing (#386)

## Summary

`scripts/render-mise.sh` wrote a fixed header that has only
`SPDX-License-Identifier`. So every render dropped the
`SPDX-FileCopyrightText` line of the `mise.toml` it replaced. The
problem was seen on hyperpolymath/Apodeixis.jl#23, where the line had to
be put back by hand.

## Changes

- `scripts/render-mise.sh`: before it renders, the script reads any `#
SPDX-FileCopyrightText:` lines from the existing `mise.toml` and writes
them back unchanged under the licence line. It never writes a copyright
line of its own, because licence text is not generated. If the old file
has no such line, the output is the same as before.
- `tests/shape/rust_cli_root_shape_test.sh`: the existing render fixture
now fails if the render drops or changes the copyright line.

## RSR Quality Checklist

### Required

- [x] Tests pass: the tests listed below pass. I did not run `just
test`, because `just` is not installed in this session.
- [ ] Code is formatted: no formatter run (shell only)
- [ ] Linter is clean: not run (`shellcheck` is not installed in this
session)
- [x] No banned language patterns
- [x] No `unsafe` blocks without `// SAFETY:` comments
- [x] No banned functions
- [x] SPDX license headers present on all new/modified source files
- [x] No secrets, credentials, or `.env` files included

## Testing

```
# without the render-mise.sh change
$ bash tests/shape/rust_cli_root_shape_test.sh
FAIL: render-mise dropped or changed the SPDX-FileCopyrightText line

# with the change
$ bash tests/shape/rust_cli_root_shape_test.sh
PASS: rust-cli root shape (Cargo optional both ways, mise.lock required and kept)
$ bash tests/e2e/language_profiles_mint_test.sh
language profiles: 32/32 controls hold
$ bash tests/workflows/mint_gates_test.sh
mint gates: 53/53 controls hold
$ bash scripts/check-spdx-headers.sh --quiet   # exit 0
```

Repos minted earlier keep whatever `mise.toml` they have. The fix
applies the next time `render-mise.sh` runs in a repo, either at mint or
by hand.

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

---------

Co-authored-by: Claude <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.

3 participants