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
A closed turn's folded commentary is asked of a mod after the answer #799
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