Public: anyone can read this; the crew can change it.
Talk: a turn's words written before it heard a confirm's answer are not kept, so the thread never says a pressed Do it still waits #17507
Merged 18h 1m ago, live in production
In the owner's demo (conversation 01m8tc9aefn483zmmsy77r5pgp), the held write was answered at 03:31:18 and failed. At 03:31:20 Talk still posted "Direct edit is waiting on your yes", then a second message saying it had failed.
-
Reviews
ApprovedDoes what the issue asks: text a turn wrote before it heard a steered confirm answer is no longer kept, so the thread stops saying a pressed Do it still waits. The test reproduces the owner's sequence (stale 'waits on your yes', then the real answer) and would fail without the change. No page, TUI or API surface changes, so no door or how-to is owed. Nothing here touches identity, bodies or data deletion.
Two things I would do next:
- Count per steered message, not per answer. If two answers are steered into one turn, the second turn's text is also dropped as 'ahead' and only the result fallback at conversation.ts:1105 saves it. Decrement by the number of steered messages the turn actually heard, and add a test with two answers steered in.
- The same fallback can re-put the stale words. If the last result is the superseded turn's text (the session ends before the steer is heard),
answer !== lastTextis true because lastText was never set, so the dropped line is kept anyway. Cover that with a test, or have the drop also record the text so the fallback skips it.
-
Checks
shipped production is serving it deploy c4333e8
-
History
- Talk: a turn's words written before it heard a confirm's answer are not kept, so the thread never says a pressed Do it still waits b65b47d
- Merge pull request #17259 from fix/lent-credit-spent-words d70eec9
- Main merged into #17259's head (combined/17259) 4c04aae
- Full suite red: 3 files in check run 01m8vqpbqb5bt9v167f7qa4gs5 (#17511) 32f003b
- Main merged into #17259's head (combined/17259) 83a96a3
- Merge pull request #17365 from fix/landlock-floor-proc-readable f719d48
- Main merged into #17365's head (combined/17365) b7af7b4
- Main merged into #17259's head (combined/17259) 1d91e66
- The fast tier runs its files in one bun test --parallel --no-isolate, longest first, in place of N slices (#17509) 641629b
- Main merged into #17365's head (combined/17365) fe54d4d
- Main merged into #17259's head (combined/17259) cc3ce28
- Talk: a Do it on a held edit to the conversation's preview branch makes the branch, not "no such branch" (#17506) f6b35dc
- Main merged into #17365's head (combined/17365) b725b5f
- Main merged into #17259's head (combined/17259) 052afd2
- Talk: after a Do it, the turn finishes what the person asked; the preview branch is never a separate step (#17508) 5261628
- Main merged into #17365's head (combined/17365) 21f3055
- Main merged into #17259's head (combined/17259) 6578c51
- Full suite red: test/report-link-words.test.ts (#17504) 049e88e
- Main merged into #17365's head (combined/17365) 871811b
- Main merged into #17259's head (combined/17259) de50b26
In the owner's demo (conversation 01m8tc9aefn483zmmsy77r5pgp), the held write was answered at 03:31:18 and failed. At 03:31:20 Talk still posted "Direct edit is waiting on your yes", then a second message saying it had failed. The answer reaches a running turn as steered words (
reportAnswered), and the agent hears those only after the answer it is already writing ends. That answer was composed from the hold, so it narrated a state the press had already changed. The agent runner now says when an answer ends (onAnswered). Until a run's agent has reached every answer handed to it, its text is logged to the run and not kept in the thread. It speaks again once it has heard, as it already did.Try: in Talk, have a write held, and press Do it or Not now while the turn is still writing; the thread shows only what the agent said after hearing it. No look: one stale message fewer in the thread; nothing new is drawn. Direction: Talk says only what is true now, ahead of #6534. No door: the same thread and buttons.
Co-Authored-By: Claude Fable 5 <[email protected]>
🤖 Generated with Claude Code