Rules / TAU-S002

Suspicious placeholder comments

decided by Tauten kernel warn core warn edge warn
Applies to tests: yes Exceptions: never

Why

Comments such as 'for now', 'placeholder', 'TODO' or 'FIXME' usually mark unfinished work that tests do not cover.

Fix

Finish the work, or track it in your issue tracker and remove the comment.

Seen in fixtures

rej-placeholder/src/lib.rs core

//! Placeholder comment. /// Fee.#[must_use]pub const fn fee() -> u64 {    0 // placeholder until pricing lands}

$ cargo tauten check

warning[TAU-S002]: comment contains `placeholder`  --> rej-placeholder/src/lib.rs:6:7 (core crate `rej-placeholder`)  = rule: Suspicious placeholder comments (decided by Tauten)  = fix: Finish the work, or track it in your issue tracker and remove the comment.
Fixture rej-placeholder (core) expects TAU-S002. Output captured at 0200db3.

In the terminal

cargo tauten explain TAU-S002

$ cargo tauten explain TAU-S002

TAU-S002: Suspicious placeholder comments Why: Comments such as 'for now', 'placeholder', 'TODO' or 'FIXME' usually mark unfinished work that tests do not cover. Fix: Finish the work, or track it in your issue tracker and remove the comment. Decided by: TautenDecides: Comments that read like placeholders ("for now", "TODO") are flagged (a text heuristic).Sees: source; complete: no (a heuristic: it never blocks)Does not see: Attributes and items produced by macros; files outside a member's `src/`. Placeholder wording it has no pattern for.Applies to tests: yesExceptions allowed: with #[expect(.., reason)]  kernel warn  core warn  edge warn