repositories / smith

smith

There are many coding harnesses - but this one is fast

owned by bugabinga

Record the CI prototype evidence

c95c4ab55395fd23cb9277f56ff254e39205c3d2

Claude <noreply@anthropic.com> ·

SSH signature · not checked

Browse filesCompare 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)

+78 / −0 text lines

Diff layout

prototypes/PLAN.md

Modified

+78 / −0 text lines

22492249Markdown shape required by `prototypes/CLAUDE.md` (canonical:
22502250`.claude/skills/pioneer/SKILL.md`). Result blocks recorded before
225122512026-07-16 use the earlier JSON shape and stand as historical records.
2253## Result — P34 `p34-ci-pipeline` (2026-07-17)
2255CI stood up on GitHub Actions to un-gate the two tooling-gated Campaign 7
2256claims. Run: bugabinga/smith actions run 29595424305, all six jobs green.
2258### Status
2259complete
2261### Proved
2262- **§14 cross-build**: a bin pulling the two heaviest native trees — vendored
2263 LuaJIT (`mlua`) and `gix` — cross-compiles cleanly via `cargo-zigbuild` to
2264 `x86_64-unknown-linux-musl` (~73s), `aarch64-unknown-linux-musl` (~76s), and
2265 `x86_64-pc-windows-gnu` (~121s), and builds+runs natively on `ubuntu-latest`
2266 (~71s), `macos-latest` (~62s), and `windows-latest`/msvc (~218s). The §14
2267 required matrix is buildable for the LuaJIT+gix trees; zig covers the
2268 linux/windows-gnu cross, native runners cover msvc/darwin.
2269- **§11 arch-gate (stable path)**: the `cargo metadata` gate PASSES the legal
2270 3-crate graph and FAILS the moment a forbidden `wcore -> wai` edge is injected
2271 (`ARCH VIOLATION: wcore -> wai is forbidden by §11`). §11 has a working
2272 enforcement path on plain stable, no nightly required.
2273- **§17.10 hermeticity / §13.1 cold build**: a clean runner cold-builds and
2274 tests all 28 prototype crates in ~9m46s (ubuntu-latest, 2 vCPU) with no TTY
2275 and no network — the first real seed for the cold-build sub-budget.
2277### Disproved
2278- **§3.5 / §15 `cargo install cargo-pup`**: cargo-pup is NOT published on
2279 crates.io. `cargo +nightly-2026-01-22 install cargo-pup --locked` and the
2280 stable fallback both fail with `error: could not find cargo-pup in registry
2281 crates-io with version *`. The documented install path for the nightly source
2282 gate does not exist; §11 cannot lean on it as written.
2284### Spec Issues
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 discriminates
2292 legal/illegal graphs; `cargo install cargo-pup` errors "not in registry".
2293 - Severity: P1
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 were
2297 NOT in the cross bin and remain unproven under cross-compilation.
2298 - Evidence: p34-ci-pipeline/cross/Cargo.toml pulls mlua+gix only.
2299 - Severity: P2
2300- `prototypes/.cargo/config.toml (§18)`
2301 - Issue: the prototype cap-lints=warn exemption is resolved by working
2302 directory, not by `--manifest-path`. A prototype built from the repo root
2303 (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 the
2306 first run; reproduced locally (errors via `--manifest-path` from root, warns
2307 when CWD is under prototypes/). Fixed by building from inside the tree.
2308 - Severity: P3
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)
2316### Commands
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 runners
2321- arch: `python3 gate.py` (pass), inject edge → `python3 gate.py` (fail)
2323### Next Steps
2324- Owner decision: make the stable `cargo metadata` check the load-bearing §11
2325 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 P30
2327 gap, or accept it as a release-time risk.
2328- Decide whether ci-prototype.yml stays as the seed of the real pipeline or is
2329 deleted now that its evidence is recorded.