Plan: Lint Policy in Two Regimes — One Test Set, Self-Checking Suppressions, a One-to-One Suppression Registry (#2625)
- Archive record
- Status
- Context
- Design
- Scope
- U1 —
chore(xtask): one canonical test regime, checked at every crate root - U2 —
chore: delete the dead code behind three #![allow(dead_code)] - U3 —
chore: put macro-output suppressions in macro-only module expects - U4a —
fix: remove six correctness expects and one macro-body expect - U4 —
chore(xtask): register suppressions one to one, deny allow_attributes - U5.<row> —
chore(<crate>): retire <crate>'s debt suppressions(template)
- U1 —
- Out of scope
- Risks
- Review log
Archive record
31 MRs across 2026-10-25 → 2026-11-05: !1990, !2015–!2017, !2033, !2036, !2037, !2095, !2104 (U1–U4: the canonical test regime at every crate root, the one-to-one suppression registry, allow_attributes denied, B4 and no-transitional-allows retired), !2125–!2145 (the U5 rows, retiring every debt allow as docs/style and correctness MRs on the local merge train) and !2146 (close-out: the debt category deleted).
Status
Done (2026-11-05) — !2146: U5 retired the last debt entries (the craig-seed and xtask rows, !2145) and the close-out deleted the category; U1–U5 merged across !1990–!2145, every crate root carries the one canonical test regime, and every other suppression is a self-checking single-lint expect or a registered macro-output or cfg-variant entry.
Context
#2625 asks how to gate inner #![allow] attributes: budget B4 counts only outer #[allow] (68,
xtask/quality-budgets.lock:15). The approved direction: no second count budget; lint policy in configuration with
exactly two regimes, production and test; every other deviation a narrow, self-checking #[expect(…, reason)];
the gate an invariant, not a count. Verified on main, 2026-10-24, with clippy 1.97.0; workloads are clippy
(--cap-lints=warn) on a copy with every inner allow removed. Inner suppressions today: 182 test stacks in 61
production roots; 249 in tests/ (246 at 224 of 238 roots; 204 roots allow clippy::pedantic, 175 clippy::cargo);
21 in #[cfg(test)] modules; 3 production dead_code; 13 macro-output; 10 at the two test-support roots; 30 doc
backlog in 25 crates; 48 other production carve-outs. Findings that shape the design:
-
S1. Clippy 1.97’s
allow-*-in-testsoptions cover a#[cfg(test)]module’s helpers, but in atests/*.rscrate only#[test]bodies: with all six set, helpers still show expect_used 3,097, unwrap_used 1,879. -
S2. An item
#[allow]/#[expect]does not reach#[derive(OpenApi)]output, and askama 0.15.6’sfilter_fndrops every item attribute (askama_derivesrc/filter_fn.rs:713-741); a module#![expect]works. -
S3.
clippy::allow_attributesflags outer#[allow]only (inner never, by its docs) and skips proc-macro output. -
S4. An expect whose lint fires only in some targets is unfulfilled elsewhere;
#[cfg_attr(<pred>, expect(…))]is exact (four in tree, e.g.bundle_orchestrator.rs:324). Every clippy run uses default features. -
S5. As expects, 50 of the 68 outer allows are wholly unfulfilled, 2 in part; 19 production inner lint names suppress nothing, every crate-root
cognitive_complexityamong them. -
S6.
quality-gates.adoc:89-101blesses proof-bearing correctness expects and crate-level correctness allows; the standard never overrides the class (coding-conventions.adoc:191-203). Production holds 6 item-level correctness expects and 14 crate-root blankets: arithmetic 7 (cli ×2, financial ×2, seed ×2, xtask), indexing 6 (cli ×2, seed ×2, web, xtask), string_slice 1 (xtask). craig-test-lib’s three sit at a test-support root (R1 absorbs them). -
S7. Sixteen outer expects sit on containers:
dead_codeon threepub mod`s (`craig-exchange/src/lib.rs:53,60,84) and two#[path]test modules (craig-financialtests/import_finalize_jobs.rs:61,sweep_execute_jobs.rs:66), all code compiled twice withdead_codelive in one compilation only;too_many_linesonpub mod apiandinbox(craig-financial/src/lib.rs:75,84);missing_fields_in_debugon threeimpl fmt::Debug(intake, portal, websrc/config.rs); six on fns whose bodies hold items:craig-api/src/bootstrap.rs:1012,craig-authz/src/invalidation.rs:345,425,689,xtask/src/cmd/quality_budgets.rs:566,571. One more expect sits in a macro body (craig-security/src/detection.rs:88, intokio::select!).
Design
D1. Two regimes
The production regime is [workspace.lints], unchanged but for D4. The test regime is it minus one set of 13 single
lints (no group), applied by one attribute per crate root:
-
Assertion mechanism:
unwrap_used,expect_used,panic,unwrap_in_result. -
Known-shape fixtures, where an out-of-range index or an overflow is the test failure a debug build raises:
indexing_slicing,string_slice,arithmetic_side_effects(the correctness class, in test code only). -
Discards and partial matches:
let_underscore_must_use,wildcard_enum_match_arm. Harness output:print_stdout,print_stderr. Test plumbing:disallowed_methods. Scenario length:too_many_lines.
Left out: pedantic (1,002 tests/ hits, U5), cognitive_complexity (live in a few test scopes, U5), and lints with
0 tests/ hits.
D2. The policy file and the regime check
New xtask/lint-policy.toml is the one definition: [test-regime] (lints, sorted "clippy::<name>";
reason = "test regime: xtask/lint-policy.toml, quality-gates.adoc § Lint regimes"; test-support =
["craig-test-lib", "craig-partner-test-harness"]), [groups] (R5) and the registry (D3).
New xtask/src/cmd/lints/lint_regime.rs, cargo xtask lints lint-regime [--fix], one blocking validate step that
runs every rule (R1–R6). Targets come from cargo metadata --no-deps --format-version 1, decoded into typed structs
(as release_artifact_gate.rs). A target of a test-support package is a test root; otherwise one whose kind
array holds test, bench or example is a test root, and one whose every kind is lib, rlib, dylib, cdylib,
staticlib, proc-macro or bin is a production root; custom-build carries none; any other kind fails. Today:
240 test roots (238 plus 2 test-support libs), 83 production (lib 66, proc-macro 1, bin 16; no crate-type set).
-
R1. A test root carries exactly one
#![allow(<set>, reason = "<reason>")]: paths equal the set, no duplicates, the reason byte-equal. -
R2. A production root carries exactly one
#![cfg_attr(test, allow(<lints>, reason = "<reason>"))], predicate the baretest;<lints>is the set minus each lint the root names in a plain inneralloworexpect(none left: no attribute), since repeating one failsduplicated_attributes(quality-gates.adoc:107). -
R3. No other suppression at a test root names a set lint, and no production suppression of a set lint sits under a
cfg_attrwhose predicate namestest.
A failure names file:line and the canonical attribute. --fix moves set lints out of a root’s other test-scope
attributes, deletes those left empty, writes the canonical attribute after the last leading inner attribute, and
never edits the registry. Changing the set is one TOML line plus --fix; a set entry that is a group fails (R5).
D3. The suppression registry (U4)
Reading. syn parses every .rs under lint_scan::lint_roots (File.attrs, then items, inline modules, impl,
trait and extern blocks, fn bodies, statements and expressions); every syn Macro and Verbatim token stream is
lexed with lint_tokens::lex. A file syn cannot parse fails the walk. `include!`d generated code is outside the scan.
A suppression is any allow or expect naming any lint or group, or a warn naming a rustdoc:: lint or group
(the doc passes are the only ones without -D warnings), plain or through cfg_attr at any depth, other than the
R1/R2 attributes. Lint names must be canonical: a renamed, removed or unprefixed tool lint fails.
-
R4, registered scope. Every suppression matches one registry entry except an outer
expectnaming single lints on a non-container target. Containers: amoditem or inlinemod,impl,trait,externblock, an item or impl-item macro invocation, and a fn, const, static, block, closure orasyncblock whose body holds an item other thanuseorextern crate. Three kinds fit no category and fail: arustdoc::suppression (an expect of one is never evaluated under-D warnings); one inside a macro body; and one aproc-macrocrate emits, meaning anallow/expect/warnident followed by a paren group in aquote!-family body or in a string literal passed toparse_strorTokenStream::from_str. -
R5, groups and meta-lints. No suppression, entry or set lint names a group from
[groups]: clippyall,pedantic,nursery,restriction,style,complexity,perf,cargo,correctness,suspicious;rustdoc::all; the rustc groupsrustc -W helplists on 1.97.0. None lowerswarnings,unfulfilled_lint_expectations,unknown_lintsorrenamed_and_removed_lints. -
R6, correctness class. No suppression of
indexing_slicing,string_sliceorarithmetic_side_effectsoutside test-regime code except adebtentry; test-regime code is<pkg>/tests/, test-supportsrc/, files incfg_test_module_files(lints.rs:2559) and items underattrs_are_test_cfg_only(:1817). -
Identity. An entry is
(file, scope, placement, kind, predicate, lint[, ordinal]). Scope is the named items enclosing it in the file, one array segment each, the target included, empty forFile.attrs:mod <ident>,impl <Type>orimpl <Trait> for <Type>(quote!, whitespace removed, generics kept),trait,fn,const,static,struct,enum,union,type <ident>. Placementinner/outer; kindallow/expect/warn; predicatequote!(pred)without whitespace, nestedcfg_attrasall(<outer>,<inner>), elsenone. The ordinal is 1-based source order, written only when two occurrences share all else (missing means 1). Matching is one to one: a widened scope, a changed predicate or a second copy is unlisted, and a removed one leaves a stale entry. -
Schema. An entry adds
category(closed enum; a new one is a user-approved policy change),reason(byte-equal to the attribute’s) and, fordebt,row(a U5 row). Entries sort by key, one TOML table each. -
macro-output: an inner#![expect]in a module holding only the macro invocation (U3). -
cfg-variant:allow, a lint that fires in some compilations of the same code only: thedead_codeincraig-authz/tests/fixtures/mod.rs,craig-mq/tests/common/mod.rsandcraig-financial/tests/support/authority.rs(per test binary), and in craig-exchange’sstore/agreements.rs,store/partners.rsandevents.rs(lib against bin tree; U4 step 1 moves theirmodexpects inside). -
debt: transitionalallow(a crate-rootexpectbreaks on S4 variance); U4 seeds it, U5 empties it, and the last U5 MR deletes the category. A U5 split narrowing a crate-rootdebtallow onto module files (inner allows) replaces entries.
Erratum (2026-10-27): a registry entry’s scope is a TOML array of segments, since an impl segment can itself contain '::' (D3 identity pinned). Erratum (2026-10-27): a macro-output entry declares its macro (macro = "<path>", a dependency crate’s path) and the gate checks the module against it by the full-path rule, no name resolution (every item carries the macro’s full path, no item is conditional, no glob, nothing binds its head), replacing a general macro classifier (D3 macro-output pinned). Erratum (2026-10-27), superseding the full-path erratum above: utoipa 5.5.0’s derive emits a for loop, which retires the nine utoipa entries, and macro-output holds askama’s 13 under the fns-only file-module rule (M1-M7, quality-gates § Lint regimes); M7, source ownership, is read from rustc’s dep-info by a validate step after clippy (D3 macro-output pinned). Erratum (2026-10-27): emitted suppressions are scanned only in proc-macro crates (outside their tests/benches/examples), where any string, byte-string or C-string literal or quote! body that lexes to a suppression fails, replacing call-shape recognition (D3 pinned).
D4. allow_attributes and what retires
allow_attributes = "deny" sits right after the managed block’s end marker (Cargo.toml:468), still inside
[workspace.lints.clippy] and project-owned: no sync override; it is deleted when the template’s managed block ships
the key (a sync would otherwise duplicate it). An outer suppression is then an #[expect]; variance is
#[cfg_attr(<pred>, expect(…))] (S4).
In U4, R4–R6 land and pass on the real tree first; the retirement is its last commit:
-
B4: every outer allow is an entry, so its count adds nothing. Retire
run_b4(quality_budgets.rs:483),count_allow_attributes(:803),B4_THRESHOLD(:165),LockCounts::b4(:152), the lock line, their tests andlint_tokens::outer_allow_count(lint_tokens.rs:609). -
no-transitional-allows:run_no_transitional_allows_blocking(lints.rs:388), theLintsActionvariant (:238), the gate code (:9202-9573:ARITHMETIC_BLANKET_BASELINE,clippy_group_lint,scan_transitional_allows,collect_banned_*,unreadable_attribute), its tests (:12423) and the validate step (validate.rs:507-516,:948-965, the doc line:827);git_ls_filesandcfg_predicate_requires_test(:9529) stay.
Scope
Order: U1 → U2 and U3 → U4a → U4 → the U5 MRs in any order; the last closes the plan. A new epic first; each unit is a
child issue (epic_id; Plan::LINT-POLICY-REGIMES, type, priority) on {type}/lp-u<n>-<slug>; each MR carries its
CHANGELOG == Unreleased entry and named doc page, and says Relates to #N unless it is its issue’s last. U1’s MR
sets In progress and moves the nav entry to Active.
U1 — chore(xtask): one canonical test regime, checked at every crate root
Weight 5 · P2-medium (a new blocking gate) · chore/lp-u1-test-regime
-
Code. D1, D2 (R1–R3) and the validate step beside
enforce_no_transitional_allows(validate.rs:507-516), rewording the clippy-step comment (:1365-1374).--fixmigrates the 240 test and 83 production roots (set lints only);clippy::cargo(0 hits) and the other 0-hittests/lints are deleted; set lints leave the 21 allows inside#[cfg(test)]modules (11 go entirely; the 10 naming only a livecognitive_complexitystay for U4 to seed asdebt);unnecessary_wrapsunder craig-webmain.rs:64(4) and craig-plugin-contractslib.rs:31(1) is fixed. R1 atcraig-partner-test-harness/src/lib.rsjoinsARITHMETIC_BLANKET_BASELINE(commented, until U4). -
Tests. Fixtures: the exact attribute passes; an extra, missing or duplicated lint, another reason, a predicate
any(test, …)ornot(test), a second or missing regime attribute, a set lint in another test-root attribute, a repeated plainly allowed lint, an unknown kind, a group in the set, and malformed or duplicate TOML fail; a test-support lib takes R1, acdylibR2,custom-buildnone, a root with no lints left no attribute;--fixoutput passes, is rustfmt-clean, keeps comments, and a second run changes nothing. Proptests: render-then-parse round-trips; the parser never panics. The real tree passes, and so doesno-transitional-allows. -
Docs.
quality-gates.adoc: § Lint regimes (D1, D2) replaces the test-suppression paragraph (:77) and the collision note (:107-109); § Disallowed methods (:662); an inventory row. CHANGELOG=== Changed.
U2 — chore: delete the dead code behind three #![allow(dead_code)]
Weight 3 · P3-low · chore/lp-u2-dead-code
-
craig-security. Delete
store/evidence.rs(four uncalled fns) and itsstore/mod.rs:25declaration;ReviewEvidencestays in the OpenAPI components; #178’s handlers bring their own. -
craig-cli.
domain_client!(clients/mod.rs:72) emitstransport()only in a newwith_transportarm, for the 5 of 33 clients that call it:CasesClient(cmd/events.rs:134,child_facts.rs:369),CasesPersonsClient(ledger.rs:291),PlacementsClient(placement/episode/trafficking.rs:158,:162),PlacementHealthClient(health.rs:245),PlacementEducationClient(education.rs:163); 28 never call it. The docs naming "All 32" (mod.rs:10) and onlycmd::ledger(:89-92) are corrected; the #823 test builds a real client. -
craig-web.
bff_client!(clients/mod.rs:46) emits only each client’s listed verbs,base_url()only where read;BffClientsdropscases_court_orders,cases_contacts,placement_kinship(never read) with their types and modules, its doc count (:228) becoming 32;composition.rs:81,financial/subsidy_agreements.rs:33lose uncalled methods. -
Tests. None new: clippy passes without the three allows and
cargo xtask api-docsshows no diff. Docs.quality-gates.adoc:261. CHANGELOG=== Removed.
U3 — chore: put macro-output suppressions in macro-only module expects
Weight 3 · P3-low · chore/lp-u3-macro-output
-
utoipa. In craig-composition, craig-exchange, craig-intake, craig-reporting, craig-rules and craig-security,
ApiDocmoves intoapi/openapi.rs; craig-cases'openapi.rsdrops its#[cfg(test)] mod tests;, declared instead inapi/mod.rsas#[cfg(test)] #[path = "openapi/tests.rs"] mod openapi_tests;(:455already holds amod tests), itssuper::ApiDocbecomingsuper::openapi::ApiDoc. Each of the nine holds onlyApiDocunder#![expect(clippy::needless_for_each, reason = "…")]. -
Askama. In craig-web and craig-portal the
#[filter_fn]wrappers move intofilters/wrappers.rs, holding only them under#![expect]of the live lints and calling helpers throughsuper::;filters.rskeeps helpers and tests unsuppressed and re-exports the wrappers, so|tand|crate::filters::humanizeresolve unchanged. craig-intake’s and craig-bff’s hold onlyt: the allow becomes an expect of the live lints only. -
Tests.
cargo xtask api-docsshows no diff, craig-cases'openapi.sha256golden holds, filter tests pass unmoved. Docs.quality-gates.adoc:102names the macro-only module. CHANGELOG=== Changed.
U4a — fix: remove six correctness expects and one macro-body expect
Weight 3 · P3-low · fix/lp-u4a-production-expects
-
Code.
craig-auth/src/introspection.rs:398(checked_addonInstant),craig-bff/src/oidc.rs:256(Value::get),craig-rules-client/src/lib.rs:565andcraig-intake/src/api/signer_auth.rs:264(HEX.get),craig-store/src/validation.rs:94(body.get(..n)),craig-intake/src/api/partner_auth.rs:133(get(..8)), andcraig-security/src/detection.rs:88intokio::select!(u64::try_from(…).unwrap_or(u64::MAX), its saturation commented); each new failure path is a typed error or a documented fallback. -
Tests. A unit test per new path; no-panic proptests for the percent-encoder, hex escape, prefix and truncation. CHANGELOG
=== Fixed.
U4 — chore(xtask): register suppressions one to one, deny allow_attributes
Weight 8 · P2-medium (the gate #2625 asks for) · chore/lp-u4-suppression-registry
-
Commits, in order. (1) The sixteen S7 container expects: the five compiled-twice
dead_codeones become innercfg-variantallows in their module files;too_many_linesandmissing_fields_in_debugnarrow onto the firing item or become innerdebtallows;quality_budgets.rsmoveswalkout ofquote_tyand the two expects onto it; the threeinvalidation.rstest fns move their nested items to module level;bootstrap.rs:1012narrows ontoassert_fields. (2) Eachtests/root’sclippy::pedanticbecomes one single-lintallowper live pedantic lint. (3) Outer allows: 50 stale deleted,invalidation.rs:230trimmed toexpect,jwks.rs:2100(onpub mod test_fixtures) moved inside as an innerdebtallow of its live lints, 16 toexpect. _Erratum (2026-10-27, 2715): 6 of the 50 are live outside test builds and became[cfg_attr(not(test), expect(…))] (S4). (4)allow_attributes = "deny"(D4). (5) D3 and R4–R6 inlint_regime.rs, the registry seeded with the live macro-output lints (≤22, U3), the 6cfg-variantmodules and adebtentry per remaining suppression; each debt lint is checked live as anexpectfirst, unfulfilled names deleted (S5: every crate-rootcognitive_complexity), the rest back toallow. (6) D4’s retirement. -
Tests. Fail: an inner allow, one via
cfg_attr(not(test), …)orcfg_attr(all(), …)or nestedcfg_attr, an outer#[allow]behind a non-default feature, an outer expect on amod,impl,traitorexternblock, inner attributes in a fn body, inlinemodorimpl, a suppression in amacro_rules!orquote!body, a#![warn(rustdoc::broken_intra_doc_links)],pedantic/clippy::all/warnings/unused/rustdoc::all(also viacfg_attr) and an entry naming a group (R5),allow(unfulfilled_lint_expectations), a non-canonical name, a correctness inner allow withoutdebt(R6), a second copy, a widened scope, a changed predicate, a stale entry, a wrong kind per category, an unknown category, a missingreasonorrow, an unparsable file. Pass: an outer single-lint expect on a fn, field or statement; a correctness suppression in test-regime code; a correctnessdebtallow; an ordinal pair; two impls of one type kept apart. Proptests: the predicate normaliser and scope renderer round-trip and never panic; the registry decoder never panics. The real tree passes. -
Docs.
quality-gates.adoc: § Lint regimes gains D3 and D4; the vocabulary (:89-106) becomes the categories and R4–R6, dropping the correctness expect and crate-level correctness allows; § Plan M Step 6 (:79-88) and the B4 paragraphs (:261,:267) go;:245,:255,:528,known-issues.adoc:190rephrased; inventory row:634. One batchedmacro-feedbackcomment:allow_attributesand R5 for the template’s lints block; the standard’s#[allow]prescriptions (coding-conventions.adoc:29,116,148,152,172,211,migration-runbook.adoc’s item-level allow, which S2 refutes); the test carve-out naming the correctness trio. CHANGELOG `=== Added,=== Changed,=== Removed.
U5.<row> — chore(<crate>): retire <crate>'s debt suppressions (template)
P3-low · after U4 · each row is two kinds of MR, never mixed:
-
Docs/style MR (
chore/lp-u5-<crate>-docs[-<n>], up to 1,500 sites, text-only):missing_docs_in_private_items(intent, not the name: J8),doc_markdown, and pedantic lints whose fix cannot change a value or add an error path. The battery is the oracle.option_optionkeeps an item#[expect]on PATCH DTOs (wire shape). -
Correctness MR (
fix/lp-u5-<crate>-correctness[-<n>], up to 500 sites): the correctness class,print_stdout,print_stderr,too_many_lines,cognitive_complexityand every lint whose fix can change a value or add an error path (thecast_*family among them). Its contract:-
Each site states its failure semantics: propagate (
checked_*,try_from,get,strip_prefixor a pattern, plus?), orsaturating_*/wrapping_*with a J7 comment; never an#[expect](R6). -
Output keeps its stream: data writes to a locked stdout handle and propagates a failed write; diagnostics go to a locked stderr handle, and a failed stderr write never fails the command (
SILENT-OK: stderr is the channel of last resort). craig-clireporting.rs:560-571keeps data on stdout and the job hint on stderr. -
A best-effort step (artifact capture, teardown,
Drop) never propagates its own failure, never replaces the primary error, and never skips the cleanup after it (cluster_tests.rs:103-115: capture, then teardown, then the result). -
Every changed behaviour (an error path, a saturation bound, a stream, a split fn’s seam) gets a test in its crate, service, library, CLI or xtask alike; arithmetic rewrites get proptests. A green battery alone is not evidence.
-
too_many_lines: split the fn, or an item#[expect(clippy::too_many_lines, reason = "§Important-Function: …")]; every item#[expect]an MR adds is listed in its description for the user’s approval.
-
-
Common. Each MR deletes its
debtentries and runslints lint-regime --fix(R2); a part over its cap splits by top-level module, the first MR narrowing the crate-root allow onto the module files still hit. Weight: up to 150 sites 2, up to 600 3, more 5. CHANGELOG=== Changed(docs) or=== Fixed(correctness). -
Close-out. The last U5 MR deletes the
debtcategory (lint, tests, § Lint regimes) and closes 2625 and the plan (Done (<date>) — !<N>,git mvtoplans/archive/, nav out, archive row) afterplan-lint --done <plan> --allow-open 2625,178,2298 --allow-missing store/evidence.rs. Erratum (2026-11-01): #2881 (planpi-transitionU3) deletedmigration-runbook.adocand made the standards module CRAIG-owned, so the close-out adds--allow-missing migration-runbook.adoc, and the batchedmacro-feedbackcomment has no template to go to: the standards'[allow] prescriptions are CRAIG’s to fix in place.
Rows (21), measured on main before U1; each row’s counts go into its issue, U4 re-measures: xtask, craig-web,
craig-cases, craig-placement, craig-security, craig-exchange, craig-financial, craig-intake, craig-test-lib,
craig-reporting, craig-cli, craig-seed, craig-rules, craig-common, craig-mq, craig-auth, craig-authz, craig-api,
craig-bff, eight small crates, and the 16 tests/-only crates. Totals: 9,827 missing docs, 1,637 doc_markdown,
2,199 other production sites, 1,006 tests/ (1,002 pedantic, 4 cognitive).
Out of scope
A shared test-classification index (#2298); the allow-*-in-tests options (S1); nursery lints; feature-matrix
clippy runs; any other [workspace.lints] change; outer single-lint expects on non-container items that R5 and R6
leave alone (already self-checking); template text (only U4’s macro-feedback comment).
Risks
-
The test set is policy: D1’s 13 lints are approved with this plan; a change is one TOML line plus
--fix. -
Volume: about 9,800 private docs; J8 is the bar, and an MR that cannot meet it splits further.
-
Toolchain bumps that move a lint fail an
#[expect]or add a finding; the bump MR resolves each, never re-allows. -
cfg-variantstaleness: these six allows are not self-checking; U4’s seed proves each live, and removing the dead code they cover removes the entry with it. -
Churn: U1’s
--fix(about 320 roots) and U4 step 2 (about 200) are each one rule, reviewed as the rule plus a battery.
Review log
| Round | Vendor | Resolved model | Verdict |
|---|---|---|---|
1 |
Anthropic |
Claude Opus 5.5 (fresh subagent) |
no-ship (3 blockers, folded) |
2 |
OpenAI (maintainer-run) |
GPT Astra |
no-ship (9 findings, folded) |
After round 2: a per-finding checklist (6 addressed, 3 partial) and an adversarial gap hunt (6 blockers, 9 majors),
folded into rev 3; then a residue verifier (10 residues, from container scope to the allow_attributes retire-when),
each folded.