fix(cli): remove supervise queue highlight
test / unit (pull_request) Successful in 43s
test / integration (pull_request) Successful in 52s

This commit is contained in:
2026-06-03 17:31:19 +00:00
parent 50ec920243
commit d3bc463295
3 changed files with 13 additions and 79 deletions
@@ -1,5 +1,5 @@
- **Status:** Active
- **Status:** Draft
- **Author:** didericis
- **Created:** 2026-06-03
- **Issue:** #174
@@ -127,8 +127,8 @@ problem is everything that got bolted onto that core after.
dashboard.py` to `bot_bottle/cli/supervise.py`. The dispatcher
in `bot_bottle/cli/__init__.py` and the help text both update.
- **Strip the curses loop to proposal-only.** The remaining
surface is: list pending proposals (with the new-arrival bell +
green highlight from PRD 0013), Enter for detail view,
surface is: list pending proposals (with the new-arrival bell
from PRD 0013), Enter for detail view,
`a`/`m`/`r` for approve / modify / reject, `q` to quit. No
agents pane, no Tab, no agent picker, no `n`/`x`/`e`/`p`, no
tmux dispatch, no `bottles` dict on the main loop.
@@ -141,10 +141,9 @@ problem is everything that got bolted onto that core after.
`operator_edit_allowlist`, and their imports come out.
- **Collapse the model module.** `dashboard_model.py`'s
proposal-side helpers (`QueuedProposal`, `discover_pending`,
`_approval_status`, `_is_recent`, `_detail_lines`,
`_approval_status`, `_detail_lines`,
`_failed_url_host`, `_proposed_payload_label`,
`_suffix_for_tool`, `_REFRESH_INTERVAL_MS`,
`_NEW_PROPOSAL_HIGHLIGHT_SEC`) move back into
`_suffix_for_tool`, `_REFRESH_INTERVAL_MS`) move back into
`supervise.py` (CLI) or into `bot_bottle/supervise.py`
(the daemon-side module) — wherever they fit. The agents /
picker / tmux helpers in that module (`PANE_*`,
@@ -205,7 +204,7 @@ ripgrep
view, same as today.
- `q` / Esc quits. There are no dashboard-owned bottles, so no
per-process teardown decision — `q` just exits.
- The new-arrival bell + green highlight + (if in tmux) the
- The new-arrival bell + (if in tmux) the
`tmux select-pane` jump back to the supervise pane stay,
because they're real wins for the operator's "I was typing at
claude and a proposal landed" case. They don't require any of
@@ -229,7 +228,7 @@ bot_bottle/cli/supervise.py
- reject(qp, *, reason)
- QueuedProposal, discover_pending
- _detail_lines, _approval_status,
_is_recent, _failed_url_host,
_failed_url_host,
_proposed_payload_label,
_suffix_for_tool
```
@@ -262,7 +261,7 @@ a clear pointer forward. No PRD body is rewritten.
Keep:
- `tests/cli/test_dashboard*.py` cases that exercise
`discover_pending`, `approve`, `reject`, `_detail_lines`,
`_is_recent`, `_approval_status`, `_failed_url_host`,
`_approval_status`, `_failed_url_host`,
`_proposed_payload_label`, `_suffix_for_tool`,
`_modify` / `edit_in_editor`.
- `tests/cli/test_dashboard_once.py` (or equivalent) — the