Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

T07 Probe nursery+pedantic deny volume on the pinned toolchain

Question

T08 flips pedantic from warn to deny and adds nursery as deny. Before committing to that PR, measure the blast radius on the dated pin: how many nursery findings exist per crate? Any nursery lint that is unfixable and so needs a reasoned allow?

Exit predicate

A table here: nursery + pedantic finding counts by crate, and the list of any lints that must join the workspace-level reasoned-allows. This sizes T08 and reveals whether T08 must split per crate.

Resolution

Done 2026-10-30 on the pinned nightly-2026-09-19 (T01), command: cargo clippy --workspace --all-targets -- -D clippy::nursery.

Volume: 15 findings, all in cerebro-core; zero in cerebro, cerebro-mcp and cerebro-tui. T08 does not need to split per crate for nursery.

Nursery lintCountWhere
missing_const_for_fn5lib.rs (3), discovery.rs, queries/intent.rs
use_self4queries/intent.rs
option_if_let_else3discovery.rs, queries/intent.rs, queries/journal.rs
too_long_first_doc_paragraph2discovery.rs, collectors/todos.rs
branches_sharing_code1queries/todos.rs

queries/intent.rs alone holds 6 of the 15, so one review pass there covers most of the blast radius.

Pedantic baseline: 0. CI already runs clippy with -D warnings, so a pedantic = deny flip adds nothing that is not already failing; the flip is materialising today’s gate in the manifest (ADR 3), not new work.

No nursery lint needs a reasoned allow: every group is fixable at call sites within one PR. The four workspace reasoned-allows of the standard (module_name_repetitions, must_use_candidate, doc_markdown, redundant_pub_crate) belong to pedantic and ride T08 as config only.

Feeds T08: expect one small PR (15 mechanical fixes in cerebro-core + the manifest table), not a campaign.