Rules / TAU-T001
Every workspace crate declares a tier
decided by Tauten kernel deny core deny edge deny
Applies to tests: yes
Exceptions: never
Why
Rules depend on the tier; an undeclared crate would escape the profile.
Fix
Add [package.metadata.tauten] with tier = "kernel", "core" or "edge" to the crate's Cargo.toml.
Seen in fixtures
//! No tier declared. /// Nothing.pub const fn nothing() {}$ cargo tauten check
error[TAU-T001]: crate `rej-no-tier` declares no tier --> rej-no-tier/Cargo.toml (untiered crate `rej-no-tier`) = rule: Every workspace crate declares a tier (decided by Tauten) = fix: Add `[package.metadata.tauten]` with `tier = "kernel"`, `"core"` or `"edge"` to the crate's Cargo.toml.rej-no-tier (no tier) expects TAU-T001. Output captured at 0200db3.In the terminal
cargo tauten explain TAU-T001$ cargo tauten explain TAU-T001
TAU-T001: Every workspace crate declares a tier Why: Rules depend on the tier; an undeclared crate would escape the profile. Fix: Add `[package.metadata.tauten]` with `tier = "kernel"`, `"core"` or `"edge"` to the crate's Cargo.toml. Decided by: TautenDecides: Every workspace member declares a valid tier.Sees: manifest; complete: yesDoes not see: Nothing: `cargo metadata` lists every member.Applies to tests: yesExceptions allowed: with #[expect(.., reason)] kernel deny core deny edge deny