Problem
run_output and AnsibleOutputFormatter handle parsing, formatting, and UI updates in one dense pipeline.
Evidence
arch_report/by_target/lb_app/hotspots.txt:3
arch_report/by_target/lb_app/xenon.txt:4
Plan
- Split line parsing, formatting, and UI emission into separate modules.
- Introduce small pure functions for formatting transformations.
- Keep a thin coordinator in run_output.
- Add tests for formatting/line-handling behavior.
Validation
uv run pytest tests/unit/lb_app/test_*output*.py
./scripts/arch_audit.sh lb_app