When luvus agent list fails, mux-activity under Luvus hides every Claude background agent too, although their files on this machine are still readable.
Context / problem
stealth-factory/opscope#616 (PR #618) reads background agents from Claude's jobs/*/state.json on every board. Under Luvus, that read happens inside the success branch of luvus agent list (agents.map(...) in luvus.rs). If the snapshot succeeds but agent list fails, the AGENTS section shows the failure and no background-agent rows. The failure is on screen, so nothing reads as empty. But a blocked background agent, the row that most needs you, disappears until a separate Luvus command recovers. Rex and Herdr do not have this gap: their job rows do not depend on another command succeeding.
CodeRabbit raised this on PR #618, and the reply deferred it to a follow-up.
Scope
In:
- Read background agents under Luvus regardless of whether
luvus agent listsucceeded. - When
agent listfails, show the failure and the background-agent rows together: the error in place of the pane agents, and thebackground agents · via jobsgroup below it. - Keep the cursor, the
escreen and Enter working on those rows in that state.
Out:
- Changing how Rex or Herdr report a failed read.
- Partial results from
agent listitself.
Acceptance
- With
luvus agent listfailing and a working background agent on disk, the Luvus board shows the agent-list error and the background agent's row. eon that row opens its explain screen, and Enter gives the no-pane note.- A test covers the failed-agent-list case.
cargo testpasses, includingcheck.rs.
OPS-280