Repository navigation
Closed
Description
Why
Wave 11 sealed 12 Rust crates (ring-088..ring-099, ≈ 9 930 LOC, uncompiled) and Wave 12 / Track C added 5 more (ring-100..ring-104, 822 LOC, uncompiled). The repo currently carries 17 Rust crates that have never been compiled in CI — recorded honestly in README.md and docs/NOW.md.
Wave 13 closes that gap: bring a Rust toolchain into CI, run cargo check / cargo test for every rings/ring-*-rust crate, and publish per-crate status to rings/COMPILE_STATUS.md. This was originally scoped as Wave 12 / Track D in #710; promoting it to its own wave to keep the deliverable atomic.
Deliverables
Dockerfile.rust— based onrust:1.83-bookworm, pins toolchain viarust-toolchain.toml(already in repo). Used by CI and reproducible locally..github/workflows/rings-rust.yml— discoversrings/ring-*-rust/via a matrix generator, runscargo check+cargo testper crate inside the image. Continues on per-crate failure so the matrix surfaces all failing crates in a single CI run (exit 0 — status is published, not enforced, until exit criteria below are met).scripts/ci/rings_matrix.py— pure-Python (no deps); outputs GitHub Actions matrix JSON for the workflow.rings/COMPILE_STATUS.md— living per-cratecargo check/cargo teststatus table. Regenerated by Wave 14 once the matrix CI is green.
Honest scope
- This PR ships infrastructure only. It does not fix
cargo checkerrors in the 17 existing crates — that's Track A of Wave 12 (still open). - The new workflow is non-blocking (uses
continue-on-error: trueper matrix entry) to surface the real state of every crate without bricking PRs. - The 17 crates are still NOT added to root
[workspace].members— they are built standalone (cargo check --manifest-path …) so the bootstrap workspace stays intact.
Exit criteria for Wave 13
Dockerfile.rustexists, builds (locally or in CI), and containsrustc 1.83.rings-rust.ymlruns and produces a job perrings/ring-*-rust/crate.rings/COMPILE_STATUS.mdexists with placeholder rows that the workflow can refresh later.- All existing CI gates (Issue Gate, L1, NOW-Sync, PHI Loop, schema, seal coverage) stay green.
Compliance
- L1 TRACEABILITY — PR will cite
Closes #<this>. - L2 GENERATION — zero edits under
gen/,coq/,trios-coq/,proofs/,bootstrap/,specs/,conformance/. - L3 PURITY — ASCII source, English text in CI files.
- L4 TESTABILITY — new workflow exercises
#[test]blocks across all rings crates. - L5 IDENTITY — every existing ring crate already contains
identity_witness()assertingφ² + 1/φ² = 3; the matrix CI exercises it. - L6 CEILING — no numeric kernel changes.
- L7 UNITY — one new
*.sh-free Python helper underscripts/ci/(consistent with the only existing precedent there,now-sync-gate-diff.shis pre-existing; new entry is.pyto honor L7's preference for non-shell). - NOW Sync Gate —
docs/NOW.mdwill be updated in the same PR.
Metadata
Metadata
Assignees
Labels
No labels
Activity
wave-13: toolchain & compilation gate -- Dockerfile.rust + rings-rust…
wave-13: toolchain & compilation gate -- Dockerfile.rust + rings-rust…
wave-13: toolchain & compilation gate -- Dockerfile.rust + rings-rust…