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]
log action-column width from ActionType instead of hardcoding 13 characters.network_request, package_install) while automatically accommodating future members.network_request and git_op rows, asserting both target columns start at the same offset..venv/bin/pytest tests/unit -k cli_log — 8 passed, 1 skipped..venv/bin/ruff check src/doberman/cli/main.py tests/unit/test_cli_log_jsonl.py.venv/bin/ruff format --check src/doberman/cli/main.py tests/unit/test_cli_log_jsonl.py
Tickets: #428
Tickets: #459
Tickets: #463
Tickets: #465
Tickets: #493
Tickets: #494
Tickets: #495
Tickets: #509
Originally posted by: slegarraga
Additional validation: full local unit suite — 2,867 passed, 12 skipped.
Ticket changed by: fu351
Ticket changed by: fu351
Ticket changed by: fu351
Originally posted by: fu351
Merged, thanks @slegarraga! Deriving the width from the enum the way render.py does for verdicts means the next long action type cannot shift the column either, and asserting that both targets start at the same offset is a better test than comparing a padded string.