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
Turn identity: list turns from the CLI, show the run id on hover, and bind previous/next turn keys
#31674
future Matt here. My agent was supposed to show me a draft, not go ahead and post it. Anyway: nutshell idea is: seeking a way to navigate back through a conversation and initiate forking a thread using keyboard only.
[Alt-up] cycles through user prompts, but it doesn't move to the point in thread where that prompt occurs, like what happens when using the minimap with mouse.
I envision enhancing [alt-up] so it scrolls to position like the minimap, and then [left-arrow] to get to the (copy) and (fork) ui elements, and trigger with [enter]
it would also be nice if the turn # showed as a tool tip or something on-hover, so that point could be refered to in chat, "at turn-3 we talked about..."
Problem
Three friction points with one root cause: a turn has a number internally (run:thread:<id>:ordinal:N) but no stable, visible, addressable identity in the client or the CLI.
1. Finding a turn's id needs an agent round trip
To map a visible message to a forkable source point, an agent has to call t3_thread_read with view: "activity", page through 50+ items, and pick runId off the user_message rows. On a long thread that is the whole timeline.
t3 thread exposes list, start, send, and show. show --json does carry ids, but only for the latest N messages and with no ordinal column:
So even the no-LLM path is a text crawl rather than an index.
2. The UI never shows which turn you are pointing at
Hovering a past message offers Edit, Edit from here, and Fork, but nothing on screen says ordinal 3 or run:thread:...:ordinal:3. Referencing a turn in a bug report, a discussion, or another thread means describing it in prose ("the one where it printed the json") and hoping the reader lands on the same message.
3. Keyboard cannot reach an earlier turn
The timeline minimap already gives click and hover navigation with per-user-message marks, and chat.find (mod+f) searches message text. What is missing is positional movement: there is no previous/next user turn binding. The minimap's "Previous turn" arrow stops at the oldest loaded message, reported separately in #31065.
Proposal
These are one small surface, not three features.
t3 thread turns <thread> --json: one row per run with ordinal, runId, requestedAt, status, and the first line of the user prompt. No provider call, no model involved. This is the index that agent tooling now reconstructs by hand.
A visible, copyable turn reference on hover. Show the ordinal next to the existing hover actions, and make it copy the run id. mod+shift+c already copies a thread or PR reference; a turn reference belongs in the same family.
previous turn / next turn keybindings that move to the previous/next user message, not the previous/next row, and that work past the loaded window.
Items 1 and 3 need the same thing #31065 already asks for: a light server-side list of user messages (id, order, short text) shipped alongside the bounded snapshot. If that list lands for the minimap, the CLI command and the keybindings become thin wrappers over it.
What this is not
Not a change to fork semantics. Fork already works from a past turn in the UI; this is about being able to name the point you forked from.
Not a transcript export or a debug panel. Three small affordances, all reading the same list.
I did not find an existing discussion asking for a turn listing command, a visible run id, or turn-level keybindings.
Environment
T3 Code 0.1.7 server and desktop, Windows x64
Observed while working out how to fork a thread from a few turns back, where the only way to identify the target was to read the activity timeline and translate a visible turn into a run ordinal. Codex-kilo-auto/efficient-unknown-reasoning on behalf of matt wilkie
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
future Matt here. My agent was supposed to show me a draft, not go ahead and post it. Anyway: nutshell idea is: seeking a way to navigate back through a conversation and initiate forking a thread using keyboard only.
[Alt-up] cycles through user prompts, but it doesn't move to the point in thread where that prompt occurs, like what happens when using the minimap with mouse.
I envision enhancing [alt-up] so it scrolls to position like the minimap, and then [left-arrow] to get to the (copy) and (fork) ui elements, and trigger with [enter]
it would also be nice if the turn # showed as a tool tip or something on-hover, so that point could be refered to in chat, "at turn-3 we talked about..."
Problem
Three friction points with one root cause: a turn has a number internally (
run:thread:<id>:ordinal:N) but no stable, visible, addressable identity in the client or the CLI.1. Finding a turn's id needs an agent round trip
To map a visible message to a forkable source point, an agent has to call
t3_thread_readwithview: "activity", page through 50+ items, and pickrunIdoff theuser_messagerows. On a long thread that is the whole timeline.t3 threadexposeslist,start,send, andshow.show --jsondoes carry ids, but only for the latest N messages and with no ordinal column:{"role":"assistant","runId":"run:thread:<thread-id>:ordinal:3","text":"..."}So even the no-LLM path is a text crawl rather than an index.
2. The UI never shows which turn you are pointing at
Hovering a past message offers Edit, Edit from here, and Fork, but nothing on screen says
ordinal 3orrun:thread:...:ordinal:3. Referencing a turn in a bug report, a discussion, or another thread means describing it in prose ("the one where it printed the json") and hoping the reader lands on the same message.3. Keyboard cannot reach an earlier turn
The timeline minimap already gives click and hover navigation with per-user-message marks, and
chat.find(mod+f) searches message text. What is missing is positional movement: there is no previous/next user turn binding. The minimap's "Previous turn" arrow stops at the oldest loaded message, reported separately in #31065.Proposal
These are one small surface, not three features.
t3 thread turns <thread> --json: one row per run withordinal,runId,requestedAt,status, and the first line of the user prompt. No provider call, no model involved. This is the index that agent tooling now reconstructs by hand.A visible, copyable turn reference on hover. Show the ordinal next to the existing hover actions, and make it copy the run id.
mod+shift+calready copies a thread or PR reference; a turn reference belongs in the same family.previous turn/next turnkeybindings that move to the previous/next user message, not the previous/next row, and that work past the loaded window.Items 1 and 3 need the same thing #31065 already asks for: a light server-side list of user messages (id, order, short text) shipped alongside the bounded snapshot. If that list lands for the minimap, the CLI command and the keybindings become thin wrappers over it.
What this is not
Duplicate check
t3 thread start --key; adjacent thread-lifecycle work, not turn introspection.I did not find an existing discussion asking for a turn listing command, a visible run id, or turn-level keybindings.
Environment
Codex-kilo-auto/efficient-unknown-reasoning on behalf of matt wilkie
All reactions