cli: one message-severity vocabulary (error:/warning:/note:) instead of four
Your AI's guard dog to stop it from going rogue.
Brought to you by:
doberman
Originally created by: fu351
Originally owned by: floze-the-genius
src/doberman/cli/main.py speaks four different message-severity dialects for "something didn't happen":
warning: (629, 888)note: (1537)error: (29 occurrences)A user can't tell from the prefix whether a line is fatal, advisory, or informational. (Line numbers current on main as of 2026-08-11 - re-grep before you start.)
error: for failures (non-zero exit), warning: for something skipped or degraded (exit 0), note: for purely informational asides. Bare messages become one of those three.cli/main.py's echo call sites to match. Keep exit codes exactly as they are - this is prefix-only, no behavior change.error: prefix in tests/unit/test_setup_wizard.py - follow that pattern for one or two of the re-prefixed sites).Flagged in the 2026-08-05 UX audit and carried through the 2026-08-11 re-score; everything else at its severity is fixed, so this is the last P2 in the CLI surface.
Originally posted by: floze-the-genius
I’d like to claim this. I’ll re-audit the
src/doberman/cli/main.pyecho sites against the issue’serror:/warning:/note:definitions, make prefix-only changes while preserving every exit code and stdout/stderr behavior, add focused coverage for one or two representative re-prefixed paths, keep the required docs in sync, and run the full contributor checks before opening the PR.Ticket changed by: fu351