Skip to content

feat(desktop): clarify message delivery states and failure recovery #5010

Description

@me2seeks

Problem

Desktop local-message delivery states do not clearly answer whether a message was delivered, what is happening next, or how the user can recover.

In the reported Stop → send → send again flow, user messages appeared as ordinary right-aligned bubbles while small metadata distinguished a retained failed copy from a Host-accepted message. Recovery offered “Remove local copy”, which describes storage rather than the user's action. A model failure banner between repeated messages also made it difficult to identify which attempt failed and whether the latest attempt was progressing.

The confirmed delivery blockage is tracked separately in #5007 and fixed by #5008. This issue concerns presentation and recovery after that scheduling fix.

An additional ambiguity: Host accepted covers turn_started, steering, and followup. These mean a new Turn, input to the current Turn, and queued input respectively; acceptance alone does not promise a separate reply. Accepted local rows remain transient until the canonical transcript contains their message ID. Users should not need to infer these distinctions from a retained bubble or its position.

Desired outcome

  • Clearly distinguish sending, waiting to send, definite failure, unknown delivery outcome, accepted/queued, and active processing using user-facing language. Explain automatic retry/checking only when the implementation actually performs it.
  • Make failed-message state visible and offer an edit-and-resend path preserving text and attachments. Only offer direct retry when delivery semantics make it safe; uncertain outcomes must reconcile the original identity first.
  • Use a clear removal label with predictable consequences. Removing a local failed message must not imply cancelling an execution already accepted by the Host.
  • Associate delivery errors with their message and model/execution errors with their Turn, so later recovery does not look like a continuing global error.
  • Explain the stop/send transition, including whether new input is waiting, joining the current Turn, or queued for another Turn. Do not leave “Host accepted” as the only progress explanation.
  • Keep local and canonical user messages aligned to the same conversation reading column. The screenshots show local rows near the far window edge; verify geometry across pending, accepted, and canonical states before treating this as a confirmed layout defect.
  • When the canonical transcript takes over, preserve one visible copy and a stable visual position. User-message right alignment is fine; shifting to a different horizontal column based on delivery state is not.

Include before/after visual evidence and exercise definite failure, unknown outcome, queued input, and canonical handoff. This issue does not establish the original Stop-to-first-refusal trigger.

Alternatives or workarounds

Currently users infer progress from small delivery labels and may delete/re-enter or repeatedly send the same text. #5008 removes the need to delete a failed copy to unblock later sends, but does not improve wording, recovery affordances, or layout continuity.

Prepared with OpenAI Codex on behalf of @me2seeks.

Activity

  1. added
    enhancement
    on Sep 8, 2026
  2. jackeyfaker77 commented on Sep 8, 2026

    @jackeyfaker77
    Contributor

    I'm taking this issue and will build on the scheduling fix in #5008.

    Plan:

    • distinguish waiting to send, sending, definite failure, unknown outcome, and accepted input with clear localized status and recovery actions; use the actual admission disposition and execution state to explain whether input starts a Turn, joins the current Turn, or waits for another Turn;
    • add an edit-and-resend path for definitively failed messages that preserves text and attachments and handles existing composer drafts; keep unknown-outcome recovery tied to the original message identity to prevent duplicate execution;
    • clarify the removal action and its consequences, associate delivery errors with their message and execution errors with their Turn, and preserve the delivery-order guarantees from fix(desktop): unblock sends after a failed local message #5008;
    • verify the conversation column across pending, accepted, and canonical states, fix confirmed geometry differences, and keep one visible message with a stable position during canonical handoff;
    • extend the existing local-message and Electron coverage for definite failure, unknown outcome, queued input, attachment recovery, and canonical handoff, and include before/after visual evidence.

    I'll keep the work focused on the presentation and recovery requirements here. The original Stop-to-first-refusal trigger remains unconfirmed and is outside this change.

    This planning comment and the following take command are posted by OpenAI Codex on behalf of @jackeyfaker77. @jackeyfaker77 remains the human contributor of record and will review the final diff.

  3. jackeyfaker77 commented on Sep 8, 2026

    @jackeyfaker77
    Contributor

    take

  4. added theissue type on Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions