BUG/PRIVACY: chat deletion silently ignores provider Responses cleanup failures and performs remote cleanup synchronously #179
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/a0-symbolics#179
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Finding
Deleting a chat calls
persist_chat.remove_chat(ctxid)from the asyncapi/chat_remove.pyrequest path. Before deleting the local chat directory,remove_chat()calls_delete_provider_responses_for_chat(ctxid).That helper:
delete_stored_response_ids(response_ids)delete_stored_response_ids()performs provider deletion calls sequentially and catches failures into its return value.This creates two problems:
Context removed.even though provider-side stored responses may remain.The user-facing delete action should have explicit semantics about local vs provider deletion rather than silently best-efforting privacy cleanup.
Direction
Make deletion a durable two-phase/generation-safe operation:
responses_delete_on_chat_delete=Falseopt-out semanticsDo not keep full deleted chat content merely to support cleanup.
Acceptance
Mirrored from
lost-rob0t/a0-symbolics#42via tracker sync.