fix: keep CLI filters consistent and clearable #43
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.40) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 315 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.344
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #43"
general
weight: 0.35
savannahostrowski
Summary
Fixes #42. Starting with
--port 1080no longer traps the TUI in that filter: Backspace clears CLI filters even when they have results, and cleared filters stay cleared after refresh. Typing and deleting interactive filter text now respect any CLI filters that are still active.The CLI filter banners now render inside the live view so they disappear when cleared. The README and keyboard hints describe the clear action.
Evidence
!After the fix: cleared CLI filters stay cleared across refreshes
<details>
<summary>MP4 with pause and seek controls</summary>
https://github.com/user-attachments/assets/c938ae00-6de3-4fcc-9d9e-64b43bbcaf70
</details>
Both recordings use synthetic process discovery with the real UI and refresh loop; termination is disabled.
Nine regression cases exercise the real keyboard handlers and deterministic refreshes: clearing individual/combined CLI filters, clearing with no matches, exiting an empty interactive filter, editing text, leaving an unmatched search, and refreshing after a confirmed kill. Each changed behavior was observed failing before its fix; process operations are mocked.
Validated on macOS with Python 3.13:
uv run --locked pytest -q— 26 passed, 1 skipped (Windows-only test)uv run --locked ruff check gruyere/ test_cli_filters.py— passeduv run --locked ruff format --check gruyere/ test_cli_filters.py— passeduv run --locked pyright— 0 errors, 0 warningsMerge Danger
Door: two-way
Revert the commit to restore the previous behavior. No dependency, persistence, or configuration changes.
Blast Radius: Filtering
Backspace now clears all startup CLI filters even when matches exist, expanding the visible process list. Process termination still requires confirmation; no real processes were terminated during validation.