π OpenHands: AI-Driven Development
feat(verify-openhands): drive the mock-LLM e2e behaviors on DeepSeek and map the gaps (#18191)
Engel Nyst76398bb5c5b9
diff --git a/.agents/skills/verify-openhands/SKILL.md b/.agents/skills/verify-openhands/SKILL.mdindex 5dc2aa0cf9..f749fd0f6b 100644--- a/.agents/skills/verify-openhands/SKILL.md+++ b/.agents/skills/verify-openhands/SKILL.md@@ -152,7 +152,20 @@ conversations when their recipe is done.Use `deepseek-flash` for everything that needs a model; switch to `deepseek-pro`only for checks that need a second profile or a stronger model. Keep prompts-small and confined to the run workspace. Without a key, run every credential-free+small and confined to the run workspace.++The local stack is not a sandbox. The agent's terminal runs as your user, and+its environment includes the run's own keys. A prompt that leaves the model+without a clear task can send it exploring outside the workspace, and what it+reads goes to the model provider. That covers an image with no text, a bare+trigger word whose skill is not loaded, and an open-ended setup command. On+2026-10-08, deepseek-flash read the run directory, the checkout, other+sessions' files under `/tmp` and `env` in such cases. So add `Do not run any+tools` (or name the exact command) to every prompt whose check does not need+more. Watch `conversation events <id> --kinds ActionEvent` while a run that+needs tools is open, and run `conversation pause <id>` as soon as it leaves the+workspace. Do not launch the stack as a user whose files hold credentials you+cannot let a model read. Without a key, run every credential-freerecipe and record model-dependent ones as `blocked` with the missingprerequisite; never substitute a mock and call it a pass.diff --git a/.agents/skills/verify-openhands/references/feature-map/F01-first-run-and-sign-in.md b/.agents/skills/verify-openhands/references/feature-map/F01-first-run-and-sign-in.mdindex 998d2c4091..e282e83c2f 100644--- a/.agents/skills/verify-openhands/references/feature-map/F01-first-run-and-sign-in.md+++ b/.agents/skills/verify-openhands/references/feature-map/F01-first-run-and-sign-in.md@@ -20,6 +20,7 @@ Source: `src/root.tsx`, `src/components/features/onboarding/`, `src/components/f- `F01.onboarding-backend-step`: when no reachable backend exists (public mode), step 0 "Add a backend" prefills the name `Local` and the page origin as host. Next stays disabled until an API key is typed. A wrong key shows "Could not connect to <host>" / "Invalid API key" inline. The right key saves the backend, and the flow collapses to 3 steps on "Choose your agent" with no Back button. The first paint must not raise an error toast.- `F01.onboarding-choose-agent`: radio tiles for OpenHands (preselected), Claude Code, Codex and Gemini CLI. Next saves the agent kind with a "Settings saved" toast.- `F01.onboarding-setup-llm`: the embedded LLM form is prefilled with `openai/gpt-5.6-sol`. Typing a custom model and key then Next saves them. On a local backend it also creates and activates an LLM profile named after the model (`deepseek/deepseek-flash` β `deepseek-flash`).+- `F01.onboarding-repeat-endpoint`: onboarding again (a new browser, the same backend) with the custom Base URL and key that are already saved creates a profile that keeps that Base URL, and the say-hello conversation reaches that endpoint. The All view prefills the saved Base URL.- `F01.onboarding-acp-secrets`: choosing an ACP agent swaps the LLM step for "Add your API keys" with that provider's fields. When the host CLI is already logged in, a green "already signed in" banner makes them optional. Back returns to the agent step.- `F01.onboarding-say-hello`: the last step has a prefilled message. An empty message disables send. Enter or the send button creates a conversation, navigates to `/conversations/<id>` and completes onboarding, and the agent replies. A recommended-automations list sits under an "Or" separator, and a "Skip Getting Started checklist" box sits below the modal.- `F01.onboarding-hello-close`: the last step has Back and Close instead of "Skip for now". Close dismisses the modal without creating a conversation, sets the `openhands-onboarded` flag and leaves the app shell on `/`.@@ -68,6 +69,7 @@ Local run (`launch --new`):- **Skip checklist box (`F01.onboarding-skip-checklist`).** Run `control-openhands browser goto /conversations` and `control-openhands browser count 'testid=sidebar-onboarding-checklist'` (`1`). Run `control-openhands browser goto '/?previewOnboardingStep=3'`, then `control-openhands browser click 'text=Skip Getting Started checklist'`. `control-openhands browser eval "document.querySelector('[data-testid=onboarding-skip-getting-started-checklist]').checked"` is `true`. Run `control-openhands browser goto /conversations` and `control-openhands browser reload`; the checklist count is `0`. On `/settings/app`, `control-openhands browser eval "document.querySelector('[data-testid=show-getting-started-checklist-switch]').checked"` is `false`. Restore it: go back to `/?previewOnboardingStep=3`, where the box now reads `true`, click the same text again, and the checklist count on `/conversations` is `1`.- **Phone (`F01.onboarding-phone`).** Run `control-openhands browser viewport phone`. Then for N in 1, 2 and 3 run `control-openhands browser goto '/?previewOnboardingStep=N'`, `control-openhands browser bbox 'testid=onboarding-modal'` and `control-openhands browser screenshot --feature F01.onboarding-phone --name step-N`. The modal is 351 px wide with `insideViewport` `true` and `pageHorizontalOverflow` `false`, and Back/Next or Back/Close are visible. Return with `control-openhands browser viewport desktop`.- **Error page (`F01.route-error-boundary`).** Run `control-openhands browser errors --clear`, `control-openhands browser goto /this-route-does-not-exist` and `control-openhands browser snapshot 'testid=not-found-screen'`. It shows `heading "Page not found"`, the paragraph `This address does not match any page. Check the URL, or go back to the home page.` and `link "Home"` (`/url: /`). `control-openhands browser count 'aside[data-collapsed]'` is `1`: the sidebar stays. `control-openhands browser screenshot --feature F01.route-error-boundary --name not-found` shows the message and the Home button centered beside the sidebar. `control-openhands browser errors --app-only` reports `pageErrors` `0` and `appErrors` `0`. Run `control-openhands browser click 'testid=not-found-home-link' --expect-url '/$'`; `control-openhands browser count 'testid=home-screen'` is `1`.+- **Onboarding again with the saved endpoint (`F01.onboarding-repeat-endpoint`).** Two more first runs on this stack, both through the All view, which shows the Base URL field. Pass 1 saves a custom endpoint: `control-openhands browser reset`, `control-openhands browser goto /`, `control-openhands browser click 'testid=onboarding-agent-next'`, `control-openhands browser wait '[data-testid=onboarding-modal][data-current-step="1"]'`, `control-openhands browser click 'testid=onboarding-step-setup-llm >> testid=sdk-section-all-toggle'` and `control-openhands browser value 'testid=onboarding-step-setup-llm >> testid=base-url-input'` (empty). Run `control-openhands browser fill 'testid=onboarding-step-setup-llm >> testid=llm-custom-model-input' openai/deepseek-chat`, `control-openhands browser fill 'testid=onboarding-step-setup-llm >> testid=base-url-input' https://api.deepseek.com/v1`, `control-openhands browser fill 'testid=onboarding-step-setup-llm >> testid=llm-api-key-input' --value-env DEEPSEEK_API_KEY`, `control-openhands browser click 'testid=onboarding-llm-next'` and `control-openhands browser wait '[data-testid=onboarding-modal][data-current-step="2"]'`. `control-openhands llm show` lists `deepseek-chat` (`openai/deepseek-chat`, `base_url` `https://api.deepseek.com/v1`) as `active_profile`. Say hello as above (`browser fill 'testid=onboarding-hello-input' 'Reply with only the word hello. Do not run any tools.'`, `browser press Enter --selector 'testid=onboarding-hello-input'`, `browser wait-url '/conversations/[0-9a-f-]+'`), then `control-openhands conversation wait <id> --timeout 180` is `finished` and the agent `MessageEvent` is `hello`. Pass 2 types the same endpoint again: repeat the steps up to the All view. `browser value 'testid=onboarding-step-setup-llm >> testid=base-url-input'` is now `https://api.deepseek.com/v1`, the saved value. Fill the model `openai/deepseek-v4-flash` (a DeepSeek alias, so the new profile gets its own name), the same Base URL and the key, then Next and wait for step 2 (`control-openhands browser screenshot 'testid=onboarding-step-setup-llm' --feature F01.onboarding-repeat-endpoint --name second-pass-form` before Next). Expected: `control-openhands llm show` lists `deepseek-v4-flash` with `base_url` `https://api.deepseek.com/v1`, and the say-hello conversation finishes with `hello`. Known failure (reproduced 2026-10-08 at `53c8b4d`): the profile is saved with `base_url` `null`. The say-hello conversation then ends in `error`, and `control-openhands conversation events <id> --last 10` shows `ConversationErrorEvent` `LLMAuthenticationError: litellm.AuthenticationError: ... OpenAIException - Incorrect API key provided`: the DeepSeek key went to OpenAI. The chat shows `Your LLM API key appears to be invalid or has expired.` (`browser screenshot --feature F01.onboarding-repeat-endpoint --name second-pass-error`). Issue #17884, fix in #17889. Restore: run `control-openhands llm preset deepseek`, then point the `default` agent profile back at it. Run `control-openhands browser goto /settings/agents`, `control-openhands browser click 'testid=agent-profile-row >> has-text=default >> testid=agent-profile-menu-trigger'` and `control-openhands browser click 'testid=agent-profile-actions-menu >> text=Edit'`. Then run `control-openhands browser choose 'testid=agent-profile-llm-selector' 'deepseek-flash (deepseek/deepseek-flash)'` and `control-openhands browser click 'testid=save-agent-profile-btn'`; the toast reads `Profile "default" updated`. Only then do `control-openhands api DELETE /api/profiles/deepseek-v4-flash --write` and `.../deepseek-chat --write` answer `200`. Delete the two say-hello conversations with Clean up's steps.- **Clean up.** Delete the hello conversation from its header menu: `control-openhands browser goto /conversations/<id>` (the hello conversation's `<id>` from Say hello; the Error page bullet left `/`), `control-openhands browser click 'testid=chat-pane-header >> testid=ellipsis-button'`, `control-openhands browser click 'testid=conversation-name-context-menu >> testid=delete-button'`, `control-openhands browser click 'role=button[name="Confirm Delete"]'`. `control-openhands conversation list` then shows `count` `0`.Public run A (`launch --new --public`), backend step walked:@@ -100,6 +102,8 @@ Not reachable locally:- Slide indices renumber. After the public backend step succeeds, "Choose your agent" becomes index `0` and has no Back. `previewOnboardingStep` counts phases with the backend step included, so `0` and `1` look identical on a healthy backend.- The consent modal (z-70) sits over the onboarding modal, and clicks at the screen center land on agent tiles once it closes. A forced click on `first-run-onboarding-screen` selected Codex. Check backdrop non-dismissal with `browser mouse-click 40 40`, a corner outside the modal.- The say-hello default message ("Create a basic webpageβ¦") makes the agent work for a while. Replace it with a tiny prompt to keep model cost down.+- On a local backend, Next on the LLM step also points the `default` agent profile at the profile it just created. Running `llm preset deepseek` later does not move that pointer back. Deleting the onboarding profile then answers `409` `LLM profile is referenced by 1 agent profile(s): default`. Re-point it first in Settings β Agents (the Restore steps of `F01.onboarding-repeat-endpoint`).+- The LLM step saves only the fields that differ from the saved settings, and the profile it creates is built from that same diff. That is the cause of the `F01.onboarding-repeat-endpoint` failure (#17884, fix in #17889). It is also why the mock-LLM onboarding e2e failed after earlier specs had saved the mock endpoint. The first pass of that bullet passes on a run whose saved Base URL is still empty.- The tab title prefixes a status emoji to the stored title. A generated title that already starts with an emoji therefore shows twice (`β β Reply hello without tools | OpenHands`). Right after launch the title is `Conversation <id prefix>` until a reload picks up the generated one.- Right after Next, the ACP step reads "Checking for an existing Claude Code loginβ¦" with Next disabled. Wait for `testid=onboarding-acp-auth-detected` before reading the banner. The "already signed in" banner depends on the host's CLI login. On a clean CI machine the fields become required, and Next is blocked until they are filled.- Choosing an ACP agent saves `agent_kind: acp` immediately. Re-choose OpenHands before leaving, or later conversations in the run use the ACP agent.diff --git a/.agents/skills/verify-openhands/references/feature-map/F04-conversation-list.md b/.agents/skills/verify-openhands/references/feature-map/F04-conversation-list.mdindex fc4a64a39c..5aa11d81ad 100644--- a/.agents/skills/verify-openhands/references/feature-map/F04-conversation-list.md+++ b/.agents/skills/verify-openhands/references/feature-map/F04-conversation-list.md@@ -79,7 +79,7 @@ Preconditions:- **Empty list (`F04.empty-state`).** On a run with no conversations, run `control-openhands browser text 'testid=conversation-panel-empty-state'`. The text is `No conversations found`.- **View menu (`F04.view-menu`).** Run `control-openhands browser click 'testid=conversation-layouts-toggle'` and `control-openhands browser snapshot 'testid=conversation-layouts-menu'`: radios `By workspace`, `Recent` (`[checked]`), `Active`, `Compact`, items `Filter by tags`, `More options` and `Delete all` (`control-openhands browser attr 'testid=layout-preset-recent-activity' aria-checked` is `true`). With no conversations `control-openhands browser enabled 'testid=delete-all-conversations'` is `false`; after `control-openhands browser click 'testid=tag-filters-section'`, `control-openhands browser text 'testid=tag-filters-empty'` is `No tags yet`. `control-openhands browser press Escape` closes the menu (`browser count 'testid=conversation-layouts-menu'` is `0`).- **Start in a workspace (`F04.new-thread-picker`).** Run `control-openhands browser goto /`, `control-openhands browser click 'testid=conversation-panel-new-thread-picker'` and `control-openhands browser snapshot 'testid=conversation-panel-new-thread-popover'`: buttons `No workspace`, `qa-f04-folder`, `qa-f04-repo`, `+ Add Workspace`, `Manage Workspaces`. Then `control-openhands browser click 'testid=conversation-panel-new-thread-popover >> testid=launch-workspace >> has-text=qa-f04-repo' --expect-url '/conversations/'` returns `/conversations/<id>`, and `control-openhands conversation list` shows that id with `workspace` ending in `/workspace/qa-f04-repo`. From `/` again, `testid=launch-no-workspace` opens a new conversation whose row sits in the No workspace folder. `control-openhands browser click 'testid=manage-workspaces-button'` opens `testid=manage-workspaces-modal` (F03); Escape closes it.-- **Row opens its conversation (`F04.card`).** From `/` (`control-openhands browser goto /`; the previous bullet's launch left a conversation page, where `--expect-url '/conversations/'` would pass at once) run `control-openhands browser click 'testid=conversation-card >> has-text=pong' --expect-url '/conversations/'`, then `control-openhands browser attr 'testid=conversation-card >> has-text=pong' data-active` (`true`; other rows `false`). `control-openhands browser eval "document.querySelector('[data-testid=conversation-card][data-active=true]').closest('a').getAttribute('href')"` is `/conversations/<id>?backend=default-local`. The finished conversation shows `testid=conversation-status-check`, idle ones `conversation-status-active` (green), paused ones `conversation-status-paused` (grey).+- **Row opens its conversation (`F04.card`).** From `/` (`control-openhands browser goto /`; the previous bullet's launch left a conversation page, where `--expect-url '/conversations/'` would pass at once) run `control-openhands browser click 'testid=conversation-card >> has-text=pong' --expect-url '/conversations/'`, then `control-openhands browser attr 'testid=conversation-card >> has-text=pong' data-active` (`true`; other rows `false`). `control-openhands browser eval "document.querySelector('[data-testid=conversation-card][data-active=true]').closest('a').getAttribute('href')"` is `/conversations/<id>?backend=default-local`. The finished conversation shows `testid=conversation-status-check`, idle ones `conversation-status-active` (green), paused ones `conversation-status-paused` (grey). The reopened chat has its transcript back: `control-openhands browser wait 'testid=agent-message'`, then `control-openhands browser text 'testid=agent-message >> nth=-1'` is `pong` and `control-openhands browser text 'testid=user-message >> nth=-1'` is the prompt, with `control-openhands browser count 'testid=error-message-banner'` `0` (`browser screenshot --feature F04.card --name reopened`).- **Live status (`F04.card-live-status`).** Run `control-openhands conversation start --prompt "Reply with only the word ping. Do not run any tools."` (no `--wait`; one tiny model call), then `control-openhands browser wait 'testid=conversation-panel >> testid=conversation-status-working' --timeout 20000`: the active row (`Conversation <id5>`) shows the working indicator. After `control-openhands conversation wait <id> --timeout 180` reports `finished`, `control-openhands browser wait 'testid=conversation-panel >> [data-testid=conversation-card][data-active=true] >> testid=conversation-status-check' --timeout 60000` succeeds and `control-openhands browser text 'testid=conversation-panel >> [data-testid=conversation-card][data-active=true] >> testid=conversation-card-title'` is the generated title (it varies: `β Reply with only ping`, `β Reply only ping, no tools`). The row lags the conversation by up to about 40 s (list refresh).- **Group by workspace (`F04.grouped-folders`).** Run `control-openhands browser click 'testid=conversation-layouts-toggle'`, `control-openhands browser click 'testid=layout-preset-by-workspace'`, then `control-openhands browser snapshot 'testid=conversation-panel'`. Regions `No workspace`, `qa-f04-repo` and `qa-f04-folder` each list their own conversations; a workspace without conversations still gets a folder. Second view in another browser: `control-openhands browser reset`, `control-openhands onboard --skip`, choose By workspace again; the workspace conversations must still be in their folders (currently they all fall into No workspace, a known failure).- **Collapse one folder (`F04.folder-collapse`).** Run `control-openhands browser click '[data-testid^="thread-folder-drag-ws-"][data-testid$="qa-f04-repo"]'`, `control-openhands browser attr '[data-testid^="thread-folder-drag-ws-"][data-testid$="qa-f04-repo"]' aria-expanded` (`false`) and `control-openhands browser count '[data-testid^="thread-folder-ws-"][data-testid$="qa-f04-repo"] >> testid=conversation-card'` (`0`). Click again: `true` and the cards return.diff --git a/.agents/skills/verify-openhands/references/feature-map/F05-composer.md b/.agents/skills/verify-openhands/references/feature-map/F05-composer.mdindex 0231e6f259..5990a5efe2 100644--- a/.agents/skills/verify-openhands/references/feature-map/F05-composer.md+++ b/.agents/skills/verify-openhands/references/feature-map/F05-composer.md@@ -66,11 +66,11 @@ Preconditions:- **Agent profile before start (`F05.agent-profile-switch`).** Run `control-openhands browser goto /`, `control-openhands browser click 'testid=chat-plus-button'`, `control-openhands browser hover 'testid=switch-agent-profile-button'` and `control-openhands browser text 'testid=agent-profile-submenu'`: `AVAILABLE PROFILES`, `default` (checked; `chat-input-agent-profile-option-default`), `Manage agent profiles`. `control-openhands browser click 'testid=agent-profile-submenu >> text=Manage agent profiles' --expect-url 'settings/agents'` lands on `/settings/agents`. In a started conversation (`control-openhands browser goto /conversations/<id>`) `control-openhands browser click 'testid=chat-plus-button'` then `control-openhands browser count 'testid=switch-agent-profile-button'` is `0`.- **Attach a file and an image (`F05.attach-files`).** On `/conversations/<id>` run `control-openhands browser upload 'testid=upload-image-input' "$OH_VERIFY_RUN/evidence/_fixtures/qa-image.png" "$OH_VERIFY_RUN/evidence/_fixtures/qa-note.txt"` and `control-openhands browser screenshot 'testid=interactive-chat-box' --feature F05.attach-files --name attached`: a `qa-note.txt TXT` chip and a thumbnail. `control-openhands browser count 'testid=interactive-chat-box >> alt=qa-image.png'` is `1`. `control-openhands browser click 'role=button[name="Upload as file"]'` turns the image toggle into `Do not upload as file` (`control-openhands browser attr 'role=button[name="Do not upload as file"]' aria-pressed` is `true`); click it again to restore. The remove buttons are named: `control-openhands browser snapshot 'testid=interactive-chat-box'` lists `button "Remove qa-note.txt"` and `button "Remove image"`. Remove the image with `control-openhands browser click 'testid=interactive-chat-box >> role=button[name="Remove image"]'`; the `alt=qa-image.png` count is `0`. Then `control-openhands browser type 'testid=chat-input' 'Reply with only the content of the attached file.'`, `control-openhands browser press Enter --selector 'testid=chat-input'`, wait as in Type and send, and `control-openhands browser text 'testid=user-message >> nth=-1'`: it ends `NEW FILES ADDED: qa-note.txt`. `control-openhands conversation events <id> --kinds MessageEvent --last 3` shows the reply `QA attachment 7731`, and `qa-note.txt` sits in the conversation `workspace` printed by `control-openhands conversation status <id>`.- **Size limit (`F05.attach-size-limit`).** Arrange `head -c 4194304 /dev/zero > "$OH_VERIFY_RUN/evidence/_fixtures/qa-big.bin"` (and `qa-two-a.bin`, `qa-two-b.bin` with `head -c 2097152`). Run `control-openhands browser upload 'testid=upload-image-input' "$OH_VERIFY_RUN/evidence/_fixtures/qa-big.bin"` and `control-openhands browser toasts`: `Error: Files exceeding 3MB are not allowed: qa-big.bin`. Uploading `qa-two-a.bin` and `qa-two-b.bin` together toasts `Error: Total file size would be 4.0MB, exceeding the 3MB limit. Please select fewer or smaller files.` `control-openhands browser count 'testid=interactive-chat-box >> text=qa-big.bin'` is `0`.-- **Image alone (`F05.image-only-send`).** From the home composer: `control-openhands browser goto /`, `control-openhands browser enabled 'testid=submit-button'` (`false`, empty field), `control-openhands browser click 'testid=chat-plus-button'`, `control-openhands browser upload-via 'testid=add-files-and-images-button' "$OH_VERIFY_RUN/evidence/_fixtures/qa-image.png"`, then `control-openhands browser count 'testid=home-chat-launcher >> alt=qa-image.png'` (`1`) and `control-openhands browser enabled 'testid=submit-button'`: `true` while `control-openhands browser eval "document.querySelector('[data-testid=chat-input]').innerText"` is still empty (`control-openhands browser screenshot 'testid=home-chat-launcher' --feature F05.image-only-send --name image-alone-send-enabled`). Run `control-openhands browser click 'testid=submit-button' --expect-url '/conversations/'` and read `<image-id>` from `control-openhands browser url`. After `control-openhands browser wait 'testid=user-message'` and `control-openhands browser wait 'testid=chat-message-sending' --state detached --timeout 5000` (the pending bubble carries `testid=user-message` too, so wait for its `Sending...` to go, not only for a bubble; the wait returns `"state": "detached"` at once when the indicator has already gone, the usual case on a local stack), `control-openhands browser count 'testid=user-message >> testid=image-preview'` is `1`, and `control-openhands browser count 'testid=chat-message-sending'` and `control-openhands browser count 'testid=chat-message-retry'` are `0`. Server side, `control-openhands conversation events <image-id> --kinds MessageEvent --grep 'data:image/png;base64'` matches the one user row (`count` `1`; its `text` is a blank `" "`, the row carries `images: 1`, and the excerpt shows the `"type":"image"` block with `image_urls`), and `control-openhands conversation events <image-id> --kinds MessageEvent` (default `--last`) lists the same row with `images: 1` and no excerpt. `--kinds` filters before `--last` counts, so `--kinds MessageEvent --last 1` is that same row. Whether the model is handed the picture needs a key (blocked here: DEEPSEEK_API_KEY): with one, send the image together with `Which two colours are the bars in this image? Answer with the colour names only.` and expect `orange` and `blue` in the reply (`fixture image` draws those bars). Return with `control-openhands browser goto /conversations/<id>`.+- **Image alone (`F05.image-only-send`).** From the home composer: `control-openhands browser goto /`, `control-openhands browser enabled 'testid=submit-button'` (`false`, empty field), `control-openhands browser click 'testid=chat-plus-button'`, `control-openhands browser upload-via 'testid=add-files-and-images-button' "$OH_VERIFY_RUN/evidence/_fixtures/qa-image.png"`, then `control-openhands browser count 'testid=home-chat-launcher >> alt=qa-image.png'` (`1`) and `control-openhands browser enabled 'testid=submit-button'`: `true` while `control-openhands browser eval "document.querySelector('[data-testid=chat-input]').innerText"` is still empty (`control-openhands browser screenshot 'testid=home-chat-launcher' --feature F05.image-only-send --name image-alone-send-enabled`). Run `control-openhands browser click 'testid=submit-button' --expect-url '/conversations/'` and read `<image-id>` from `control-openhands browser url`. After `control-openhands browser wait 'testid=user-message'` and `control-openhands browser wait 'testid=chat-message-sending' --state detached --timeout 5000` (the pending bubble carries `testid=user-message` too, so wait for its `Sending...` to go, not only for a bubble; the wait returns `"state": "detached"` at once when the indicator has already gone, the usual case on a local stack), `control-openhands browser count 'testid=user-message >> testid=image-preview'` is `1`, and `control-openhands browser count 'testid=chat-message-sending'` and `control-openhands browser count 'testid=chat-message-retry'` are `0`. Server side, `control-openhands conversation events <image-id> --kinds MessageEvent --grep 'data:image/png;base64'` matches the one user row (`count` `1`; its `text` is a blank `" "`, the row carries `images: 1`, and the excerpt shows the `"type":"image"` block with `image_urls`), and `control-openhands conversation events <image-id> --kinds MessageEvent` (default `--last`) lists the same row with `images: 1` and no excerpt. `--kinds` filters before `--last` counts, so `--kinds MessageEvent --last 1` is that same row. To check that the model is handed the picture, send the image from Home together with `Which two colours are the bars in this image? Answer with the colour names only. Do not run any tools.` and read `control-openhands conversation events <id> --kinds MessageEvent`. Expect `orange` and `blue` in the agent row and `--kinds ActionEvent` `count` `0` (`fixture image` draws those bars). Known failure (reproduced 2026-10-08, agent-server 1.53.0, the pinned version): on a `deepseek/*` profile the user row still carries `images: 1`, but the agent answers that no image was attached. The model gets text only. The cause is in the SDK, not Canvas: 1.53.0 string-serializes every model id containing `deepseek`, which drops image parts. OpenHands/software-agent-sdk#5460 and #5467 fixed it on 2026-10-08, after the 1.53.0 release. On a stack launched with `--sdk-path <software-agent-sdk main>` the same send answers `Blue and orange.` with no tool call. An image-only send there reaches the model too: its first reasoning describes four blue and orange stripes. On an affected stack, the image-only send leaves the model with an empty task, and deepseek-flash then explores the disk (see Gotchas). Return with `control-openhands browser goto /conversations/<id>`.- **Paste text (`F05.paste`).** Run `control-openhands browser type 'testid=chat-input' 'QA paste text'`, `control-openhands browser press Control+a`, `control-openhands browser press Control+c`, `control-openhands browser press Delete`, `control-openhands browser press Control+v`, then `control-openhands browser eval "document.querySelector('[data-testid=chat-input]').innerHTML"`: `QA paste text`, no markup. On a cleared field `control-openhands browser paste 'testid=chat-input' --file "$OH_VERIFY_RUN/evidence/_fixtures/qa-image.png"` attaches the image (`control-openhands browser count 'testid=interactive-chat-box >> alt=qa-image.png'` is `1`, with an `Upload as file` toggle) and `control-openhands browser paste 'testid=chat-input' --text 'QA pasted plain'` inserts plain text (`innerHTML` is `QA pasted plain`). `control-openhands browser drop-files 'testid=chat-input' "$OH_VERIFY_RUN/evidence/_fixtures/qa-note.txt" --stage over` makes `control-openhands browser text 'testid=interactive-chat-box'` start `Drop your files here`; the same command without `--stage` drops it: a `qa-note.txt` `TXT` chip appears. Remove the chip with `control-openhands browser click 'testid=interactive-chat-box >> role=button[name="Remove qa-note.txt"]'` and the image as in Attach; clear the field.- **Dictation failure (`F05.dictation`).** Run `control-openhands browser click 'testid=chat-dictation-button' --observe '[role=status]' --observe-ms 3000`: the observed toasts include `Dictation failed. Check microphone access and your voice input settings.` and `control-openhands browser attr 'testid=chat-dictation-button' aria-label` is back to `Start dictation`. Real dictation is blocked without a microphone.- **Switch LLM profile (`F05.llm-profile-picker`).** Run `control-openhands browser click 'testid=chat-input-llm-profile'` and `control-openhands browser text 'testid=chat-input-llm-profile-popover'`: `AVAILABLE PROFILES`, `deepseek-flash` / `deepseek/deepseek-flash`, `deepseek-pro` / `deepseek/deepseek-v4-pro`, `LLM Profiles`. Run `control-openhands browser click 'testid=chat-input-llm-profile-option-deepseek-pro'`, `control-openhands browser wait-text 'Switched to profile' --timeout 15000`, `control-openhands browser text 'testid=chat-input-llm-profile'` (`deepseek-pro`) and `control-openhands conversation status <id>` (`model` is `deepseek/deepseek-v4-pro`). Send `Reply with only: pro-ok` as in Type and send; the reply is `pro-ok`. After `control-openhands browser reload` the pill still reads `deepseek-pro`. Switch back with `control-openhands browser click 'testid=chat-input-llm-profile'` and `control-openhands browser click 'testid=chat-input-llm-profile-option-deepseek-flash'`.-- **Profile identity (`F05.profile-identity`).** Arrange two profiles on one model right before this bullet: `QA_DUMMY_KEY=qa control-openhands llm set --profile qa-alpha --model openai/gpt-4o --api-key-env QA_DUMMY_KEY --no-validate --no-activate` and `QA_DUMMY_KEY=qa control-openhands llm set --profile qa-zeta --model openai/gpt-4o --api-key-env QA_DUMMY_KEY --no-validate` (`qa-zeta` becomes the default: `control-openhands api GET /api/profiles --pick active_profile` is `qa-zeta`). Run `control-openhands conversation start --prompt "Reply with only: identity-ok"` (no `--wait`; with the dummy key the agent errors at once, which does not matter here) and note its `id` as `<zeta-id>`. `control-openhands browser wait 'testid=chat-input-llm-profile'`, then `control-openhands browser text 'testid=chat-input-llm-profile'` is `qa-zeta`, not the alphabetically first profile on that model. `control-openhands browser reload`, the wait and the text again: still `qa-zeta`. The name is stamped on the conversation in this browser: `control-openhands browser eval "JSON.parse(localStorage.getItem('openhands-agent-server-conversation-metadata'))['<zeta-id>'].active_profile"` is `qa-zeta`. Change the default in Settings: `control-openhands browser goto /settings/llm`, `control-openhands browser wait 'testid=add-llm-profile'`, `control-openhands browser click '[data-testid=profile-row]:has([title="qa-alpha"]) >> testid=profile-menu-trigger'`, `control-openhands browser click 'testid=profile-actions-menu >> testid=profile-set-active'`, `control-openhands browser wait-text 'Switched to profile "qa-alpha"'` (`control-openhands api GET /api/profiles --pick active_profile` is `qa-alpha`). The home pill follows the default: `control-openhands browser goto /`, the wait, and `control-openhands browser text 'testid=chat-input-llm-profile'` is `qa-alpha`; the started conversation keeps its own: `control-openhands browser goto /conversations/<zeta-id>`, the wait, and the text is `qa-zeta` (`control-openhands browser screenshot 'testid=interactive-chat-box' --feature F05.profile-identity --name conversation-keeps-qa-zeta`). Restore: make `deepseek-flash` the default again the same way (its row's `profile-menu-trigger`, then `profile-set-active`), then `control-openhands api DELETE /api/profiles/qa-alpha --write` and `control-openhands api DELETE /api/profiles/qa-zeta --write` (arrange, not proof) so `/model` below still counts two profiles. In a model-free run make `qa-zeta` the default instead and delete only `qa-alpha`. Return with `control-openhands browser goto /conversations/<id>`.+- **Profile identity (`F05.profile-identity`).** Arrange two profiles on one model right before this bullet: `QA_DUMMY_KEY=qa control-openhands llm set --profile qa-alpha --model openai/gpt-4o --api-key-env QA_DUMMY_KEY --no-validate --no-activate` and `QA_DUMMY_KEY=qa control-openhands llm set --profile qa-zeta --model openai/gpt-4o --api-key-env QA_DUMMY_KEY --no-validate` (`qa-zeta` becomes the default: `control-openhands api GET /api/profiles --pick active_profile` is `qa-zeta`). Run `control-openhands conversation start --prompt "Reply with only: identity-ok"` (no `--wait`; with the dummy key the agent errors at once, which does not matter here) and note its `id` as `<zeta-id>`. `control-openhands browser wait 'testid=chat-input-llm-profile'`, then `control-openhands browser text 'testid=chat-input-llm-profile'` is `qa-zeta`, not the alphabetically first profile on that model. `control-openhands browser reload`, the wait and the text again: still `qa-zeta`. With a DeepSeek key, arrange both profiles on `deepseek/deepseek-flash` with `--api-key-env DEEPSEEK_API_KEY` and without `--no-validate`, and start with `--prompt "Reply with only: identity-ok. Do not run any tools." --wait --timeout 180`. Then the reply also survives the reload: `control-openhands browser text 'testid=agent-message >> nth=-1'` is `identity-ok` before and after it (driven 2026-10-08). The `default` agent profile still names `deepseek-flash` here, so the launch runs the pill's profile through agent settings (`F13.llm-pill-precedence`). The name is stamped on the conversation in this browser: `control-openhands browser eval "JSON.parse(localStorage.getItem('openhands-agent-server-conversation-metadata'))['<zeta-id>'].active_profile"` is `qa-zeta`. Change the default in Settings: `control-openhands browser goto /settings/llm`, `control-openhands browser wait 'testid=add-llm-profile'`, `control-openhands browser click '[data-testid=profile-row]:has([title="qa-alpha"]) >> testid=profile-menu-trigger'`, `control-openhands browser click 'testid=profile-actions-menu >> testid=profile-set-active'`, `control-openhands browser wait-text 'Switched to profile "qa-alpha"'` (`control-openhands api GET /api/profiles --pick active_profile` is `qa-alpha`). The home pill follows the default: `control-openhands browser goto /`, the wait, and `control-openhands browser text 'testid=chat-input-llm-profile'` is `qa-alpha`; the started conversation keeps its own: `control-openhands browser goto /conversations/<zeta-id>`, the wait, and the text is `qa-zeta` (`control-openhands browser screenshot 'testid=interactive-chat-box' --feature F05.profile-identity --name conversation-keeps-qa-zeta`). Restore: make `deepseek-flash` the default again the same way (its row's `profile-menu-trigger`, then `profile-set-active`), then `control-openhands api DELETE /api/profiles/qa-alpha --write` and `control-openhands api DELETE /api/profiles/qa-zeta --write` (arrange, not proof) so `/model` below still counts two profiles. In a model-free run make `qa-zeta` the default instead and delete only `qa-alpha`. Return with `control-openhands browser goto /conversations/<id>`.- **Overflow menu (`F05.overflow-menu`).** Run `control-openhands browser viewport narrow` and `control-openhands browser snapshot 'testid=interactive-chat-box'`: the model pill is gone and `button "More input actions"` appears (at `phone` and `350x800` the pill stays inline). `control-openhands browser click 'role=button[name="More input actions"]' --observe '[data-testid=chat-input-overflow-menu]' --observe-ms 1000`: `observed` goes from `<absent>` to `Model` (the menu appears in the observed sequence; its delay varies from run to run, so do not assert a time) and has no later `<absent>`. `control-openhands browser count 'testid=chat-input-overflow-menu'` is `1` and `control-openhands browser attr 'role=button[name="More input actions"]' aria-expanded` is `true`. Run `control-openhands browser click 'testid=overflow-model-button'`; `control-openhands browser text 'testid=chat-input-overflow-menu'` reads `Model`, `AVAILABLE PROFILES`, `deepseek-flash` / `deepseek/deepseek-flash`, `deepseek-pro` / `deepseek/deepseek-v4-pro`, `LLM Profiles`. Run `control-openhands browser bbox 'testid=chat-input-llm-profile-option-deepseek-flash'` and `control-openhands browser bbox 'role=link[name="LLM Profiles"]'`. Expected: both `insideViewport` `true`. Known failure (#18063): the submenu opens to the right of the menu, so the profile row starts at x about 270 with width 210 and the `LLM Profiles` link sits at y about 725, below the 700 px viewport (both `insideViewport` `false`); the profile clicks below still work because the first two rows keep a strip of about 50 px on screen (from x about 270 to the 320 px edge), while a click on the `LLM Profiles` link times out (`browser screenshot --feature F05.overflow-menu --name model-submenu-narrow`). `control-openhands browser click 'testid=chat-input-llm-profile-option-deepseek-pro'` and `control-openhands browser wait-text 'Switched to profile' --timeout 15000` close the menu (count `0`), and `control-openhands conversation status <id>` shows `deepseek/deepseek-v4-pro`. Switch back the same way: the trigger, `testid=overflow-model-button`, then `testid=chat-input-llm-profile-option-deepseek-flash` (`conversation status <id>` shows `deepseek/deepseek-flash`). Open the menu once more; a second click on the trigger closes it (`aria-expanded` `false`). Return with `control-openhands browser viewport desktop`.- **Context window (`F05.context-window-meter`).** Run `control-openhands browser attr 'testid=context-window-meter' aria-label` (`Context window usage: 1% used (99% left)`), `control-openhands browser click 'testid=context-window-meter'` and `control-openhands browser text 'testid=context-window-meter-popover'` (`Context Window`, the percentage, `Compact context`, tokens such as `11.7k / 1.0M`, `Usage`). `control-openhands browser click 'testid=context-window-meter-bar-button'` (the progress bar) closes the popover and opens the Usage tab (`control-openhands browser testids --filter usage` lists `conversation-tab-usage`, `usage-panel`). The popover's `Usage` row does the same: from another tab (`control-openhands browser click 'testid=conversation-tab-files'`), reopen the ring, `control-openhands browser click 'testid=context-window-plan-usage'` and `control-openhands browser wait 'testid=usage-panel'` (the panel mounts a moment later; an immediate `count` is `0`). Reopen the ring, then `control-openhands browser click 'testid=context-window-compact-button' --observe '[role=status]' --observe-ms 25000`: `Context compaction started`, then `Context compacted`; `control-openhands conversation events <id> --kinds CondensationRequest,Condensation --last 5` lists both kinds.- **Stop and resume (`F05.stop-resume`) with a queued follow-up (`F05.queued-message`).** Send `Run this shell command: sleep 25 && echo slept. Then reply with only: done` (type + Enter as above), `control-openhands conversation wait <id> --until running --timeout 30` and `control-openhands browser wait 'testid=stop-button'`; `control-openhands browser attr 'testid=stop-button' aria-label` is `Stop`. While it runs, `control-openhands browser enabled 'testid=submit-button'` is `false` with an empty field; type `Also reply with: queued-ok` (enabled turns `true`) and press Enter. Run `control-openhands browser click 'testid=stop-button'` and `control-openhands browser wait 'testid=play-button' --timeout 30000`; `control-openhands browser text 'testid=interactive-chat-box'` ends `Stopped`, `control-openhands browser attr 'testid=play-button' aria-label` is `Resume the agent task` and `control-openhands conversation status <id>` is `paused`. Run `control-openhands browser click 'testid=play-button'`, wait for `running` then the terminal state: the last agent message is `done queued-ok` and `testid=user-message >> has-text=queued-ok` counts `1`.@@ -97,6 +97,7 @@ Preconditions:- `browser upload` feeds the hidden input directly. To drive the real path, `+` > Add Files and Images, use `control-openhands browser upload-via 'testid=add-files-and-images-button' <file>`, which answers the native file chooser.- The home composer has no `interactive-chat-box` wrapper: scope its chips and thumbnails with `testid=home-chat-launcher`.- `conversation events` rows show a message's text and its attachment count (`images: 1` for the image-only message, whose text is a blank); `--grep 'data:image/png;base64'` searches whole events and quotes the `image` content block in `excerpts`.+- A user row with `images: 1` proves that the image reached the Agent Server, not the model. Only the reply proves that the model saw it. On agent-server 1.53.0 and older, `deepseek/*` profiles drop the image before the LLM call (`F05.image-only-send`). An image sent with no text then leaves deepseek-flash with an empty task. On 2026-10-08 it ran `env`, read the run directory and other files on the host, and decoded the picture from the event store with PIL to answer. Pause such a conversation (`control-openhands conversation pause <id>`), and use the question-plus-image send for the model check.- The pill resolves the conversation's stamped profile before the user-level default, so profiles that share a model are told apart by name. The stamp lives in this browser's localStorage (`openhands-agent-server-conversation-metadata`), not on the server (`api GET /api/conversations/<id>` has no profile name): read it with `browser eval`, not `api GET`.- The `Switched to profile` notes are client-side and gone after reload; assert the pill and `conversation status`.- `/plan` messages go to a separate planner conversation; the browser stays on the parent `/conversations/<id>`, so wait on the planner id from `conversation list`.diff --git a/.agents/skills/verify-openhands/references/feature-map/F10-llm-profiles.md b/.agents/skills/verify-openhands/references/feature-map/F10-llm-profiles.mdindex b695b4581d..6588c58206 100644--- a/.agents/skills/verify-openhands/references/feature-map/F10-llm-profiles.md+++ b/.agents/skills/verify-openhands/references/feature-map/F10-llm-profiles.md@@ -80,7 +80,7 @@ Preconditions:- **Custom model (`F10.custom-model`).** In that editor run `control-openhands browser click 'testid=sdk-section-advanced-toggle'`. `browser value 'testid=llm-custom-model-input'` carries the Basic choice (`deepseek/deepseek-flash`; placeholder `openai/gpt-5.6-sol`), and `browser attr 'testid=base-url-input' placeholder` is `https://api.openai.com`. Run `control-openhands browser fill 'testid=llm-custom-model-input' ''`, `control-openhands browser fill 'testid=profile-name-input' QA_adv`, `control-openhands browser click 'testid=save-profile-btn'` and `control-openhands browser wait-text 'Model is required'`. Then `control-openhands browser fill 'testid=llm-custom-model-input' deepseek/deepseek-flash`, `control-openhands browser fill 'testid=base-url-input' https://api.deepseek.com`, fill the key as in Create, Save, and `control-openhands browser wait-text 'Profile "QA_adv" created' --timeout 60000`. `api GET /api/profiles` shows `QA_adv` with `base_url` `https://api.deepseek.com`.- **Second profile from a verified model.** Repeat Create choosing `control-openhands browser click 'role=option[name="deepseek-v4-pro"][exact]'` (verified models have no `model-item-*` test ID) and the name `QA_pro`. The toast reads `Profile "QA_pro" created`; the row `QA_pro deepseek/deepseek-v4-pro` has no badge.- **Row menu (`F10.actions-menu`).** Run `control-openhands browser click '[data-testid=profile-row]:has([title="QA_flash"]) >> testid=profile-menu-trigger'` and `control-openhands browser snapshot 'testid=profile-actions-menu'`: menuitems Edit, Rename, Duplicate, `Set as default [disabled]`, Delete on the Default row (all enabled on other rows). `control-openhands browser eval "document.activeElement.dataset.testid"` is `profile-edit`: focus moves into the menu on open. Run `control-openhands browser press ArrowDown` and that eval four times: `profile-rename`, `profile-duplicate`, `profile-delete` (the disabled Set as default is skipped), `profile-edit` (wraps); `control-openhands browser press ArrowUp` twice gives `profile-delete`, `profile-duplicate`. `control-openhands browser press Tab` closes the menu (`browser count 'testid=profile-actions-menu'` is `0`) and moves focus on to the next row's trigger: the row-aware eval `control-openhands browser eval "(()=>{const a=document.activeElement;const r=a.closest('[data-testid=profile-row]');return a.dataset.testid+'@'+(r?r.querySelector('[title]').title:'-')})()"` is `profile-menu-trigger@QA_pro`. Reopen the `QA_flash` menu and `control-openhands browser press Escape`: count `0`, and the row-aware eval is `profile-menu-trigger@QA_flash` (focus is back on its own trigger). Reopen it and `control-openhands browser click 'role=heading[name="Available Profiles"]'` closes it too. Keyboard open: `control-openhands browser focus '[data-testid=profile-row]:has([title="QA_pro"]) >> testid=profile-menu-trigger'` and `control-openhands browser press Enter` put focus on `profile-edit`; on this non-default row `control-openhands browser snapshot 'testid=profile-actions-menu'` lists the same five menuitems with none `[disabled]`, and `control-openhands browser screenshot --feature F10.actions-menu --name menu-nondefault` shows them with the focus ring on Edit. Five `ArrowDown`s walk `profile-rename`, `profile-duplicate`, `profile-set-active`, `profile-delete`, `profile-edit`. `control-openhands browser press Escape` closes it, and the row-aware eval is `profile-menu-trigger@QA_pro`.-- **Set as default (`F10.set-default`).** Run `control-openhands browser click '[data-testid=profile-row]:has([title="QA_pro"]) >> testid=profile-menu-trigger'`, `control-openhands browser click 'testid=profile-actions-menu >> testid=profile-set-active'` and `control-openhands browser wait-text 'Switched to profile "QA_pro"'`. After `control-openhands browser reload`, `control-openhands browser count 'testid=profile-active-badge'` is `1` and `control-openhands browser count '[data-testid=profile-row]:has([title="QA_pro"]) >> testid=profile-active-badge'` is `1`; `control-openhands api GET /api/profiles` has `active_profile` `QA_pro` and `control-openhands llm show` reports `active.model` `deepseek/deepseek-v4-pro`.+- **Set as default (`F10.set-default`).** Run `control-openhands browser click '[data-testid=profile-row]:has([title="QA_pro"]) >> testid=profile-menu-trigger'`, `control-openhands browser click 'testid=profile-actions-menu >> testid=profile-set-active'` and `control-openhands browser wait-text 'Switched to profile "QA_pro"'`. After `control-openhands browser reload`, `control-openhands browser count 'testid=profile-active-badge'` is `1` and `control-openhands browser count '[data-testid=profile-row]:has([title="QA_pro"]) >> testid=profile-active-badge'` is `1`; `control-openhands api GET /api/profiles` has `active_profile` `QA_pro` and `control-openhands llm show` reports `active.model` `deepseek/deepseek-v4-pro`. A profile's Base URL follows it into the agent settings: `QA_adv` (Custom model above) carries one: Set as active on its row makes `control-openhands llm show` report `active.base_url` `https://api.deepseek.com`, also under `agent_settings.llm.base_url` in `control-openhands api GET /api/settings`. With a key, `control-openhands conversation start --prompt "Reply with only: adv-ok. Do not run any tools." --wait --timeout 240` then shows the pill `QA_adv` and the reply `adv-ok` (driven 2026-10-08; `QA_pro` likewise replied `pro-ok` on `deepseek/deepseek-v4-pro`). Make `QA_pro` the Default again before Duplicate.- **Duplicate (`F10.duplicate`).** From the `QA_pro` row menu click `testid=profile-actions-menu >> testid=profile-duplicate` and `control-openhands browser wait-text 'Profile duplicated as "QA_pro-copy"'`; repeat on `QA_pro` for `Profile duplicated as "QA_pro-copy-1"`, and on `QA_pro-copy` for `Profile duplicated as "QA_pro-copy-copy"`. After a reload `control-openhands browser text 'testid=profile-row >> has-text=QA_pro-copy-1'` reads `QA_pro-copy-1 deepseek/deepseek-v4-pro`, the badge stays on `QA_pro`, and `api GET /api/profiles` has `api_key_set: true` on every copy.- **Rename (`F10.rename`).** Open the `QA_pro-copy-copy` row menu and click `testid=profile-actions-menu >> testid=profile-rename`. `control-openhands browser value 'testid=rename-profile-input'` is `QA_pro-copy-copy` and `browser eval "document.activeElement.dataset.testid"` is `rename-profile-input`. `control-openhands browser fill 'testid=rename-profile-input' '-bad'` makes `control-openhands browser enabled 'role=dialog[name="Rename Profile"] >> role=button[name="Rename"]'` `false` and `control-openhands browser attr 'testid=rename-profile-rule' class` contains `text-red-400`. Filling the old name and clicking Rename closes the modal with no toast (`browser count 'testid=rename-profile-modal'` is `0`); `control-openhands browser click 'role=dialog[name="Rename Profile"] >> role=button[name="Cancel"]'` also closes it. To rename, reopen, fill `QA_renamed`, `control-openhands browser press Enter`, `control-openhands browser wait-text 'Profile renamed to "QA_renamed"'`, reload, and the count of `'[data-testid=profile-row]:has([title="QA_renamed"])'` is `1` while the old name's is `0`. Renaming the Default row (`QA_pro` β `QA_pro2`, submit with `testid=rename-profile-submit`) keeps its badge (`browser text '[data-testid=profile-row]:has([data-testid=profile-active-badge])'` reads `QA_pro2 β¦ Default`) and `active_profile` follows.- **Rename onto an existing name (`F10.rename-conflict`).** The Rename step above already renamed `QA_pro-copy-copy` and `QA_pro`, so use the remaining fixtures: open the `QA_pro-copy` row menu, click `testid=profile-actions-menu >> testid=profile-rename`, fill `testid=rename-profile-input` with `QA_pro2` and click `testid=rename-profile-submit`. The modal stays open (`count 'testid=rename-profile-modal'` is `1`), `control-openhands browser toasts` has the server's message `Profile 'QA_pro2' already exists` (no `HTTP request failed` prefix, no JSON), and `browser screenshot --feature F10.rename-conflict --name toast` shows that toast above the open modal. Close it with `control-openhands browser click 'role=dialog[name="Rename Profile"] >> role=button[name="Cancel"]'`.diff --git a/.agents/skills/verify-openhands/references/feature-map/F11-provider-connections.md b/.agents/skills/verify-openhands/references/feature-map/F11-provider-connections.mdindex 79100b6624..ac10494995 100644--- a/.agents/skills/verify-openhands/references/feature-map/F11-provider-connections.md+++ b/.agents/skills/verify-openhands/references/feature-map/F11-provider-connections.md@@ -54,7 +54,7 @@ Preconditions:- **Empty state (`F11.list-empty`).** Run `control-openhands browser click 'testid=backend-selector-settings-link' --expect-url '/settings'`, `control-openhands browser click 'testid=sidebar-settings-/settings/llm' --expect-url '/settings/llm'`, then `control-openhands browser text 'testid=provider-connections-empty'` and `control-openhands browser snapshot main`. The text is `No provider connections yet. Add one to share an API key across models.`; the snapshot shows heading `Provider connections`, paragraph `Share one API key across multiple models.` and button `Add connection` (screenshot `--feature F11.list-empty --name empty`).- **Other entry points (`F11.list`).** Run `control-openhands browser goto /` (Empty state ends on `/settings/llm`, where the URL wait would pass at once), `control-openhands browser press Control+k`, `control-openhands browser type 'testid=command-menu >> role=combobox' LLM` (`browser snapshot 'testid=command-menu'` shows the selected option `LLM profiles Manage models, providers, and API keys. Go`), `control-openhands browser press Enter`, `control-openhands browser wait-url '/settings/llm'`, then `control-openhands browser count 'testid=add-provider-connection'` (`1`). `control-openhands browser goto /settings/llm` shows the same section.-- **Validation and provider picker (`F11.create-validation`, `F11.provider-picker`).** Run `control-openhands browser click 'testid=add-provider-connection'`; `control-openhands browser snapshot 'role=dialog'` shows `Add provider connection` with Name, Provider, API Key, `Base URL Optional` and `Save` [disabled], and `control-openhands browser eval "document.activeElement.getAttribute('data-testid')"` is `provider-connection-name-input`. Fill `control-openhands browser fill 'testid=provider-connection-name-input' QA_conn`; `control-openhands browser enabled 'testid=provider-connection-submit'` stays `false`. Run `control-openhands browser click 'testid=provider-connection-provider-input'` and `control-openhands browser snapshot 'role=listbox'`: groups `Verified Models` (OpenHands, Anthropic, OpenAI, Mistral AI, Gemini, deepseek, Moonshot, minimax, glm, nvidia, qwen) and `Other Models`. `control-openhands browser fill 'testid=provider-connection-provider-input' deep` narrows it to `deepseek` (verified) and `deepgram`, `DeepInfra`; then `control-openhands browser click 'testid=provider-item-deepseek'` and `control-openhands browser value 'testid=provider-connection-provider-input'` is `deepseek`. Save is still disabled; `control-openhands browser fill 'testid=provider-connection-api-key-input' ' '` keeps it disabled, and a name of only spaces does too. A provider typed but not picked is cleared: `control-openhands browser fill 'testid=provider-connection-provider-input' deepse`, `control-openhands browser click 'testid=provider-connection-name-input'`, then `browser value 'testid=provider-connection-provider-input'` is empty (pick deepseek again afterwards). Enter does not submit: with every field valid (`enabled` `true`), `control-openhands browser press Enter` in the Name field leaves `browser count 'testid=provider-connection-modal'` at `1` and creates nothing (`api GET /api/llm/provider-connections`).+- **Validation and provider picker (`F11.create-validation`, `F11.provider-picker`).** Run `control-openhands browser click 'testid=add-provider-connection'`; `control-openhands browser snapshot 'role=dialog'` shows `Add provider connection` with Name, Provider, API Key, `Base URL Optional` and `Save` [disabled], and `control-openhands browser eval "document.activeElement.getAttribute('data-testid')"` is `provider-connection-name-input`. Fill `control-openhands browser fill 'testid=provider-connection-name-input' QA_conn`; `control-openhands browser enabled 'testid=provider-connection-submit'` stays `false`. Run `control-openhands browser click 'testid=provider-connection-provider-input'` and `control-openhands browser snapshot 'role=listbox'`: groups `Verified Models` (OpenHands, Anthropic, OpenAI, Mistral AI, Gemini, deepseek, Moonshot, minimax, glm, nvidia, qwen, OpenRouter; OpenRouter is listed since 2026-10-08 or earlier) and `Other Models`. The field shows the provider's label, not its id: picking `testid=provider-item-openai` makes `browser value 'testid=provider-connection-provider-input'` `OpenAI`. `control-openhands browser fill 'testid=provider-connection-provider-input' deep` narrows it to `deepseek` (verified) and `deepgram`, `DeepInfra`; then `control-openhands browser click 'testid=provider-item-deepseek'` and `control-openhands browser value 'testid=provider-connection-provider-input'` is `deepseek`. Save is still disabled; `control-openhands browser fill 'testid=provider-connection-api-key-input' ' '` keeps it disabled, and a name of only spaces does too. A provider typed but not picked is cleared: `control-openhands browser fill 'testid=provider-connection-provider-input' deepse`, `control-openhands browser click 'testid=provider-connection-name-input'`, then `browser value 'testid=provider-connection-provider-input'` is empty (pick deepseek again afterwards). Enter does not submit: with every field valid (`enabled` `true`), `control-openhands browser press Enter` in the Name field leaves `browser count 'testid=provider-connection-modal'` at `1` and creates nothing (`api GET /api/llm/provider-connections`).- **Create (`F11.create`).** In the same modal run `control-openhands browser fill 'testid=provider-connection-api-key-input' --value-file <key file>` (`enabled` turns `true`, `browser attr 'testid=provider-connection-api-key-input' type` is `password`), `control-openhands browser click 'testid=provider-connection-submit'` and `control-openhands browser wait-text 'Connection "QA_conn" created'`. `control-openhands browser count 'testid=provider-connection-modal'` is `0`. After `control-openhands browser reload`, `control-openhands browser text 'testid=provider-connection-row >> has-text=QA_conn'` is `QA_conn\ndeepseek\n0 model(s)` and `control-openhands api GET /api/llm/provider-connections` lists it with `"api_key_set": true` and `"base_url": null` (the key itself is never returned).- **Row (`F11.list`).** Run `control-openhands browser count 'testid=provider-connection-row >> has-text=QA_conn >> testid=set-indicator'` (`1`), `control-openhands browser attr 'testid=provider-connection-row >> has-text=QA_conn >> testid=provider-connection-menu-trigger' aria-label` (`Provider connection menu`) and `control-openhands browser screenshot 'testid=provider-connection-row' --feature F11.list --name row` (name, muted provider, `0 model(s)`, green check, vertical dots).- **Cancel (`F11.create-cancel`).** Run `control-openhands browser click 'testid=add-provider-connection'`, `control-openhands browser click 'role=dialog >> role=button[name="Cancel"]'`; `browser count 'testid=provider-connection-modal'` is `0`. Reopen, `control-openhands browser fill 'testid=provider-connection-name-input' QA_escape`, `control-openhands browser press Escape` (count `0`); reopen: `control-openhands browser value 'testid=provider-connection-name-input'` is empty; `control-openhands browser mouse-click 50 500` closes it too. `api GET /api/llm/provider-connections` lists no `QA_escape`.diff --git a/.agents/skills/verify-openhands/references/feature-map/F18-skills.md b/.agents/skills/verify-openhands/references/feature-map/F18-skills.mdindex 73feed0d4a..5a4ab766f9 100644--- a/.agents/skills/verify-openhands/references/feature-map/F18-skills.md+++ b/.agents/skills/verify-openhands/references/feature-map/F18-skills.md@@ -26,6 +26,7 @@ Source: `src/routes/skills-settings.tsx`, `src/components/features/skills/`, `sr- `F18.skill-in-chat`: an enabled skill is loaded into new conversations and fires on its trigger; a disabled one is not.- `F18.project-skill`: a skill committed under `<workspace>/.agents/skills/<name>/SKILL.md` is loaded into every conversation started in that workspace, in Local Repo and New Worktree mode alike, and its trigger word activates it (the chat shows a **Skill Ready** row naming it); workspace skills are not listed on the Skills page.- `F18.skill-deleted`: a personal skill whose folder was deleted disappears from the Skills page after a reload and is not loaded into new conversations: its trigger word activates nothing.+- `F18.personal-skill-dirs`: personal skills load from both user folders: `~/.agents/skills/<name>/SKILL.md` and the persistence folder's `skills/<name>/SKILL.md` (`~/.openhands/skills`, which a Canvas stack moves to `$OH_PERSISTENCE_DIR/skills`). Each shows on the Skills page with its path and fires on its trigger in new conversations.- `F18.detail-modal`: the detail modal shows source, an Enabled/Disabled switch, description, pills and the read-only content; switching off disables **Use skill**.- `F18.detail-close`: the X, **Close**, Escape and a backdrop click close the detail modal.- `F18.detail-pills`: the modal shows the full pill set (type, category, recommended, license, compatibility, version, triggers); pills that do not fit collapse into a `+N` button whose popover lists the rest without closing the modal.@@ -69,9 +70,10 @@ Preconditions:- **Copy the source path (`F18.copy-source`).** With the `qa-hello` fixture, `control-openhands browser attr 'testid=skill-source-qa-hello' title` is the full `β¦/.agents/skills/qa-hello/SKILL.md` path. Run `control-openhands browser click 'testid=skill-copy-source-qa-hello'`, `control-openhands browser attr 'testid=skill-copy-source-qa-hello' aria-label` (`Copied to clipboard`; `count 'testid=skill-detail-modal'` stays `0`), `control-openhands browser clipboard` (`text` is the same full `SKILL.md` path) and, after 2 s, the same `attr` (`Copy source path`). In the modal (`control-openhands browser click 'testid=skill-card-qa-hello'`) `control-openhands browser click 'testid=skill-modal-copy-source-qa-hello'` turns its label to `Copied to clipboard` and the modal stays open. `count 'testid=skill-copy-source-add-javadoc'` is `0`.- **Toggle a built-in skill (`F18.toggle`).** Run `control-openhands browser attr 'testid=skill-toggle-add-javadoc' aria-checked` (`false`; `aria-label` is `Enable skill`), `control-openhands browser click 'testid=skill-toggle-add-javadoc'` (no modal opens; `aria-checked` turns `true` and the Enabled facet count goes up by one), wait a second, `control-openhands browser reload` and read `aria-checked` again: `true`. `control-openhands api GET /api/settings --pick misc_settings.app_preferences.enabled_skills` lists `add-javadoc` (`--pick` paths start inside `body`). To switch an enabled skill off from its card, `control-openhands browser hover 'testid=skill-toggle-add-javadoc'` first (`attr ... data-showing-remove` is `true`), then click (see Gotchas).- **Toggle a personal skill (`F18.toggle-local`).** Run `control-openhands browser hover 'testid=skill-toggle-qa-hello'`, `control-openhands browser click 'testid=skill-toggle-qa-hello'`, wait a second, `control-openhands browser reload` and `control-openhands browser attr 'testid=skill-toggle-qa-hello' aria-checked` (`false`). `control-openhands api GET /api/settings` shows `disabled_skills: ["qa-hello"]` under `body.misc_settings.app_preferences` and `enabled_skills` without it. `control-openhands conversation start --prompt "qa-ping" --wait --timeout 240`, then `control-openhands api GET '/api/conversations/<id>/events/search?limit=5' --max-bytes 2000000` (id from `conversation start`): the user `MessageEvent` has `"activated_skills": []`. Back on `/skills` (`control-openhands browser goto /skills`; `conversation start` left the browser on the conversation), click the toggle on again (no hover needed), start another `qa-ping` conversation: `"activated_skills": ["qa-hello"]` and `control-openhands browser text 'testid=agent-message >> nth=-1'` is `QA-PONG-7731`; `disabled_skills` is `[]` again.-- **Skill reaches chat (`F18.skill-in-chat`).** Run `control-openhands browser goto /skills` (the previous bullet ends on a conversation), `control-openhands browser click 'testid=skill-toggle-flarglebargle'` (`aria-checked` `true`), then `control-openhands conversation start --prompt "flarglebargle" --wait --timeout 240`, `control-openhands api GET '/api/conversations/<id>/events/search?limit=5' --max-bytes 2000000` (`"activated_skills": ["flarglebargle"]`) and `control-openhands browser text 'testid=agent-message >> nth=-1'` (a reply praising how smart the user is). `control-openhands browser screenshot --feature F18.skill-in-chat --name enabled`. Switch it off again on `/skills` (`control-openhands browser goto /skills`, hover, click; `enabled_skills` no longer lists it) and start another `flarglebargle` conversation: `"activated_skills": []` and the agent says it does not recognise the word.-- **Project skill in a workspace (`F18.project-skill`).** With the committed `qa-f18-skill` fixture, run `control-openhands browser goto /skills`, `control-openhands browser reload` and `control-openhands browser count 'testid=skill-card-qa-f18-skill'`: `0` (the catalog lists the Agent Server's own skills, not a workspace's). Then `control-openhands conversation start --workspace qa-f18-repo --prompt "qa-f18-ping" --wait --timeout 240` (note `<repo-skill-id>`; its `workspace` is the fixture's path) and, in the chat it leaves open, `control-openhands browser text 'testid=generic-event-message-title'` (`Skill Ready`), `control-openhands browser click 'role=button[name="Expand"]'` and `control-openhands browser count 'role=button[name="qa-f18-skill"]'` (`1`, under `Triggered Skill Knowledge:`); `control-openhands browser screenshot --feature F18.project-skill --name skill-ready`. With an LLM the agent also obeys the skill, and this is the moment to read it, while the chat is still open: `control-openhands browser text 'testid=agent-message >> nth=-1'` ends with `QA_SKILL_OK`; without a key the conversation ends in `error` right after the events below and that reply check is blocked (prerequisite: `DEEPSEEK_API_KEY`). Agent side, `control-openhands conversation events <repo-skill-id> --grep qa-f18-skill --from-start` matches the `SystemPromptEvent` (its `<available_skills>` lists `<name>qa-f18-skill</name>`) and the user `MessageEvent` (`skills: ["qa-f18-skill"]`, with excerpts showing `"activated_skills":["qa-f18-skill"]` and the `β¦/qa-f18-repo/.agents/skills/qa-f18-skill/SKILL.md` path). New Worktree: run `control-openhands workspace open qa-f18-repo --mode new_worktree` (it picks the mode in the preview bar's selector and prints `mode` `new_worktree` and `preview` `qa-f18-repo` / `New Worktree`; `control-openhands browser text 'testid=home-git-control-bar-preview'` reads the same two lines), then `control-openhands conversation start --stay --prompt "qa-f18-ping" --wait --timeout 240` (note `<worktree-id>`): its `workspace` is `/tmp/conversation-worktrees/<worktree-id>/qa-f18-repo`, a worktree of the fixture on branch `openhands/<worktree-id>` (read-only check: `git -C /tmp/conversation-worktrees/<worktree-id>/qa-f18-repo log --oneline` lists `Add qa-f18-skill skill` above `Initial fixture commit`), `control-openhands browser text 'testid=generic-event-message-title'` is `Skill Ready` again (and the same reply check applies here, with a key), and `control-openhands conversation events <worktree-id> --grep qa-f18-skill --from-start` matches the same events with the worktree's `SKILL.md` path (a `ConversationStateUpdateEvent` carrying the agent context matches in both conversations too). Restore the mode: `control-openhands workspace open qa-f18-repo --mode local_repo` (`mode` `local_repo`, `preview` `qa-f18-repo` / `Local Repo`).-- **Deleted personal skill (`F18.skill-deleted`).** Run `control-openhands fixture skill --name qa-gone --trigger qa-farewell`, `control-openhands browser goto /skills`, `control-openhands browser reload`, `control-openhands browser count 'testid=skill-card-qa-gone'` (`1`; `control-openhands browser attr 'testid=skill-source-qa-gone' title` is the run's `β¦/private/home/.agents/skills/qa-gone/SKILL.md` path and `control-openhands browser text 'testid=skills-result-summary'` counts one result more than before) and `control-openhands browser screenshot --feature F18.skill-deleted --name present`. Prove it loads: `control-openhands conversation start --prompt "qa-farewell" --wait --timeout 240` (note `<gone-a>`), `control-openhands browser text 'testid=generic-event-message-title'` (`Skill Ready`) and `control-openhands conversation events <gone-a> --grep qa-gone --from-start`: the `SystemPromptEvent` and the user `MessageEvent` match, the latter with `skills: ["qa-gone"]`. Delete the folder (outside the UI; it is inside the run): `rm -rf "$OH_VERIFY_RUN/private/home/.agents/skills/qa-gone"`. Then `control-openhands browser goto /skills`, `control-openhands browser reload`, `control-openhands browser count 'testid=skill-card-qa-gone'` (`0`; the summary is back to its earlier count), `control-openhands conversation start --prompt "qa-farewell" --wait --timeout 240` (note `<gone-b>`), `control-openhands browser count 'text=Skill Ready'` (`0`; `control-openhands browser screenshot --feature F18.skill-deleted --name absent`) and `control-openhands conversation events <gone-b> --grep qa-gone --from-start`: `count` is `0`, and `control-openhands conversation events <gone-b> --kinds MessageEvent --from-start` shows the user message without a `skills` row. No model is needed: the skill set is fixed before the first model call.+- **Skill reaches chat (`F18.skill-in-chat`).** Run `control-openhands browser goto /skills` (the previous bullet ends on a conversation), `control-openhands browser click 'testid=skill-toggle-flarglebargle'` (`aria-checked` `true`), then `control-openhands conversation start --prompt "flarglebargle" --wait --timeout 240`, `control-openhands conversation events <id> --kinds MessageEvent --from-start` (the user row has `skills: ["flarglebargle"]`; the `events/search?limit=5` read this bullet used before can miss the user row) and `control-openhands browser text 'testid=agent-message >> nth=-1'` (a reply praising how smart the user is). `control-openhands browser screenshot --feature F18.skill-in-chat --name enabled`. Switch it off again on `/skills` (`control-openhands browser goto /skills`, hover, click; `enabled_skills` no longer lists it) and start another conversation with `--prompt "flarglebargle. Do not run any tools; reply in one line."`: the user row has no `skills`, and the agent does not praise the user (2026-10-08: `Flarglebargle to you too β what would you like help with?`).+- **Project skill in a workspace (`F18.project-skill`).** With the committed `qa-f18-skill` fixture, run `control-openhands browser goto /skills`, `control-openhands browser reload` and `control-openhands browser count 'testid=skill-card-qa-f18-skill'`: `0` (the catalog lists the Agent Server's own skills, not a workspace's). Then `control-openhands conversation start --workspace qa-f18-repo --prompt "qa-f18-ping" --wait --timeout 240` (note `<repo-skill-id>`; its `workspace` is the fixture's path) and, in the chat it leaves open, `control-openhands browser text 'testid=generic-event-message-title'` (`Skill Ready`; with a model a second title, `Invoked skill qa-f18-skill`, can follow, because the agent may also call `invoke_skill`), `control-openhands browser click 'role=button[name="Expand"]'` and `control-openhands browser count 'role=button[name="qa-f18-skill"]'` (`1`, under `Triggered Skill Knowledge:`); `control-openhands browser screenshot --feature F18.project-skill --name skill-ready`. With an LLM the agent also obeys the skill, and this is the moment to read it, while the chat is still open: `control-openhands browser text 'testid=agent-message >> nth=-1'` ends with `QA_SKILL_OK`; without a key the conversation ends in `error` right after the events below and that reply check is blocked (prerequisite: `DEEPSEEK_API_KEY`). Agent side, `control-openhands conversation events <repo-skill-id> --grep qa-f18-skill --from-start` matches the `SystemPromptEvent` (its `<available_skills>` lists `<name>qa-f18-skill</name>`) and the user `MessageEvent` (`skills: ["qa-f18-skill"]`, with excerpts showing `"activated_skills":["qa-f18-skill"]` and the `β¦/qa-f18-repo/.agents/skills/qa-f18-skill/SKILL.md` path). New Worktree: run `control-openhands workspace open qa-f18-repo --mode new_worktree` (it picks the mode in the preview bar's selector and prints `mode` `new_worktree` and `preview` `qa-f18-repo` / `New Worktree`; `control-openhands browser text 'testid=home-git-control-bar-preview'` reads the same two lines), then `control-openhands conversation start --stay --prompt "qa-f18-ping" --wait --timeout 240` (note `<worktree-id>`): its `workspace` is `/tmp/conversation-worktrees/<worktree-id>/qa-f18-repo`, a worktree of the fixture on branch `openhands/<worktree-id>` (read-only check: `git -C /tmp/conversation-worktrees/<worktree-id>/qa-f18-repo log --oneline` lists `Add qa-f18-skill skill` above `Initial fixture commit`), `control-openhands browser text 'testid=generic-event-message-title'` is `Skill Ready` again (and the same reply check applies here, with a key), and `control-openhands conversation events <worktree-id> --grep qa-f18-skill --from-start` matches the same events with the worktree's `SKILL.md` path (a `ConversationStateUpdateEvent` carrying the agent context matches in both conversations too). Restore the mode: `control-openhands workspace open qa-f18-repo --mode local_repo` (`mode` `local_repo`, `preview` `qa-f18-repo` / `Local Repo`).+- **Deleted personal skill (`F18.skill-deleted`).** Run `control-openhands fixture skill --name qa-gone --trigger qa-farewell`, `control-openhands browser goto /skills`, `control-openhands browser reload`, `control-openhands browser count 'testid=skill-card-qa-gone'` (`1`; `control-openhands browser attr 'testid=skill-source-qa-gone' title` is the run's `β¦/private/home/.agents/skills/qa-gone/SKILL.md` path and `control-openhands browser text 'testid=skills-result-summary'` counts one result more than before) and `control-openhands browser screenshot --feature F18.skill-deleted --name present`. Prove it loads: `control-openhands conversation start --prompt "qa-farewell" --wait --timeout 240` (note `<gone-a>`), `control-openhands browser text 'testid=generic-event-message-title'` (`Skill Ready`) and `control-openhands conversation events <gone-a> --grep qa-gone --from-start`: the `SystemPromptEvent` and the user `MessageEvent` match, the latter with `skills: ["qa-gone"]`. Delete the folder (outside the UI; it is inside the run): `rm -rf "$OH_VERIFY_RUN/private/home/.agents/skills/qa-gone"`. Then `control-openhands browser goto /skills`, `control-openhands browser reload`, `control-openhands browser count 'testid=skill-card-qa-gone'` (`0`; the summary is back to its earlier count), `control-openhands conversation start --prompt "qa-farewell. Do not run any tools; reply in one line." --wait --timeout 240` (note `<gone-b>`; with a model, a bare `qa-farewell` sent deepseek-flash searching the disk for the word, and it quoted the run's `stack.log` line `Skill 'qa-gone' triggered by keyword 'qa-farewell'`, so `--grep qa-gone` matched 9 tool rows although the skill was not loaded), `control-openhands browser count 'text=Skill Ready'` (`0`; `control-openhands browser screenshot --feature F18.skill-deleted --name absent`) and `control-openhands conversation events <gone-b> --grep qa-gone --from-start`: `count` is `0`, and `control-openhands conversation events <gone-b> --kinds MessageEvent --from-start` shows the user message without a `skills` row. No model is needed: the skill set is fixed before the first model call.+- **Both personal skill folders (`F18.personal-skill-dirs`).** The `qa-gone` bullet above used `~/.agents/skills`. For the other folder, write a fixture into the stack's persistence folder (outside the UI, inside the run; `fixture skill` writes only `~/.agents/skills`): `mkdir -p "$OH_VERIFY_RUN/private/skills/qa-legacy"` and a `SKILL.md` there with the front matter `name: qa-legacy`, `description: QA fixture skill in the persistence-dir skills folder.`, `triggers: [qa-legacy-ping]` and the body `When this skill is active, end your reply with the word QA_LEGACY_OK.` (`$OH_VERIFY_RUN/private` is the Agent Server's `OH_PERSISTENCE_DIR`, which replaces `~/.openhands`). Run `control-openhands browser goto /skills`, `control-openhands browser reload`, `control-openhands browser count 'testid=skill-card-qa-legacy'` (`1`) and `control-openhands browser attr 'testid=skill-source-qa-legacy' title` (`β¦/private/skills/qa-legacy/SKILL.md`). Then `control-openhands conversation start --prompt "qa-legacy-ping. Do not run any tools; reply in one line." --wait --timeout 240` (note `<legacy-id>`): `control-openhands browser text 'testid=generic-event-message-title'` is `Skill Ready`, `control-openhands conversation events <legacy-id> --kinds MessageEvent --from-start` shows the user row with `skills: ["qa-legacy"]`, and with a model `control-openhands browser text 'testid=agent-message >> nth=-1'` ends with `QA_LEGACY_OK` (`control-openhands browser screenshot --feature F18.personal-skill-dirs --name persistence-dir-skill`). Clean up with `rm -rf "$OH_VERIFY_RUN/private/skills/qa-legacy"`, `browser goto /skills`, `browser reload`; the card count is `0`.- **Save failure (`F18.toggle-error`).** Run `control-openhands browser goto /skills`, wait for `testid=skill-toggle-add-javadoc` and note its `aria-checked` (`true` when this follows the toggle bullet, which left `add-javadoc` on). Then `control-openhands service stop agent-server`, `control-openhands browser click 'testid=skill-toggle-add-javadoc' --timeout 5000` (the card flips at once), wait about 2 s (the `PATCH /api/settings` is tried three times before the error shows; `browser network` lists three `502`s) and `control-openhands browser toasts --history`: `HTTP request failed (502 Bad Gateway): "Bad Gateway: connect ECONNREFUSED 127.0.0.1:<agent-server port>"`. `control-openhands browser screenshot --feature F18.toggle-error --name toast`. Run `control-openhands restart --timeout 240`, `control-openhands browser goto /skills`: `aria-checked` on `testid=skill-toggle-add-javadoc` is back to the value noted before the click and `enabled_skills` is unchanged. Clear the expected 502 noise with `control-openhands browser errors --clear`.- **Detail modal and switch (`F18.detail-modal`).** With `add-javadoc` on, run `control-openhands browser click 'testid=skill-card-add-javadoc'`, `control-openhands browser testids 'testid=skill-detail-modal'` (name, source, `skill-modal-enable-row-add-javadoc`, description, pills incl. license `MIT`, `skill-modal-field-content-add-javadoc`, `skill-detail-close`, `skill-detail-use-skill-add-javadoc`) and `control-openhands browser enabled 'testid=skill-detail-use-skill-add-javadoc'` (`true`). Switch off with `control-openhands browser click 'testid=skill-modal-enable-row-add-javadoc >> text=Enabled'`; `control-openhands browser eval "document.querySelector('[data-testid=skill-modal-toggle-add-javadoc]').checked"` is `false`, the row reads `Disabled`, `enabled` on Use skill is `false` and the card toggle behind reads `aria-checked` `false`. `control-openhands browser screenshot --feature F18.detail-modal --name disabled`. Close, reload: the card stays off and `enabled_skills` no longer lists `add-javadoc`.- **Close the modal (`F18.detail-close`).** With `testid=skill-card-docker` opened each time, each of `control-openhands browser click 'testid=skill-detail-modal-close'`, `control-openhands browser click 'testid=skill-detail-close'`, `control-openhands browser press Escape` and `control-openhands browser mouse-click 100 500` (backdrop) leaves `control-openhands browser count 'testid=skill-detail-modal'` at `0`.@@ -93,7 +95,7 @@ Preconditions:- Facet counts are disjunctive: a row counts skills matching the other groups' selections, so Disabled reads `0` (and is disabled) while Recommended is checked.- Groups with fewer than two values are hidden (Source and Type on a fresh run) unless the URL selects one of their values.- The run's `HOME` lives under `/tmp`, so a skill in `~/.agents/skills` is filed under Source **This project** (`source=project`), not **Personal**; with a real `/home/<user>` or `/Users/<user>` home it would be Personal.-- `conversation events` does not show `activated_skills`; read the user `MessageEvent` through `api GET '/api/conversations/<id>/events/search?limit=5' --max-bytes 2000000`.+- `conversation events` rows show a user `MessageEvent`'s activated skills as `skills: [...]` (since #18162). `api GET '/api/conversations/<id>/events/search?limit=5' --max-bytes 2000000` shows the raw `activated_skills`, but only when the user row is among those five events. On 2026-10-08 it was not: the first five were the system prompt and state updates.- Skill lists are cached for 10 minutes: `browser reload` (or `goto`) after the agent creates a skill file, or the new card does not appear.- `navigator.clipboard.readText()` through `browser eval` hangs (no clipboard permission in the page); read what a copy button wrote with `control-openhands browser clipboard` and assert the button's `aria-label` too. The app runs on `127.0.0.1` (a secure context), so the unguarded `clipboard.writeText` calls cannot be tested for insecure-origin failures here.- With the Agent Server stopped, reloading `/skills` shows the "Manage backends / Disconnected" screen instead of the page: load the page first, then stop the service. After the failed save the card keeps showing the new state until a reload (#17941).diff --git a/.agents/skills/verify-openhands/references/feature-map/F22-automation-creation.md b/.agents/skills/verify-openhands/references/feature-map/F22-automation-creation.mdindex d8ad51f082..48bc040352 100644--- a/.agents/skills/verify-openhands/references/feature-map/F22-automation-creation.md+++ b/.agents/skills/verify-openhands/references/feature-map/F22-automation-creation.md@@ -23,6 +23,7 @@ Source: `src/routes/automation-templates.tsx`, `src/routes/automation-setup-rout- `F22.template-launch-conversation`: a card without a setup form and with no installable integration missing creates a conversation and pre-fills its composer with the entry's launch command (for example `/ticket-to-code-change:setup`); nothing is sent until the user presses send.- `F22.template-mcp-install-queue`: a card with missing required integrations opens each one's install dialog in turn; Cancel abandons the launch without creating anything.- `F22.responder-deployment-choice`: on a local backend a GitHub/Slack-only responder card first asks **Choose how your responder should run**; **Continue with local setup** creates the `OPENHANDS_URL` secret and continues, **Open OpenHands Cloud integrations** opens Cloud in a new tab, X and Escape cancel.+- `F22.responder-local-launch`: with the responder's integration already installed (Slack for **Slack standup digest**), **Continue with local setup** skips the install dialog and opens a new conversation whose composer is pre-filled with the entry's setup command (`/standup-digest:setup`). Nothing is sent until the user presses send; Send delivers it as the user message.- `F22.setup-prerequisites`: **Before you start** lists the entry's integrations with the reason each is needed and **Manage integrations** (`/mcp`); Continue is disabled while a required integration is missing; an entry with nothing to check skips the step.- `F22.setup-action-kind`: the **Action** combobox (custom-automation: Prompt / Plugin / Upload tarball) swaps the action fields and keeps shared values.- `F22.setup-form-validation`: Continue checks fields locally (`This field is required.`, `Must be at least N characters.`, `Must be at most N.`) and a field blur sends the draft to the service, whose errors appear under the field (`Value error, Invalid cron expression: β¦`).@@ -84,6 +85,7 @@ Preconditions:- **Not available and fallback (`F22.setup-unsupported`, `F22.setup-fallback-conversation`).** Run `control-openhands browser goto /automations/new/qa-changes` and `control-openhands browser snapshot 'testid=setup-dialog'`: heading `Not available`, `This deployment does not support everything this automation needs.`, `setup-unmet-requirements` `webhookDelivery, event`, buttons `Close` and `Set up in a conversation`. Run `control-openhands browser click 'testid=setup-fallback-conversation' --expect-url '/conversations/[0-9a-f]' --timeout 60000` and `control-openhands browser eval "document.querySelector('[data-testid=chat-input]').innerText"`: `/qa-changes`, a blank line and `This deployment cannot run the webhook-driven QA automation directly. Set it up in this conversation instead: β¦`. The message is pre-filled, not sent (no model cost until the user presses send).- **Unknown id (`F22.setup-unknown-id`).** `control-openhands browser goto /automations/new/qa-no-such-template` then `control-openhands browser snapshot`: `heading "404"` and `Not Found`.- **Responder choice (`F22.responder-deployment-choice`).** On `/automations/templates` (`control-openhands browser goto /automations/templates`; the previous bullet ends on a 404 page) run `control-openhands browser click 'testid=recommended-automation-card-slack-channel-monitor'` and `control-openhands browser snapshot 'testid=responder-deployment-modal'`: `Choose how your responder should run`, `Poll locally on your laptop` / `Continue with local setup`, `Use OpenHands Cloud` / `Open OpenHands Cloud integrations`. `control-openhands browser press Escape` and, after reopening, `control-openhands browser click 'testid=responder-deployment-modal-close'` each make `browser count 'testid=responder-deployment-modal'` `0`. Reopen and `control-openhands browser click 'testid=responder-deployment-open-openhands-cloud'`: the modal closes and `control-openhands browser tabs` lists tab 1 at `https://app.all-hands.dev/settings/integrations` (it can take a second to appear; rerun `browser tabs`). Close it with `control-openhands browser close-tab 1`. Reopen and `control-openhands browser click 'testid=responder-deployment-continue-local'`, `control-openhands browser wait 'testid=responder-deployment-modal' --state detached --timeout 10000`: the Slack install dialog (`testid=mcp-install-modal`, `dialog "Slack"`) opens next and `api GET /api/settings/secrets` now lists `OPENHANDS_URL`. Close it with `control-openhands browser click 'testid=mcp-install-cancel'`.+- **Responder launch with Slack installed (`F22.responder-local-launch`).** Arrange Slack as installed with its catalog command, a dummy token and offline npm, so nothing is downloaded or contacted (arrange, not proof): write `qa-slack.json` (outside the workspace) containing `{"agent_settings_diff":{"mcp_config":{"slack":{"command":"npx","args":["-y","@zencoderai/slack-mcp-server"],"env":{"SLACK_BOT_TOKEN":"xoxb-qa-dummy","SLACK_TEAM_ID":"T0000000000","npm_config_offline":"true"}}}}}` and run `control-openhands api PATCH /api/settings --data @qa-slack.json --write`. On `/automations/templates` run `control-openhands browser click 'testid=recommended-automation-card-slack-standup-digest'`, `control-openhands browser wait 'testid=responder-deployment-modal'`, `control-openhands browser click 'testid=responder-deployment-continue-local'` and `control-openhands browser wait-url '/conversations/[0-9a-f-]+' --timeout 60000` (note `<slack-id>`). `control-openhands browser count 'testid=mcp-install-modal'` is `0`. After `sleep 5`, `control-openhands browser eval "document.querySelector('[data-testid=chat-input]').innerText"` is `/standup-digest:setup` and `control-openhands browser count 'testid=user-message'` is `0` (`control-openhands browser screenshot --feature F22.responder-local-launch --name slack-prefilled`). Run `control-openhands browser click 'testid=submit-button'` and `control-openhands browser wait 'testid=user-message >> has-text=/standup-digest:setup' --timeout 15000`. Then run `control-openhands conversation pause <slack-id>` at once. The setup skill is open-ended. On 2026-10-08, deepseek-flash spent 25 tool calls exploring the host, including files outside the run, before asking a setup question. Restore with `control-openhands api DELETE /api/settings/mcp/slack --write`; `control-openhands api GET /api/settings --pick agent_settings.mcp_config` is `{}`. Run this bullet after Responder choice, which needs Slack not installed.- **Install queue (`F22.template-mcp-install-queue`).** Run `control-openhands browser click 'testid=recommended-automation-card-linear-triage-assistant'`: `dialog "Linear"` (URL `https://mcp.linear.app/mcp`, optional API key). `control-openhands browser click 'testid=mcp-install-cancel'`; `browser count 'role=dialog'` is `0`, the URL stays `/automations/templates`, `control-openhands conversation list` has no new conversation and `api GET /api/settings` still has an empty `mcp_config`. Completing the queue is blocked: **Install** first tests the connection (Linear without a key: `Connection failed: HTTPStatusError: Client error '401 Unauthorized'β¦`; Tavily `research-brief-writer` with a dummy key: `Connection timed out. Check the URL and try again.`), so it never launches without a working credential.- **Prompt launch (`F22.template-launch-conversation`).** Use a card whose required integrations all need external setup, so no install dialog queues: on `/automations/templates` run `control-openhands browser click 'testid=recommended-automation-pills-jira-issue-to-bitbucket-pr-overflow'` (`dialog: Bitbucket Needs external setup`), `control-openhands browser press Escape`, then `control-openhands browser click 'testid=recommended-automation-card-jira-issue-to-bitbucket-pr' --expect-url '/conversations/[0-9a-f]' --timeout 60000`. `control-openhands browser eval "document.querySelector('[data-testid=chat-input]').innerText"` is `/ticket-to-code-change:setup`, and `control-openhands conversation events <id> --kinds MessageEvent --from-start` (id from the URL) has `total` `0` even 20 s later: the launch command is pre-filled, not sent (the featured copy promises "a pre-filled conversation"). Do not press send (no model cost). Take `browser screenshot --feature F22.template-launch-conversation --name prefilled`. Cards with an installable missing integration (`research-brief-writer`, Tavily) go through the install queue first and are blocked here (see Preconditions).- **Create Automation helper (`F22.create-helper-conversation`).** On `/automations` (`control-openhands browser goto /automations`; Prompt launch ends on a conversation) run `control-openhands browser click 'testid=automations-add-automation'`, `control-openhands browser click 'testid=automations-add-automation-create'`, `control-openhands browser text 'testid=add-automation-modal >> testid=automations-create-instructions-example'` (`Create an automation`), then `control-openhands browser click 'testid=add-automation-modal >> testid=automations-create-automation' --expect-url '/conversations'` and `control-openhands browser eval "document.querySelector('[data-testid=chat-input]').innerText"`: the composer holds `Create an automation`, it has focus (`control-openhands browser eval "document.activeElement.getAttribute('data-testid')"` is `chat-input`), and the dialog is gone (`control-openhands browser count 'testid=add-automation-modal'` is `0`). Take `control-openhands browser screenshot --feature F22.create-helper-conversation --name prefilled`. Nothing is sent until the user presses send. The agent half (`conversation start` reloads `/` and replaces the composer text): `control-openhands conversation start --prompt "Create an automation now, without asking questions: name QA_F22 Agent, cron schedule 0 0 1 1 * in UTC, prompt: Reply with the single word pong. Then reply with only its id." --wait --timeout 400` finishes, and `control-openhands browser goto /automations` then `control-openhands browser count '[data-testid^="automation-card-"] >> has-text=QA_F22 Agent'` is `1`.diff --git a/.agents/skills/verify-openhands/references/feature-map/F26-runtime-variants.md b/.agents/skills/verify-openhands/references/feature-map/F26-runtime-variants.mdindex 956eac87d6..737dc333a6 100644--- a/.agents/skills/verify-openhands/references/feature-map/F26-runtime-variants.md+++ b/.agents/skills/verify-openhands/references/feature-map/F26-runtime-variants.md@@ -35,6 +35,7 @@ Source: `bin/agent-canvas.mjs`, `scripts/dev-with-automation.mjs`, `scripts/dev-- `F26.host-bind-lan-optin`: the opt-in the launcher's warning recommends (`--allow-lan-session-key`) should restore key injection on a LAN bind. Known failure (reproduced 2026-10-08): the npm launcher ignores the flag and the page still carries only `__AGENT_CANVAS_AUTH_REQUIRED__`; #17949.- `F26.host-bind-env`: `OH_BIND_HOST=0.0.0.0` (the environment form of `--host`) prints the same two "not loopback" warnings and does not inject the session key, even with `LOCAL_BACKEND_API_KEY` set.- `F26.runtime-services`: `/server_info.runtime_services` lists the agent-server, ingress, frontend and automation URLs as the agent sees them, and a new conversation's system prompt carries a matching `<RUNTIME_SERVICES>` block.+- `F26.runtime-services-agent-use`: with that block alone, the agent can reach the automation backend from its terminal: asked to, it reads the OpenAPI at the URL the block names, creates an enabled cron automation, and dispatches a run that completes; the automation and its run show up in the Automations UI.- `F26.lib-build`: `npm run build:lib` produces `dist/` where every `package.json` `exports` target exists and the main entry exports `AgentServerUIProviders`, `AgentServerUIRoot`, `CloudOrganizationBoundary` and the telemetry helpers.- `F26.lib-style-scope`: all bundled CSS is scoped under `[data-agent-server-ui]`, and theme tokens such as `--oh-color-base` live on that scope root (observable in the standalone app).- `F26.lib-host-app`: mounted in a separate host app, Canvas styles stay inside the scope and `styleOverrides` restyle it. Blocked: no host-app example exists.@@ -63,7 +64,7 @@ Preconditions:- Baseline state (launched, doctored, `onboard --skip` done) on your own run: `control-openhands launch --new --build never`, `export OH_VERIFY_RUN=<run from the launch JSON>`, `control-openhands doctor`, `control-openhands onboard --skip`. Commands run from the checkout root.- `F26.desktop-*` need the Electron binary (`node_modules/electron/dist/electron`; `npx --no-install electron --version` downloads it on first use) and `Xvfb` plus ImageMagick `import` for headless capture. The app binds the fixed ports 8000, 18000, 18001 and 3001: check them like the blocks below and keep the run short.-- `F26.runtime-services` needs an active LLM profile (`control-openhands llm preset deepseek`).+- `F26.runtime-services` and `F26.runtime-services-agent-use` need an active LLM profile (`control-openhands llm preset deepseek`); the second also needs the automation service running and costs two short runs (the conversation and the dispatched automation run).- The partial-stack and LAN bullets start extra launchers by hand (harness gap: `launch` has no `--frontend-only`, `--backend-only` or `--host`). Each one needs a free block of ports: these recipes use 18960β18963 and 18970β18973, plus 19961, the editor port a launcher that serves VS Code hands its agent-server (see Gotchas); check them first with `for p in 18960 18961 18962 18963 18970 18971 18972 18973 19961; do (echo > /dev/tcp/127.0.0.1/$p) 2>/dev/null && echo "$p busy"; done` (no output means free). Each launcher gets a private `HOME` and state under `$OH_VERIFY_RUN/private/`, so it never touches `~/.openhands` or your run.- **Version (`F26.cli-version`).** Run `node bin/agent-canvas.mjs --version; echo "exit=$?"` and `node bin/agent-canvas.mjs -v; echo "exit=$?"`. Each prints one line equal to `jq -r .version package.json` (the checkout's package version, which changes with every release: compare, do not expect a number; e.g. `[ "$(node bin/agent-canvas.mjs --version)" = "$(jq -r .version package.json)" ] && echo same`) and `exit=0`.@@ -88,6 +89,7 @@ Preconditions:- **Bind host from the environment (`F26.host-bind-env`).** Same shell, after `kill -TERM $(cat $Q/pid); sleep 6`: `start env LOCAL_BACKEND_API_KEY=qa-f26-pin-key OH_BIND_HOST=0.0.0.0 nohup node bin/agent-canvas.mjs --port 18960`. `grep -a 'not loopback' $Q/launcher.log` shows the same `[auth]` and `[static]` warnings as `--host 0.0.0.0`, and `curl -s http://127.0.0.1:18960/ | grep -o '__AGENT_CANVAS_\(SESSION_API_KEY\|AUTH_REQUIRED\)__' | sort -u` prints only `__AGENT_CANVAS_AUTH_REQUIRED__`. Stop it with `kill -TERM $(cat $Q/pid)`; after about 6 s ports 18960β18963 are free.- **Frontend-only, returning user (`F26.frontend-only-returning`).** Same shell, after `kill -TERM $(cat $Q/pid); sleep 6`. Arrange a browser that onboarded on this origin against the full launcher: `start env LOCAL_BACKEND_API_KEY=qa-f26-pin-key nohup node bin/agent-canvas.mjs --port 18960` (`code=200`), `control-openhands browser reset` (a fresh profile, which also forgets your run's onboarding: restore it at the end), `control-openhands browser goto http://127.0.0.1:18960/ --allow-external`, `control-openhands browser wait 'testid=telemetry-consent-form' --timeout 15000` (this backend state has never answered consent; a second pass on the same `$Q` skips the form), `control-openhands browser uncheck 'testid=telemetry-consent-form >> role=checkbox'`, `control-openhands browser click 'testid=confirm-telemetry-preferences'`, `control-openhands browser wait 'testid=onboarding-step-choose-agent' --timeout 15000`, `control-openhands browser click 'testid=onboarding-skip'` and `control-openhands browser wait 'testid=root-layout' --timeout 20000`. `control-openhands browser eval "JSON.parse(localStorage.getItem('openhands-backends')).map(b=>({id:b.id,name:b.name,host:b.host}))"` is `[{id: "default-local", name: "Local", host: "http://127.0.0.1:18960"}]`. Now serve the same port without backends: `kill -TERM $(cat $Q/pid); sleep 6; start nohup node bin/agent-canvas.mjs --frontend-only --port 18960` (`code=200`, and `curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:18960/server_info` is `503`). `control-openhands browser goto http://127.0.0.1:18960/ --allow-external` and `control-openhands browser wait 'testid=agent-server-onboarding-screen' --timeout 20000` succeed: the gate of `F25.recovery-gate`, not onboarding. `control-openhands browser count` is `1` for `testid=manage-backends-modal` and `0` for `testid=onboarding-step-check-backend`, `testid=first-run-onboarding-screen`, `testid=api-key-entry-screen`, `testid=root-layout`, `testid=close-manage-backends-modal` and `testid=manage-backends-done`; `control-openhands browser press Escape` leaves the modal (`count` `1`). `control-openhands browser text 'testid=manage-backends-row-Local'` reads `Local`, `http://127.0.0.1:18960`, `Disconnected`, `HTTP request failed (503 Service Unavailable): "Service Unavailable (no backend configured for this route)"` and `LOCAL`, and `control-openhands browser testids` lists `manage-backends-add` (**Add Backend**) as the way on. `control-openhands browser screenshot --feature F26.frontend-only-returning --name recovery-gate`. The 503 probes are expected errors in the sweep: `control-openhands browser errors` (without `--app-only`, which keeps only your run's origin) lists `external:http-error` rows with `503` for `http://127.0.0.1:18960/server_info`, `/api/settings` and `/api/llm/models/verified`, and `pageErrors` is `0`. Stop it with `kill -TERM $(cat $Q/pid)`; after about 6 s ports 18960β18963 are free. Restore your run: `control-openhands browser goto /` and `control-openhands onboard --skip`.- **Runtime services (`F26.runtime-services`).** Run `control-openhands api GET /server_info --pick runtime_services.mode` (`agent-canvas`) and `control-openhands api GET /server_info --pick runtime_services.services.automation.url_from_agent` (`http://localhost:<automation port>`; `control-openhands status` prints the ports). Then `control-openhands conversation start --prompt "Reply with the single word: ok" --wait --timeout 180` (prints `<id>`) and `control-openhands conversation events <id> --grep RUNTIME_SERVICES --from-start`: the `SystemPromptEvent` matches, with an excerpt `<RUNTIME_SERVICES>\nYou are running inside an agent-canvas dev stack started ...`. `control-openhands conversation events <id> --grep "localhost:<automation port>" --from-start` shows `* Automation backend: http://localhost:<port>` plus its `Docs:` and `OpenAPI:` URLs.+- **The agent uses the runtime services (`F26.runtime-services-agent-use`).** Write `qa-f26-agent.txt` (outside the workspace) containing: ``Using the Automation backend described in your RUNTIME_SERVICES (read its OpenAPI to find the routes), create one automation named QA_rt_auto from a prompt: the prompt is "Reply with the single word: pong. Do not run any tools.", the schedule is the cron 0 9 * * *, and it is enabled. Then dispatch one run of it now. Do not change anything else. Reply with the automation id and the run id only.`` Run `control-openhands conversation start --prompt "$(cat qa-f26-agent.txt)" --wait --timeout 400` (note `<agent-id>`); the reply names `<automation-id>` and a run id. `control-openhands conversation events <agent-id> --kinds ActionEvent --from-start` shows the agent's own `curl` calls: `http://localhost:<automation port>/api/automation/openapi.json`, `POST β¦/api/automation/v1/preset/prompt` and `POST β¦/api/automation/v1/<automation-id>/dispatch`, each with the `X-Session-API-Key: $OPENHANDS_AUTOMATION_API_KEY` header the block names. Second view in the UI: `control-openhands browser goto /automations` and `control-openhands browser text '[data-testid^=automation-card-] >> has-text=QA_rt_auto'` (`QA_rt_auto`, the prompt, `cron`, `Runs 1`). Open it with `control-openhands browser click '[data-testid^=automation-card-] >> has-text=QA_rt_auto >> text=QA_rt_auto' --expect-url '/automations/[0-9a-f-]+'`. Within about a minute, `control-openhands browser text 'testid=automation-activity-log'` shows the run's summary (`Replied with the single word "pong" β¦`), a cost and `Successful` (`control-openhands browser screenshot --feature F26.runtime-services-agent-use --name agent-created-automation-run`). `control-openhands api GET /api/automation/v1/<automation-id>` has `name` `QA_rt_auto`, `trigger.schedule` `0 9 * * *` and `enabled` `true`. Delete it afterwards (`control-openhands api DELETE /api/automation/v1/<automation-id> --write`, arrange). It runs daily at 09:00 UTC otherwise.- **Library build (`F26.lib-build`).** Never build inside the shared checkout (it regenerates i18n and typegen files the other runs hash); build in a copy: `L=$OH_VERIFY_RUN/private/f26-lib; mkdir -p $L; tar --exclude=./node_modules --exclude=./build --exclude=./.git --exclude=./dist -cf - . | tar -xf - -C $L; ln -s "$PWD/node_modules" $L/node_modules; (cd $L && npm run build:lib); echo "exit=$?"`. It ends with `β built in` and `exit=0` (about 30 s). Then `(cd $L && node -e 'const p=require("./package.json"),fs=require("fs");let ok=0,miss=[];for(const[k,v]of Object.entries(p.exports))for(const f of(typeof v==="string"?[v]:Object.values(v)))fs.existsSync(f)?ok++:miss.push(k+" -> "+f);console.log(JSON.stringify({entries:Object.keys(p.exports),ok,missing:miss}))')` prints 9 entries (`.`, `./browser`, `./conversation`, `./files`, `./settings`, `./sidebar`, `./terminal`, `./i18n`, `./package.json`), `ok` 25 and `missing` `[]`. `grep -ohE 'AgentServerUIProviders|AgentServerUIRoot|CloudOrganizationBoundary|configureTelemetry|setTelemetryConsent' $L/dist/lib/index.d.ts | sort -u` lists all five. Remove the copy with `rm -rf $L`.- **Style scope (`F26.lib-style-scope`).** On your run's home page (`control-openhands browser goto /`) run `control-openhands browser eval "(() => { let total=0, unscoped=[]; for (const sh of document.styleSheets) { let rules; try { rules = sh.cssRules } catch { continue } const walk = (rs) => { for (const r of rs) { if (r.selectorText) { total++; if (!r.selectorText.includes('data-agent-server-ui')) unscoped.push(r.selectorText) } else if (r.cssRules) walk(r.cssRules) } }; walk(rules) } return { scopeRoots: document.querySelectorAll('[data-agent-server-ui]').length, total, unscopedCount: unscoped.length, sample: unscoped.slice(0, 12) } })()"`. `total` is in the thousands and `unscopedCount` is `2`: only `.go<hash>` and `.go<hash> > *`, react-hot-toast's runtime classes. `control-openhands browser eval "getComputedStyle(document.querySelector('[data-agent-server-ui]')).getPropertyValue('--oh-color-base').trim()"` is `#181818`. This proves the bundle is scoped, not that a host page is unaffected (`F26.lib-host-app`).diff --git a/.agents/skills/verify-openhands/references/feature-map/F27-workspace-tools.md b/.agents/skills/verify-openhands/references/feature-map/F27-workspace-tools.mdindex 8e7da025a2..25687bb5de 100644--- a/.agents/skills/verify-openhands/references/feature-map/F27-workspace-tools.md+++ b/.agents/skills/verify-openhands/references/feature-map/F27-workspace-tools.md@@ -81,7 +81,7 @@ Preconditions:- **Launch a child (`F27.launch-child`).** On `/conversations/<tools-id>` (code mode, not a plan-mode conversation) run `control-openhands conversation start --stay --prompt "Call the launch_child_conversation tool with target local, isolation shared and task 'Reply with only the word PONG. Do not run any tools.' Then reply OK."` and poll `control-openhands browser toasts` every few seconds: one toast reads `Launched a local child conversation Open`. Take the child id from `control-openhands conversation events <tools-id> --kinds MessageEvent` (the `[child-conversation] {"status":"launched",β¦,"conversation_id":"<child-id>"β¦}` message), then `control-openhands conversation wait <child-id> --timeout 120` (`finished`) and `control-openhands conversation events <child-id> --kinds MessageEvent` (agent `PONG`). `control-openhands browser count 'testid=conversation-card >> has-text=PONG'` is `1`.- **Overview (`F27.overview-peek`, `F27.overview-pin`, `F27.overview-changes-link`, `F27.overview-drawer`).** On `/conversations/<quiet-id>` (`control-openhands browser goto /conversations/<quiet-id>`; Launch a child left `<tools-id>`) run `control-openhands browser click 'testid=right-panel-toggle'` (the peek exists only while the drawer is open; a fresh page load has it closed), `control-openhands browser hover 'testid=conversation-overview-toggle'` and `control-openhands browser text 'testid=conversation-overview-peek'` (`Overview`, `Changes`, `+0`, `-0`, `Workspace`, `None`). `control-openhands browser click 'testid=conversation-overview-toggle'`; `control-openhands browser attr 'testid=conversation-overview-toggle' aria-pressed` is `true` and `right-panel-toggle` is `false`. Pin: `control-openhands browser click 'testid=conversation-overview-ellipsis'`, `control-openhands browser click 'testid=conversation-overview-menu-pin-workspace'`; `control-openhands browser count 'testid=conversation-overview-workspace'` is `0` and the pin button's `aria-pressed` is `false`; after `control-openhands browser reload` and `browser click 'testid=conversation-overview-toggle'` the count is still `0`. Re-pin the same way (count `1`). Git parts work the same: `conversation-overview-menu-pin-git-changes` hides `testid=conversation-overview-diffs` (count `0`, also after a reload) and a second click restores it. Close the menu with `control-openhands browser press Escape`: `control-openhands browser count 'testid=conversation-overview-context-menu'` is `0`, `control-openhands browser eval "document.activeElement.dataset.testid"` is `conversation-overview-ellipsis` and `testid=conversation-overview-panel` still counts `1` (a second click on the ellipsis closes the menu too). Changes: `control-openhands browser click 'testid=conversation-overview-diffs'`; the overview panel count is `0`, `right-panel-toggle` is pressed and `tabs-pane-header` starts with `Commits`. Drawer: reopen the Overview, `control-openhands browser click 'testid=conversation-overview-ellipsis'`, `control-openhands browser click 'testid=conversation-overview-menu-open-git-pull_requests'`, `control-openhands browser text 'testid=conversation-overview-drawer'` (`Pull Requests` / `Connect a git repository to view pull requests and issues`), then `control-openhands browser click 'testid=conversation-overview-drawer-close'` and `control-openhands browser wait 'testid=conversation-overview-drawer' --state hidden --timeout 5000` (an immediate `visible` still reads `true` during the slide-out animation).- **Overview menu opens Commits (`F27.overview-menu-open`).** On `/conversations/<tools-id>` (it has an uncommitted `.agents_tmp/PLAN.md`; `control-openhands browser goto /conversations/<tools-id>`, since the Overview bullet is on `<quiet-id>`) run `control-openhands browser reload`, `control-openhands browser click 'testid=conversation-overview-toggle'`, `control-openhands browser click 'testid=conversation-overview-ellipsis'` and `control-openhands browser click 'testid=conversation-overview-menu-open-git-commits'`: `control-openhands browser count 'testid=conversation-overview-panel'` is `0`, `tabs-pane-header` starts with `Commits` and `control-openhands browser attr 'testid=uncommitted-changes-row-toggle' aria-expanded` is `false`. Repeat with `conversation-overview-menu-open-git-changes`: same tab, `aria-expanded` `true` and `control-openhands browser count 'testid=uncommitted-changes-row-content'` `1` (the `.agents_tmp/PLAN.md` row). Screenshot with `control-openhands browser screenshot --feature F27.overview-menu-open --name changes`.-- **Workspace and repository identity (`F27.overview-identity`).** Run `control-openhands conversation start --workspace qa-f27-repo --prompt "List the files" --wait --timeout 240` (note `<repo-id>`) and, staying on the page it leaves open, `control-openhands browser click 'testid=conversation-overview-toggle'`, `control-openhands browser wait 'testid=conversation-overview-git-repo' --timeout 20000`, `control-openhands browser text 'testid=conversation-overview-workspace'` (`Workspace`, `qa-f27-repo`: the folder's basename, not its path), `control-openhands browser text 'testid=conversation-overview-git-repo'` (`qa-example/qa-f27-repo`), `control-openhands browser attr 'testid=conversation-overview-git-repo' href` (`https://github.com/qa-example/qa-f27-repo`), `control-openhands browser text 'testid=conversation-overview-git-branch'` (`main`; `control-openhands browser attr 'testid=conversation-overview-git-branch' href` is `https://github.com/qa-example/qa-f27-repo/tree/main`) and `control-openhands browser snapshot 'testid=conversation-overview-panel'`: Changes `+0 -0`, the repo and branch links, the `Commits` and `Pull Requests` items, then `Workspace qa-f27-repo`. `control-openhands browser screenshot --feature F27.overview-identity --name repo-rows`. The repo and branch rows come from a git probe the page runs while the conversation is active: without an LLM key the conversation ends in `error`, and after `control-openhands browser reload` and `control-openhands browser click 'testid=conversation-overview-toggle'` the panel lists only `Workspace qa-f27-repo` (`control-openhands browser count 'testid=conversation-overview-git-repo'` is `0`; see Gotchas), so read the rows before any reload.+- **Workspace and repository identity (`F27.overview-identity`).** Run `control-openhands conversation start --workspace qa-f27-repo --prompt "List the files in this folder with ls. Do nothing else." --wait --timeout 240` (note `<repo-id>`) and, staying on the page it leaves open, `control-openhands browser click 'testid=conversation-overview-toggle'`, `control-openhands browser wait 'testid=conversation-overview-git-repo' --timeout 20000`, `control-openhands browser text 'testid=conversation-overview-workspace'` (`Workspace`, `qa-f27-repo`: the folder's basename, not its path), `control-openhands browser text 'testid=conversation-overview-git-repo'` (`qa-example/qa-f27-repo`), `control-openhands browser attr 'testid=conversation-overview-git-repo' href` (`https://github.com/qa-example/qa-f27-repo`), `control-openhands browser text 'testid=conversation-overview-git-branch'` (`main`; `control-openhands browser attr 'testid=conversation-overview-git-branch' href` is `https://github.com/qa-example/qa-f27-repo/tree/main`) and `control-openhands browser snapshot 'testid=conversation-overview-panel'`: Changes `+0 -0`, the repo and branch links, the `Commits` and `Pull Requests` items, then `Workspace qa-f27-repo`. `control-openhands browser screenshot --feature F27.overview-identity --name repo-rows`. The repo and branch rows come from a git probe the page runs while the conversation is active: without an LLM key the conversation ends in `error`, and after `control-openhands browser reload` and `control-openhands browser click 'testid=conversation-overview-toggle'` the panel lists only `Workspace qa-f27-repo` (`control-openhands browser count 'testid=conversation-overview-git-repo'` is `0`; see Gotchas), so read the rows before any reload. With a key the conversation finishes and the rows survive a reload: after `browser reload`, the toggle and `browser wait 'testid=conversation-overview-git-repo' --timeout 20000`, the count is `1`, and `control-openhands browser text 'testid=agent-message >> nth=-1'` still shows the reply (driven 2026-10-08 with the prompt `List the files in this folder with ls. Do nothing else.`, reply `The folder contains: README.md src`).- **No browser tool here (`F27.browser-screenshot`, blocked).** `control-openhands conversation start --prompt "Use your browser tool to navigate to https://example.com and then reply with the page title only." --wait --timeout 240` made the agent fall back to `curl`. Confirm with `control-openhands browser click 'testid=chat-plus-button'`, `control-openhands browser click 'testid=show-agent-tools-button'`, `control-openhands browser click 'testid=system-message-modal >> role=tab[name="Available Tools"]'` and `control-openhands browser snapshot 'testid=system-message-modal'`: the tools are terminal, file_editor, task_tracker, canvas_ui_control, launch_child_conversation, finish, think, switch_llm, invoke_skill (no browser tools). Close with `control-openhands browser click 'testid=close-system-message-modal'`. With a working browser tool, expect `browser-chrome-url` to hold the URL and `browser-chrome-open-external` count `1`.- **Info modals at phone width (`F27.info-modals-phone`).** Run `control-openhands browser viewport phone`; for each of `skills`/`skills-modal`, `hooks`/`hooks-modal`, `agent-tools`/`system-message-modal`: `control-openhands browser click 'testid=chat-plus-button'`, `control-openhands browser click 'testid=show-skills-button'`, `control-openhands browser wait 'testid=skills-modal' --timeout 10000`, `control-openhands browser bbox 'testid=skills-modal'`, `control-openhands browser screenshot --feature F27.info-modals-phone --name skills`, `control-openhands browser click 'testid=close-skills-modal'` (substitute the names). Each box is 351 px wide at x 19.5 with `insideViewport` `true` and `pageHorizontalOverflow` `false`.- **Agent tab at phone width (`F27.canvas-ui-phone`).** Still at phone width on `/conversations/<id>`, run `control-openhands conversation start --stay --prompt "Call the canvas_ui_control tool with command open_tab and tab terminal, then reply OK." --wait --timeout 200`, then `control-openhands browser url` (it ends `/conversations/<id>/panel`), `control-openhands browser count 'testid=tabs-pane-header'` (`1`) and `control-openhands browser attr 'role=tab[name="Terminal"]' aria-selected` (`true`). The panel page has no `right-panel-toggle`. Screenshot with `control-openhands browser screenshot --feature F27.canvas-ui-phone --name panel-terminal`.diff --git a/.agents/skills/verify-openhands/references/feature-map/README.md b/.agents/skills/verify-openhands/references/feature-map/README.mdindex 759b97b2ba..c4c502176c 100644--- a/.agents/skills/verify-openhands/references/feature-map/README.md+++ b/.agents/skills/verify-openhands/references/feature-map/README.md@@ -229,7 +229,7 @@ How to write and prove new entries: [../mapping.md](../mapping.md).| ID | Family | What it covers | Entry points | Needs | Sub-features ||---|---|---|---|---|---|-| F01 | [First run, onboarding and sign-in](F01-first-run-and-sign-in.md) | telemetry consent, onboarding modal, public-mode backend step and API-key screen, route error page | any URL on a fresh browser profile; `launch --public` | fresh run or `browser reset`; LLM for say-hello | 21 |+| F01 | [First run, onboarding and sign-in](F01-first-run-and-sign-in.md) | telemetry consent, onboarding modal, public-mode backend step and API-key screen, route error page | any URL on a fresh browser profile; `launch --public` | fresh run or `browser reset`; LLM for say-hello | 22 || F02 | [App shell, sidebar and command menu](F02-app-shell.md) | rail and phone drawer, collapse, home pinning, getting-started checklist, command menu, toasts | every page; `Control+k` / `Meta+k` | baseline; LLM for checklist progress | 25 || F03 | [Home and starting work](F03-home.md) | home composer, workspace picker, plugin picker, recommended automations rail, no-LLM banner | `/`, **New Chat**, command menu | runs before and after `llm preset`; fixture repo | 39 || F04 | [Conversation list and folders](F04-conversation-list.md) | sidebar list, View presets, workspace folders, tags, rename/pin/archive/delete, load more | sidebar on every page | several conversations; fixture repos | 40 |@@ -246,18 +246,18 @@ How to write and prove new entries: [../mapping.md](../mapping.md).| F15 | [Condenser, agent context and verification](F15-agent-behavior-settings.md) | condenser fields, agent context, confirmation mode and critic, their effect on runs | `/settings/condenser`, `/agent-context`, `/verification` | LLM for the effects | 23 || F16 | [Application settings](F16-application-settings.md) | language, theme, analytics, sound, checklist, title model, voice input, git identity | `/settings/app` | LLM for title and git checks | 19 || F17 | [Customize hub and MCP servers](F17-mcp-servers.md) | catalog, install, test, edit, delete, custom servers, agent use | **Customize**, `/mcp` | `uvx`/`npx`; LLM | 30 |-| F18 | [Skills catalog](F18-skills.md) | facets, search, enable/disable, add skill, Use skill, personal and project skills | `/skills` | `fixture skill`; LLM | 21 |+| F18 | [Skills catalog](F18-skills.md) | facets, search, enable/disable, add skill, Use skill, personal and project skills | `/skills` | `fixture skill`; LLM | 22 || F19 | [Plugins and plugin launch](F19-plugins.md) | catalog, install, update, uninstall, enable, launch deep links | `/plugins`, `/launch` | LLM | 25 || F20 | [Canvas apps](F20-canvas-apps.md) | install from path or git, enable, update, uninstall, extension pages | `/apps` | none | 24 || F21 | [Automations dashboard and actions](F21-automations-dashboard.md) | cards and list, filters, sort, Run now, enable, export, import, delete, pin | `/automations` | LLM; automation service | 34 |-| F22 | [Creating automations](F22-automation-creation.md) | templates, setup dialog, custom automations, import | `/automations/templates`, `/automations/new/<id>` | LLM | 28 |+| F22 | [Creating automations](F22-automation-creation.md) | templates, setup dialog, custom automations, import | `/automations/templates`, `/automations/new/<id>` | LLM | 29 || F23 | [Automation detail, runs and editing](F23-automation-detail.md) | detail page, runs, logs, edit dialog, triggers, debug | `/automations/<id>` | LLM; runs | 39 || F24 | [Automation Git Sync](F24-git-sync.md) | configure, sync cycles, encryption, status | `/automations/git-sync` | `fixture git-repo` | 26 || F25 | [Backends, Cloud and sharing](F25-backends-and-cloud.md) | add, edit, remove and switch backends, per-backend consent, Cloud login, shared pages | backend selector | a second stack; Cloud account (blocked) | 28 |-| F26 | [Launcher modes, Docker, desktop and library](F26-runtime-variants.md) | launcher flags, partial stacks, LAN bind, Docker, Electron, embeddable library | a terminal | Docker/Electron where available | 30 |+| F26 | [Launcher modes, Docker, desktop and library](F26-runtime-variants.md) | launcher flags, partial stacks, LAN bind, Docker, Electron, embeddable library | a terminal | Docker/Electron where available | 31 || F27 | [Workspace tools](F27-workspace-tools.md) | terminal, browser, planner, task list, usage, `canvas_ui_control` | drawer tabs | LLM | 30 |-27 families, 736 sub-features. `control-openhands map ids` lists every ID with its file.+27 families, 740 sub-features. `control-openhands map ids` lists every ID with its file.### Neighbouring families