ao start, always creates a new indentifier for orchestrator agent, instead of resuming old session and dashboard links to a completely broken ink
Last login: Wed Apr 8 23:02:00 on ttys019
➜ ~ tmux list-sessions
c13a0108f64e-int-1: 1 windows (created Wed Apr 8 18:55:09 2026) (attached)
c13a0108f64e-int-2: 1 windows (created Wed Apr 8 18:29:30 2026) (attached)
c13a0108f64e-int-orchestrator-4: 1 windows (created Wed Apr 8 23:03:54 2026)
ao start takes me to -> http://localhost:3001/sessions/int-orchestrator-3
I do ao stop and ao start again
ao start takes me to -> http://localhost:3001/sessions/int-orchestrator-4
dashboard links to http://localhost:3001/sessions/integrator-orchestrator
we keep changing the orchestrator agent session link for no good reason, and the session name prefix in dashboard doesn't even match
@i-trytoohard , today i was testing another issue. but i didn't found the issue you are facing.
- refer: https://discord.com/channels/1476302178913357958/1491735678156013588/1492511315510693992
Status check — this issue is effectively fixed by #1075 (approved, CI green except an unrelated NPM Audit flake, just waiting to merge).
What #1075 fixes (directly addresses this issue):
ao startnow selects an existing live orchestrator (or restores a restorable one, preserving the original numbered ID) instead of minting a freshint-orchestrator-Nevery time.ao stopresolves the real orchestrator session ID viasm.list()instead of the phantom${prefix}-orchestratorID — which is what was producing the broken dashboard link (integrator-orchestratorin your repro).- Tightens
isOrchestratorSessionto requiremetadata.role === "orchestrator"(or the numbered pattern) so stale bare legacy IDs don't leak into dashboard listings.
Remaining gap (not covered by #1075 or #1288):
If an orchestrator runtime dies unexpectedly, the metadata stays in active/ and still shows up in ao status as a ghost *-orchestrator-N row until killed/archived manually. #1288 (auto-archive of terminal worker sessions) intentionally protects orchestrator sessions from auto-archive, so that problem is not fully solved by the combination.
Recommendation: merge #1075, close this issue, and open a follow-up specifically for "auto-cleanup / archive of dead orchestrator metadata in ao status".
/cc @harsh-batheja — the NPM Audit failure on #1075 is what's blocking merge. Re-running the check (or confirming the audit finding is pre-existing and unrelated to this PR) should unblock.
@harshitsinghbhandari is working on a part of this already https://github.com/ComposioHQ/agent-orchestrator/issues/1306