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
A refused edit to a queued message in a shared conversation still records "edited by" #738
stampEdit (apps/server/src/j5/sharing/SharedConversation.ts) writes the new author record for a queued-run.edit (edited_by, stored_prefix, note) while admitting the command, before upstream dispatches it. If upstream then refuses the edit, because the queued run has already started (Orchestrator.ts, the queued-run edit decision), the record names an editor and a prefix that the stored message doesn't carry.
The source thread's timeline then shows "edited by Alice" on a message Alice never changed. Recall, search and the title also stop stripping the platform's lines from that message, because its stored prefix no longer matches its text.
Found in review of #731, which made forks ignore such records. The bug itself predates that PR.
What's wanted
The record changes only when upstream accepts the edit: either write it after the edit is accepted, or put it back when upstream refuses.
Activity