#620
mux-activity: group agents and panes by state as well as by session
mux-activity always groups each section by session (Rex) or workspace (Herdr, Luvus). State only orders rows within a group. There is no way to see one list of everything that is blocked, then done, then working.
Scope
- A key (
g) cycles the grouping between session/workspace and state. The footer hint names the next grouping ([g]roup by state).help.txt, the README andcheck.rscover it. - By state: a sub-heading per state (
blocked · 2,done · 3, …) in the existing urgency order, with each row still naming its session or workspace. - The same under Rex, Herdr and Luvus. Claude background agents (and stealth-factory/opscope#643's pairing) mix in by state.
- Optional: a
group_bysetting for the default, insettings.jsonandconfig.example.json.
Acceptance
gregroups every section by state and back. The cursor stays on its pane.- The
/filter and the heading counts work in both groupings. cargo testpasses, includingcheck.rs.
OPS-293