diff --git a/.agents/skills/multi-agent-mux-stop/scripts/stop_session.sh b/.agents/skills/multi-agent-mux-stop/scripts/stop_session.sh index b237034..fb0d44b 100755 --- a/.agents/skills/multi-agent-mux-stop/scripts/stop_session.sh +++ b/.agents/skills/multi-agent-mux-stop/scripts/stop_session.sh @@ -343,6 +343,12 @@ if purge and purge_uuid: ctx = DiscoveryContext(workspace=ws, agent_name=agent, home_dir=home) for item in adapter.purge_artifacts(purge_uuid, ctx): print(f"purged: {item}", flush=True) + # Issue #31: report what still carries the uuid, as orc_onboard does. + residual = adapter.residual_artifacts(purge_uuid, ctx) + for item in residual: + print(f"WARN residual: {item}", flush=True) + if not residual: + print(f"residual: none (agent: {agent})", flush=True) target[adapter.own_key] = None elif purge and not purge_uuid: print("WARN: --purge-conversation requested but no workspace-scoped UUID resolved; nothing purged", flush=True)