Skip to content

🙌 OpenHands: AI-Driven Development

docs(verify-openhands): recover map corrections from the closed 2026-10-09 sweep (#18295)

Engel Nystc65ab872ccb2
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.md
index 7a60fc4f37..db8888dd15 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
@@ -92,7 +92,7 @@ Not reachable locally:
- **Locked Cloud first run (`F01.locked-cloud-first-run`).** Blocked: needs a build locked to a Cloud host (`VITE_LOCK_TO_CLOUD` or `static-server --lock-to-cloud`) and an OpenHands Cloud account. `launch` has no such flag.
- **Cookie-auth redirect (`F01.cookie-auth-redirect`).** Blocked: needs an OHE cookie-auth deployment.
-- **Bootstrap spinner (`F01.bootstrap-loading`).** Not-run: it lasts under a second on a healthy stack, and slowing `/server_info` would mean intercepting requests.
+- **Bootstrap spinner (`F01.bootstrap-loading`).** Blocked on the 2026-10-09 run: the agent attempted a fresh first paint, but the spinner lasted under a second on the healthy stack; slowing `/server_info` would require request interception rather than the real service response.
## Gotchas
diff --git a/.agents/skills/verify-openhands/references/feature-map/F03-home.md b/.agents/skills/verify-openhands/references/feature-map/F03-home.md
index c1adb440f0..59f7618bb1 100644
--- a/.agents/skills/verify-openhands/references/feature-map/F03-home.md
+++ b/.agents/skills/verify-openhands/references/feature-map/F03-home.md
@@ -58,7 +58,7 @@ Automations on home:
- `F03.pinned-card-links`: a pinned card's sparkline bar opens `/automations/<id>?run=<runId>`, and Enter on its focused title opens the detail page.
- `F03.pinned-reorder-drag`: dragging a pinned card's title row (`Reorder <name>`) onto another card reorders the pins, and the order survives a reload.
- `F03.home-automations-view-more`: past 10 rows **View more**/**View all**, past 6 pins **View more**/**View less** (not arranged).
-- `F03.automations-backend-down`: with the automation service down, the rail, pinned grid and list are hidden and the composer still works.
+- `F03.automations-backend-down`: with the automation service down, the installed list and pinned grid are hidden and the composer still works. The recommendation rail returns after loading from its static catalog; opening a setup card reaches its route and pre-setup dialog while a 502 toast explains the backend failure.
- `F03.phone`: at 390 px the banner, launcher, rail, pinned grid, list and the workspace dialogs fit without horizontal overflow, and folder names stay readable.
## How to get to it (user POV)
@@ -123,7 +123,7 @@ Automations on home (fixtures imported and turned on):
- **Pinned menu (`F03.pinned-card-menu`).** Run `control-openhands browser goto /` (the Pin bullet ends on Pong's detail page), then `control-openhands browser click '[data-testid^="pinned-automation-card-"] >> has-text=QA_F03 Beta >> [data-testid^="pinned-automation-menu-"]'` lists Run now, View, Edit, Turn off and Unpin from dashboard. `[data-testid^="pinned-automation-run-"]` toasts `Automation dispatched`; reopen and `[data-testid^="pinned-automation-cancel-"]` toasts `Automation run cancelled` (the run is `CANCELLED`). Reopen and click `[data-testid^="unpin-automation-"]`; after `browser reload` only `QA_F03 Pong` is pinned and Beta stays in the list.
- **Pinned links (`F03.pinned-card-links`).** With Pong pinned and run once, `control-openhands browser click '[data-testid^="pinned-automation-card-"] >> has-text=QA_F03 Pong >> [data-testid^="pinned-automation-activity-"] >> role=link' --expect-url '/automations/[^/?]+\?run='` opens the run. Back on `/` (`control-openhands browser goto /`), `control-openhands browser focus '[data-testid^="pinned-automation-card-"] >> role=link[name="QA_F03 Beta"]'`, `control-openhands browser press Enter`, `control-openhands browser wait-url '/automations/[^/?]+$'` opens Beta's detail page (pin Beta again first if it was unpinned).
- **Reorder (`F03.pinned-reorder-drag`).** Run `control-openhands browser goto /` (Pinned links ends on Beta's detail page). With Pong and Beta pinned (order `QA_F03 Pong,QA_F03 Beta`, side by side at desktop), read the Beta handle and Pong card boxes with `control-openhands browser bbox '[data-testid^="pinned-automation-card-"] >> has-text=QA_F03 Beta >> [data-testid^="pinned-automation-drag-"]'` and `control-openhands browser bbox '[data-testid^="pinned-automation-card-"] >> has-text=QA_F03 Pong'`, then drag the handle onto the left fifth of Pong's card: `control-openhands browser drag '[data-testid^="pinned-automation-card-"] >> has-text=QA_F03 Beta >> [data-testid^="pinned-automation-drag-"]' --by -522,0 --steps 20` (at 1440×1000 the handle centre is x≈1065 and Pong's card spans x 486–864). The order eval from the Pin bullet reads `QA_F03 Beta,QA_F03 Pong`, `oh:home-pinned-automations:<backend>:-` lists Beta's id first, and the order survives `browser reload`. Drag Pong's handle the same way to restore. The target form `browser drag <handle> <card> [--position before]` does not reorder (the drop lands before the drag-over position is committed).
-- **Backend down (`F03.automations-backend-down`).** `control-openhands service stop automation`, `control-openhands browser reload`, then `browser count` on `testid=running-automations-list`, `testid=pinned-automations-dashboard` and `testid=recommended-automations-rail`: all `0`, no toast, composer usable. `control-openhands restart` and `browser reload` bring them back.
+- **Backend down (`F03.automations-backend-down`).** Stop only this run's automation service with `control-openhands service stop automation`, then `control-openhands browser reload`. Once loading settles, `browser count` on `testid=running-automations-list` and `testid=pinned-automations-dashboard` is `0`, while `testid=recommended-automations-rail` is `1`: its cards come from the static catalog even when `/api/automation/health` and `/v1` return 502. The composer remains enabled. Click the Custom automation recommendation: it navigates to `/automations/new/custom-automation`, shows a `Request failed with status code 502` toast, and opens the **Before you start** dialog. Capture both Home and the pre-setup dialog, then `control-openhands restart` and `browser reload`; doctor should show the owned automation service healthy again.
Phone and cleanup:
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.md
index 5ba4b3e21d..70153fbc56 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
@@ -46,7 +46,7 @@ Source: `src/components/features/sidebar/sidebar-conversation-list.tsx`, `src/co
- `F04.tag-overflow`: tags that do not fit on a row collapse into a `+N` chip (aria `Show N more tags`) whose popover lists the hidden tags without opening the conversation; Escape closes it.
- `F04.stop`: ⋮ → Stop Conversation asks for confirmation and pauses the conversation; the item is gone once paused.
- `F04.download`: ⋮ → Download conversation data saves `conversation_<id>.zip`.
-- `F04.download-error`: a failed download shows one toast that names the cause and closes the â‹® menu.
+- `F04.download-error`: a failed download shows one toast and closes the â‹® menu. When the Agent Server is down behind a plain-text 502 ingress response, the toast uses the generic error fallback rather than raw transport text.
- `F04.archive`: ⋮ → Archive Conversation asks for confirmation, hides and unpins the row, and leaves the conversation if it was open.
- `F04.show-archived-unarchive`: Show archived brings archived rows back with an `Archived` chip; Unarchive restores a row without confirmation.
- `F04.delete`: ⋮ → Delete Conversation asks for confirmation, deletes it on the server and leaves it if it was open.
@@ -107,7 +107,7 @@ Preconditions:
- **Tag filter (`F04.tag-filter`).** After Edit tags (above) gave one row `qaenv=one`, run `control-openhands browser click 'testid=conversation-layouts-toggle'`, `control-openhands browser click 'testid=tag-filters-section'`, `control-openhands browser click 'testid=tag-facet-row-qaenv=one'` (`aria-checked` `true`; the menu stays open), `control-openhands browser press Escape`, then `control-openhands browser count 'testid=conversation-panel-list-scroll >> testid=conversation-card'`: only the tagged row plus pinned rows. The count is the same after `browser reload`.
- **Filter chips (`F04.filter-chips`).** With the facet active, `control-openhands browser text 'testid=conversation-active-tag-filters'` is `qaenv=one` and `Clear all`. `control-openhands browser click 'testid=active-tag-filter-qaenv=one'` removes it (`browser count 'testid=conversation-active-tag-filters'` is `0`). Select `tag-facet-row-qaenv=one` and `tag-facet-row-qabare=` again, then `control-openhands browser click 'testid=clear-tag-filters'`: the strip disappears and the full list returns.
- **Download (`F04.download`).** Open ⋮ and run `control-openhands browser click 'testid=context-menu >> testid=download-trajectory-button'`, then `control-openhands browser downloads`. A file `…-conversation_<id>.zip` lands in `<run>/private/downloads`; `control-openhands browser downloads --last 1 --inspect` lists `<id-hex>/base_state.json` and `meta.json` for any row, plus event folders such as `bash_events/` for a conversation that ran (the `pong` row; it is the oldest, so Load more first).
-- **Download failure (`F04.download-error`).** With â‹® already open on a row, run `control-openhands browser errors --clear` and `control-openhands service stop agent-server`, click `testid=context-menu >> testid=download-trajectory-button`, then `control-openhands browser toasts --history` and `control-openhands browser count 'testid=context-menu'`. There is exactly one toast, `Couldn't download the conversation data: <cause>` (with the server down the cause is the transport text `HTTP request failed (502 Bad Gateway): "Bad Gateway: connect ECONNREFUSED 127.0.0.1:<port>"`), and the menu is closed (`0`). `control-openhands browser errors --app-only` has `pageErrors` `0`; its 502 request and console error are the outage itself. Run `control-openhands restart` and `control-openhands doctor` afterwards.
+- **Download failure (`F04.download-error`).** With â‹® already open on a row, run `control-openhands browser errors --clear` and `control-openhands service stop agent-server`, click `testid=context-menu >> testid=download-trajectory-button`, then `control-openhands browser toasts --history` and `control-openhands browser count 'testid=context-menu'`. There is exactly one toast, `Couldn't download the conversation data: An error occurred`, and the menu is closed (`0`). The download request returned a plain-text ingress 502; `getApiErrorMessage` intentionally omits raw transport text and falls back to this generic message when the response body has no usable error field. `control-openhands browser errors --app-only` has `pageErrors` `0`; its 502 request and console error are the outage itself. Run `control-openhands restart` and `control-openhands doctor` afterwards.
- **Archive (`F04.archive`).** Open a conversation from its row, open â‹® and run `control-openhands browser click 'testid=context-menu >> testid=archive-button'`; `control-openhands browser snapshot 'role=dialog'` reads `Archive conversation` and `Archive "<title>"? The conversation stays available with its full history and can be restored from Show archived.` `control-openhands browser click 'role=dialog >> testid=cancel-button'` keeps the row. Repeat and `control-openhands browser click 'role=dialog >> testid=confirm-button' --expect-url '/conversations(\?|$)'`; the row count is `0`, also after `browser reload`. Archiving a pinned row removes the Pinned section.
- **Show archived and Unarchive (`F04.show-archived-unarchive`).** In More options click `testid=toggle-show-archived` (`aria-checked` `true`) and `testid=advanced-options-close`; `control-openhands browser count 'testid=conversation-card >> has-text=Conversation <id5> >> testid=conversation-card-archived-chip'` is `1` and the â‹® menu offers `Unarchive Conversation`. `control-openhands browser click 'testid=context-menu >> testid=unarchive-button'` opens no dialog (`browser count 'role=dialog'` `0`) and the chip count drops to `0`. Turn Show archived off again.
- **Delete (`F04.delete`).** Open a conversation from its row, open â‹® and run `control-openhands browser click 'testid=context-menu >> testid=delete-button'`; the dialog reads `Confirm Delete` and `Are you sure you want to delete the "<title>" conversation? This action cannot be undone.` `control-openhands browser click 'role=dialog >> role=button[name="Cancel"]'` keeps the row. Repeat and `control-openhands browser click 'role=dialog >> role=button[name="Confirm Delete"]' --expect-url '/conversations(\?|$)'`; after `browser reload` the row count is `0` and `control-openhands api GET /api/conversations/<id>` is `404`.
diff --git a/.agents/skills/verify-openhands/references/feature-map/F05-composer.md b/.agents/skills/verify-openhands/references/feature-map/F05-composer.md
index a70e2325ff..414ff5116f 100644
--- a/.agents/skills/verify-openhands/references/feature-map/F05-composer.md
+++ b/.agents/skills/verify-openhands/references/feature-map/F05-composer.md
@@ -92,8 +92,8 @@ Preconditions:
- The slash menu stays open while you type a command; press Escape before Enter or Enter selects the highlighted option instead of sending.
- Conversation drafts are saved 500 ms after the last keystroke and not flushed on unmount (the home draft is): navigating sooner restores the older draft (fail row) (#17926). Wait a second before navigating when testing restoration.
- Escape closes the `+` tools menu (`browser count 'testid=tools-context-menu'` is `0`) and returns focus to `chat-plus-button`, whether focus was on the trigger or on a menu item. A menu left open covers attachments in screenshots. Escape also closes the narrow-width "More input actions" overflow menu (`browser count 'testid=chat-input-overflow-menu'` is `0`, the trigger's `aria-expanded` is `false`) and returns focus to the trigger, whether focus was on the trigger, on `overflow-model-button` or on a profile row of the open Model submenu (#18174).
-- After a client-side switch between conversations (a sidebar row, or a user-message branch in `F06.branch-from-here`) Send keeps the previous conversation's state (Known failure, #18202). Switching from an empty composer to one with a saved draft restores the text next to a disabled Send; this is a race (Send came up enabled in 1 of 7 tries), so one enabled reading does not show the bug is gone. Switching from a composer with text to an empty one leaves Send enabled, and clicking it does nothing. Typing or `browser reload` fixes it, and Enter in the field sends the restored text anyway. Read `browser enabled 'testid=submit-button'` after a reload, or after typing.
-- Expected: a prompt that a suggestion chip (`testid=chat-suggestions`) or a `+` > **Macros** item writes into the composer enables Send at once. Known failure (reproduced 2026-10-09, #18202): on a new No workspace conversation, `browser click 'testid=chat-suggestions >> text=Fix README'` (or `browser click 'testid=chat-plus-button'`, `browser hover 'testid=macros-button'`, `browser click 'testid=fix-readme-button'`) fills the field, but `browser enabled 'testid=submit-button'` is `false` (5 of 5 tries at desktop; a race at phone) until a character is typed. Both paths call `setMessageToSend`, which writes the text without an input event.
+- After a client-side switch between conversations (a sidebar row, or a user-message branch in `F06.branch-from-here`) Send keeps the previous conversation's state (Known failure, [#18202](https://github.com/OpenHands/OpenHands/issues/18202); [draft fix PR #18203](https://github.com/OpenHands/OpenHands/pull/18203)). Switching from an empty composer to one with a saved draft restores the text next to a disabled Send; this is a race (Send came up enabled in 1 of 7 tries), so one enabled reading does not show the bug is gone. Switching from a composer with text to an empty one leaves Send enabled, and clicking it does nothing. Typing or `browser reload` fixes it, and Enter in the field sends the restored text anyway. Read `browser enabled 'testid=submit-button'` after a reload, or after typing.
+- Expected: a prompt that a suggestion chip (`testid=chat-suggestions`) or a `+` > **Macros** item writes into the composer enables Send at once. Known failure (reproduced 2026-10-09, [#18202](https://github.com/OpenHands/OpenHands/issues/18202)): on a new No workspace conversation, `browser click 'testid=chat-suggestions >> text=Fix README'` (or `browser click 'testid=chat-plus-button'`, `browser hover 'testid=macros-button'`, `browser click 'testid=fix-readme-button'`) fills the field, but `browser enabled 'testid=submit-button'` is `false` (5 of 5 tries at desktop; a race at phone) until a character is typed. Both paths call `setMessageToSend`, which writes the text without an input event.
- Uploaded chips and thumbnails have no test ids. Their remove buttons are named `Remove <file name>` (file chip) and `Remove image` (thumbnail), and Send, Stop and Play read `Send message`, `Stop` and `Resume the agent task` (#18033); select by those names, or by text/alt.
- `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`.
diff --git a/.agents/skills/verify-openhands/references/feature-map/F06-agent-activity.md b/.agents/skills/verify-openhands/references/feature-map/F06-agent-activity.md
index ad265a3814..a85bbf4a49 100644
--- a/.agents/skills/verify-openhands/references/feature-map/F06-agent-activity.md
+++ b/.agents/skills/verify-openhands/references/feature-map/F06-agent-activity.md
@@ -112,7 +112,7 @@ Preconditions:
- Confirmation mode with the default Security Analyzer `LLM` uses ConfirmRisky(HIGH): harmless commands run without a prompt. Set the analyzer to `None` to confirm every action, and restore `LLM` afterwards. The composer stays editable while waiting (status "User needed"); the buttons read Cancel / Continue.
- Known failure, Canvas UI: after Cancel the event group keeps a spinner and "1/2 actions completed" forever, even after reload, although the conversation is idle and the server recorded `UserRejectObservation` (the group only counts `ObservationEvent`s) (#17920). Evidence `F06.confirmation-mode/rejected-after-reload.png`.
- Known failure, Canvas UI: the confirm/cancel shortcuts check only `metaKey`; on Linux/Windows `Control+Enter` does nothing although the composer and plan shortcuts accept Ctrl (#17928).
-- Known failure, Canvas UI (#18202): after a user-message branch the composer holds the prefilled text but Send stays disabled (`browser enabled 'testid=submit-button'` is `false`, and a click on it times out with `element is not enabled`). The prefill is a saved draft that `src/hooks/chat/use-draft-persistence.ts` writes into the field without an input event, and the composer is reused across the client-side switch, so its Send state keeps the source conversation's empty field. Editing the text, a reload, or Enter in the field (`browser press Enter --selector 'testid=chat-input'`) all work. A draft restored by a sidebar switch behaves the same (F05 Gotchas).
+- Known failure, Canvas UI ([#18202](https://github.com/OpenHands/OpenHands/issues/18202), reproduced 2026-10-09; [draft fix PR #18203](https://github.com/OpenHands/OpenHands/pull/18203)): after a user-message branch the composer holds the prefilled text but Send stays disabled (`browser enabled 'testid=submit-button'` is `false`, and a click on it times out with `element is not enabled`). The prefill is a saved draft that `src/hooks/chat/use-draft-persistence.ts` writes into the field without an input event, and the composer is reused across the client-side switch, so its Send state keeps the source conversation's empty field. Editing the text, a reload, or Enter in the field (`browser press Enter --selector 'testid=chat-input'`) all work. A draft restored by a sidebar switch behaves the same (F05 Gotchas).
- Known failure, likely Agent Server: every message in a branched conversation ends with `ConversationErrorEvent` `LLMAuthenticationError` ("Your LLM API key appears to be invalid or has expired."), while the source conversation keeps working (OpenHands/software-agent-sdk#5465). Do not use branches as fixtures for other checks.
- "The terminal session was reset because the underlying tmux server/session disappeared" (clock `status-icon` on the row) appears after a `service stop agent-server` / `restart` cycle. Since `launch` gives each run its own short `TMUX_TMPDIR`, other runs no longer cause it. The underlying product bug is still open (OpenHands/OpenHands#17946) for plain `agent-canvas` instances: `bin/agent-canvas.mjs` → `scripts/dev-with-automation.mjs` passes `TMUX_TMPDIR=<state>/tmux` to the Agent Server but `ensureDirectories` never creates it (`dev-safe.mjs` does), so tmux 3.4 falls back to the shared `/tmp/tmux-<uid>/openhands` socket and another instance's restart or stop kills this run's windows. The model usually reruns the command; expect an extra action.
- The `ConversationErrorEvent` banner is not restored after navigating away and back (or a reload); read the error from the events API instead.
diff --git a/.agents/skills/verify-openhands/references/feature-map/F07-conversation-page.md b/.agents/skills/verify-openhands/references/feature-map/F07-conversation-page.md
index 36f5bad440..09372c8acc 100644
--- a/.agents/skills/verify-openhands/references/feature-map/F07-conversation-page.md
+++ b/.agents/skills/verify-openhands/references/feature-map/F07-conversation-page.md
@@ -31,7 +31,7 @@ Source: `src/routes/conversation.tsx`, `src/components/features/conversation/`,
- `F07.branch-from-message`: Branch from here on a message forks the conversation as `<title> (branch)`; on a user message the message is left out and its text goes back into the composer.
- `F07.right-panel-toggle`: the header panel button shows and hides the right tabs panel (closed again after a reload).
- `F07.overview-toggle`: the header (i) button shows and hides the Overview column, which is exclusive with the right panel.
-- `F07.git-actions-menu`: Git actions offers Commits, Pull, Push, Create PR and Create New Branch; each pre-fills the composer without sending.
+- `F07.git-actions-menu`: the header Git actions menu offers Commits, Pull, Push, Create PR and Create New Branch; each pre-fills the composer without sending, and Send becomes enabled so the user can submit or edit the prompt.
- `F07.git-control-bar`: under the composer, a folder workspace shows an inert workspace chip and the branch; with a GitHub `origin` the repo and branch chips link to GitHub and Pull, Push and Pull Request appear.
- `F07.git-control-bar-send`: the Pull, Push and Pull Request chips send their git prompt to the agent at once.
- `F07.cloud-only`: Share publicly, Connect Repo, `task-<uuid>` start URLs, paused-sandbox resume, archived read-only state and the shared-conversation redirect exist only on a Cloud backend.
@@ -71,13 +71,13 @@ Preconditions:
- **Hooks (`F07.hooks-modal`).** On `/conversations/<running-id>` (no workspace attached; Paused conversation left the browser there) open the "..." menu, `control-openhands browser click 'testid=conversation-name-context-menu >> testid=show-hooks-button'` and `control-openhands browser text 'testid=hooks-modal'`. It reads `Available Hooks`, the workspace explanation and `No hooks configured for this conversation.` (the backend workspace root has no `hooks.json`). Run `control-openhands browser network --clear` and `control-openhands browser click 'testid=hooks-modal >> testid=refresh-hooks'`: the text stays and `control-openhands browser network` shows `POST /api/hooks`. `control-openhands browser click 'testid=close-hooks-modal'` closes it.
- **Skills (`F07.skills-modal`).** Open the menu, `control-openhands browser click 'testid=conversation-name-context-menu >> testid=show-skills-button'`, `control-openhands browser snapshot 'role=dialog'` (`Public skills 12` and one button per skill), `control-openhands browser click 'testid=skills-modal >> role=button[name="github Knowledge"]'`; the row expands to `Triggers` and `Content`. `control-openhands browser press Escape` closes it (`browser count 'testid=skills-modal'` is `0`).
- **Project skills and configured hooks (`F07.skills-modal-project`, `F07.hooks-modal`).** Arrange (outside the UI) a project skill and a hook in the git fixture: `mkdir -p <run>/workspace/qa-f07-repo/.agents/skills/qa-f07-skill <run>/workspace/qa-f07-repo/.openhands`, write `<run>/workspace/qa-f07-repo/.agents/skills/qa-f07-skill/SKILL.md` with front matter `name: qa-f07-skill`, `description: QA fixture skill for F07.`, `triggers: [qaf07trigger]` and the body `QA_F07 skill body.`, and write `<run>/workspace/qa-f07-repo/.openhands/hooks.json` as `{"pre_tool_use":[{"matcher":"terminal","hooks":[{"type":"command","command":"true","timeout":10}]}]}`. Then `control-openhands conversation start --workspace qa-f07-repo --prompt "Reply with the single word: hi" --wait --timeout 240` prints `<hooks-id>`; `control-openhands api GET /api/conversations/<hooks-id>` shows that `hook_config.pre_tool_use` holds the `terminal` matcher. On `/conversations/<hooks-id>` open the menu, `control-openhands browser click 'testid=conversation-name-context-menu >> testid=show-skills-button'` and `control-openhands browser snapshot 'role=dialog'`: `Project skills 1` with `button "qa-f07-skill AgentSkills"` above `Public skills 12`. `control-openhands browser click 'testid=skills-modal >> role=button[name="qa-f07-skill AgentSkills"]'` expands it to `Triggers qaf07trigger Content QA_F07 skill body.`; `control-openhands browser click 'testid=skills-modal >> testid=refresh-skills'` re-reads the workspace (`browser network` shows `POST /api/skills`). Close with `control-openhands browser press Escape`. Hooks: open the menu, `control-openhands browser click 'testid=conversation-name-context-menu >> testid=show-hooks-button'` and `control-openhands browser snapshot 'testid=hooks-modal'`: one collapsed event, `button "Pre Tool Use 1 hook"`. `control-openhands browser click 'testid=hooks-modal >> role=button[name="Pre Tool Use 1 hook"]'` expands it to `Matcher terminal Commands true Type: command Timeout: 10s` (`control-openhands browser screenshot --feature F07.hooks-modal --name workspace-hooks`). Close it with `control-openhands browser click 'testid=close-hooks-modal'` and write `<run>/workspace/qa-f07-repo/.openhands/hooks.json` as `{"pre_tool_use":[{"matcher":"terminal","hooks":[{"type":"command","command":"true","timeout":10}]}],"stop":[{"hooks":[{"type":"command","command":"echo qa-f07-stop"}]}]}`. A reopen keeps the list it read: run `control-openhands browser network --clear`, open the menu, `control-openhands browser click 'testid=conversation-name-context-menu >> testid=show-hooks-button'` again, then `control-openhands browser network --filter /api/hooks` (no request) and `control-openhands browser snapshot 'testid=hooks-modal'` (still only `button "Pre Tool Use 1 hook"`). Refresh re-reads the file: `control-openhands browser click 'testid=hooks-modal >> testid=refresh-hooks'`, then `control-openhands browser network --filter /api/hooks` shows `POST /api/hooks` and the snapshot adds `button "Stop 1 hook"`; `control-openhands browser click 'testid=hooks-modal >> role=button[name="Stop 1 hook"]'` expands it to `Matcher * Commands echo qa-f07-stop Type: command Timeout: 60s` (the SDK defaults). Close with `control-openhands browser click 'testid=close-hooks-modal'`.
-- **Agent tools (`F07.agent-tools-modal`).** Open the menu, `control-openhands browser click 'testid=conversation-name-context-menu >> testid=show-agent-tools-button'`; the dialog `testid=system-message-modal` has tabs `System Message` (selected, the system prompt) and `Available Tools`. `control-openhands browser click 'role=dialog >> role=tab[name="Available Tools"]'`, `control-openhands browser count 'testid=system-message-modal >> testid=toggle-button'` (`9`), `control-openhands browser click 'testid=system-message-modal >> testid=toggle-button >> nth=0'` expands `terminal` with its description. Close with `control-openhands browser click 'testid=close-system-message-modal'`.
+- **Agent tools (`F07.agent-tools-modal`).** Open the menu, `control-openhands browser click 'testid=conversation-name-context-menu >> testid=show-agent-tools-button'`; the dialog `testid=system-message-modal` has tabs `System Message` (selected, the system prompt) and `Available Tools`. `control-openhands browser click 'role=dialog >> role=tab[name="Available Tools"]'`, `control-openhands browser count 'testid=system-message-modal >> testid=toggle-button'` (backend-provided count; `23` on Agent Server 1.53.0), `control-openhands browser click 'testid=system-message-modal >> testid=toggle-button >> nth=0'` expands `terminal` with its description. Close with `control-openhands browser click 'testid=close-system-message-modal'`.
- **Export transcript (`F07.export-transcript`).** Open the menu, `control-openhands browser click 'testid=conversation-name-context-menu >> testid=export-transcript-button'`; `control-openhands browser snapshot 'role=dialog'` shows `Export conversation`, radio `Markdown document (.md)` checked, `Standalone web page (.html)`, and checkboxes `Include tool call details` and `Include timestamps` checked. `control-openhands browser click 'testid=confirm-transcript-export'` then `control-openhands browser downloads --last 1 --inspect`: a `<ms>-conversation-<id>.md` (the harness prefixes a timestamp to the suggested `conversation-<id>.md`) lands in `<run>/private/downloads` starting `# QA_F07 renamed`, `**Model:** deepseek/deepseek-flash`, `## User` with `<sub>` timestamps. Reopen, `control-openhands browser click 'role=dialog >> role=radio[name="Standalone web page (.html)"]'`, `control-openhands browser click 'role=dialog >> role=checkbox[name="Include timestamps"]'`, export: the `.html` has `<title>QA_F07 renamed</title>` and no timestamps. Reopen once more: `control-openhands browser click 'testid=cancel-transcript-export'` closes it without a download (the file count in `<run>/private/downloads` is unchanged); `browser press Escape` and `testid=close-transcript-export-modal` close it too.
- **Download data (`F07.download-zip`).** Open the menu, `control-openhands browser click 'testid=conversation-name-context-menu >> testid=download-trajectory-button'`, then `control-openhands browser downloads`. A `<ms>-conversation_<id>.zip` lands in `<run>/private/downloads`; `browser downloads --last 1 --inspect` lists `<id-without-dashes>/base_state.json` and `bash_events/`, and every LLM `api_key` in `base_state.json` is masked as asterisks (`**********`).
- **Usage (`F07.display-cost`).** Open the menu, `control-openhands browser click 'testid=conversation-name-context-menu >> testid=display-cost-button'`, `control-openhands browser wait 'testid=usage-panel'` and `control-openhands browser attr 'testid=right-panel-toggle' aria-pressed` (`true`). The panel shows Context Window, Token Usage and Total Cost (contents are F27).
- **Right panel (`F07.right-panel-toggle`).** Run `control-openhands browser click 'testid=right-panel-toggle'` and `control-openhands browser attr 'testid=right-panel-toggle' aria-label`: it alternates `Show panel` / `Hide panel`, and `control-openhands browser wait 'testid=tabs-pane-header' --state hidden --timeout 5000` (after `Show panel`) or `--state visible` (after `Hide panel`) follows; a plain `browser visible` right after the click still reads the old value while the panel animates. With the panel open, `control-openhands browser reload` and `browser attr 'testid=right-panel-toggle' aria-pressed` reads `false` (closed by design; the selected tab is remembered).
- **Overview (`F07.overview-toggle`).** Run `control-openhands browser click 'testid=conversation-overview-toggle'`, `control-openhands browser visible 'testid=conversation-overview-panel'` (`true`) and `browser attr 'testid=conversation-overview-toggle' aria-label` (`Hide overview`). Then `control-openhands browser click 'testid=right-panel-toggle'`: `control-openhands browser wait 'testid=conversation-overview-column' --state hidden --timeout 5000` succeeds (an immediate `browser visible` can still read `true`). With the panel open, `control-openhands browser hover 'testid=conversation-overview-toggle'` and `control-openhands browser wait 'testid=conversation-overview-peek' --timeout 5000` shows the peek. Clicking the overview toggle now closes the panel (`aria-pressed` `false`) and shows the overview (`browser wait 'testid=conversation-overview-column' --state visible`). Click the overview toggle once more to restore the closed state.
-- **Git actions (`F07.git-actions-menu`).** Run `control-openhands browser click 'testid=conversation-git-actions-toggle'` and `control-openhands browser testids 'testid=conversation-git-actions-menu'` (`-commit`, `-pull`, `-push`, `-create-pr`, `-create-new-branch`, labels `Commits`, `Pull`, `Push`, `Create PR`, `Create New Branch`). `control-openhands browser click 'testid=conversation-git-actions-menu >> testid=conversation-git-actions-commit'` then `control-openhands browser text 'testid=chat-input'`: `Please review the current changes and create a git commit with a concise, descriptive message.`; `conversation events <id> --kinds MessageEvent` shows no new message. Each item replaces the composer text: `-pull` gives `Please pull the latest code from the repository.`, `-create-new-branch` gives `Please create a new branch with a descriptive name related to the work you plan to do.`, and the Push and Create PR prompts name `GitHub` by default. `control-openhands browser press Escape` closes the open menu. Clear the composer with `control-openhands browser fill 'testid=chat-input' ''`.
+- **Git actions (`F07.git-actions-menu`).** Run `control-openhands browser click 'testid=conversation-git-actions-toggle'` and `control-openhands browser testids 'testid=conversation-git-actions-menu'` (`-commit`, `-pull`, `-push`, `-create-pr`, `-create-new-branch`, labels `Commits`, `Pull`, `Push`, `Create PR`, `Create New Branch`). `control-openhands browser click 'testid=conversation-git-actions-menu >> testid=conversation-git-actions-commit'` then `control-openhands browser text 'testid=chat-input'`: `Please review the current changes and create a git commit with a concise, descriptive message.`; `conversation events <id> --kinds MessageEvent` shows no new message. `control-openhands browser enabled 'testid=submit-button'` should be `true`, without typing. Each item replaces the composer text: `-pull` gives `Please pull the latest code from the repository.`, `-create-new-branch` gives `Please create a new branch with a descriptive name related to the work you plan to do.`, and the Push and Create PR prompts name `GitHub` by default. `control-openhands browser press Escape` closes the open menu. Clear the composer with `control-openhands browser fill 'testid=chat-input' ''`. Known failure ([#18202](https://github.com/OpenHands/OpenHands/issues/18202), reproduced 2026-10-09 on `main@3500d9e5`): after Pull, Send stays disabled until the user types.
- **Panel route (`F07.panel-route`).** Run `control-openhands browser viewport phone`, open `/conversations/<id>` (`control-openhands browser goto /conversations/<id>`), `control-openhands browser click 'testid=right-panel-toggle' --expect-url '/panel$'` and `control-openhands browser testids --filter mobile` (`conversation-mobile-panel-top`, `conversation-mobile-panel-back`), then `control-openhands browser click 'testid=conversation-mobile-panel-back' --expect-url '/conversations/[0-9a-f-]+$'`. Direct entry at phone width: `control-openhands browser goto /conversations/<id>/panel` and `control-openhands browser wait 'testid=conversation-mobile-panel-back'` succeed (`control-openhands browser screenshot --feature F07.panel-route --name phone-direct`). The panel page serves every width up to 1024 px: after `control-openhands browser viewport tablet` the URL still ends `/panel` and `control-openhands browser count 'testid=conversation-mobile-panel-back'` is `1`. Wider, there is no panel page: run `control-openhands browser viewport desktop`, then `control-openhands browser wait-url '/conversations/[0-9a-f-]+$'` (the app replaces `/panel` with `/conversations/<id>`), `control-openhands browser count 'testid=conversation-mobile-panel-back'` (`0`) and `control-openhands browser attr 'testid=right-panel-toggle' aria-pressed` (`true`: the drawer is open beside the chat). A desktop-width visit lands the same way (#18045): `control-openhands browser goto /conversations/<id>/panel`, `control-openhands browser wait-url '/conversations/[0-9a-f-]+$'`, the same count (`0`) and `aria-pressed` (`true`); `control-openhands browser screenshot --feature F07.panel-route --name desktop-redirect` shows the chat with the drawer open beside it.
- **Git control bar (`F07.git-control-bar`).** On `/conversations/<git-id>` (`control-openhands browser goto /conversations/<git-id>`; Panel route ends on `/conversations/<id>`) run `control-openhands browser snapshot 'testid=interactive-chat-box'`: `button "qa-f07-repo" [disabled]` and the branch text `main`, no Pull/Push. Add a GitHub origin to the fixture (arrange step, outside the UI): `git -C <run>/workspace/qa-f07-repo remote add origin https://github.com/qa-example/qa-f07-repo.git`. Then `control-openhands browser reload` and the snapshot again: link `qa-example/qa-f07-repo` (`https://github.com/qa-example/qa-f07-repo`), link `main` (`…/tree/main`) and buttons `Pull`, `Push`, `Pull Request`.
- **Pull sends at once (`F07.git-control-bar-send`).** Run `control-openhands browser click 'testid=interactive-chat-box >> role=button[name="Pull"][exact]'` and `control-openhands browser wait 'testid=user-message >> has-text=Please pull the latest code' --timeout 15000`; `conversation status <git-id>` is `running`. Stop it right away with Stop Conversation as in `F07.stop-confirm` (the fake remote cannot be pulled). Push and Pull Request are blocked: they need a real remote and GitHub credentials.
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.md
index ac10494995..db4edac4eb 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
@@ -58,9 +58,9 @@ Preconditions:
- **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`.
-- **Server error (`F11.create-error`).** Run `control-openhands browser click 'testid=add-provider-connection'`, `control-openhands browser fill 'testid=provider-connection-name-input' "QA_$(printf 'x%.0s' $(seq 1 127))"` (130 characters), pick deepseek as above, `control-openhands browser fill 'testid=provider-connection-api-key-input' dummy-key-3`, `control-openhands browser click 'testid=provider-connection-submit'`, then `control-openhands browser toasts` and `control-openhands browser count 'testid=provider-connection-modal'`. Expected: the modal stays open (`1`) and the toast reads like `String should have at most 128 characters`. Today the toast is the raw response, `HTTP request failed (422 Unprocessable Entity): {"detail":[{"type":"string_too_long",...` (fail, screenshot `--feature F11.create-error --name toast`). Close with `role=dialog >> role=button[name="Cancel"]`.
+- **Server error (`F11.create-error`).** Run `control-openhands browser click 'testid=add-provider-connection'`, `control-openhands browser fill 'testid=provider-connection-name-input' "QA_$(printf 'x%.0s' $(seq 1 127))"` (130 characters), pick deepseek as above, `control-openhands browser fill 'testid=provider-connection-api-key-input' dummy-key-3`, `control-openhands browser click 'testid=provider-connection-submit'`, then `control-openhands browser toasts` and `control-openhands browser count 'testid=provider-connection-modal'`. The modal stays open (`1`) and the toast reads `String should have at most 128 characters` (pass on main@3500d9e with Agent Server 1.53.0; screenshot `--feature F11.create-error --name toast`). Close with `role=dialog >> role=button[name="Cancel"]`.
- **Second connection.** Create `QA_spare` the same way with `dummy-key-2` as key and `control-openhands browser fill 'testid=provider-connection-base-url-input' 'not a url'` (accepted: base URLs are not validated). Toast `Connection "QA_spare" created`.
-- **Row menu (`F11.row-menu`, `F11.row-menu-focus`).** Run `control-openhands browser click 'testid=provider-connection-row >> has-text=QA_spare >> testid=provider-connection-menu-trigger'` and `control-openhands browser snapshot 'testid=provider-connection-actions-menu'`: menuitems `Bulk add`, `Edit`, `Delete` (screenshot `--feature F11.row-menu --name open`). `control-openhands browser eval "document.activeElement.getAttribute('data-testid')"` should be `provider-connection-add-models`; today it stays `provider-connection-menu-trigger` (fail) and ArrowDown does nothing until `control-openhands browser press Tab` moves focus to Bulk add. From there `browser press ArrowDown` focuses `provider-connection-edit`, two `ArrowUp` wrap to `provider-connection-delete`, and `browser press Tab` closes the menu (`browser count 'testid=provider-connection-actions-menu'` `0`). Reopen and `browser press Escape` (`0`); reopen and click the trigger again (`0`); reopen and `control-openhands browser click 'text=Share one API key across multiple models.'` (`0`).
+- **Row menu (`F11.row-menu`, `F11.row-menu-focus`).** Run `control-openhands browser click 'testid=provider-connection-row >> has-text=QA_spare >> testid=provider-connection-menu-trigger'` and `control-openhands browser snapshot 'testid=provider-connection-actions-menu'`: menuitems `Bulk add`, `Edit`, `Delete` (screenshot `--feature F11.row-menu --name open`). `control-openhands browser eval "document.activeElement.getAttribute('data-testid')"` should be `provider-connection-add-models`; on main@3500d9e it stays `provider-connection-menu-trigger` and ArrowDown does nothing until `control-openhands browser press Tab` moves focus to Bulk add ([issue #18204](https://github.com/OpenHands/OpenHands/issues/18204); [draft fix PR #18205](https://github.com/OpenHands/OpenHands/pull/18205)). From there `browser press ArrowDown` focuses `provider-connection-edit`, two `ArrowUp` wrap to `provider-connection-delete`, and `browser press Tab` closes the menu (`browser count 'testid=provider-connection-actions-menu'` `0`). Reopen and `browser press Escape` (`0`); reopen and click the trigger again (`0`); reopen and `control-openhands browser click 'text=Share one API key across multiple models.'` (`0`).
- **Edit (`F11.edit`).** Run the trigger click above, then `control-openhands browser click 'testid=provider-connection-actions-menu >> testid=provider-connection-edit'` and `control-openhands browser snapshot 'role=dialog'`: `Edit provider connection`, Name `QA_spare`, Provider `deepseek`, `API Key Leave blank to keep the current key.` with placeholder `<hidden>`, Base URL `not a url`; `browser value 'testid=provider-connection-api-key-input'` is empty and Save is enabled. Run `control-openhands browser fill 'testid=provider-connection-name-input' QA_edited`, `control-openhands browser fill 'testid=provider-connection-base-url-input' 'https://api.deepseek.com'`, `control-openhands browser click 'testid=provider-connection-submit'` and `control-openhands browser wait-text 'Connection "QA_edited" updated'`. After `browser reload` the row reads `QA_edited\ndeepseek\n0 model(s)`, the `QA_spare` count is `0`, and `api GET /api/llm/provider-connections` shows `base_url` `https://api.deepseek.com` and `api_key_set` `true`. Edit again: fill the name with `' '` (`browser enabled 'testid=provider-connection-submit'` `false`), restore `QA_edited`, `control-openhands browser fill 'testid=provider-connection-base-url-input' ''`, Save, `browser wait 'testid=provider-connection-modal' --state detached`; the API shows `base_url` `null`.
- **Bulk add (`F11.add-models`).** Run `control-openhands browser click 'testid=provider-connection-row >> has-text=QA_conn >> testid=provider-connection-menu-trigger'` and `control-openhands browser click 'testid=provider-connection-actions-menu >> testid=provider-connection-add-models'`. The dialog `Add models as profiles` has provider `deepseek` selected, `control-openhands browser eval "[...document.querySelectorAll('[data-testid=add-models-connection] option')].map(o=>o.textContent+'='+o.selected).join(' | ')"` is `No connection (keyless)=false | QA_conn=true | QA_edited=false`, and `browser text 'testid=add-models-submit'` is `Add 12 profiles` (every model checked). Run `control-openhands browser uncheck 'testid=add-models-select-all'` (`Add 0 profiles`), `control-openhands browser check 'testid=add-models-check-deepseek/deepseek-flash'` (`Add 1 profiles`), `control-openhands browser click 'testid=add-models-submit'` and `control-openhands browser wait-text 'Added 1'`. After `browser reload` the `QA_conn` row reads `QA_conn\ndeepseek\n1 model(s)` (`QA_edited` stays `0 model(s)`), and `api GET /api/profiles` shows `deepseek-flash` with `provider_connection_id` and `"active_profile": "deepseek-flash"`.
- **The agent uses the connection's key (`F11.agent-uses-connection`).** Open Edit on `QA_conn` (as above), leave the key blank, click `testid=provider-connection-submit` and `browser wait-text 'Connection "QA_conn" updated'`. Run `control-openhands conversation start --prompt "Reply with exactly the word: pong" --wait --timeout 180` (prints `<id>`, `"model": "deepseek/deepseek-flash"`, status `finished`), then `control-openhands conversation events <id> --kinds ConversationErrorEvent,MessageEvent`: the agent message is `pong` and there is no `ConversationErrorEvent`.
diff --git a/.agents/skills/verify-openhands/references/feature-map/F13-agent-profiles.md b/.agents/skills/verify-openhands/references/feature-map/F13-agent-profiles.md
index dd32bddce2..316e0a1aca 100644
--- a/.agents/skills/verify-openhands/references/feature-map/F13-agent-profiles.md
+++ b/.agents/skills/verify-openhands/references/feature-map/F13-agent-profiles.md
@@ -15,7 +15,7 @@ Source: `src/routes/agent-profiles-settings.tsx`, `src/routes/agent-settings.tsx
- `F13.create`: **Add agent profile** opens the editor; Save toasts `Profile "<name>" created` and the row is listed after a reload.
- `F13.name-validation`: an empty or malformed name marks the field invalid (red rule) and disables Save; a duplicate name disables Save without a message.
- `F13.editor-no-llm`: with no LLM profiles, an OpenHands profile shows `Create an LLM profile first to define an OpenHands agent.` and Save toasts `Select an LLM profile for this agent.` without creating anything.
-- `F13.openhands-options`: OpenHands profiles offer an LLM profile dropdown (the active LLM profile by default), a **System prompt** choice (`OpenHands default`), **Parallel tool calls** (default 1, minimum 1) and **Tools**: `Standard tools` (default) lists the server's standard set read-only, `Choose tools` turns the server's tool catalog into switches; values persist and reopen.
+- `F13.openhands-options`: OpenHands profiles offer an LLM profile dropdown (the active LLM profile by default), a **System prompt** choice (`OpenHands default`, `Default + your instructions` or `Custom persona`, each saved on the profile), **Parallel tool calls** (default 1, minimum 1) and **Tools**: `Standard tools` (default) lists the server's standard set read-only, `Choose tools` turns the server's tool catalog into switches; values persist and reopen.
- `F13.edit`: Edit reopens the stored values with Save disabled until something changes; renaming keeps the profile id; Back and Cancel leave without saving.
- `F13.stale-llm-ref`: editing a profile whose LLM profile no longer exists preselects the active LLM profile and enables Save, so saving heals the reference.
- `F13.set-active`: **Set as active** toasts `Switched to profile "<name>"`, moves the Default badge and is disabled on the active row.
@@ -61,6 +61,7 @@ Preconditions:
- **Secrets scope (`F13.secrets-scope`).** In the `QA_codex` editor, `control-openhands browser eval "[...document.querySelectorAll('[data-testid=agent-settings-secret-list] input')].map(i=>i.closest('li').innerText.split('\n')[0]+'='+i.checked+(i.disabled?'(disabled)':''))"` shows every name `=true(disabled)` under `No profile restriction`. Open `testid=agent-settings-secrets-mode`, `control-openhands browser click 'role=option[name="Choose secrets"]'` and rerun the eval: `OPENHANDS_AUTOMATION_API_KEY=false`, `OPENAI_API_KEY=true`, `CODEX_AUTH_JSON=true`, `OPENAI_BASE_URL=true`. Save (`Profile "QA_codex" updated`); `api GET /api/agent-profiles/QA_codex` has those three in `secret_refs`, and after `browser reload` and Edit the mode and switches are the same. On an OpenHands profile, Choose starts with nothing selected; a switch toggles by its name: in the Add editor pick `Choose secrets`, then `control-openhands browser click 'testid=agent-settings-secret-list >> text=OPENHANDS_AUTOMATION_API_KEY'` turns `document.querySelector('[data-testid=agent-settings-secret-OPENHANDS_AUTOMATION_API_KEY]').checked` from `false` to `true`.
- **Stale LLM reference (`F13.stale-llm-ref`).** After `control-openhands llm preset deepseek`, run `control-openhands browser reload`, open `testid=agent-profile-row >> has-text=default >> testid=agent-profile-menu-trigger` → `testid=agent-profile-edit`, `control-openhands browser wait 'testid=agent-profile-llm-selector'`. `browser value 'testid=agent-profile-llm-selector'` is `deepseek-flash (deepseek/deepseek-flash)` and Save is enabled although nothing was touched. Save (`Profile "default" updated`), `browser reload`: the row reads `default` / `deepseek-flash` / `Default` and `api GET /api/agent-profiles/default` has `llm_profile_ref` `deepseek-flash` with the same id. Screenshot `--feature F13.stale-llm-ref --name fallback` before saving.
- **OpenHands options (`F13.openhands-options`, `F13.create`).** Click `testid=add-agent-profile`, fill the name `QA_oh`. Defaults: `browser value` on `testid=agent-profile-llm-selector` is the active LLM profile (`deepseek-flash (deepseek/deepseek-flash)`), on `testid=agent-settings-system-prompt-mode` `OpenHands default`, on `testid=agent-settings-tools-mode` `Standard tools` and on `testid=sdk-settings-tool_concurrency_limit` `1`; `control-openhands browser text 'testid=agent-settings-tool-list'` lists `file_editor`, `task_tracker`, `terminal` and `switch_llm` with their descriptions (the list follows the Agent Server; 1.53.0 here). Run `control-openhands browser choose 'testid=agent-settings-tools-mode' 'Choose tools'`; `control-openhands browser eval "[...document.querySelectorAll('[data-testid=agent-settings-tool-list] input')].map(i=>i.dataset.testid.replace('agent-settings-tool-','')+'='+i.checked)"` is `file_editor=true`, `task_tool_set=false`, `task_tracker=true`, `terminal=true`, `glob=false`, `grep=false`, `switch_llm=true`. Click `'testid=agent-settings-tool-list >> text=switch_llm'` and `'testid=agent-settings-tool-list >> text=task_tool_set'` (the eval flips both). Fill `testid=sdk-settings-tool_concurrency_limit` with `0` and click Save: `browser toasts` shows `Parallel tool calls must be at least 1` and `browser eval "document.querySelector('[data-testid=sdk-settings-tool_concurrency_limit]').validationMessage"` is `Value must be greater than or equal to 1.` Fill `2`, `control-openhands browser choose 'testid=agent-profile-llm-selector' 'deepseek-pro (deepseek/deepseek-v4-pro)'`, Save (`Profile "QA_oh" created`), `browser reload`: the row reads `QA_oh` / `deepseek-pro`, and `api GET /api/agent-profiles/QA_oh` has `llm_profile_ref` `deepseek-pro`, `tools` named `file_editor`, `task_tool_set`, `task_tracker`, `terminal`, `enable_classify_and_switch_llm_tool` `false` and `tool_concurrency_limit` `2`. Reopening shows `Choose tools` with the same switches, `2` and `deepseek-pro`, with Save disabled. (There are no **Enable sub-agents** or **Let the agent switch LLM profiles** switches: `browser count 'text=Enable sub-agents'` is `0`.)
+ System prompt: reopen `QA_oh`, `control-openhands browser choose 'testid=agent-settings-system-prompt-mode' 'Default + your instructions'` and fill `testid=agent-settings-system-prompt` with `Use terse QA answers.`. Save, `browser reload` and reopen: `api GET /api/agent-profiles/QA_oh` has `system_message_suffix` `Use terse QA answers.` and `persona` `null`, and the editor keeps the mode and text with Save disabled. Then choose `Custom persona`, fill `You are the disposable QA persona.`, Save, reload and reopen: `persona` is that text, `system_message_suffix` is `null`, and the editor keeps the mode and text. Choose `OpenHands default` and Save (both fields `null`) before later checks that use this profile.
- **Set as active (`F13.set-active`).** Run `control-openhands browser click 'testid=agent-profile-row >> has-text=QA_oh >> testid=agent-profile-menu-trigger'`, `control-openhands browser click 'testid=agent-profile-set-active'` and `control-openhands browser wait-text 'Switched to profile "QA_oh"' --timeout 10000`. After `browser reload`, `browser count 'testid=agent-profile-row >> has-text=QA_oh >> testid=agent-profile-active-badge'` and `browser count 'testid=agent-profile-active-badge'` are both `1`. Reopen the QA_oh menu: `browser enabled 'testid=agent-profile-set-active'` is `false` (screenshot `--feature F13.set-active --name menu`); `control-openhands browser press Escape` closes it (`browser count 'testid=agent-profile-actions-menu'` is `0`).
- **Pill wins over a pinned LLM (`F13.llm-pill-precedence`).** With `QA_oh` active (pinned to `deepseek-pro`) and the Home pill on `deepseek-flash` (`browser text 'testid=chat-input-llm-profile'` on `/`), run `control-openhands conversation start --prompt "Reply with only: qa-profile-ok" --wait --timeout 240`. The output's `model` is `deepseek/deepseek-flash`, and `control-openhands api GET /api/conversations/<id>` (id from that output) has `"launched_agent_profile": null` and `tool_concurrency_limit` `1`: the profile was not applied.
- **Active profile drives the launch (`F13.active-drives-conversation`).** Run `control-openhands browser goto /settings/agents` (the previous `conversation start` left the browser on the conversation), edit `QA_oh`, run `control-openhands browser choose 'testid=agent-profile-llm-selector' 'deepseek-flash (deepseek/deepseek-flash)'` (the toggle-button opener failed 5 of 5 times here: see Gotchas), check `browser value 'testid=agent-profile-llm-selector'`, Save (`Profile "QA_oh" updated`). Run the same `conversation start` again; `api GET /api/conversations/<id>` now has `launched_agent_profile.agent_profile_id` equal to QA_oh's id from `api GET /api/agent-profiles` and `tool_concurrency_limit` `2`; `control-openhands conversation events <id> --kinds MessageEvent` contains `qa-profile-ok`.
diff --git a/.agents/skills/verify-openhands/references/feature-map/F21-automations-dashboard.md b/.agents/skills/verify-openhands/references/feature-map/F21-automations-dashboard.md
index c8248f8a34..28e2164baa 100644
--- a/.agents/skills/verify-openhands/references/feature-map/F21-automations-dashboard.md
+++ b/.agents/skills/verify-openhands/references/feature-map/F21-automations-dashboard.md
@@ -18,7 +18,7 @@ Source: `src/routes/automations-list.tsx`, `src/components/features/automations/
- `F21.command-menu`: the command menu offers **Automations** ("Review scheduled and webhook automations."), also found by the keywords automate, cron, schedule, webhook and jobs; choosing it opens `/automations`.
- `F21.pin-home`: the pin on the sidebar Automate item makes `/` redirect to `/automations`; unpinning restores the normal home.
- `F21.subpage-nav`: Dashboard and Templates sub-pages appear in a left aside from 1024 px up and in a horizontal strip below that (phones and tablets); the current page has `aria-current="page"`.
-- `F21.manifest-404`: without an admitted automation interface manifest, `/automations` is a 404 from the layout error boundary and the Automate entries are hidden.
+- `F21.manifest-404`: without an admitted automation interface manifest, `/automations` is a 404 from the layout error boundary, and all Automate entry points, including the Home checklist and recommendations, are hidden without error toasts. Known failure: Canvas hides the sidebar entry but leaves a dead Home checklist link and raises two manifest errors ([#18210](https://github.com/OpenHands/OpenHands/issues/18210); [draft fix PR #18212](https://github.com/OpenHands/OpenHands/pull/18212)).
- `F21.health-loading`: while the health check runs, the page shows the title and three card skeletons.
- `F21.list-loading`: once the backend is healthy, the header, tiles and controls render at once while three card skeletons stand in for the list until the first page arrives.
- `F21.backend-unavailable`: when the health check fails, the page shows **Automations Unavailable** with a Retry button.
@@ -80,7 +80,8 @@ Preconditions:
- **Backend unavailable (`F21.backend-unavailable`).** Run `control-openhands service stop automation`, `control-openhands browser goto /automations`, `control-openhands browser wait-text 'Automations Unavailable'`, `control-openhands browser text 'role=main'` and `control-openhands browser screenshot --feature F21.backend-unavailable --name unavailable`. The main pane reads `Dashboard`, the subtitle, `Automations Unavailable`, `The automations backend is not available right now. ...` and `Retry`; the sidebar Automate item stays. Then `control-openhands restart` (the page stays put), `control-openhands browser click 'role=button[name="Retry"]'` and `control-openhands browser wait 'testid=automations-empty'`: the dashboard returns without a reload.
- **List error (`F21.list-error`).** The health result is cached for 30 s, and every page's sidebar checklist fetches it but not the 50-row list. Run `control-openhands browser goto /settings/secrets`, then within 30 s `control-openhands service stop automation`, `control-openhands browser click 'testid=sidebar-automations-link' --expect-url '/automations'` and `control-openhands browser wait-text 'Failed to load automations'`. The header, tiles (zeros) and Filters render above `Failed to load automations` and `Retry`; screenshot with `--feature F21.list-error --name list-error`. Then `control-openhands restart`, click `role=button[name="Retry"]` and wait for `testid=automations-empty`. Starting from `/` does not work: home loads the same list, so the cached copy is shown instead of the error.
- **List loading (`F21.list-loading`).** Run `control-openhands browser goto /settings/secrets`, then `control-openhands browser click 'testid=sidebar-automations-link' --observe '[data-testid="automation-card-skeleton"], [data-testid="automations-add-automation"]' --observe-ms 2000`. One observed state is `Add Automation` plus three empty skeleton entries (about 50 ms), followed by `Add Automation` alone.
-- **Health loading and missing manifest (`F21.health-loading`, `F21.manifest-404`).** Blocked. The health-only skeleton (title and three `automation-card-skeleton`, no header buttons) shows only on the first health fetch, which the sidebar checklist always makes before a user can reach the dashboard, and stopping the service makes the fetch fail at once rather than hang. The 404 needs a build without the automation interface manifest.
+- **Health loading (`F21.health-loading`).** Blocked on this run. The health-only skeleton (title and three `automation-card-skeleton`, no header buttons) shows only on the first health fetch, which the sidebar checklist always makes before a user can reach the dashboard, and stopping the service makes the fetch fail at once rather than hang.
+- **Missing manifest (`F21.manifest-404`).** Use an isolated worktree at the frozen target and a private copy of its pinned `@openhands/extensions` package. Remove only the `AUTOMATION_INTERFACE` export from the copied `automations/index.js` before `npm run build:app`; leave Canvas source and the lockfile unchanged. Serve that frontend against an owned healthy Local backend. Open `/` and `/automations`: the sidebar Automate link should be absent, `/automations` should render 404, and Home should have no **Schedule a task** link, recommendation section, or no-manifest error toast. On `main@3500d9e5` the route/sidebar checks pass but Home shows the dead link and two `No automation interface manifest is admitted` toasts ([#18210](https://github.com/OpenHands/OpenHands/issues/18210); [draft fix PR #18212](https://github.com/OpenHands/OpenHands/pull/18212)). Record the alternate build as fault injection; the unmodified pinned package does include the manifest. Stop the private frontend and remove only this test worktree/build afterward.
- **Empty state (`F21.empty-state`).** With no automations run `control-openhands browser goto /automations`, `control-openhands browser text 'testid=automations-empty'`, `control-openhands browser enabled 'testid=automations-view-toggle'` and `control-openhands browser screenshot --feature F21.empty-state --name empty`. The text starts `No automations configured`, contains `Create an automation`, `Learn more in the documentation` and `Create Automation`, and lists the Recommended automations; `enabled` is `false`; the tiles read `Automations 0 / 0 active` and `Needs attention 0 / No latest-run failures`. **Create Automation** (`automations-create-automation`) starts a model-backed chat: see F22.
- **Add Automation menu (`F21.add-menu`).** Run `control-openhands browser click 'testid=automations-add-automation'` and `control-openhands browser snapshot 'testid=automations-add-automation-menu'`: buttons `Create Automation` and `Import automation`. `control-openhands browser press Escape` (or a click on `role=heading[name="Dashboard"]`) makes `browser count 'testid=automations-add-automation-menu'` `0`. Reopen it and `control-openhands browser click 'testid=automations-add-automation-create' --expect-url '/automations/setup'`: the agent-assisted setup page opens. Go back to `/automations`, reopen the menu, and `control-openhands browser click 'testid=automations-import-automation'`: the import modal is covered by F22.
- **Recommended rail on the empty dashboard (`F21.empty-rail`).** With no automations, `control-openhands browser click 'testid=automations-empty >> testid=recommended-automation-rail-card-custom-automation' --expect-url 'automations/new'` lands on `/automations/new/custom-automation` with the **Before you start** prerequisites dialog (F22). `control-openhands browser back` returns to `/automations`; there `browser attr 'testid=recommended-automations-rail-fade-left' data-visible` is `false` and `...-fade-right` is `true` (scrolling is F03.recommended-automations-rail).