Repository navigation
Code-quality debt: clippy, complexity and lint ratchets (nightly LAB) #5309
Description
Scope
Code-quality debt from audits: clippy and complexity ratchets, and the quality-audit backlog.
Why it matters
This is long-tail debt. It does not block a release, but it raises the cost of every change in these files.
Done when
Each row below is fixed or closed with a reason. No new row is added here; new debt gets its own ticket.
Parent epic: #3997.
Rows
- Code Quality Report Epic: Sovereign Stack Audit #2814 — Code Quality Report Epic: Sovereign Stack Audit
- Prose YAML pre/postconditions become compile_error! when wired — lint every emitted condition as a Rust expression (#2699 remainder) #4371 — Prose YAML pre/postconditions become compile_error! when wired — lint every emitted condition as a Rust expression (aprender-contracts-macros: #[contract] fails open in four places, and the doc comment claims the opposite #2699 remainder) (branch:
feat/4371-prose-conditions-lint) - ci: parity_receipt_denominator.sh verify mode is never run — only --self-test is wired (#3577 guard is dark) #4425 — ci: parity_receipt_denominator.sh verify mode is never run — only --self-test is wired (Receipts under contract: parity-receipt-v1 shape + extract:parity-receipt + back-fill the 7 comparator-less receipts (ONT-4c3 re-scoped) #3577 guard is dark) (branch:
fold/4425-onto-stage-0701) - Nightly coverage report #4458 — Nightly coverage report
- ttop quality: in-workspace CI, leak soak gate, defect fixes, pv ontology (0.70 candidate) #4511 — ttop quality: in-workspace CI, leak soak gate, defect fixes, pv ontology (0.70 candidate)
- CB-200 release gate: head vs last release tag, not a stored limit #4641 — CB-200 release gate: head vs last release tag, not a stored limit
- refactor: split cognitive>25 CUDA forward/prefill functions that block whole-file stages #5022 — refactor: split cognitive>25 CUDA forward/prefill functions that block whole-file stages
- FLOW-004 drain owner (aprender-flow): evidence/park comments for the aprender + paiml-implement backlog, ≤43 rows/day #5245 — FLOW-004 drain owner (aprender-flow): evidence/park comments for the aprender + paiml-implement backlog, ≤43 rows/day
Each row was a separate ticket, folded here under the 100-open-ticket cap (TRIAGE-100, 2026-10-14) and closed as not planned. Reopen a row's ticket when its work starts; an open PR for it reopens it.
Agent: aprender-clerk
Merged in (TRIAGE-100, 2026-10-14)
From #5331 — Lint and complexity debt: clippy reds and ratchets moved to nightly LAB
- Lint and complexity debt: clippy reds and ratchets moved to nightly LAB #5331 — Lint and complexity debt: clippy reds and ratchets moved to nightly LAB
- clippy -D warnings fails on aprender-serve on main (1280 excessive_precision in IQ tables, 5 deny-level undocumented unsafe) — no gate lints it: Makefile clippy is facade-only and serve doesn't inherit workspace lints #4152 — clippy -D warnings fails on aprender-serve on main (1280 excessive_precision in IQ tables, 5 deny-level undocumented unsafe) — no gate lints it: Makefile clippy is facade-only and serve doesn't inherit workspace lints (branch:
evidence/4152-serve-clippy-green) - toolchain-ceiling gate is green while stable clippy --all-targets is red on member crates (score_contracts.rs:244, pixel_coverage) #4796 — toolchain-ceiling gate is green while stable clippy --all-targets is red on member crates (score_contracts.rs:244, pixel_coverage)
- LAB: deep-nightly red on main nightly (run 38008037263) #5010 — LAB: deep-nightly red on main nightly (run 38008037263) (branch:
fix/5010-deep-bins-build-sha) - LAB: nightly train lane assets (off the release verdict) #5152 — LAB: nightly train lane assets (off the release verdict)
- LAB: apr-cli test-target clippy red on main (crux_f_17 unwraps, nf4_classifier unused mut) #5202 — LAB: apr-cli test-target clippy red on main (crux_f_17 unwraps, nf4_classifier unused mut) (branch:
fix/5202-apr-cli-test-clippy) - LAB: complexity ratchet (check_complexity_ratchet.sh) runs nightly, off the PR path #5217 — LAB: complexity ratchet (check_complexity_ratchet.sh) runs nightly, off the PR path
- LAB: baseline ratchets (check_baseline_ratchets.sh) run nightly, off the PR path #5218 — LAB: baseline ratchets (check_baseline_ratchets.sh) run nightly, off the PR path
- apr-cli: lib.rs include!d functions exceed complexity thresholds (resolve, dispatch_*) #5227 — apr-cli: lib.rs include!d functions exceed complexity thresholds (resolve, dispatch_*) (branch:
refactor/5227-apr-cli-complexity)
Folded P0 and operator-worded rows (TRIAGE-100, 2026-10-14)
These tickets were folded here by the cop ruling of 2026-10-14 (sub-rows of this master). Each keeps its priority and its owner. The operator text each carried is quoted below exactly as written; if an owner objects, the ticket is reopened.
-
CI clippy lints only the root facade package: adopt --workspace --all-targets as a ratchet (post-0.70) #4654 — CI clippy lints only the root facade package: adopt --workspace --all-targets as a ratchet (post-0.70) (P1 owner:aprender-a7)
Operator ruling C200(4), 2026-10-01.
-
mutants-nightly: weekly (Sun 03:00Z) on the X64 mutants pool, with the C324 7-day stop #5228 — mutants-nightly: weekly (Sun 03:00Z) on the X64 mutants pool, with the C324 7-day stop (no owner label)
Operator ruling, relayed by the cop on 2026-10-12: "stop and move to weekly". This concerns
mutants-nightly.yml.
Activity
[-]MASTER S3: folded sub-tickets[/-][+]Code-quality debt: clippy and complexity ratchets, quality-audit backlog[/+][-]Code-quality debt: clippy and complexity ratchets, quality-audit backlog[/-][+]Code-quality debt: clippy, complexity and lint ratchets (nightly LAB)[/+]