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
{{ message }}
Repository navigation
mocactl: the Sessions view shows only a session's first prompt, and 0 turns after a headless run #417
Found on the VM demo's live run (#370, docs/demos/vm-multi-user-demo.md, fix list 6; reported in the #412 review).
The Sessions overlay (ctrl+x l) titles each session by its first prompt only. Two users ran the same research prompt, and their lists looked identical:
› This is a research task. Use your bash tool for… 11m ago · 0 turns · local history
So the demo's 3a, which shows the session lists are disjoint, can't be shown in the TUI. The runbook lists ids with curl /v1/sessions instead.
The same rows read 0 turns · local history after a headless mocactl run, although each session had run a turn. The count appears to come from the local transcript store, which the headless run path doesn't seem to write. That's unconfirmed; check packages/mocactl/src/headless.ts against the TUI's transcript writes.
Proposed:
show a short session id (first 8 characters) on each row;
count turns from the server's session summary, or have headless run write the transcript.
Related: #406 adds a headless mocactl sessions [--json], which would also cover 3a.
Activity
docs(demos): address rossoctl#412 review on the VM demo runbook
fix(control-plane,mocactl): count completed turns, so sessions stop r…