Skip to content

An answer joined to a message that is then edited or rewound: the capsule still reads Answered #713

Open

Description

@SSFSKIM

Found while building ticket 704 (the envelope split: one function, splitPersonsMessage in src/shared/engine/persons-message.ts, separates a person's message into their own words and the answer envelopes MAWS wrote). Read in code by the builder; not reproduced in a run.

What a person can meet. A person answers an asynchronous question while a message of theirs is waiting; the engine joins the answer's envelope and the message into one user message. If the person then uses Edit on that message, or rewinds to a point before it, the engine's conversation no longer holds the answer. The question's capsule in the transcript still reads Answered with the answers, because nothing removes the recorded answer (askSteers in the transcript's reducer) at a rewind boundary (boundary.rewind). The model no longer has the answer; the window says it does.

To decide first (design): what the capsule should read after such a rewind or edit (asked again and waiting; answered, with a note that the answer was taken back; or the answer re-sent with the edited message), and whether Edit on a joined message should carry the envelope along so the answer stays in the conversation.

Then build, tests first, with a case made from a recorded joined message (the fixtures 704 added under spikes/protocol-probe/fixtures/uxwave/ hold joined messages): the reducer's record of an answer follows the conversation across boundary.rewind; the capsule and the read-only sheet read from that record.

Acceptance: after an edit or a rewind that removes the message carrying an answer, the capsule's state matches what the engine's conversation holds, in the live route and when the session is read from its file.

Spawned by: #704

Related: #872

Activity

  1. added
    bug
    status:ready-for-architect
    priority:P2
    on Nov 16, 2026
  2. added
    expected
    need-design
    and removed
    status:ready-for-architect
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugexpectedneed-designpriority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions