fix(issue-31): a claude purge removes every path the session owns, reports what is left, and waits for the process; the stop docs say a purge removes the row #59
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user