You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Addresses CodeRabbit's 5 findings (cubic.dev was clean):
1. docs/changelog.md — clarify the live TUI events cap is now
min(30, visible_panel_rows), not a flat 30, since the second
commit made it height-bound.
2. docs/configuration.md — make all four example commands use the
same `sudo eneru ...` invocation form. Earlier draft mixed the
wrapper-path form with the bare command; maintainer prefers
the bare form (PATH-resolved) consistently.
3. src/eneru/tui.py — three-tier trim instead of two: POWER_EVENTS
always survive; LIFECYCLE_EVENTS fill next; chatter rounds out
only if room remains. In --verbose mode the previous code let
chatter evict lifecycle rows when the cap was hit; the new tier
matches the user-facing priority hierarchy.
4. tests/test_tui.py — rename single-letter loop var `l` to `line`
in five spots (Ruff E741).
5. tests/e2e/groups/stats.sh — wrap the `--length 5` invocation in
`if cmd; then ... fi`. Under `set -e` the previous bare
`[ $? -ne 0 ]` branch would never run because the script aborts
on the first non-zero exit, masking any regression with no log
dump.
Plus one new unit test (`test_tiered_trim_lifecycle_outranks_chatter`)
covering the new 3-tier semantics: 1 power + 30 chatter + 4 lifecycle
at cap=7 produces 1 power + 4 lifecycle + 2 chatter, NOT 1 power +
6 chatter.
982 unit tests pass (was 981).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments