Skip to content

Post-monorepo quality audit (c3825da): 14 findings under re-verification at current HEAD #2481

Description

@noahgift

Tracking ticket for the post-monorepo quality audit taken at c3825da7e (2026-08-14 12:05Z). Source document is a static defect audit from a shallow clone with no toolchain — it says so itself in §0 and is careful to frame every finding as "the tree contains this", not "this fails".

Findings are being re-measured at current HEAD before any of them are acted on, because main has moved past the audit's HEAD and at least one finding (F-1) overlaps work that landed in #2471. Twelve agents: one verifier per cluster, one independent refuter each.

The audit's own thesis, which is the useful part

the gates measure declarations, not resolved state

.gitignore declares; the index contradicts. The sibling guard reads manifests; the lockfile contradicts. #[ignore] declares a test exists; the runner skips it. In each case the artifact that would falsify the claim is present in the tree and unread by any gate.

That is the same class this repo has been closing all week — a required check that scanned a nonexistent directory (#2476), a route guard whose candidate universe came from the side it was auditing (#2475), tests gated on paths consolidation deleted (#2478). It is worth taking seriously as a category, independent of whether each individual finding survives.

Findings under verification

# Claim Sev (as filed)
F-1 whisper-apr = "0.2" transitively pulls registry aprender 0.27.8 — the monorepo depending on a stale crates.io copy of itself, 36 minors behind — dragging in registry trueno/realizar/trueno-quant/renacer-core/batuta-common. The guard scans manifests and passes; Cargo.lock disagrees. CRITICAL
F-2 .cargo/config.toml.dev-overrides tells developers to clone 8 siblings that were consolidated in-tree; its [patch.crates-io] is what hides F-1 locally HIGH
F-3 461 tracked .pmat-work/ files = 313 MB, which .gitignore:62 declares ignored; 781 ignored-but-tracked files; 55% of tracked bytes HIGH
F-4 4 committed ELF binaries incl. a 3.8 MB unstripped debug executable in the repo root MEDIUM
F-5 691 #[ignore] tests, ~50 masking known defects (13× "APR dtype parsing bug", 10× "kernel bug", 5× "Uses buggy Lz4WarpCompressKernel — FN confirmed") MED-HIGH
F-6 Lint suppression surface MEDIUM
F-7 Mutation gate armed but parse-fragile MEDIUM
F-8 Coverage floor 88 vs claim 96.35, PR-blind MEDIUM
F-9 Publish path bypasses CI MEDIUM
F-10 ROADMAP generated 41 days before HEAD LOW-MED
F-11 Pre-consolidation naming persists in source LOW
F-12 8 of 30 check_*.sh guards are not merge gates — 1,325 LOC of self-testing guard logic that never runs at merge, including check_publish_safety.sh (the one credited with keeping a 28 MB blob out of a published package) and check_contract_test_binding.sh (the largest guard in the tree) HIGH
F-13 README says 1771 contracts in a table and 1767 in prose 212 lines later; the drift guard is unwired and pattern-narrow MEDIUM
F-14 deny.toml exemptions name versions no longer in Cargo.lock (quick-xml rationale written against 0.37.5; lock resolves 0.39.4 and 0.41.0). No exemption carries an expiry MEDIUM

What the audit gets right about the strengths

Worth recording, because it is not a hostile document: it credits the mutation gate as genuinely armed and diff-scoped with no continue-on-error, notes property testing is "not decorative" (1,166 proptest! blocks), and calls the 30-guard scripts/ directory "the strongest quality asset in the repo." F-12 is a criticism of the wiring, not of the guards.

Caveats being applied

  • §0 is honest about its limits — no toolchain, no CI history, no churn. Anything requiring a build is unverified by construction, so several findings may be stale or already fixed.
  • F-11 needs the by-design distinction. aprender-compute's [lib] name IS trueno; aprender-serve's IS realizar. A naive grep for pre-consolidation identifiers will overcount enormously. The verifier is explicitly briefed on this.
  • F-3's fix is not obviously safe. If any gate reads those .pmat-work/contract.json files, git rm --cached breaks it. That is being checked before anything is deleted.

Findings that survive refutation get fixed with a mutation-verified falsifier each, per the usual standard. Findings that do not survive get recorded here as refuted, with the contradicting evidence, so the audit document does not get re-litigated later.

Refs #2474.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions