fix(cli): align log action column
Your AI's guard dog to stop it from going rogue.
Brought to you by:
doberman
Originally created by: slegarraga
Closes [#428]
doberman log action-column width from ActionType instead of hardcoding 13 characters.git_op and network_request keep their target/reason columns aligned..venv/bin/pytest tests/unit/test_cli_log_jsonl.py -q.venv/bin/pytest tests/unit -k cli_log -q.venv/bin/pytest tests/unit -k 'cli' -q — 227 passed, 1 skipped..venv/bin/ruff check src tests.venv/bin/ruff format --check src/doberman/cli/main.py tests/unit/test_cli_log_jsonl.pygit diff --check
Originally posted by: fu351
Closing this one for [#472], @slegarraga, your later version of the same fix. [#472] keeps
_ACTION_WIDTHnext to the log command's other constants with a comment, and its test reproduces the real misalignment withnetwork_requestandgit_oprows, so that's the version I want to merge. This branch has also drifted into a conflict with main, so nothing to do here. Review coming on [#472].Related
Tickets:
#472Ticket changed by: fu351