Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(chat): keep confirmed final answers visible after continuations #27991

ClosedAlb11747(GitHub profile, opens in a new tab)wants to merge 4 commits intomain fromrefs/pull/27991/headopened View on GitHub

Showing 10 changed files with 84 additions and 1 deletion (loading 8).

x
0 of 10 viewed, 10 left
66 additions and 0 deletionsapps/mobile/src/lib/threadActivity.test.tsModified
View file
@@ -888,6 +888,72 @@
]);
});
​
+ it.each(["commentary", undefined] as const)(
+ "keeps confirmed final answers visible across continuations ending with %s",
+ (trailingPhase) => {
+ const reply = (id: string, phase?: "final_answer" | "commentary") => ({
+ ...assistantMessage(),
+ id: TurnItemId.make(id),
+ messageId: MessageId.make(id),
+ ...(phase === undefined ? {} : { phase }),
+ });
+ const items: OrchestrationV2TurnItem[] = [
+ userMessage(),
+ command(),
+ reply("first-answer", "final_answer"),
+ {
+ ...base("wake", "2026-06-20T00:00:04.000Z", 4),
+ type: "notification",
+ source: { kind: "system" },
+ outcome: "completed",
+ summary: "Delegated task finished",
+ },
+ reply("progress", "commentary"),
+ {
+ ...userMessage(),
+ id: TurnItemId.make("steer"),
+ messageId: MessageId.make("steer"),
+ inputIntent: "steer",