task: logging-consistency
created: 2026-02-01
completed: 2026-02-01
phase: COMPLETE
before_count: 13
current_count: 0
exceptions:
  doc_comments: 8  # Example code in //! and /// comments - intentional
  cli_output: 5    # stemedb-sim binary user-facing output - intentional
summary: |
  All 13 instances are intentional:
  - 8 in doc comments (example code showing usage)
  - 5 in stemedb-sim/main.rs (CLI user output)

  No production library code uses println!/eprintln!.
  Adding lint enforcement to prevent future violations.
documentation: |
  Added "Structured Logging" critical rule to CLAUDE.md requiring tracing over println.
enforcement: |
  - Added `print_stdout = "warn"` and `print_stderr = "warn"` to workspace Cargo.toml
  - Added `#![allow(clippy::print_stdout, clippy::print_stderr)]` to stemedb-sim/main.rs
