🙌 OpenHands: AI-Driven Development
F06 — Agent activity: messages, events and lifecycle
Inside a conversation the user watches the agent work: their own messages appear at once (optimistically), the agent's replies render as markdown, tool calls are grouped into collapsible "N actions completed" blocks whose cards show commands, outputs, diffs and task lists, and a live chip says what the agent is doing right now. Around the transcript sit lifecycle controls and states: the starting pill, stop and resume, the confirmation prompt when confirmation mode is on, error and reconnect banners, the no-LLM banner and the skill-installed banner. History pages in from the server, survives reloads and backend restarts, and any message can be branched into a new conversation.
Source: src/components/features/chat/chat-interface.tsx, src/components/conversation-events/chat/, src/components/features/chat/ (messages, banners, tool-visualizers/, task-tracking/), src/components/features/markdown/, src/components/features/images/, src/components/features/suggestions/, src/components/shared/buttons/conversation-confirmation-buttons.tsx, src/components/features/controls/agent-status.tsx, src/hooks/use-load-older-events.ts, src/hooks/mutation/use-fork-conversation.ts, src/hooks/use-streamed-text.ts, src/hooks/use-scroll-to-bottom.ts, src/utils/split-stable-markdown.ts.
Sub-features
F06.empty-state-suggestions: an empty conversation shows "Let's start building!" with four suggestion chips; a chip fills the composer with its prompt.F06.user-and-agent-messages: user and agent bubbles; a long user message is clipped with a gradient and expands on click ("View More"). Drag-selecting inside a message keeps the selection in the message list. Known failure (reproduced 2026-10-20, #18673): on a reply taller than the viewport, scrolled up from the bottom (browser evalsettingdocument.querySelector("[data-testid=chat-scroll-container]").scrollTop = 700),control-openhands browser drag 'testid=agent-message >> nth=0 >> css=p,li >> nth=<an item about 370 px from the top>' --by 0,600 --steps 150ends the selection inchat-git-control-bar(the composer pill text is selected) and jumps the feed to its bottom;--by 0,-400ends it in the header (conversation-git-actions-toggle). Read thegetSelection()focus node withbrowser eval. A drag that stays inside the feed keeps the focus inmarkdown-renderer.F06.message-copy: hovering a bubble shows Copy to clipboard; it copies the message's markdown source and the label flips to Copied to clipboard for 2 s.F06.code-block-copy: hovering a fenced code block in an agent reply shows its own Copy button, which copies only the code.F06.timestamps: hovering a bubble or tool title shows the event's local date and time.F06.pending-messages: a sent message shows "Sending..." until the server echoes it; a failed send shows Failed to send with Retry and Dismiss; Retry delivers it exactly once.F06.clock-skew-send: a message sent while the browser clock runs ahead of the server is still confirmed by the server echo: no lingering "Sending..." and no Retry.F06.failed-send-persists: a failed send keeps its Retry row after the backend returns and after leaving and reopening the conversation from the sidebar; sending the same text again succeeds without clearing it, and Retry then delivers that attempt exactly once.F06.markdown-rendering: agent replies render markdown: tables inside a horizontal scroller with edge fades, fenced code (highlighted tokens stay inline, so a TOML[build-system]header is one line), inline code, and links that are always underlined in the theme's link colour.F06.markdown-alerts: GitHub-style alerts in a message (> [!NOTE],[!TIP],[!IMPORTANT],[!WARNING],[!CAUTION]) render as panels with an icon, a bold label, a coloured left border and a faint tint in the alert's theme colour, with the body in the normal text colour; the label is readable (at least 4.5:1) in dark and light themes. Source:src/components/features/markdown/blockquote.tsx.F06.streamed-reply: a streamed agent reply types out at a reading pace of about 60 characters a second, or faster to stay about half a second behind a fast model, each new word fading in; it catches up within about a second or two after the model has finished, then settles into the finished markdown (tables, code blocks) with no per-word spans. While it types, the transcript stays pinned to the bottom; scrolling up stops the follow without pulling the user back, and returning to the bottom (button or scroll) resumes it. With reduced motion the words appear without the fade.F06.workspace-path-links: a workspace file path in an agent reply, and the path chip of a file-editor card, open that file in the Files tab.F06.thinking: model reasoning appears as a collapsed "Thinking" row that expands.F06.event-groups: consecutive tool calls collapse into "N actions completed" (or "k/N actions completed" with a spinner while one is pending); expanding lists one titled row per action.F06.tool-visualizers: expanding a tool row shows a rich body: terminal command and output (non-zero exit badgeexit N), file-editor path chip and content.F06.markdown-file-preview: when the agent creates a Markdown file, its row stays expanded and ungrouped and shows a rendered, height-limited preview card with the file name and View, which opens the file in the Files tab.F06.task-list: task-tracker calls render a "Tasks" card with done / todo icons.F06.events-match: the stream shows one bubble per message event and one row per action, with no duplicates (compare withconversation events).F06.load-older-history: only the newest 50 events load first; the previous 50 are fetched when the user scrolls the transcript to its top (a "Fetching older messages…" row shows until they arrive) and automatically when the content is too short to scroll, so the first prompt and all actions appear.F06.scroll-to-bottom: scrolling up shows a scroll-to-bottom button; clicking it returns to the bottom and hides it.F06.live-activity: while the agent runs, a chip above the composer names the current action ("Thinking", then the action title) and the composer status reads Running.F06.status-indicator: while a new conversation starts, a "Starting" pill shows above the composer.F06.stop-resume: Stop in the composer interrupts the agent, including a running tool call (status Stopped, play button, an Agent error row for the interrupted call); Play resumes it to completion.F06.reload-mid-run: reloading while the agent runs reattaches to the live run; it finishes without duplicated events.F06.reconnect: when the Agent Server goes away the composer shows Disconnected; after it returns the page reconnects without a reload.F06.error-banner: losing the server shows "Unable to connect to server" with Retry, Copy and Close; Retry reconnects once the server is back.F06.error-events: a conversation error (ConversationErrorEvent) surfaces as a warning banner and the composer status Error.F06.confirmation-mode: with confirmation mode on, a lock chip sits above the composer and each action waits for "Do you want to continue with this action?" with Cancel and Continue (hints⇧⌘⌫/⌘↩on macOS,Ctrl+⇧+⌫/Ctrl+↩elsewhere, hidden below 640 px); a cancelled action is marked Rejected and counts as resolved in its group.F06.confirmation-shortcuts: Cmd+Enter or Ctrl+Enter continues and Shift+Cmd+Backspace or Shift+Ctrl+Backspace cancels a pending action.F06.branch-from-here: hovering a message shows Branch from here; on an agent message it forks inclusively; on a user message it forks without that message and pre-fills its text in the new composer, ready to send. The branch is titled "(branch)" and keeps working.</li> <li><code>F06.image-attachments</code>: images sent with a message show as thumbnails in the bubble; expand opens a lightbox that closes with X or Escape.</li> <li><code>F06.skill-install-banner</code>: after the agent installs a skill into the workspace, a banner offers "Start new conversation with this skill" (same workspace) and Close.</li> <li><code>F06.llm-not-configured-banner</code>: with no usable LLM, a conversation shows "Your LLM isn't set up yet..." with Set up LLM; suggestions are hidden and sending is disabled.</li> <li><code>F06.critic-result</code>: with the critic enabled, agent messages and the finishing action each carry a "Critic: agent success likelihood" block (stars labelled <code>Score: <N.N>%</code>, one decimal, with the percentage beside them); Expand details lists the issue categories (Potential Issues, Infrastructure, Likely Follow-up).</li> <li><code>F06.hook-events</code>: hook executions render as their own rows in the stream, each with an <code>ok</code>, <code>failed</code> or <code>blocked</code> badge; expanding a row shows its command, exit code, stderr, error or blocked reason and output, with the badges, stderr, error and blocked reason readable (at least 4.5:1) in dark and light themes.</li> <li><code>F06.corrective-nudge</code>: when the model answers with neither a message nor a tool call, the SDK's nudge (<code>Your last response did not include a function call or a message. …</code>) shows as a muted, italic <code>role=note</code> line with an info icon (<code>corrective-nudge-message</code>), not as a user bubble (#17864).</li> <li><code>F06.phone</code>: at 390 px the transcript fits the viewport; wide tables scroll inside their own container.</li> </ul> <h2>How to get to it (user POV)</h2> <ul> <li>Open any conversation: a sidebar conversation card, or the direct URL <code>/conversations/<id></code>. Leaving one for the home page: the sidebar's <strong>New Chat</strong> link; coming back: its card again.</li> <li>Start one from the home composer (<strong>New Chat</strong>, <code>/</code>): type and press Send. <code>control-openhands conversation start</code> drives exactly this path.</li> <li>An empty conversation: the sidebar's create-thread button (<code>conversation-panel-new-thread-picker</code>), then <strong>No workspace</strong> (or a workspace).</li> <li>Composer status control (right side of the composer): Stop while running, Play while stopped.</li> <li>Hover a bubble: Branch from here and Copy to clipboard icons; hover a tool title for its timestamp.</li> <li>Confirmation mode and the critic are switched on under Settings → Verification (<code>/settings/verification</code>; the page itself belongs to the settings families).</li> </ul> <h2>Driving it with control-openhands</h2> <p>Preconditions:</p> <ul> <li><p>Baseline state (launched, doctored, <code>onboard --skip</code> done) and <code>control-openhands llm preset deepseek</code> (deepseek-flash active). Every prompt below is tiny and stays in the conversation's own workspace.</p> </li> <li><p>Conversation ids are printed as <code>"id"</code> by <code>control-openhands conversation start</code>, or read from <code>control-openhands browser url</code> (<code>/conversations/<id></code>). <code><id></code> below is always the conversation the step just created or opened.</p> </li> <li><p><code>F06.llm-not-configured-banner</code> needs a second, fresh <code>control-openhands launch --new --build never</code> with no <code>llm preset</code> (export its run dir as <code>OH_VERIFY_RUN</code> for those commands, then <code>control-openhands stop</code> it).</p> </li> <li><p><code>F06.critic-result</code>: if an authorized OpenHands (<code>openhands/…</code>) or compatible OpenHands LLM-proxy profile is available, use it for the critic check, regardless of the profile used for the rest of the pass. The SDK reuses that profile's LLM key when Critic API Key is empty; a separate critic key is not required. For a non-default proxy deployment, use its compatible critic endpoint. Restore the previous profile after the check. Record <code>blocked</code> only when no authorized working critic configuration is available, not merely because the main profile uses another provider; its bullet also says how to arrange a locally scored block with a model only. The automatic-fetch half of <code>F06.load-older-history</code> (its 16-command conversation) needs a model; the scroll-to-top half is driven without one, on the dummy profile below, with thirty refused user messages. <code>F06.hook-events</code> needs a configured hook (none is set in a fresh run); its bullet arranges three in a fixture workspace and needs no model reply, because the last hook blocks the prompt.</p> </li> <li><p><code>F06.clock-skew-send</code> and <code>F06.failed-send-persists</code> need no model reply: a conversation that exists is enough (without a key the agent errors at once, and the user rows still land). Without a key, create the family's conversations with a dummy profile (<code>QA_DUMMY_KEY=qa control-openhands llm set --profile qa-zeta --model openai/gpt-4o --api-key-env QA_DUMMY_KEY --no-validate</code>) and <code>control-openhands conversation start --prompt ...</code> without <code>--wait</code>. <code>F06.corrective-nudge</code> needs a genuine provider turn with neither text nor a tool call; it is producer-dependent, not unavailable on Local. A confined two-iteration DeepSeek Flash attempt produced the real SDK nudge on 2026-10-17. Bound the attempt; never fabricate a response/event or guarantee an empty turn. Without one, record the missing producer precondition rather than a rendering pass or product failure.</p> </li> <li><p>The harness browser grants clipboard access: <code>control-openhands browser clipboard</code> reads what a Copy button wrote and <code>browser clipboard --write qa-empty</code> resets it first.</p> </li> <li><p>A terminal call can come back as "The terminal session was reset..." after this run's agent server restarts; the model reruns it, which turns one action into a group of two (see Gotchas).</p> </li> <li><p><strong>One run that exercises the stream (<code>F06.markdown-rendering</code>, <code>F06.event-groups</code>, <code>F06.thinking</code>, <code>F06.events-match</code>).</strong> Run <code>control-openhands conversation start --prompt "Run the terminal command 'echo qa-f06-hello', then create a file qa_f06.txt containing the word hi. Finally reply with a markdown table with columns Step and Result (two rows) followed by a python code block that prints 1." --wait --timeout 300</code>, then <code>control-openhands browser testids 'testid=chat-interface'</code> and <code>control-openhands browser snapshot 'testid=agent-message'</code>. The testids include <code>user-message</code>, <code>event-group</code> ("3 actions completed"), <code>agent-message</code>, <code>markdown-table-scroll</code> with <code>markdown-table-scroll-fade-left</code>/<code>-right</code>; the snapshot shows a <code>table</code> with column headers Step and Result and a <code>code</code> block <code>print(1)</code>. Compare with <code>control-openhands conversation events <id></code>: one user and one agent <code>MessageEvent</code>, three <code>ActionEvent</code>s (<code>terminal</code>, <code>file_editor</code>, <code>canvas_ui_control</code>), matching one <code>user-message</code>, one group of three rows and one <code>agent-message</code> for the reply, plus one more <code>agent-message</code> before the group when the first action carries thought text (such as <code>I'll run the command and create the file.</code>); scope later reply checks with <code>testid=agent-message >> nth=-1</code>. The thinking row (<code>collapsible-thinking</code>) lives inside the group, so it is listed only after the next bullet expands it.</p> </li> <li><p><strong>Expand a group and its rows (<code>F06.event-groups</code>, <code>F06.thinking</code>, <code>F06.tool-visualizers</code>).</strong> Run <code>control-openhands browser click 'testid=event-group-toggle'</code> (label becomes Collapse actions), <code>control-openhands browser text 'testid=event-group'</code> (three titles, e.g. "Echo test string in terminal", "Create qa_f06.txt containing hi"; titles are model-written), then <code>control-openhands browser click 'testid=event-group-content >> role=button[name="Expand"][exact] >> nth=0'</code> twice (each click expands the next collapsed row). The group text now contains <code>echo qa-f06-hello</code> and its output <code>qa-f06-hello</code>, the file path chip (<code>testid=file-path-chip</code>) and the content <code>hi</code>. <code>control-openhands browser click 'testid=collapsible-thinking-toggle >> nth=0'</code> reveals <code>collapsible-thinking-content</code>. Take <code>control-openhands browser screenshot 'testid=chat-interface' --feature F06.tool-visualizers --name bash-and-file</code>.</p> </li> <li><p><strong>Open files from the stream (<code>F06.workspace-path-links</code>).</strong> On the same page the agent may already have opened the file; run <code>control-openhands browser click 'testid=file-quick-row-close-qa_f06.txt'</code> and check <code>control-openhands browser count 'testid=file-quick-row-item-qa_f06.txt'</code> is <code>0</code>. Run <code>control-openhands browser click 'testid=agent-message >> testid=markdown-file-path-link'</code>: the count is <code>1</code> and <code>control-openhands browser text 'testid=file-content-viewer-plain'</code> is <code>hi</code>. Close it again and <code>control-openhands browser click 'testid=file-path-chip'</code> (inside the expanded file-editor row): the count is <code>1</code> again.</p> </li> <li><p><strong>Markdown file preview (<code>F06.markdown-file-preview</code>).</strong> Run <code>control-openhands conversation start --prompt "Use the file_editor tool to create the file qa_notes.md containing a heading '# QA Notes' and one bullet '- first'. Do nothing else and reply DONE." --wait --timeout 150</code>. Without any click, <code>control-openhands browser text 'testid=markdown-file-preview'</code> reads <code>QA Notes first qa_notes.md View</code> (rendered heading and bullet, then the file name) and <code>count 'testid=event-group'</code> is <code>0</code>. <code>control-openhands browser count 'testid=file-quick-row-item-qa_notes.md'</code> is <code>0</code>; <code>control-openhands browser click 'testid=markdown-file-preview-view'</code> makes it <code>1</code> and <code>control-openhands browser text 'testid=file-content-viewer-markdown'</code> reads <code>QA Notes first</code>. Then <code>control-openhands browser goto /conversations/<stream id></code> to return to the stream conversation for the next bullets.</p> </li> <li><p><strong>Timestamps (<code>F06.timestamps</code>).</strong> Run <code>control-openhands browser tooltip 'testid=user-message'</code>, <code>control-openhands browser hover 'testid=chat-input'</code>, <code>control-openhands browser click 'testid=event-group-toggle'</code> (if the group is collapsed) and <code>control-openhands browser tooltip 'testid=event-group-content >> testid=generic-event-message-title >> nth=0'</code>. Both return the local date and time, e.g. <code>Oct 4, 2026, 11:08 PM</code>; the group toggle itself has no tooltip.</p> </li> <li><p><strong>Copy a message and a code block (<code>F06.message-copy</code>, <code>F06.code-block-copy</code>).</strong> On the same page run <code>control-openhands browser clipboard --write qa-empty</code>, <code>control-openhands browser hover 'testid=agent-message >> nth=0'</code> and <code>control-openhands browser click 'testid=agent-message >> nth=0 >> testid=copy-to-clipboard >> nth=0'</code> (the bubble's button; the code block has a second, hidden <code>copy-to-clipboard</code>). <code>control-openhands browser attr 'testid=agent-message >> nth=0 >> testid=copy-to-clipboard >> nth=0' aria-label</code> is <code>Copied to clipboard</code>, and <code>Copy to clipboard</code> again about 2 s later; <code>control-openhands browser clipboard</code> starts with <code>| Step | Result |</code> and ends with the fenced <code>print(1)</code> block. Then <code>control-openhands browser hover 'testid=agent-message >> pre'</code>, <code>control-openhands browser click 'testid=agent-message >> pre >> testid=copy-to-clipboard'</code> and <code>control-openhands browser clipboard</code> is exactly <code>print(1)</code>.</p> </li> <li><p><strong>Streamed reply (<code>F06.streamed-reply</code>).</strong> From <code>/</code> run <code>control-openhands browser record start --feature F06.streamed-reply --name reveal</code>, fill <code>testid=chat-input</code> with <code>Write a markdown answer of about 300 words explaining Python virtual environments. Include a level-2 heading, a bulleted list of 4 items, a python code block of about 6 lines, and a table with 3 columns and 3 rows. Do not run any tools.</code> and <code>control-openhands browser click 'testid=submit-button' --expect-url '/conversations/'</code>. While it types, <code>control-openhands browser count 'testid=agent-message >> .stream-word-fade'</code> stays small (0 while the reveal waits for the model; with deepseek-flash about 10 to 50, because the reveal keeps pace with the model at several hundred characters a second), <code>browser count 'testid=agent-message >> pre >> [data-stream-word]'</code> is <code>0</code>, and the distance from the bottom (<code>browser eval "(()=>{const e=document.querySelector('[data-testid=chat-scroll-container]');return Math.round(e.scrollHeight-e.scrollTop-e.clientHeight)})()"</code>) stays <code>0</code> to <code>1</code> (a single sample can briefly read about 60 while a block lands). The reveal does not trail far behind the model: sample the last <code>agent-message</code>'s <code>innerText.length</code> and <code>[data-stream-word]</code> count every 250 ms with one <code>browser eval</code> promise, then compare with the agent row's <code>ts</code> from <code>conversation events <id> --kinds MessageEvent --last 1</code>: the bubble stops growing and drops its word spans about 2 seconds after that timestamp (1.7 s for about 2,000 and about 5,200 characters with deepseek-flash, including delivery and sampling). Once done, <code>browser count 'testid=agent-message >> [data-stream-word]'</code> is <code>0</code>, the message holds one <code>table</code> and one <code>pre</code>, and its text is unchanged after <code>browser reload</code>. In a longer follow-up (about 800 words), run <code>control-openhands browser scroll 'testid=chat-scroll-container' --by -700</code> mid-stream: the distance grows as the text grows, <code>count 'testid=scroll-to-bottom'</code> is <code>1</code>, and <code>browser click 'testid=scroll-to-bottom'</code> returns it to <code>0</code> while the reveal continues. Finish with <code>control-openhands browser record stop --gif</code>. For the actual reduced-motion branch, record the current <code>control-openhands browser media</code> preference, set <code>browser media --reduced-motion reduce</code>, and send a confined reply-only prompt. During real streaming, assert <code>matchMedia("(prefers-reduced-motion: reduce)").matches</code> is true and the actual <code>.stream-word-fade</code> computed animation is <code>none</code> / <code>0s</code>; capture a screenshot. Set <code>browser media --reduced-motion no-preference</code> for a real normal control (<code>stream-word-fade</code>, <code>0.28s</code>), await settled markup and restore the original preference in a finally step. This was driven with real provider replies 2026-10-17; no synthetic streaming events or CSS-only pass.</p> </li> <li><p><strong>Alerts (<code>F06.markdown-alerts</code>).</strong> Run <code>control-openhands conversation start --prompt "$P" --wait --timeout 180</code> with <code>P=$'Reply with exactly the following markdown, copied verbatim, and nothing else. Do not run any tools.\n\n> [!NOTE]\n> Note body with **bold** and </code>code<code>.\n\n> [!TIP]\n> Tip body.\n\n> [!IMPORTANT]\n> Important body.\n\n> [!WARNING]\n> Warning body.\n\n> [!CAUTION]\n> Caution body.'</code> (the user bubble renders the same panels), then <code>control-openhands browser wait 'testid=markdown-alert-caution'</code>. The agent message has <code>markdown-alert-note</code>, <code>-tip</code>, <code>-important</code>, <code>-warning</code> and <code>-caution</code>, each labelled <code>Note</code>, <code>Tip</code>, <code>Important</code>, <code>Warning</code>, <code>Caution</code>. In each panel the label, its icon <code>svg</code> and the left border share one computed colour, and the body paragraph uses the text colour: on OpenHands-Neutral <code>rgb(142, 197, 255)</code>, <code>rgb(94, 233, 181)</code>, <code>rgb(216, 180, 254)</code>, <code>rgb(255, 224, 42)</code>, <code>rgb(255, 179, 191)</code> with a white body (labels about 9.8:1 to 13.5:1 against the page); on Light+ (switch as in <code>F16.color-theme</code>) <code>rgb(0, 90, 153)</code>, <code>rgb(8, 99, 63)</code>, <code>rgb(126, 34, 206)</code>, <code>rgb(109, 76, 0)</code>, <code>rgb(170, 32, 37)</code> with a <code>rgb(31, 31, 31)</code> body (labels about 7.0:1 to 7.8:1 against the white page). Read them with <code>browser eval</code> of <code>getComputedStyle(...).color</code> on <code>[data-testid=markdown-alert-<type>] p span</code>, its <code>svg</code> and <code>.borderLeftColor</code> on the panel. Take <code>browser screenshot 'testid=agent-message >> nth=-1' --feature F06.markdown-alerts --name <theme></code> in both themes and one at <code>browser viewport phone</code>; restore OpenHands-Neutral and <code>browser viewport desktop</code>.</p> </li> <li><p><strong>Long table cell (<code>F06.markdown-rendering</code>).</strong> On the stream conversation write a prompt file whose first line is <code>Reply with only the word OK. Do not run any tools.</code>, then a blank line and the table <code>| Name | Description | Status |</code>, <code>|---|---|---|</code>, <code>| Alpha | This is a really long sentence in a single cell that goes on and on to explain a very involved aspect of the system, which nobody could read on one line without scrolling forever to the right. | ok |</code>, <code>| Beta | brief | fail |</code>. Run <code>control-openhands browser fill 'testid=chat-input' x --value-file <file></code>, <code>control-openhands browser click 'testid=submit-button'</code> and <code>control-openhands conversation wait <id> --fresh --timeout 120</code>; the user bubble renders the table. Cells wrap once they reach 28rem (<code>max-w-md</code>): <code>control-openhands browser eval "getComputedStyle(document.querySelector('[data-testid=markdown-table-scroll] td')).whiteSpace + ' ' + getComputedStyle(document.querySelector('[data-testid=markdown-table-scroll] td')).maxWidth"</code> is <code>normal 448px</code>. At desktop with the right panel closed, <code>control-openhands browser bbox 'testid=user-message >> nth=-1 >> testid=markdown-table-scroll'</code> has <code>scrollWidth</code> <code>582</code> equal to <code>clientWidth</code> and <code>Status</code> is visible (<code>browser screenshot 'testid=chat-interface' --feature F06.markdown-rendering --name long-cell-table</code>). A table still wider than the conversation keeps the horizontal scroll with its edge fade: with the panel open (<code>control-openhands browser click 'testid=right-panel-toggle'</code>) <code>clientWidth</code> is <code>474</code>, and at phone width <code>326</code>, so <code>Status</code> is scrolled off there while the long cell stays wrapped. An agent reply with such a table behaves the same.</p> </li> <li><p><strong>Links and TOML (<code>F06.markdown-rendering</code>).</strong> Run <code>control-openhands conversation start --prompt "Write a short markdown answer on Python packaging with pyproject.toml. Start with the sentence: See [QA docs](https://example.com/qa) for the verification page. Include one toml code block with [build-system] and [project] sections. Do not run any tools." --wait --timeout 200</code>. <code>control-openhands browser eval "getComputedStyle(document.querySelector('[data-testid=agent-message] .token.table')).display"</code> is <code>inline</code>, and each section header (<code>[build-system]</code>, <code>[project]</code>) is one line in <code>control-openhands browser screenshot 'testid=agent-message' --feature F06.markdown-rendering --name toml-and-link</code>. The link <code>testid=agent-message >> a[href="https://example.com/qa"]</code> has <code>text-decoration-line</code> <code>underline</code> before any hover. Send the same <code>See [QA docs](https://example.com/qa) ...</code> sentence as a follow-up to see it in a user bubble. In Light+ (F16.color-theme) the link is <code>rgb(0, 90, 153)</code>: 7.19:1 on the chat panel, 5.70:1 in the user bubble; in Solarized Light <code>rgb(0, 90, 136)</code>: 6.91:1 and 5.60:1 (contrast from the computed <code>color</code> and the nearest opaque background, read with <code>browser eval</code>). The same holds at phone width.</p> </li> <li><p><strong>Non-zero exit badge (<code>F06.tool-visualizers</code>).</strong> In an open conversation run <code>control-openhands browser fill 'testid=chat-input' "Run exactly this terminal command, verbatim, with nothing appended: ls /qa_missing_dir2 . Then reply OK."</code>, <code>control-openhands browser click 'testid=submit-button'</code> and <code>control-openhands conversation wait <id> --fresh --timeout 150</code> (without <code>--fresh</code> it returns the previous run's <code>finished</code> at once). If the reply's actions render as a single row, run <code>control-openhands browser click 'testid=chat-scroll-container >> role=button[name="Expand"][exact] >> nth=-1'</code>; if they render as a group (<code>browser count 'testid=event-group'</code> grew, e.g. <code>2 actions completed</code> after a terminal reset and rerun), run <code>control-openhands browser click 'testid=event-group-toggle >> nth=-1'</code> and <code>control-openhands browser click 'testid=event-group-content >> nth=-1 >> role=button[name="Expand"][exact] >> nth=-1'</code>. Then <code>control-openhands browser count 'testid=chat-scroll-container >> text="exit 2"'</code> is <code>1</code>; the badge sits above the <code>No such file or directory</code> output (<code>browser screenshot 'testid=event-group >> nth=-1' --feature F06.tool-visualizers --name exit-code</code>). Repeating the check in the same conversation needs a new directory name and a count that grows, because an earlier expanded badge stays on the page.</p> </li> <li><p><strong>Task list (<code>F06.task-list</code>, <code>F06.status-indicator</code>).</strong> From <code>/</code> run <code>control-openhands browser goto /</code>, <code>control-openhands browser fill 'testid=chat-input' "Use your task_tracker tool to plan exactly two tasks titled 'qa step one' and 'qa step two'; mark 'qa step one' done and 'qa step two' todo. Do nothing else and reply DONE."</code> and <code>control-openhands browser click 'testid=submit-button' --expect-url '/conversations/' --observe '[data-testid=chat-status-indicator]' --observe-ms 8000</code>. <code>observed</code> contains <code>Starting</code> for a moment (the pill). Then <code>control-openhands conversation wait <id> --timeout 150</code> and <code>control-openhands browser text 'testid=chat-scroll-container'</code>: it contains <code>Tasks</code>, <code>qa step one</code>, <code>qa step two</code>; the screenshot shows a check icon and muted text for the done task, an empty circle for the todo one.</p> </li> <li><p><strong>Empty state (<code>F06.empty-state-suggestions</code>).</strong> Run <code>control-openhands browser click 'testid=conversation-panel-new-thread-picker'</code>, <code>control-openhands browser click 'testid=launch-no-workspace' --expect-url '/conversations/'</code>, then <code>control-openhands browser text 'testid=chat-suggestions'</code>: <code>Let's start building!</code> plus <code>Increase test coverage</code>, <code>Auto-merge PRs</code>, <code>Fix README</code>, <code>Clean dependencies</code>. Run <code>control-openhands browser click 'testid=chat-suggestions >> text=Fix README'</code> and <code>control-openhands browser text 'testid=chat-input'</code>: the composer holds the README-improvement prompt.</p> </li> <li><p><strong>Pending bubble and long messages (<code>F06.pending-messages</code>, <code>F06.user-and-agent-messages</code>).</strong> Write a 25-line message to a file (first line <code>Reply with only the word OK. Ignore the filler lines below.</code>, then <code>filler line 1</code>…<code>filler line 24</code>), run <code>control-openhands browser fill 'testid=chat-input' x --value-file <file></code> and <code>control-openhands browser click 'testid=submit-button' --observe '[data-testid=chat-message-sending]' --observe-ms 3000</code>. <code>observed</code> shows <code>Sending...</code> then <code><absent></code> once the server echoes it. After <code>control-openhands conversation wait <id> --timeout 120</code>, <code>control-openhands browser testids 'testid=chat-scroll-container'</code> lists <code>chat-message-truncation-gradient</code> and <code>chat-message-expand</code> ("View More"); <code>control-openhands browser click 'testid=chat-message-expand'</code> removes both and the whole text shows. <code>testid=agent-message</code> reads <code>OK</code>.</p> </li> <li><p><strong>Browser clock ahead (<code>F06.clock-skew-send</code>).</strong> On the same conversation, skew the page's clock before loading it: <code>control-openhands browser clock --offset-ms 300000</code>, <code>control-openhands browser goto /conversations/<id></code>, <code>control-openhands browser wait 'testid=chat-input'</code>; <code>control-openhands browser eval "new Date().toISOString()"</code> is about five minutes ahead of <code>date -u</code> (read-only shell check). Run <code>control-openhands browser fill 'testid=chat-input' 'Reply with only: clock-ok'</code> and <code>control-openhands browser click 'testid=submit-button' --observe '[data-testid=chat-message-sending],[data-testid=chat-message-error]' --observe-ms 6000</code>: <code>observed</code> shows <code>Sending...</code> and then <code><absent></code> (the server echo confirmed it), never <code>Failed to send</code>. <code>control-openhands browser count 'testid=chat-message-sending'</code> and <code>control-openhands browser count 'testid=chat-message-retry'</code> are <code>0</code>, and <code>control-openhands conversation events <id> --kinds MessageEvent</code> gains one user row <code>Reply with only: clock-ok</code> whose <code>ts</code> is the server's time (close to <code>date -u</code>), not the browser's. Undo the skew before moving on: <code>control-openhands browser clock --offset-ms 0</code> and <code>control-openhands browser reload</code> (with a model, <code>control-openhands conversation wait <id> --fresh --timeout 120</code> first).</p> </li> <li><p><strong>Server lost: banner, failed send, reconnect (<code>F06.error-banner</code>, <code>F06.pending-messages</code>, <code>F06.reconnect</code>).</strong> With a conversation open run <code>control-openhands service stop agent-server</code> and <code>control-openhands browser wait 'testid=error-message-banner' --timeout 20000</code>: the banner reads <code>Unable to connect to server</code> with <code>error-message-banner-retry</code>, <code>-copy</code> and <code>-dismiss</code>, led by <code>error-message-banner-icon</code> in the theme's status error color (<code>browser eval</code> of its computed <code>color</code>: <code>rgb(255, 104, 78)</code> in the default theme, <code>rgb(209, 52, 56)</code> in Light+, at desktop and phone); the composer shows <code>Disconnected</code>. Run <code>control-openhands browser fill 'testid=chat-input' 'Reply with only the word PONG.'</code> and <code>control-openhands browser click 'testid=submit-button' --observe '[data-testid=chat-message-sending],[data-testid=chat-message-error]' --observe-ms 8000</code>: <code>Sending...</code> turns into <code>Failed to send Retry Dismiss</code>. <code>control-openhands browser click 'testid=chat-message-retry'</code> while down fails again; <code>control-openhands browser click 'testid=chat-message-dismiss'</code> removes the bubble (<code>count 'testid=chat-message-error'</code> is <code>0</code>). Send the same message again so one failed bubble remains, <code>control-openhands browser click 'testid=error-message-banner-dismiss'</code> (banner count <code>0</code>), then <code>control-openhands restart</code>. Poll <code>control-openhands browser text 'testid=interactive-chat-box'</code> every 10 s: within about a minute after <code>restart</code> returns it no longer contains <code>Disconnected</code> (reconnected without reload). <code>control-openhands browser click 'testid=chat-message-retry'</code>, <code>control-openhands conversation wait <id> --timeout 120</code>, then <code>control-openhands conversation events <id> --kinds MessageEvent</code>: <code>Reply with only the word PONG.</code> appears once and the last <code>agent-message</code> is <code>PONG</code>.</p> </li> <li><p><strong>Banner Retry (<code>F06.error-banner</code>).</strong> Run <code>control-openhands service stop agent-server</code>, wait for <code>testid=error-message-banner</code> as above, <code>control-openhands restart</code>, then <code>control-openhands browser click 'testid=error-message-banner-retry'</code>. <code>control-openhands browser count 'testid=error-message-banner'</code> is <code>0</code> and the composer is no longer Disconnected. Take <code>browser screenshot 'testid=chat-interface' --feature F06.error-banner --name disconnected</code> while the banner is up.</p> </li> <li><p><strong>Failed send survives leaving (<code>F06.failed-send-persists</code>).</strong> With <code>/conversations/<id></code> open and healthy, run <code>control-openhands service stop agent-server</code>, <code>control-openhands browser wait 'testid=error-message-banner' --timeout 20000</code>, <code>control-openhands browser fill 'testid=chat-input' 'Reply with only: retry-ok'</code> and <code>control-openhands browser click 'testid=submit-button' --observe '[data-testid=chat-message-sending],[data-testid=chat-message-error]' --observe-ms 8000</code>: <code>Sending...</code> turns into <code>Failed to send Retry Dismiss</code> and <code>control-openhands browser count 'testid=chat-message-retry'</code> is <code>1</code> (<code>control-openhands browser screenshot 'testid=chat-interface' --feature F06.failed-send-persists --name failed-before-leaving</code>). Run <code>control-openhands restart</code> and <code>control-openhands browser wait 'testid=error-message-banner' --state hidden --timeout 90000</code> (the page reconnects by itself; <code>testid=error-message-banner-retry</code> hurries it while the banner is still up): the Retry row is still there (count <code>1</code>). Leave through the sidebar and come back: <code>control-openhands browser click 'role=link[name="New Chat"]'</code>, <code>control-openhands browser wait 'testid=home-chat-launcher'</code>, <code>control-openhands browser click 'a[href*="/conversations/<id>"] >> nth=0' --expect-url '/conversations/<id>'</code>, <code>control-openhands browser wait 'testid=user-message'</code>; <code>control-openhands browser count 'testid=chat-message-retry'</code> is still <code>1</code> after the history reloaded (<code>control-openhands browser screenshot 'testid=chat-interface' --feature F06.failed-send-persists --name retry-after-reopen</code>). Send the same text again (fill <code>Reply with only: retry-ok</code>, click <code>testid=submit-button</code> with the same <code>--observe</code>): the new bubble goes <code>Sending...</code> and settles while <code>Failed to send Retry Dismiss</code> stays; <code>control-openhands browser count 'testid=chat-message-sending'</code> is <code>0</code>, <code>control-openhands browser count 'testid=chat-message-retry'</code> is <code>1</code>, and the rows of <code>control-openhands conversation events <id> --kinds MessageEvent --grep 'retry-ok'</code> whose <code>source</code> is <code>user</code> number exactly one, <code>Reply with only: retry-ok</code> (in a model-free run <code>count</code> is <code>1</code>; with a model the agent's <code>retry-ok</code> reply matches the grep too, so count the <code>user</code> rows, not <code>count</code>). Then <code>control-openhands browser click 'testid=chat-message-retry'</code> and <code>control-openhands browser wait 'testid=chat-message-retry' --state detached --timeout 15000</code>: <code>control-openhands browser count 'testid=chat-message-sending'</code> is <code>0</code> and the same <code>--grep</code> now lists exactly two <code>user</code> rows <code>Reply with only: retry-ok</code> (one per attempt, none duplicated). With a model, <code>control-openhands conversation wait <id> --fresh --timeout 120</code> before the next bullet.</p> </li> <li><p><strong>Live chip, stop and resume (<code>F06.live-activity</code>, <code>F06.stop-resume</code>).</strong> Run <code>control-openhands conversation start --prompt "Run exactly one terminal command: sleep 25 && echo qa-slept. Then reply with only its output."</code> (no <code>--wait</code>), <code>control-openhands browser wait 'testid=live-activity-chip' --timeout 30000</code> and <code>control-openhands browser text 'testid=live-activity-chip'</code>: first <code>Thinking</code>, then the action title (e.g. <code>Run sleep 25 then echo qa-slept</code>); <code>browser text 'testid=interactive-chat-box'</code> contains <code>Running</code>. Run <code>control-openhands browser click 'testid=stop-button'</code>: <code>control-openhands conversation status <id></code> is <code>paused</code>, the composer reads <code>Stopped</code>, <code>count 'testid=play-button'</code> is <code>1</code> and the chip is gone. Stop interrupts the running <code>sleep</code> too: <code>control-openhands conversation events <id></code> shows an <code>AgentErrorEvent</code> (<code>Tool call interrupted before completion. The conversation was paused.</code>) followed by an <code>InterruptEvent</code>, and <code>browser text 'testid=chat-scroll-container'</code> shows an <code>Agent error</code> row under the action title. Run <code>control-openhands browser click 'testid=play-button'</code>: status <code>running</code>, then <code>control-openhands conversation wait <id> --timeout 120</code> ends <code>finished</code> with a new agent <code>MessageEvent</code> (the model either reports the interruption or reruns the command as a new action and replies <code>qa-slept</code>).</p> </li> <li><p><strong>Reload mid-run (<code>F06.reload-mid-run</code>).</strong> Run <code>control-openhands conversation start --prompt "Run exactly one terminal command: sleep 15 && echo qa-reloaded. Then reply with only its output."</code>, wait for <code>testid=live-activity-chip</code>, then <code>control-openhands browser reload</code>. The composer still reads <code>Running</code> and the chip is back. After <code>control-openhands conversation wait <id> --timeout 120</code>: <code>testid=agent-message</code> is <code>qa-reloaded</code>, <code>count 'testid=user-message'</code> is <code>1</code>, <code>control-openhands browser eval "document.querySelectorAll('[data-testid=chat-scroll-container] [data-testid=generic-event-message-title]').length"</code> is <code>1</code>.</p> </li> <li><p><strong>Older history (<code>F06.load-older-history</code>).</strong> Run <code>control-openhands conversation start --prompt "Run these 16 terminal commands strictly one per tool call, sequentially (never combine them): echo qa1, echo qa2, echo qa3, echo qa4, echo qa5, echo qa6, echo qa7, echo qa8, echo qa9, echo qa10, echo qa11, echo qa12, echo qa13, echo qa14, echo qa15, echo qa16. Then reply DONE." --wait --timeout 400</code> (note <code><history-id></code>); <code>control-openhands conversation events <history-id> --last 500</code> reports a count above 50. Run <code>control-openhands browser network --clear</code>, <code>control-openhands browser reload</code>, then <code>control-openhands browser network --last 300</code>: two <code>GET /api/conversations/<history-id>/events/search</code> requests (newest page, then the older page). <code>control-openhands browser text 'testid=chat-scroll-container'</code> starts with the prompt and shows <code>16 actions completed</code> and <code>DONE</code>. The other trigger is the user scrolling to the top, driven without a model on the dummy profile from Preconditions (<code>qa-zeta</code> active; in a keyed run create and activate it with that same <code>llm set</code> command for this bullet, then re-run <code>control-openhands llm preset deepseek</code> and remove it with <code>control-openhands api DELETE /api/profiles/qa-zeta --write</code>, so later families still count two profiles; arrange, not proof). Run <code>control-openhands conversation start --prompt "qa older 1"</code> (no <code>--wait</code>; note <code><older-id></code>), then <code>for N in $(seq 2 30); do control-openhands conversation send <older-id> --prompt "qa older $N"; done</code>: every send is accepted while the agent sits in error, about 1.5 s apiece (42 s for the 29 here), and each refused message adds five events (a <code>MessageEvent</code>, three <code>ConversationStateUpdateEvent</code>s, a <code>ConversationErrorEvent</code>), so the conversation ends with about 150 events (152 here). <code>control-openhands conversation events <older-id> --last 500</code> reports <code>"total": 152</code>, <code>"pages": 2</code>, <code>"more": false</code> (both server pages read, see Gotchas); its first row is the <code>SystemPromptEvent</code> and the first <code>MessageEvent</code> is <code>qa older 1</code>, while <code>--last 25</code> reports <code>"pages": 1</code>, <code>"more": true</code> and starts at <code>qa older 26</code>. Run <code>control-openhands browser network --clear</code>, <code>control-openhands browser reload</code>, <code>control-openhands browser wait 'testid=chat-input'</code>, then <code>control-openhands browser network --filter 'events/search' --last 10</code>: two requests, <code>?limit=50&sort_order=TIMESTAMP_DESC</code> and one with <code>timestamp__lt=<ts of qa older 21></code>, because the newest 50 events hold only ten bubbles, shorter than the viewport, so the automatic fetch ran once and then stopped. <code>control-openhands browser count 'testid=user-message'</code> is <code>20</code>, <code>control-openhands browser text 'testid=chat-scroll-container'</code> starts <code>qa older 11</code> and holds none of <code>qa older 1</code>…<code>qa older 10</code>, and <code>control-openhands browser bbox 'testid=chat-scroll-container'</code> has <code>scrollHeight</code> <code>1576</code> against <code>clientHeight</code> <code>814</code>: taller than the viewport, so the third page waits for the user. Run <code>control-openhands browser scroll 'testid=chat-scroll-container' --by -100000</code>: <code>control-openhands browser network --filter 'events/search' --last 5</code> gains a request with <code>timestamp__lt=<ts of qa older 11></code>, <code>control-openhands browser count 'testid=user-message'</code> is <code>29</code> and the text starts <code>qa older 2</code> (that page held messages 2–10 plus the tail of the first message's events; not seen in two runs: if the first refusal ever logs six events instead of seven, the arithmetic gives count <code>30</code>, text <code>qa older 1</code> and a last page of only the <code>SystemPromptEvent</code>), and the view stays on <code>qa older 11</code>: <code>control-openhands browser eval "document.querySelector('[data-testid=chat-scroll-container]').scrollTop"</code> is <code>684</code>, the height of the prepended rows. Scroll to the top again the same way: a fourth request (<code>timestamp__lt=</code> the oldest loaded event), the count is <code>30</code>, the text starts <code>qa older 1</code> and <code>scrollTop</code> is <code>76</code> (<code>control-openhands browser screenshot 'testid=chat-interface' --feature F06.load-older-history --name scroll-top-loaded-qa-older-1</code>). A third scroll adds no request: the short page ended the paging. <code>control-openhands browser count 'testid=loading-older-events'</code> is <code>0</code> after each scroll because the <code>Fetching older messages…</code> row lasts a few tens of milliseconds on a local stack; to see it, scroll with <code>control-openhands browser scroll 'testid=chat-scroll-container' --by -100000 --observe 'testid=loading-older-events' --observe-ms 1500</code> instead (both scrolls were driven this way here, with the same counts), whose <code>observed</code> goes <code><absent></code> at <code>0</code> ms, <code>Fetching older messages…</code> at about 20 ms and <code><absent></code> again within about 40 to 120 ms (<code>116</code> ms on the first scroll, <code>39</code> on the second; <code>observedBy</code> <code>mutation</code>); the <code>timestamp__lt=</code> network rows remain the durable proof. Return to the 16-command conversation for the next bullet: <code>control-openhands browser goto /conversations/<history-id></code> and <code>control-openhands browser wait 'testid=chat-input'</code>. The <code>Fetching older messages…</code> row uses the tertiary text colour and stays readable in the light themes: measured while it is shown (a <code>browser eval</code> MutationObserver that reads its computed colour when <code>testid=loading-older-events</code> appears, then the scroll above), it is 8.45:1 on the Light+ chat panel and 4.99:1 on Solarized Light (theme switching: F16.color-theme).</p> </li> <li><p><strong>Scroll to bottom (<code>F06.scroll-to-bottom</code>).</strong> On the 16-command conversation (<code><history-id></code>; in a model-free run this bullet is blocked with the automatic-fetch half, prerequisite <code>DEEPSEEK_API_KEY</code>), <code>control-openhands browser click 'testid=event-group-toggle'</code> makes the transcript taller than the viewport while the view stays where it was. Run <code>control-openhands browser scroll 'testid=chat-scroll-container' --by 2000</code> first (the button only reacts to scroll events, so a page that is already at the top never shows it): <code>count 'testid=scroll-to-bottom'</code> is <code>0</code>. Run <code>control-openhands browser scroll 'testid=chat-scroll-container' --by -2000</code>; the count is <code>1</code>. <code>control-openhands browser click 'testid=scroll-to-bottom'</code>, then the count is <code>0</code> and <code>control-openhands browser eval "(()=>{const e=document.querySelector('[data-testid=chat-scroll-container]');return Math.round(e.scrollHeight-e.scrollTop-e.clientHeight)})()"</code> is <code>0</code>.</p> </li> <li><p><strong>Confirmation mode on (<code>F06.confirmation-mode</code>).</strong> Arrange through the settings UI, in this order (the Security Analyzer field appears only once Confirmation Mode is on): <code>control-openhands browser goto /settings/verification</code>, <code>control-openhands browser click 'testid=verification-settings-screen >> text=Confirmation Mode'</code>, <code>control-openhands browser click 'testid=sdk-section-all-toggle'</code>, <code>control-openhands browser click 'testid=verification-settings-screen >> role=button[name="Show suggestions"]'</code>, <code>control-openhands browser click 'role=listbox >> role=option[name="None"]'</code>, <code>control-openhands browser value 'testid=verification-settings-screen >> role=combobox[name="Security Analyzer"]'</code> (<code>None</code>), <code>control-openhands browser click 'testid=verification-settings-screen >> testid=save-button'</code>; <code>control-openhands api GET /api/settings</code> shows <code>"confirmation_mode": true</code> and <code>"security_analyzer": "none"</code> (None means every action is confirmed; the default LLM analyzer only stops HIGH-risk actions, so <code>echo</code> would run unprompted). Run <code>control-openhands conversation start --prompt "Run the terminal command 'echo qa-confirm-ok' and reply with its output." --wait --timeout 180</code>: it returns <code>"status": "waiting_for_confirmation"</code>. <code>control-openhands browser text 'testid=chat-scroll-container'</code> ends <code>Do you want to continue with this action? Cancel Ctrl+⇧+⌫ Continue Ctrl+↩</code> on Linux (<code>Cancel ⇧⌘⌫ Continue ⌘↩</code> on macOS, #18127), <code>control-openhands browser tooltip 'testid=action-confirm-button'</code> is <code>Confirm the requested action</code>, and a lock icon sits above the composer (screenshot). The tooltip stays open over the Cancel button, so move the pointer first: <code>control-openhands browser hover 'testid=chat-input'</code>. Run <code>control-openhands browser click 'testid=action-reject-button'</code>: status <code>idle</code>, the buttons are gone, <code>conversation events <id> --last 6</code> ends with <code>UserRejectObservation</code>, and the action's row reads <code>Rejected</code> (<code>control-openhands browser count 'testid=rejected-indicator'</code> is <code>1</code>) with no spinner. Send <code>Run the terminal command 'echo qa-confirm-two' and reply with its output.</code> through <code>testid=chat-input</code> / <code>testid=submit-button</code>, <code>control-openhands browser wait 'testid=action-confirm-button' --timeout 20000</code>, <code>control-openhands browser click 'testid=action-confirm-button'</code>; about 15 s later the status is <code>finished</code> and the events contain the observation <code>qa-confirm-two</code>. A rejection inside a group resolves it too: send <code>Run the terminal command 'echo qa-g1'. After it finishes, run the terminal command 'echo qa-g2' as a separate tool call. Then reply DONE.</code>, continue the first action (<code>browser wait 'testid=action-confirm-button'</code>, then <code>control-openhands browser press Control+Enter</code>, which is also the next bullet's shortcut) and cancel the second (<code>browser wait 'testid=action-confirm-button' --timeout 60000</code>, <code>control-openhands browser press Control+Shift+Backspace</code>): status <code>idle</code>, <code>control-openhands browser text 'testid=event-group >> nth=-1'</code> ends <code>2 actions completed</code>, <code>control-openhands browser count 'testid=event-group >> nth=-1 >> .animate-spin'</code> is <code>0</code>, the same after <code>browser reload</code>, and the expanded group (<code>control-openhands browser click 'testid=event-group >> nth=-1 >> button >> nth=0'</code>) shows <code>Rejected</code> on the <code>qa-g2</code> row (<code>browser screenshot 'testid=chat-interface' --feature F06.confirmation-mode --name group-after-reload</code>). Each button keeps its label and hint on one line: while the prompt is waiting, <code>control-openhands browser eval "[...document.querySelectorAll('[data-testid=action-reject-button],[data-testid=action-confirm-button]')].map(b=>b.offsetHeight+'/'+b.scrollHeight).join(' ')"</code> is <code>26/26 26/26</code> at desktop, also with the side panel open (<code>testid=right-panel-toggle</code>). At phone width (<code>browser viewport phone</code>) the shortcut hints are hidden (no hardware keyboard), the buttons read <code>Cancel</code> and <code>Continue</code>, and <code>browser text 'testid=chat-scroll-container'</code> ends <code>Do you want to continue with this action? Cancel Continue</code> (screenshot the awaiting prompt at phone width).</p> </li> <li><p><strong>Confirmation shortcuts (<code>F06.confirmation-shortcuts</code>).</strong> The previous bullet resolved its action, so arrange a new one in the same conversation: send <code>Run the terminal command 'echo qa-confirm-three' and reply with its output.</code> through <code>testid=chat-input</code> / <code>testid=submit-button</code> and <code>control-openhands browser wait 'testid=action-confirm-button' --timeout 20000</code>. <code>control-openhands browser text 'testid=action-confirm-button'</code> is <code>Continue Ctrl+↩</code> off macOS. Ctrl works off macOS (#17928, fixed by #18127): the previous bullet's <code>Control+Enter</code> continued and <code>Control+Shift+Backspace</code> cancelled. <code>control-openhands browser press Meta+Enter</code> continues too: <code>control-openhands conversation wait <id> --fresh --timeout 120</code> ends <code>finished</code> and <code>control-openhands conversation events <id> --kinds ObservationEvent</code> contains <code>qa-confirm-three</code>. Restore afterwards: <code>browser goto /settings/verification</code>, click <code>testid=sdk-section-all-toggle</code>, <code>Show suggestions</code>, <code>role=listbox >> role=option[name="LLM"]</code>, then <code>testid=verification-settings-screen >> text=Confirmation Mode</code>, then <code>save-button</code>; <code>api GET /api/settings</code> shows <code>"confirmation_mode": false</code>, <code>"security_analyzer": "llm"</code>.</p> </li> <li><p><strong>Branch from here (<code>F06.branch-from-here</code>).</strong> Open a conversation with at least two exchanges (the OK/PONG one above): <code>control-openhands browser goto /conversations/<id></code> with its id (the previous bullet left <code>/settings/verification</code>). Agent message: <code>control-openhands browser hover 'testid=agent-message >> nth=0'</code>, <code>control-openhands browser click 'testid=agent-message >> nth=0 >> role=button[name="Branch from here"]' --expect-url '/conversations/(?!<id>)'</code>; after <code>control-openhands browser wait 'testid=user-message'</code> (the history mounts a moment after the URL changes, so an immediate count reads <code>0</code>) the new conversation has <code>count 'testid=user-message'</code> <code>1</code>, the agent message <code>OK</code>, and <code>browser eval "document.title"</code> contains <code>(branch)</code>. User message (edit): back on the OK/PONG conversation (<code>control-openhands browser goto /conversations/<id></code>; the branch above has one user message), <code>control-openhands browser hover 'testid=user-message >> nth=1'</code> and <code>control-openhands browser click 'testid=user-message >> nth=1 >> role=button[name="Branch from here"]' --observe '[data-testid=chat-input]' --observe-ms 4000</code>: <code>observed</code> shows the composer change from empty to <code>Reply with only the word PONG.</code> and stay. The new conversation (<code><branch-id></code> from <code>browser url</code>) omits that message, <code>control-openhands browser text 'testid=chat-input'</code> is <code>Reply with only the word PONG.</code>, and nothing was sent: <code>control-openhands conversation events <branch-id> --kinds MessageEvent</code> lists only the copied first exchange (count <code>2</code>: the long message that starts <code>Reply with only the word OK.</code>, then <code>OK</code>; no <code>PONG</code>). <code>control-openhands browser enabled 'testid=submit-button'</code> should be <code>true</code> with the prefilled text; today it is <code>false</code> until the text is edited or the page is reloaded (see Gotchas). Send it with <code>control-openhands browser press Enter --selector 'testid=chat-input'</code> (Enter sends whatever the Send button's state is) and <code>control-openhands conversation wait <branch-id> --fresh --timeout 120</code>: expected <code>finished</code> with a reply; today it ends <code>error</code> (Agent Server bug, see Gotchas).</p> </li> <li><p><strong>Images (<code>F06.image-attachments</code>).</strong> Run <code>control-openhands fixture image --name qa-f06-img</code> (prints the PNG path), <code>control-openhands browser upload 'testid=upload-image-input' <png path></code> (a thumbnail appears in the composer), fill <code>testid=chat-input</code> with <code>Reply with only the word SEEN.</code> and click <code>testid=submit-button</code>. The user bubble contains <code>image-carousel</code> / <code>image-preview</code>. Run <code>control-openhands browser hover 'testid=image-preview'</code>, <code>control-openhands browser click 'testid=expand-image-button'</code> (<code>count 'testid=image-lightbox'</code> is <code>1</code>), <code>control-openhands browser press Escape</code> (<code>0</code>), click <code>expand-image-button</code> again and <code>control-openhands browser click 'testid=image-lightbox-close'</code> (<code>0</code>).</p> </li> <li><p><strong>Error events (<code>F06.error-events</code>).</strong> Any run that ends in a <code>ConversationErrorEvent</code> (today: any message sent in a branched conversation) leaves <code>conversation wait <id></code> at <code>"status": "error"</code>; <code>control-openhands browser testids 'testid=chat-interface'</code> lists <code>error-message-banner</code> with <code>warning-message-banner-icon</code> and the error's text, and the composer status reads <code>Error</code>. Read the code with <code>control-openhands api GET "/api/conversations/<id>/events/search?limit=3&sort_order=TIMESTAMP_DESC"</code>.</p> </li> <li><p><strong>Hook rows (<code>F06.hook-events</code>).</strong> Arrange (outside the UI) <code>control-openhands fixture git-repo --name qa-hooks</code> and write <code>$OH_VERIFY_RUN/workspace/qa-hooks/.openhands/hooks.json</code> as <code>{"user_prompt_submit":[{"hooks":[{"type":"command","command":"echo qa-hook-stderr >&2; exit 0","timeout":10},{"type":"command","command":"sleep 2","timeout":1},{"type":"command","command":"echo '{\"decision\":\"deny\",\"reason\":\"QA_HOOK blocked\"}'; exit 2","timeout":10}]}]}</code>. Run <code>control-openhands conversation start --workspace qa-hooks --prompt "Reply with the single word: hi. Do not run any tools." --wait --timeout 180</code>: it finishes without an agent reply (the deny blocks the prompt) and <code>conversation events <id> --from-start</code> has three <code>HookExecutionEvent</code> rows. <code>control-openhands browser text 'testid=chat-interface'</code> lists <code>Hook: UserPromptSubmit</code> three times with the badges <code>ok</code>, <code>failed</code> and <code>blocked</code> (<code>browser count 'testid=generic-event-message-title'</code> is <code>3</code>). Expand each with <code>control-openhands browser click 'testid=generic-event-message-title >> nth=<0|1|2> >> role=button[name="Expand"]'</code>: the ok row shows <code>Command</code>, <code>Exit code: 0</code> and <code>Stderr: qa-hook-stderr</code>; the failed row <code>Exit code: -1</code> and <code>Error: Hook timed out after 1 seconds</code>; the blocked row <code>Exit code: 2</code>, <code>Blocked reason: QA_HOOK blocked</code> and the JSON under <code>Output</code>. The badges, the stderr box, the error and the blocked reason are readable in every theme: compute their text contrast against the composited background from <code>getComputedStyle</code> with <code>browser eval</code>, in the default theme, then Light+ and Solarized Light (switch on <code>/settings/app</code> as in F16, come back and expand again). Each is at least 4.5:1 (2026-10-19: default 4.92 to 9.54, Light+ 4.99 to 6.1, Solarized Light 4.78 to 6.5; phone 390×844 gives the Light+ values with the rows wrapping inside the width). <code>control-openhands browser screenshot 'testid=chat-scroll-container' --feature F06.hook-events --name <theme></code> per theme. Restore OpenHands-Neutral afterwards.</p> </li> <li><p><strong>Skill installed banner (<code>F06.skill-install-banner</code>).</strong> The banner keys on the installer's success line in terminal output. Put this one line in a prompt file: <code>Run exactly this one terminal command, verbatim, then reply DONE: mkdir -p .agents/skills/qa-skill && printf '# qa-skill\n' > .agents/skills/qa-skill/SKILL.md && echo "✅ Successfully installed 'qa-skill' to $PWD/.agents/skills/qa-skill"</code>, then run <code>control-openhands conversation start --prompt "$(cat <prompt file>)" --wait --timeout 150</code>. <code>control-openhands browser text 'testid=skill-install-restart-banner'</code> reads <code>Installed to this workspace: qa-skill. Skills load when a conversation starts, so this conversation can't use them yet.</code> Run <code>control-openhands browser click 'testid=skill-install-restart-action' --expect-url '/conversations/(?!<id>)'</code>; <code>control-openhands api GET /api/conversations/<new id></code> has the same <code>workspace.working_dir</code> as the source. Back on the source (<code>control-openhands browser goto /conversations/<id></code>), <code>control-openhands browser click 'testid=skill-install-restart-dismiss'</code> hides it (count <code>0</code>); after <code>browser reload</code> it is back (dismissal is session-only by design).</p> </li> <li><p><strong>No LLM (<code>F06.llm-not-configured-banner</code>).</strong> On the fresh no-LLM run: <code>control-openhands onboard --skip</code>, <code>control-openhands browser click 'testid=conversation-panel-new-thread-picker'</code>, <code>control-openhands browser click 'testid=launch-no-workspace' --expect-url '/conversations/'</code>. <code>control-openhands browser text 'testid=home-llm-not-configured-banner'</code> reads <code>Your LLM isn't set up yet, so conversations won't run. Finish setup to get started. Set up LLM</code>; <code>count 'testid=chat-suggestions'</code> is <code>0</code>; the composer cannot take text (<code>control-openhands browser attr 'testid=chat-input' contenteditable</code> is <code>false</code>, so <code>browser fill</code> fails) and <code>control-openhands browser enabled 'testid=submit-button'</code> is <code>false</code>. <code>control-openhands browser click 'testid=home-llm-not-configured-action'</code> then <code>browser url</code> ends in <code>/settings/llm</code>.</p> </li> <li><p><strong>Critic (<code>F06.critic-result</code>).</strong> Toggle the hidden switch through its label on <code>/settings/verification</code>: <code>control-openhands browser goto /settings/verification</code>, <code>control-openhands browser click 'label:has([data-testid="sdk-settings-verification.critic_enabled"])'</code>, save, <code>api GET /api/settings</code> shows <code>"critic_enabled": true</code>. Use the authorized OpenHands/proxy-backed profile described above for this check; leave Critic API Key empty to reuse its LLM key. With that profile and the critic enabled, run <code>control-openhands conversation start --prompt "Create qa_critic.txt containing hi, then finish." --wait --timeout 180</code>: every scored event carries a block, so <code>control-openhands browser count 'text=Critic: agent success likelihood'</code> is at least <code>1</code> and a finishing action (<code>finish</code> tool row) shows its own block next to the agent's message; the stars carry the score as their label, which an ARIA snapshot does not list: <code>control-openhands browser count '[aria-label^="Score: "]'</code> is at least <code>2</code> and <code>control-openhands browser attr '[aria-label^="Score: "] >> nth=0' aria-label</code> reads <code>Score: <N.N>%</code> with one decimal (<code>Score: 82.0%</code>), the same number as the <code>(82.0%)</code> text beside the stars. <code>control-openhands browser click 'role=button[name="Expand details"] >> nth=0'</code> opens the categories <code>Potential Issues:</code>, <code>Infrastructure:</code> and <code>Likely Follow-up:</code> with their named issues in <code>control-openhands browser text 'testid=chat-scroll-container'</code>, and the button's label flips to <code>Collapse details</code>. Turn it off again the same way and restore the previous profile. Profile availability is a precondition, not proof that the service accepted the credential: require real scored events before recording a pass. A locally scored block needs no Cloud key: create a conversation through <code>control-openhands api POST /api/conversations --write --data @/dev/stdin</code>, piping a payload built from the environment (so the model key is neither printed nor written) with a direct <code>agent</code> <code>{kind:"Agent", llm:{model:"deepseek/deepseek-flash", api_key:<from $DEEPSEEK_API_KEY>}, tools:[], include_default_tools:["FinishTool"], critic:{kind:"AgentFinishedCritic"}}</code>, a <code>workspace.working_dir</code> under <code>$OH_VERIFY_RUN/workspace</code> and an <code>initial_message</code> (<code>run: true</code>) <code>Call the finish tool immediately with the message qa-critic-done. Do not do anything else.</code>; arrange, not proof. After <code>control-openhands conversation wait <id></code> (<code>finished</code>) open <code>/conversations/<id></code>: the block reads <code>Critic: agent success likelihood ☆☆☆☆☆ (0.0%)</code> with the iterative-refinement hint below, and the stars carry <code>aria-label</code> <code>Score: 0.0%</code>. Its colours follow the theme: header, <code>(0.0%)</code> and hint use tertiary text (8.45:1 on the Light+ chat panel, 4.99:1 on Solarized Light) and the score-0 stars use error feedback (5.86:1 and 5.61:1); this critic lists no issue categories, so Expand details is absent.</p> </li> <li><p><strong>Local finishing critic (<code>F06.critic-result</code>).</strong> With a configured low-cost model, arrange an owned <code>qa-critic</code> workspace using <code>control-openhands fixture git-repo --name qa-critic</code>. Create a mode-0600 private request file with <code>agent.kind: "Agent"</code>, <code>agent.llm.model: "deepseek/deepseek-flash"</code>, the API key read from the existing environment, <code>agent.tools: []</code>, <code>agent.include_default_tools: ["FinishTool"]</code>, <code>agent.critic: {"kind":"AgentFinishedCritic"}</code>, <code>workspace.working_dir</code> set to that owned workspace, <code>autotitle:false</code>, and initial user text <code>Call finish immediately with final response DONE. Do not use any other tools or inspect any files.</code> Submit with <code>control-openhands api POST /api/conversations --write --data @<private-file> --pick id</code>, immediately remove the request file, then <code>control-openhands conversation wait <id> --timeout 180</code> and <code>browser goto /conversations/<id></code>. Read <code>browser attr '[aria-label^="Score: "] >> nth=0' aria-label</code>: the real finishing event renders <code>Score: 0.0%</code> and adjacent <code>(0.0%)</code>. Capture desktop and phone screenshots in each theme; header and percentage must reach 4.5:1 and nontext stars 3:1. This fixture proves score-zero rendering, not positive-score/category expansion or the Cloud settings branch. Pause/delete only this owned conversation after the check. Never publish the private request or credential value.</p> </li> <li><p><strong>Corrective nudge (<code>F06.corrective-nudge</code>).</strong> Use an owned disposable workspace and the already configured low-cost model. In a mode-0600 private request file arrange a direct <code>Agent</code> with <code>tools: []</code>, <code>include_default_tools: []</code>, <code>agent.llm.max_output_tokens: 128</code>, top-level <code>max_iterations: 2</code>, <code>autotitle: false</code>, and an initial confined instruction requesting an empty response while prohibiting tools, file access and other work. Read the existing model credential in memory; never print the request or key. Submit through <code>control-openhands api POST /api/conversations --write --data @<private-file> --pick id</code>, removing the private request immediately in <code>finally</code>. Bound <code>conversation wait <owned-id> --timeout 120</code>; inspect actual <code>MessageEvent</code>/<code>ConversationErrorEvent</code>, then open that conversation in the real browser. If a genuine empty provider turn occurred, <code>browser count 'testid=corrective-nudge-message'</code> is <code>1</code>; inspect the muted italic info line outside the user bubble and retain a screenshot. The intended accessible contract remains <code>role=note</code>, and the SDK corrective text must not be rendered as a user-message bubble. If no nudge occurs in this bounded attempt, record the missing producer precondition; do not infer a renderer failure. Stop/delete only the owned conversation/workspace and preserve reviewed evidence. This fixture establishes the actual Local empty-turn/nudge path, not a bug fix, all-provider determinism or every visual theme.</p> </li> <li><p><strong>Task-result TOML (<code>F06.tool-visualizers</code>).</strong> In an owned conversation, enable the registered <code>task_tool_set</code> factory from <code>openhands.tools.task</code> (not the internal <code>task</code> tool, whose factory requires an executor), keep the parent/child on the configured low-cost model with bounded iterations, and request exactly one general-purpose child returning a fenced TOML block with <code>[qa]</code> and <code>marker = "task-intent"</code>; prohibit child tools, file access and other work, then have the parent finish. Expand the actual “Ran subagent” action card and inspect its <strong>Result</strong> section: its <code>code.language-toml</code> must contain separate table/key/string token spans. Scope assertions to that TaskVisualizer card, excluding the user prompt and ordinary assistant Markdown. This consumer uses the default Markdown renderer; direct <code>.toml</code> FileEditor output uses a plain-text fallback, and Markdown-file previews have a separate plain-code override, so those paths do not establish TOML grammar coverage. This payload contains no italic text and establishes no italic-style result. Live receipt (2026-10-17): <code>weekly-intent-ui/evidence/F06.tool-visualizers/18542-genuineTask-TOML.png</code>, with <code>evidence/intent-review/task-toml-scoped-dom.json</code> and <code>task-toml-events.json</code>. Delete only the owned conversation/workspace afterward.</p> </li> <li><p><strong>Phone (<code>F06.phone</code>).</strong> Run <code>control-openhands browser viewport phone</code>, open the table conversation (<code>control-openhands browser goto /conversations/<stream id></code>), <code>control-openhands browser bbox 'testid=chat-interface'</code> (<code>insideViewport</code> <code>true</code>, <code>pageHorizontalOverflow</code> <code>false</code>) and <code>control-openhands browser bbox 'testid=markdown-table-scroll'</code> (<code>scrollWidth</code> larger than <code>clientWidth</code>: the table scrolls inside itself). <code>control-openhands browser screenshot --feature F06.phone --name conversation</code>, then <code>control-openhands browser viewport desktop</code>.</p> </li> <li><p>After each group run <code>control-openhands browser errors --app-only</code>. Outages driven with <code>service stop</code> log connection-refused console errors by design; <code>pageErrors</code> must stay <code>0</code>.</p> </li> <li><p><strong>Planner discovery with many children (<code>F06.tool-visualizers</code>).</strong> Expected: reloading a parent still discovers its <code>plannerparent</code>-tagged planner when it has 100 child conversations. Remaining Canvas discovery gap (reproduced 2026-10-20, Agent Server 1.56.0): <a href="https://github.com/OpenHands/software-agent-sdk/issues/5790">SDK#5790</a> is closed, fixed by <a href="https://github.com/OpenHands/software-agent-sdk/pull/5795">SDK#5795</a>. The server now correctly rejects more than 99 IDs with 422; Canvas still sends an unchunked 100-ID request, which toasts <code>List should have at most 99 items after validation, not 100</code> and omits the planner session connection, so discovery needs the UI to split the child-ID batch. A 99-child control returns 200 and opens both planner and parent sockets. These are genuine idle API-created children, without a model run or browser-storage changes; a new parent ID has no UI-created planner hint.</p> <pre><code class="language-sh">control-openhands browser viewport desktop QA_ID="$(python3 - <<'PY' import json, os, pathlib, subprocess, tempfile base = pathlib.Path(os.environ["OH_VERIFY_RUN"]) / "workspace" base.mkdir(exist_ok=True) fixture = pathlib.Path(tempfile.mkdtemp(prefix="qa-surface-", dir=base)) llm = {"model":"openai/gpt-4o", "base_url":"http://127.0.0.1:1/v1", "api_key":"qa-not-real", "num_retries":0, "timeout":2} def create(workspace, parent=None, tags=None): payload = {"agent":{"kind":"Agent", "llm":llm, "tools":[]}, "workspace":{"working_dir":str(workspace)}, "autotitle":False} if parent: payload["parent_conversation_id"] = parent if tags: payload["tags"] = tags request = fixture / "request.json" request.write_text(json.dumps(payload)) result = subprocess.run(["control-openhands", "api", "POST", "/api/conversations", "--write", "--data", "@"+str(request), "--pick", "id"], check=True, capture_output=True, text=True) return json.loads(result.stdout)["value"] def git(directory, *args): subprocess.run(["git", "-C", str(directory), *args], check=True, capture_output=True) workspace = fixture / "workspace" workspace.mkdir() parent = create(workspace) for index in range(100): create(workspace, parent, {"plannerparent":parent} if index == 0 else None) print(parent) PY )" control-openhands assert --field value --equals 100 -- api GET "/api/conversations/$QA_ID" --pick sub_conversation_ids.length QA_PLANNER="$(control-openhands api GET "/api/conversations/$QA_ID" --pick sub_conversation_ids.0 | python3 -c 'import json,sys; print(json.load(sys.stdin)["value"])')" control-openhands browser network --clear control-openhands browser goto "/conversations/$QA_ID" control-openhands browser wait 'testid=chat-input' control-openhands browser screenshot --feature F06.tool-visualizers --name planner-batch-100 control-openhands assert --field recent.0.status --equals 200 --bug-shows 422 -- browser network --filter "ids=$QA_PLANNER" # bug </code></pre> </li> </ul> <p>Regression check (<code>F06.markdown-rendering</code>, toml-chat):</p> <pre><code class="language-sh">control-openhands browser viewport desktop control-openhands conversation start --prompt 'Reply with exactly one toml fenced code block containing these four lines: [build-system], requires = [], [project], name = "qa". Put each on its own line; do not include commas between lines. Do not run any tools. Do nothing else.' --wait --timeout 180 control-openhands browser wait 'testid=agent-message >> .token.table' control-openhands browser screenshot --feature F06.markdown-rendering --name toml-chat-proof control-openhands assert --field value --equals inline -- browser eval 'getComputedStyle(document.querySelector("[data-testid=agent-message] .token.table")).display' </code></pre> <h2>Gotchas</h2> <ul> <li><p><code>control-openhands conversation events <id></code> returns the last 25 events unless you pass <code>--last N</code>; it reads the server's 100-event pages until <code>N</code> rows are in hand (<code>pages</code> says how many it read, <code>more: true</code> that older pages remain), so <code>--last 500</code> covers a 150-event conversation in two pages (<code>total</code> <code>152</code>, <code>pages</code> <code>2</code>, <code>more</code> <code>false</code> on the Older history conversation; <code>--last 25</code> there reads one page, <code>more</code> <code>true</code>) and <code>--from-start</code> reads from the oldest. <code>--kinds</code> and <code>--grep</code> filter before <code>--last</code> counts, and pages are read until <code>--last</code> matching rows are in hand: <code>--kinds MessageEvent --last 3</code> is the three newest messages, <code>--kinds MessageEvent --last 500</code> all thirty, and <code>--grep 'qa older 1'</code> reaches <code>qa older 1</code> on the oldest page with the default <code>--last</code> (<code>count</code> <code>11</code>, <code>pages</code> <code>2</code>). Event texts are cut at about 160 characters.</p> </li> <li><p><code>--observe</code> takes the same selector syntax as the verbs: <code>testid=</code> and plain CSS segments (joined with <code>>></code>) are watched by an in-page MutationObserver (<code>observedBy</code> <code>mutation</code>; the Older history bullet's <code>--observe 'testid=loading-older-events'</code> is one), while other engines (<code>role=</code>, <code>text=</code>, <code>nth=</code>) are polled every 20 ms instead (not driven in this family).</p> </li> <li><p><code>role=button[name="Expand"]</code> also matches "Expand thinking" and "Expand actions"; use <code>[exact]</code> to target tool rows. Each click flips the row to Collapse, so <code>nth=0</code> walks to the next collapsed row.</p> </li> <li><p>Tool rows show no success icon; the only indicators are the <code>exit N</code> badge for non-zero exits and a clock icon (<code>status-icon</code>) for timeouts. The clock uses the theme's warning colour (<code>fill-feedback-warning</code>): 6.10:1 on the Light+ chat panel and 6.50:1 on Solarized Light. A follow-up <code>Call the terminal tool exactly once with command 'sleep 3' and its timeout parameter set to 1 (seconds). Do not run anything else. Then reply DONE.</code> produces one (<code>control-openhands browser count 'testid=status-icon'</code> is <code>1</code>). A single action is not grouped: it renders as a bare row without <code>event-group</code>.</p> </li> <li><p>The model writes the tool titles and may append to commands (it turned <code>ls /missing</code> into <code>ls ...; echo "EXIT:$?"</code>, exit 0). Ask for the command "verbatim, with nothing appended" when the exit code matters.</p> </li> <li><p>The agent itself may open files with <code>canvas_ui_control</code> (a third action in the echo/file run). Close the file tab before proving that a path link opens it.</p> </li> <li><p>On Settings → Verification the Security Analyzer field (All tab) is shown only while Confirmation Mode is on: switch Confirmation Mode on first, then pick the analyzer. Check <code>api GET /api/settings</code> after saving.</p> </li> <li><p>Confirmation mode with the default Security Analyzer <code>LLM</code> uses ConfirmRisky(HIGH): harmless commands run without a prompt. Set the analyzer to <code>None</code> to confirm every action, and restore <code>LLM</code> afterwards. The composer stays editable while waiting (status "User needed"); the buttons read Cancel / Continue.</p> </li> <li><p>The confirm and cancel shortcuts accept Meta or Ctrl and ignore a held key's auto-repeat; once a response is sent the listener is detached, so a second press sends nothing (#18127). Hints read <code>Ctrl+↩</code> / <code>Ctrl+⇧+⌫</code> off Apple platforms.</p> </li> <li><p>Known failure, Canvas UI (<a href="https://github.com/OpenHands/OpenHands/issues/18202">#18202</a>, reproduced 2026-10-16): after a user-message branch the composer holds the prefilled text but Send stays disabled (<code>browser enabled 'testid=submit-button'</code> is <code>false</code>, and a click on it times out with <code>element is not enabled</code>). The prefill is a saved draft that <code>src/hooks/chat/use-draft-persistence.ts</code> writes into the field without an input event, and the composer is reused across the client-side switch, so its Send state keeps the source conversation's empty field. Editing the text, a reload, or Enter in the field (<code>browser press Enter --selector 'testid=chat-input'</code>) all work. A draft restored by a sidebar switch behaves the same (F05 Gotchas).</p> </li> <li><p>Known failure, likely Agent Server: every message in a branched conversation ends with <code>ConversationErrorEvent</code> <code>LLMAuthenticationError</code> ("Your LLM API key appears to be invalid or has expired."), while the source conversation keeps working (OpenHands/software-agent-sdk#5465). Do not use branches as fixtures for other checks.</p> </li> <li><p>The agent server starts each terminal session on its own tmux socket (<code>openhands-<random hex></code>) inside its own <code>TMUX_TMPDIR</code>: <code>launch</code> sets a per-run <code>/tmp/ohv-tmux-<hash></code>, and a plain <code>agent-canvas</code> creates <code><state>/tmux</code> and passes it on, so another instance stopping or restarting does not touch this run's terminals. After this run's own <code>restart</code>, a follow-up terminal command ran once with its output and no reset (2026-10-17). If a row still comes back as "The terminal session was reset because the underlying tmux server/session disappeared" (clock <code>status-icon</code>), the model usually reruns the command; expect an extra action.</p> </li> <li><p>The <code>ConversationErrorEvent</code> banner is not restored after navigating away and back (or a reload); read the error from the events API instead.</p> </li> <li><p>After <code>restart</code>, reconnection takes about 20 s without a click; click <code>error-message-banner-retry</code> to reconnect at once. The error banner does not come back after a page reload once the stack is healthy.</p> </li> <li><p>"Sending..." lasts about 100 to 650 ms on a local stack, too short to hover and click <code>chat-message-stop</code>; that stop path is not driven here. The <code>F06.pending-messages</code> failure path needs <code>service stop agent-server</code>.</p> </li> <li><p><code>browser clock</code> installs a fake clock that stays with the page across reloads and client-side navigation. Install it before the <code>goto</code> whose page should see it, and put it back with <code>browser clock --offset-ms 0</code> plus <code>browser reload</code>; compare <code>browser eval "new Date().toISOString()"</code> with <code>date -u</code> when in doubt.</p> </li> <li><p>The pending-message queue lives in page memory, so a failed bubble survives sidebar navigation and a backend <code>restart</code> but not a <code>browser reload</code> or <code>browser goto</code> of the conversation (<code>src/stores/optimistic-user-message-store.ts</code>). Leave and return through the sidebar when proving <code>F06.failed-send-persists</code>. The sidebar card's title is the first message or model-written: click its link by id, <code>'a[href*="/conversations/<id>"] >> nth=0'</code>.</p> </li> <li><p>Both the pending bubble and the echoed message carry <code>testid=user-message</code>, so <code>count 'testid=user-message >> has-text=...'</code> is one too high while a failed bubble is still shown; count attempts with <code>conversation events <id> --kinds MessageEvent</code> (user rows: <code>"source": "user"</code>) and the bubbles with <code>chat-message-retry</code>.</p> </li> <li><p>Local <code>Stop</code> calls the Agent Server's interrupt (Cloud pauses the sandbox instead, see <code>pauseConversation</code>): a command already running in the terminal is cut off, recorded as <code>AgentErrorEvent</code> + <code>InterruptEvent</code>, and after Play the model only reports the interruption.</p> </li> <li><p>The no-LLM banner reuses the home banner's test ids (<code>home-llm-not-configured-banner</code>). It exists only in a run where no LLM was ever configured: use a separate <code>launch --new</code>, never remove the profile from the shared run.</p> </li> <li><p>Read the clipboard with <code>control-openhands browser clipboard</code>, never <code>browser eval "navigator.clipboard.readText()"</code>. An agent bubble that contains a code block holds two <code>copy-to-clipboard</code> buttons (the code block's is hidden until hovered): scope the bubble's with <code>>> nth=0</code>.</p> </li> <li><p>Plan-mode previews (<code>plan-preview-*</code>) and the BTW side messages render in this stream but are reached from the composer's mode controls; they are not mapped here.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/OpenHands/issues/18117">#18117</a> (<code>F06.thinking</code>): Inline thinking leaks into the agent chat bubble. Live prerequisite: A live model that emits a leading inline think block on a tool-call turn, plus its finalized ActionEvent.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/OpenHands/issues/17559">#17559</a> (<code>F06.load-older-history</code>): History pagination can show both an action and its observation (ready-for-dev companion to #16947). Live prerequisite: A real persisted history page boundary splitting an action/observation or ACP started/completed pair; dummy-key errors do not produce these tool pairs.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/OpenHands/issues/17492">#17492</a> (<code>F06.tool-visualizers</code>): Failed browser, glob, grep, and file editor tool calls render as successful in chat. Live prerequisite: A working model emitting failed browser, glob, grep, planning-editor and file-editor observations with is_error=true.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/OpenHands/issues/17490">#17490</a> (<code>F06.tool-visualizers</code>): Terminal commands that fail with an ordinary non-zero exit render as successful in chat. Live prerequisite: A working model producing a completed terminal command with nonzero exit_code and is_error=false.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/OpenHands/issues/17161">#17161</a> (<code>F06.markdown-rendering</code>): markdown sanitizer lets untrusted content set rel="opener" and any target on links. Live prerequisite: A real reasoning, activated-skill, tool-description or error-detail body rendered without includeStandard. The attempted skills dialog exposed public skills only and did not reach the affected chat renderer.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/OpenHands/issues/17026">#17026</a> (<code>F06.thinking</code>): agent-canvas: final-reply thinking block missing for text-only turns (reasoning_content not read for MessageEvents). Live prerequisite: A reasoning-capable live model emitting nonempty MessageEvent.llm_message.reasoning_content on a text-only turn, followed by reload.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/OpenHands/issues/16842">#16842</a> (<code>F06.reconnect</code>): A late close from a replaced WebSocket marks the active connection disconnected. Live prerequisite: A transport fixture delaying an old socket close until its replacement is open; ordinary server restart cannot select that ordering.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/OpenHands/issues/16719">#16719</a> (<code>F06.live-activity</code>): Agent status always says "thinking" even when nothing is happening. Live prerequisite: The event/status trace and deterministic stalled or errored state from the original report; its trigger is unspecified.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/OpenHands/issues/16686">#16686</a> (<code>F06.error-events</code>): LLM errors not propagated to the frontend. Live prerequisite: A Nebius credential and its rejected DeepSeek-V3 request, or the original complete emitted error fixture.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/OpenHands/issues/16582">#16582</a> (<code>F06.stop-resume</code>): After reconnect, a maximum-iteration error can fail to pause the agent through the legacy event handler. Live prerequisite: A maximum-iteration legacy error delivered after socket replacement, with a real model run reaching that limit.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/OpenHands/issues/16455">#16455</a> (<code>F06.events-match</code>): Duplicate messages from the agent in 1.12.0. Live prerequisite: The original duplicated event/stream trace or deterministic prompt and timing; the report provides no reproducible trigger.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/OpenHands/issues/16341">#16341</a> (<code>F06.tool-visualizers</code>): Code-explorer subagent frequently errors. Live prerequisite: A working model with native code-explorer delegation and the original repository task; no delegated-tool output can be generated without credentials.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/OpenHands/issues/15626">#15626</a> (<code>F06.error-events</code>): Conversation can fail with LiteLLM auth error when database server at 127.0.0.1:5432 is unreachable. Live prerequisite: The original LiteLLM proxy/database-failure event or a disposable proxy with its PostgreSQL dependency unavailable.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/OpenHands/issues/15606">#15606</a> (<code>F06.reload-mid-run</code>): When re-loading ACP conversations, messages disappear or move. Live prerequisite: An authenticated Codex ACP session emitting intermediate messages while another window reloads history.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/OpenHands/issues/15527">#15527</a> (<code>F06.reconnect</code>): Canvas briefly shows "disconnected" when coming back to an idle tab. Live prerequisite: The original custom-domain deployment, idle duration and tab-suspension/network transition; those details are missing.</p> </li> <li><p>Known failure <a href="https://github.com/OpenHands/software-agent-sdk/issues/5635">OpenHands/software-agent-sdk#5635</a> (<code>F06.reconnect</code>), reproduced 2026-10-12 at <code>fa1f724ab573</code> with SDK 1.54.0 and Chromium 153.0.8010.12: sandbox pause returned 204 but an already communicating session socket remained open for more than 10 seconds. A new Canvas tab received a subsequent <code>run:false</code> marker while the original tab did not. DELETE returned 200 and GET returned 404, yet both held sockets remained open for more than 10 seconds; Canvas later redirected by metadata polling. Recipe: open an idle dummy-profile conversation and confirm its marker/socket; POST <code>/api/conversations/prepare-for-sandbox-pause</code>, retain the original tab for 10 seconds, open a second tab, POST a new unique user event with <code>run:false</code>, then compare the two transcripts. DELETE the owned conversation and read lifecycle metadata for another 10 seconds. Use <code>--run <run></code> and <code>browser events --kinds websocket-created,websocket-open,websocket-close --last 100</code>; no frame bodies or auth data are recorded. Evidence: <code>backfill-18309-surface-rechecks/F06.reconnect/pause-delete-sockets-5635.json</code>, <code>pause-new-tab-5635.png</code>, <code>pause-stale-tab-5635.png</code>. The expected socket shutdown/reconnect remains unchanged; polling recovery must not be mistaken for socket closure.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/5465">OpenHands/software-agent-sdk#5465</a> (<code>F06.branch-from-here</code>): Branch from here can lose encrypted LLM credentials, so the fork fails its first turn with LLMAuthenticationError. Live prerequisite: A working cipher-backed model conversation, then fork and a successful turn on the fork.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/5447">OpenHands/software-agent-sdk#5447</a> (<code>F06.error-events</code>): An Anthropic Claude Opus 5.5 conversation can fail with 400 when its next request ends in an assistant prefill. Live prerequisite: Anthropic Claude Opus 5.5 credentials and a real trailing-assistant-prefill request.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/5354">OpenHands/software-agent-sdk#5354</a> (<code>F06.event-groups</code>): A mixed valid/invalid tool batch can be split into separate assistant messages, breaking call/result pairing on the next provider request. Live prerequisite: A live model turn mixing valid, invalid and valid tool calls in one response.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/5225">OpenHands/software-agent-sdk#5225</a> (<code>F06.error-events</code>): A provider-rejected image tool result can leave the conversation permanently failing on every resume. Live prerequisite: A real provider-rejected poisoned image tool_result in a disposable persisted history, followed by retry.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/5108">OpenHands/software-agent-sdk#5108</a> (<code>F06.tool-visualizers</code>): The native SDK Gemini editor can report success while corrupting unrelated invalid-UTF8 bytes in the file. Live prerequisite: An Agent Server configured with the native Gemini edit tool set and a real tool edit of an invalid-UTF8 fixture; Gemini ACP uses a different external executor.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/5096">OpenHands/software-agent-sdk#5096</a> (<code>F06.tool-visualizers</code>): The canonical agent file editor can replace a symlink instead of editing its target; Undo does not restore the link. Live prerequisite: A working model invoking canonical file-editor str_replace/insert through a real symlink, then undo.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/5092">OpenHands/software-agent-sdk#5092</a> (<code>F06.confirmation-mode</code>): A revocation message sent while waiting for confirmation can implicitly approve the pending action. Live prerequisite: A working model proposing a real confirmation-gated marker action, then a revocation user message.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/5074">OpenHands/software-agent-sdk#5074</a> (<code>F06.tool-visualizers</code>): After server restart a native delegated child can remain Running while the parent loses its task mapping/result. Live prerequisite: A native delegated child still running during an owned server crash and parent recovery.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/5038">OpenHands/software-agent-sdk#5038</a> (<code>F06.tool-visualizers</code>): The agent file editor can refuse valid Chinese UTF8 text as binary when its sample splits a character; Canvas Files uses a separate preview detector. Live prerequisite: A live canonical file-editor view/edit on the specific UTF8 sample alignment; Canvas Files preview uses a separate NUL sniff, not this validator.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/4990">OpenHands/software-agent-sdk#4990</a> (<code>F06.stop-resume</code>): An ACP turn can keep executing tool calls while the UI already reports Paused. Live prerequisite: An authenticated Claude Code ACP turn executing separate marker-writing tools while Pause is pressed.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/4983">OpenHands/software-agent-sdk#4983</a> (<code>F06.tool-visualizers</code>): Agent grep can silently miss extended-regex matches when its runtime falls back to system grep. Live prerequisite: A runtime without ripgrep and a live agent grep call using extended regex and escaped literal punctuation.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/4965">OpenHands/software-agent-sdk#4965</a> (<code>F06.error-events</code>): A strict OpenAI-compatible provider can reject blank content in the saved history, preventing later turns. Live prerequisite: A strict OpenAI-compatible provider and a real history containing blank text or empty content arrays.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/4777">OpenHands/software-agent-sdk#4777</a> (<code>F06.stop-resume</code>): Stop can still start a queued tool after it finishes waiting on a resource lock. Live prerequisite: A live batch with a second real tool waiting on a declared-resource lock when Stop is pressed.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/4668">OpenHands/software-agent-sdk#4668</a> (<code>F06.tool-visualizers</code>): A planning editor card can lose old/new content and fail to show the complete edit diff. Live prerequisite: A live planner create/edit yielding PlanningFileEditorObservation with old/new contents for the chat diff.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/4663">OpenHands/software-agent-sdk#4663</a> (<code>F06.tool-visualizers</code>): Parallel Python-fallback glob calls can change process cwd and return files from the wrong workspace. Live prerequisite: Concurrent real glob/tool calls in distinct workspaces with the Python fallback active.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/4661">OpenHands/software-agent-sdk#4661</a> (<code>F06.tool-visualizers</code>): Same-name project subagents can resolve to another conversation workspace definition. Live prerequisite: Two native task-enabled conversations with same-name project subagent definitions and a working model for delegation.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/4583">OpenHands/software-agent-sdk#4583</a> (<code>F06.tool-visualizers</code>): An agent editor insertion at EOF can join onto the last line when the file has no trailing newline. Live prerequisite: A working model invoking file-editor insert at EOF on a file with no trailing newline.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/4558">OpenHands/software-agent-sdk#4558</a> (<code>F06.error-events</code>): A saved encrypted fallback profile can send ciphertext as its key and fail authentication, leaving only the primary error visible. Live prerequisite: A working encrypted saved fallback profile and real primary-model failure that triggers fallback resolution.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/4540">OpenHands/software-agent-sdk#4540</a> (<code>F06.tool-visualizers</code>): Synthetic GLM/Kimi tool calls can render as raw tool_call syntax instead of executing. Live prerequisite: Synthetic provider credentials and a GLM/Kimi turn emitting the raw tool_call wrapper.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/4532">OpenHands/software-agent-sdk#4532</a> (<code>F06.confirmation-mode</code>): After restarting while awaiting confirmation, approval can execute the tool but the next model request omits its assistant call. Live prerequisite: A real confirmation-paused action persisted across backend restart, then approval and a working provider call.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/4077">OpenHands/software-agent-sdk#4077</a> (<code>F06.reload-mid-run</code>): Retried or late streaming deltas can duplicate live text; a stalled subscriber can delay Stop and finalization. Live prerequisite: A working stream interrupted/retried or delivered to a controlled stalled subscriber, with delta/state-order capture.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/OpenHands/issues/16947">#16947</a> (<code>F06.load-older-history</code>): Loading older history can leave both the action and its newer observation visible because UI projection depends on arrival order. Live prerequisite: A real long conversation whose REST boundary splits an action/observation pair; keep companion #17559 linked separately.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/OpenHands/issues/18445">#18445</a> (<code>F06.load-older-history</code>, <code>F06.reconnect</code>): a failed initial Cloud history search can be swallowed into an empty page while the runtime count succeeds, advancing <code>after_seq</code> past history that was never displayed. Live prerequisite: a Cloud account and owned conversation with a genuinely failing App API <code>events/search</code> and a successful runtime <code>events/count</code>. The Local failure path throws instead and is not an equivalent check.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/5969">OpenHands/software-agent-sdk#5969</a> (<code>F06.stop-resume</code>): a conversation can report finished but reject Play with already-running, or delay a follow-up, while a slow event webhook is still pending. Live prerequisite: a genuinely successful model run on an owned backend with a bounded slow webhook receiver, then Play or send during that completion window.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/5740">OpenHands/software-agent-sdk#5740</a> (<code>F06.error-events</code>): a Responses display delta without <code>item_id</code> can terminate the turn with an AttributeError. Live prerequisite: the genuine provider/transformer streaming path producing that incomplete event; the report did not retain its original raw SSE. A credential-free parser diagnostic proves the SDK exception, not a Canvas model turn.</p> </li> <li><p>Known issue <a href="https://github.com/OpenHands/software-agent-sdk/issues/5806">OpenHands/software-agent-sdk#5806</a> (<code>F06.branch-from-here</code>): editing a displayed user message first reads its parent event; if that event has become unreadable/missing on the server, the action can fail with 500 instead of a missing-event response. Live prerequisite: an owned persisted conversation with a still-displayed user message whose event storage is missing, followed by the actual Edit action. A random unknown-ID API call proves neither this UI path nor the batch-get contract, which Canvas does not call.</p> </li> <li><p>Session reconnects use the latest received <code>after_seq</code> cursor (<code>F06.reconnect</code>). For a local metadata check, retain the open page, send genuine <code>run:false</code> user events, record <code>/events/count</code>, restart the owned backend and inspect finite WebSocket lifecycle metadata: the reconnect cursor is the previous count minus one and a subsequent recovery marker appears once. This does not measure frame-body replay or Cloud behavior.</p> </li> <li><p>Stop persists <code>paused</code> before an in-flight model request completes (<code>F06.stop-resume</code>); the persisted state and reloaded Stopped UI survive an Agent Server restart. A bounded credential-free check can use the tracked accept-only endpoint and an exact listener PID proven to descend from the owned launcher; never kill by pattern or resume the paused conversation.</p> </li> <li><p>Known failure <a href="https://github.com/OpenHands/software-agent-sdk/issues/4554">software-agent-sdk#4554</a> (<code>F06.critic-result</code>; reproduced 2026-10-17 with SDK 1.55.1): a genuine tracked README change through TerminalAction followed by Finish produces <code>AgentFinishedCritic</code> score zero. Expected behavior remains score one for a nonempty Git patch plus Finish; the installed <code>agent/critic_mixin.py</code> passes <code>git_patch=None</code>, preventing that condition from succeeding. The issue is closed, but its fix <a href="https://github.com/OpenHands/software-agent-sdk/pull/4585">PR #4585</a> remains open/unmerged at this audit; do not retire the failure based on issue status. Separate genuine built-in <code>PassCritic</code> score-one events proved success text/stars rendering across five themes (and desktop/phone screenshots); this constant-score diagnostic neither classifies quality nor proves #4554 fixed. Rich intermediate/category probabilities and the settings-enabled Cloud path still require their genuine producer/authorized credentials. Retained live receipts: <code>weekly-intent-ui/evidence/intent-review/critic-source-identity.json</code>, <code>critic-positive-events.json</code>, <code>critic-git-diff.txt</code>, <code>passcritic-events.json</code>, <code>passcritic-success-colors.json</code> and <code>critic-hint-colors.json</code>; screenshots are under that run's <code>evidence/F06.critic-result/</code>. Never retain or publish credential-bearing request payloads.</p> </li> </ul>