Rule reference

Rules

45 rules: 25 decided by Clippy, 3 by rustc, 17 by a tauten structural check. 19 admit no exception. Each rule has a stable ID; cargo tauten explain <ID> prints it in the terminal.

Generated from crates/tauten-check/rules.toml at 0200db3; the same columns as docs/RULES.md.
IDRulekernelcoreedgeTestsExceptionsDecided by
P · Panics
TAU-P001No unwrap/expect on fallible valuesdenydenydenyno#[expect] + reasonClippy
TAU-P002No explicit panicsdenydenywarnno#[expect] + reasonClippy
TAU-P003No panicking index or slicedenydenywarnno#[expect] + reasonClippy
TAU-P004No panics inside fallible functionsdenydenydenyno#[expect] + reasonClippy
TAU-P005No process exit or leaked values outside the edgedenydeny–no#[expect] + reasonClippy
N · Numbers
TAU-N001Checked arithmeticdenydenywarnno#[expect] + reasonClippy
TAU-N002No lossy as castsdenydenywarnno#[expect] + reasonClippy
TAU-N003No floating point in the kerneldeny––no#[expect] + reasonClippy
TAU-N004No exact float comparisondenydenydenyno#[expect] + reasonClippy
E · Errors
TAU-E001Never ignore a resultdenydenydenyyes#[expect] + reasonRustc
TAU-E003Explicit discards of results need a reasondenydenydenyno#[expect] + reasonClippy
TAU-E002Typed errors outside the edgedenydeny–no#[expect] + reasonClippy
M · Matching
TAU-M001No wildcard arms over enums you owndenydenywarnno#[expect] + reasonClippy
S · Stubs
TAU-S001No stubs or debug leftoversdenydenydenyyesneverClippy
TAU-S002Suspicious placeholder commentswarnwarnwarnyesneverTauten
X · Exceptions
TAU-X001Lint exceptions must be #[expect] with a reasondenydenydenyyes#[expect] + reasonClippy
TAU-X002No crate-wide exceptions to profile lintsdenydenydenyyesneverTauten
TAU-X003Manifest lint table loosens the profilewarnwarnwarnyesneverTauten
TAU-X004No exceptions to this rule heredenydenydenyyesneverTauten
U · Unsafe
TAU-U001No unsafe outside the edgedenydeny–yesneverRustc
TAU-U002Documented, minimal unsafe blocks––denyyes#[expect] + reasonClippy
A · Authority
TAU-A000Banned API in this tierdenydeny–no#[expect] + reasonClippy
TAU-A001No ambient authoritydenydeny–no#[expect] + reasonClippy
TAU-A002Authority minted outside the edgedenydeny–yes#[expect] + reasonClippy
F · Effects
TAU-F001Declared effects match the signaturewarnwarnwarnyesneverTauten
G · Globals
TAU-G001No hidden global statedenydeny–no#[expect] + reasonClippy
C · Concurrency
TAU-C001Structured concurrency onlydenydeny–no#[expect] + reasonClippy
TAU-C002Async hazardsdenydenydenyyes#[expect] + reasonClippy
O · Output
TAU-O001No direct console output outside the edgedenydeny–no#[expect] + reasonClippy
L · Loops
TAU-L001No unbounded loops outside the edgedenydeny–no#[expect] + reasonClippy
H · Hardening
TAU-H001Release builds check integer overflowdenydenydenyyesneverTauten
K · Kernel
TAU-K001Kernel determinism and puritydeny––no#[expect] + reasonClippy
TAU-K002Kernel uses core/alloc pathsdeny––no#[expect] + reasonClippy
TAU-K003Kernel crate attributesdeny––yesneverTauten
TAU-K004Proved kernel code translatesdeny––yesneverTauten
T · Tiers
TAU-T001Every workspace crate declares a tierdenydenydenyyesneverTauten
TAU-T002Tier dependency directiondenydenydenyyesneverTauten
TAU-T003Declared dependency lists are closeddenydenydenyyesneverTauten
TAU-T004Declared layers point backwardsdenydenydenyyesneverTauten
D · Docs
TAU-D001Documented public APIwarnwarn–no#[expect] + reasonRustc
R · Ratchet
TAU-R001Baseline must be tightdenydenydenyyesneverTauten
TAU-R002Recorded proof claims are not weakeneddenydenydenyyesneverTauten
TAU-R003The proof record is staledenydenydenyyesneverTauten
TAU-R004The committed agent profile is the running CLI'swarnwarnwarnyesneverTauten
TAU-R005A persisted shape changed without a recorded dispositiondenydenydenyyesneverTauten

In kernel crates no profile rule admits exceptions (TAU-X004). "Tests: no" means the rule is not applied to test targets. A rule is *complete* when it misses no violation among the inputs it sees; each rule below states exactly what it decides, what it reads and what it does not see. An incomplete rule is a heuristic and never blocks, and an input a rule could not read is never reported clean (both proved: tauten_check_kernel::rule). Only complete rules are called enforced.