49 lines
4.2 KiB
Markdown
49 lines
4.2 KiB
Markdown
# R5.7 pre-merge checks (2026-10-25)
|
|
|
|
Owner brief « Validation R5.7 et dernière vérification pré-fusion ». State checked: `feature/rust-r5-pipeline-core` at
|
|
`27bf59c` (code and tests); the commit that adds this file changes docs and `.claude/` records only (SUPABASE.md layout,
|
|
the `.bin/tsx` wording in RUST.md §11.23 and in the contract clarification, TODO, registries).
|
|
|
|
## Decision C6
|
|
|
|
Owner accepted `tsx` in `pnpm-lock.yaml` as vite's optional peer only. Contract C6 amended with a Clarification section.
|
|
`pnpm why tsx -r`: `tsx` 4.23.15 reached only as `vite` 7.3.6's peer (`peerDependenciesMeta.tsx.optional: true`) through the
|
|
devDependencies of `apps/app`, `packages/core-wasm`, `packages/supabase`; no importer, no manifest, no script; snapshot
|
|
`optional: true`. No lockfile hand edit, no override.
|
|
|
|
## Checks run on 27bf59c
|
|
|
|
| Check | Result |
|
|
|---|---|
|
|
| `pnpm install --frozen-lockfile` | rc 0, "Lockfile is up to date", lockfile sha256 unchanged |
|
|
| `pnpm dedupe --check` | rc 0 |
|
|
| `pnpm check:all` (starts with `scripts/rust-check.sh` = `pnpm rust:check`) | green 13:37:52 → 13:41:41: fmt, clippy, 177 cargo result lines all ok (1548 passed, 0 failed, 3 ignored, none a ledger target), ts-rs drift none, cargo-deny + advisories ok, wasm, typecheck, vitest app 446 / core-wasm 60 / supabase 40, lint, build, app image, worker sandbox tests, worker runtime image |
|
|
| `pnpm import:equine --check` | legacy-import 6 files, draft 12 files, 0 differences (app-main under the declared R3 rule) |
|
|
| `pnpm report:compare` on `apps/app/tests/fixtures/*.pdf` and `fixtures/pdf` | rc 0 |
|
|
| `pnpm audit` | 57 advisories (2 critical, 33 high, 21 moderate, 1 low), every version identical on `develop`: none introduced by R5. Runtime-reachable: zod 3.25.76 (GHSA-mrhx-c7xc-m3w5, patched only in zod 4). Rest dev tooling (pnpm 10.13.1, tinypool via vitest, vite 7.3.6 dev server, happy-dom, brace-expansion, js-yaml, nanoid, postcss, source-map-js). Separate chore, owner decision (majors excluded by the brief) |
|
|
| Suites named by the brief | RFC 8785 and aliases `sheet_fingerprint` 11, `r5_6_switch` 14, app `r5-6.switch`; reports v2/v3 `report_rules` 17, `report_contract` 4, `archive_rules` 38, `characterisation` 4; N-1 `n-1.reader`, `n-1.scanner`; PDF `pdf_*` (import 4, compare 16, session 6, …), app `pdf.roundtrip`, core-wasm `pdf-import`; rebase and history: `archive_rules`, the 612 leaves (`curation_leaves` 8, app `migration.leaves`); seed and sheet `curation_*`, `sheet_rules` 25, `sheet_conformance` 3; census `r4.census` 8, `r5.census` 10 |
|
|
| Moved fixtures | sha256 `e96b0882…729c`, `ba79698c…fde7`, equal to 756b7ef |
|
|
| Old packages required nowhere | `git grep` over scripts, docker, `.gitea`, Dockerfile, compose, configs, tests, package sources: comments and census bans only |
|
|
|
|
## Ledger
|
|
|
|
407 rows: 256 ported, 149 replaced, 2 deleted (JS aliasing check with no Rust meaning; TS generator of
|
|
`fixtures/horse-slice.json`, read by 4 Rust suites). Replaced rows active: every cargo target a non-ignored `#[test]`
|
|
(census now refuses `#[ignore]` after `#[test]`, cd69f0e), every cited oracle read by a test.
|
|
|
|
## Gates
|
|
|
|
- Fresh verifier: CONFORME, C1 to C10 MET (C6 under the clarification), 14 scratch reintroduction probes all fail the
|
|
census. Precisions it raised, fixed in the docs commit: this file did not yet exist; SUPABASE.md §1 still drew
|
|
`packages/domain`; `.bin/tsx` is linked under the three packages (not the root).
|
|
- Fresh security audit: PASS (`2026-10-25-rust-r5-7-security-final.md`). MEDIUM pre-existing `pnpm audit`; LOW census
|
|
regex accepts `#[ignore]` before `#[test]` or `#[cfg_attr(…, ignore)]` (no instance; left for the owner, a fix would
|
|
invalidate this `check:all`); LOW clippy allow header; LOW pre-existing SQL policy warning outside the diff.
|
|
|
|
## Git
|
|
|
|
Branch clean, equal to `origin/feature/rust-r5-pipeline-core`; `develop` = `origin/develop` = `9c0117a`, ancestor of the
|
|
branch (76 commits ahead, 0 behind): `git merge-tree` clean, a `--no-ff` merge has no conflict. No secret pattern in the
|
|
added lines; no env file, key or binary added; largest added files are the R5.1 oracles `numbers.json` (1.8 MB) and
|
|
`pipeline.json` (1.4 MB). `main` 605ee7c and `release/0.2.0` f8d9425 untouched.
|