Skip to content

A closed turn's folded commentary is asked of a mod after the answer #799

Open

Description

@SSFSKIM

What happens

A closed turn folds its commentary (the assistant text before the answer) under the turn line. The folded text is still asked of a mod through the AssistantMessage site, so a mod can mark or redraw it while it is folded (UX wave U2b, §E). The component that mounts those asks, FoldedAssistantProbes in src/renderer/src/transcript/surface/Rows.tsx, is mounted with the divider row (src/renderer/src/transcript/view/rows/Row.tsx, case divider).

Batch 7's #789 made the turn line the last row of its turn. So the folded commentary's asks now reach a mod after the answer's own ask, though the commentary came first in the turn. Before #789 the line stood ahead of the answer, so the asks arrived in turn order.

Why it matters

A mod that reads the asks in arrival order, for example to number a turn's messages or to treat the first text it sees as the reply's start, sees the turn out of order. isFirstOfReply in the props is still right, so a mod that reads the props is unaffected. No shipped mod is known to depend on arrival order.

Done when

The folded commentary's asks reach a mod in turn order, ahead of the answer's ask, while the turn line stays the turn's last row. Either the probes mount where the commentary stood (ahead of the answer) or the site registry orders asks by the row's place in the turn. A transcript unit test pins the order for a closed turn with two commentary blocks and an answer.

Found while building batch 7 (UX wave), group E, #789.

Activity

  1. added
    bug
    status:ready-for-implementer
    priority:P3
    on Nov 20, 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

    bugpriority:P3status:ready-for-implementer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions