README Source History Refs Reviews Compare Notes Search Review guide Record the CI prototype evidence c95c4ab55395fd23cb9277f56ff254e39205c3d2
Claude <noreply@anthropic.com > · 17 Jul 2026
SSH signature · not checked
Browse files Compare with HEAD
The GitHub Actions run settles both tooling-gated Campaign 7 claims and turns
up one the local sandbox could never have: cargo-pup, on which §11's gate is
specified, is not published on crates.io, so the documented install fails. The
stable cargo-metadata gate caught the forbidden edge cleanly, so §11 has a
working path that needs no nightly and no unpublished tool.
Cross-build is proven for the LuaJIT+gix trees to musl and windows-gnu plus
native msvc/darwin; jj-lib and the TLS tree stay unproven and are logged as
residual P30 risk. Result block for p34 in prototypes/PLAN.md.
Changed files (1) Diff layout Auto Unified Split
prototypes/PLAN.md Modified +78 / −0 text lines
2249 2249 Markdown shape required by `prototypes/CLAUDE.md` (canonical:Markdown shape required by `prototypes/CLAUDE.md` (canonical:2250 2250 `.claude/skills/pioneer/SKILL.md`). Result blocks recorded before`.claude/skills/pioneer/SKILL.md`). Result blocks recorded before2251 2251 2026-07-16 use the earlier JSON shape and stand as historical records.2026-07-16 use the earlier JSON shape and stand as historical records.
2253 + ## Result — P34 `p34-ci-pipeline` (2026-07-17) 2255 + CI stood up on GitHub Actions to un-gate the two tooling-gated Campaign 72256 + claims. Run: bugabinga/smith actions run 29595424305, all six jobs green.2262 + - **§14 cross-build**: a bin pulling the two heaviest native trees — vendored2263 + LuaJIT (`mlua`) and `gix` — cross-compiles cleanly via `cargo-zigbuild` to2264 + `x86_64-unknown-linux-musl` (~73s), `aarch64-unknown-linux-musl` (~76s), and2265 + `x86_64-pc-windows-gnu` (~121s), and builds+runs natively on `ubuntu-latest`2266 + (~71s), `macos-latest` (~62s), and `windows-latest`/msvc (~218s). The §142267 + required matrix is buildable for the LuaJIT+gix trees; zig covers the2268 + linux/windows-gnu cross, native runners cover msvc/darwin.2269 + - **§11 arch-gate (stable path)**: the `cargo metadata` gate PASSES the legal2270 + 3-crate graph and FAILS the moment a forbidden `wcore -> wai` edge is injected2271 + (`ARCH VIOLATION: wcore -> wai is forbidden by §11`). §11 has a working2272 + enforcement path on plain stable, no nightly required.2273 + - **§17.10 hermeticity / §13.1 cold build**: a clean runner cold-builds and2274 + tests all 28 prototype crates in ~9m46s (ubuntu-latest, 2 vCPU) with no TTY2275 + and no network — the first real seed for the cold-build sub-budget.2278 + - **§3.5 / §15 `cargo install cargo-pup`**: cargo-pup is NOT published on2279 + crates.io. `cargo +nightly-2026-01-22 install cargo-pup --locked` and the2280 + stable fallback both fail with `error: could not find cargo-pup in registry2281 + crates-io with version *`. The documented install path for the nightly source2282 + gate does not exist; §11 cannot lean on it as written.2285 + - `docs/SPEC.md §3.5, §11, §15 (pup)` + `docs/PROJECT-INVARIANTS.md §11`2286 + - Issue: the architecture gate is specified as `cargo-pup` on pinned nightly,2287 + but cargo-pup is unpublished on crates.io, so `cargo install cargo-pup`2288 + fails. The load-bearing §11 gate should be the stable `cargo metadata`2289 + check (proven here); cargo-pup should be demoted to optional and, if kept,2290 + installed from a pinned git rev, not crates.io.2291 + - Evidence: run 29595424305 arch-gate job — metadata gate discriminates2292 + legal/illegal graphs; `cargo install cargo-pup` errors "not in registry".2294 + - `docs/SPEC.md §14`2295 + - Issue: cross-build is proven only for the LuaJIT+gix trees. `jj-lib`2296 + (+ prost) and the `aws-lc`/reqwest-TLS tree named in §13.1/P30's risk were2297 + NOT in the cross bin and remain unproven under cross-compilation.2298 + - Evidence: p34-ci-pipeline/cross/Cargo.toml pulls mlua+gix only.2300 + - `prototypes/.cargo/config.toml (§18)`2301 + - Issue: the prototype cap-lints=warn exemption is resolved by working2302 + directory, not by `--manifest-path`. A prototype built from the repo root2303 + (or by any tool passing `--manifest-path` from outside `prototypes/`)2304 + inherits the production `-D warnings`/`-D missing_docs` policy and fails.2305 + - Evidence: identical `-D missing_docs` failure on all three OS runners in the2306 + first run; reproduced locally (errors via `--manifest-path` from root, warns2307 + when CWD is under prototypes/). Fixed by building from inside the tree.2310 + ### Prototype Artifacts 2311 + - `prototypes/p34-ci-pipeline/NOTES.md`2312 + - `prototypes/p34-ci-pipeline/cross/` (mlua+gix cross bin)2313 + - `prototypes/p34-ci-pipeline/archgate/` (3-crate workspace, `gate.py`, `pup.ron`)2314 + - `.github/workflows/ci-prototype.yml` (temporary)2317 + - `git push` → GitHub Actions run 29595424305 (push trigger)2318 + - cross: `cargo zigbuild --target {x86_64,aarch64}-unknown-linux-musl`,2319 + `--target x86_64-pc-windows-gnu`2320 + - native: `cargo run` on ubuntu/macos/windows runners2321 + - arch: `python3 gate.py` (pass), inject edge → `python3 gate.py` (fail)2324 + - Owner decision: make the stable `cargo metadata` check the load-bearing §112325 + gate; demote cargo-pup to optional (git-pinned) or drop it (§3.5/§11/§15).2326 + - Extend the cross bin with `jj-lib` and the TLS/aws-lc tree to close the P302327 + gap, or accept it as a release-time risk.2328 + - Decide whether ci-prototype.yml stays as the seed of the real pipeline or is2329 + deleted now that its evidence is recorded.