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
An answer joined to a message that is then edited or rewound: the capsule still reads Answered #713
bugSomething isn't workingexpectedtask board horizon: how far off the work isneed-designtask board readiness: what must exist before work can startpriority:P2issue-tracker board priority
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.
bugSomething isn't workingexpectedtask board horizon: how far off the work isneed-designtask board readiness: what must exist before work can startpriority:P2issue-tracker board priority
Activity