mirror of
https://github.com/stablyai/orca.git
synced 2026-10-08 08:02:32 +00:00
Notes sent to a chat had two owners when the message came back: its text went to the composer and the notes returned to the shelf, so sending both delivered them twice. Notes now follow their text: once the host has the message, or its text goes back to the composer (turned away, or taken back by a Stop), the notes are used and leave the shelf. Only a message thrown away with nothing handed back (a cancelled launch, or this window closing a failed chat) puts them back. A send that ended before its workspace's or browser page's notes were in the store cleared nothing, so those notes showed as unsent once they loaded. The keys are now kept until their owner's notes load, then cleared. The test that only called a mocked tab refresh now drives the real host-frame entry points (a paired host's frame, and a local snapshot through the cancelled-launch filter). Stale "Retry" wording is gone from a test name and a comment.