cli-errors-use-stderr-success-uses-stdout
IN premise
CLI error diagnostics are written to stderr and success output to stdout; tests consistently assert on the correct stream.
Summary
CLI tools in this project follow the Unix convention of separating error messages from normal output — errors go to stderr, successful results go to stdout. The test suite enforces this separation, so any change that accidentally writes errors to stdout or results to stderr will be caught.
Dependents
These beliefs depend on this one:
- cli-is-deterministic-and-stream-correct — The CLI achieves full scriptability through three deterministic properties: flat dict dispatch with no dynamic plugin resolution, binary exit codes (0 success, 1 error) with no ambiguous intermediate codes, and clean stream separation (diagnostics to stderr, results to stdout)
Details
| Source | entries/2026/04/29/tests-test_cli.md |