From 299a9bfe2f6642c80bc84f1bd951d2a5ad79faca Mon Sep 17 00:00:00 2001 From: Taylor McIntyre Date: Fri, 10 Apr 2026 10:53:30 -0700 Subject: [PATCH] Document previous-thread mentions --- docs/tui-chat-composer.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/tui-chat-composer.md b/docs/tui-chat-composer.md index a61a0b5beb..9c5ea46a84 100644 --- a/docs/tui-chat-composer.md +++ b/docs/tui-chat-composer.md @@ -118,6 +118,19 @@ still available for `Ctrl+Y`. This supports flows where a user kills part of a d composer action such as changing reasoning level, and then yanks that text back into the cleared draft. +### Previous-thread mentions (`#`) + +Typing `#` opens the previous-thread mention popup. Accepting a row with `Enter` or `Tab` inserts +the visible `#` text into the draft and stores a hidden `thread://` +binding for that range. The draft stays editable after insertion, so the user can keep typing around +the selected previous-thread mention before submitting. + +On submit, selected previous-thread bindings are extracted before the normal user turn starts. The +TUI asks app-server to `thread/remember` those source threads into the current thread, then submits +the user's visible text as the turn. The remembered packet is model-visible context in the rollout, +but it is classified as hidden contextual user content and is not rendered back as a normal user +message. + ## Remote image rows (selection/deletion flow) Remote image URLs are shown as `[Image #N]` rows above the textarea, inside the same composer box.