π OpenHands: AI-Driven Development
docs(verify-openhands): map maintenance 2026-10-15 (#18477)
Engel Nyst9c301106a051
diff --git a/.agents/skills/verify-openhands/references/feature-map/F28-automation-setup-page.md b/.agents/skills/verify-openhands/references/feature-map/F28-automation-setup-page.mdindex ffaa6539d1..29f21b982d 100644--- a/.agents/skills/verify-openhands/references/feature-map/F28-automation-setup-page.md+++ b/.agents/skills/verify-openhands/references/feature-map/F28-automation-setup-page.md@@ -22,19 +22,19 @@ Source: `src/routes/automation-setup-new.tsx`, `src/components/features/automati## Sub-features-- `F28.open-blank`: Create Automation opens `/automations/setup` with Name pre-filled **New Automation** (placeholder `Standup digest`), an empty Prompt, Schedule selected with Daily at `09:00` in the browser's time zone, the docked composer (`Need help creating an automation?`) and no new conversation. The save state already reads **Unsaved changes** and the toolbar **Test** is disabled.+- `F28.open-blank`: Create Automation opens `/automations/setup` with Name pre-filled **New Automation** (placeholder `Standup digest`), an empty Prompt, Schedule selected with Daily at `09:00` in `America/New_York` (the default, whatever the browser's time zone), the docked composer (`Need help creating an automation?`) and no new conversation. The save state already reads **Unsaved changes** and the toolbar **Test** is disabled.- `F28.kind-toggle`: the button beside the Prompt label switches between Prompt and **Custom** (Custom Python). Custom shows a generated Python script that calls `AUTOMATION_CALLBACK_URL`, and **Entrypoint and setup** reveals Entrypoint `python3 main.py`, Setup script path `setup.sh` and a no-op setup script; switching back shows the Prompt again.-- `F28.schedule-presets`: in create mode the Frequency control (the same control as on the edit page, whose presets and saving F23 owns as edit-schedule and edit-cron) starts on Daily at `09:00`, and switching presets fills create-mode defaults: Once a date-time at the next whole hour today, Weekly Monday, Custom the last custom cron, `0 9 * * *` until one is typed (it is not derived from the preset: from Weekly on Monday it also reads `0 9 * * *`). Every preset keeps the 13-entry time zone select.-- `F28.event-trigger`: choosing **Event** replaces the schedule with Event source (default `github`; its menu lists the webhook sources registered on this backend plus **Custom**), Event key (default `issue_comment.created`), **Add Filter** (one free-text filter input), **Ask Agent**, the notice `Event sources need a public URL to deliver webhooks to this instance.`, and a **Test event payload** pre-filled with a JSON object for that source and key. A source the backend has not registered (menu **Custom**, then a typed name) adds **Register this as a custom webhook source**, checked by default.+- `F28.schedule-presets`: in create mode the Frequency control (the same control as on the edit page, whose presets and saving F23 owns as edit-schedule and edit-cron) starts on Daily at `09:00`, and switching presets fills create-mode defaults: Once a date-time at the next whole hour today, Weekly Monday, and Custom the cron of the preset it replaces (from Weekly, Monday at `10:30` it reads `30 10 * * 1`), while a cron already typed in Custom stays. Known failure (reproduced 2026-10-15, [#18461](https://github.com/OpenHands/OpenHands/issues/18461)): Custom shows the last custom cron, `0 9 * * *` until one is typed, whatever the preset; from Weekly on Monday it reads `0 9 * * *`. Every preset keeps the 13-entry time zone select.+- `F28.event-trigger`: choosing **Event** replaces the schedule with Event source (default **GitHub**, sent as `github`; its menu lists the webhook sources registered on this backend plus **Custom**), Event key (default `issue_comment.created`), **Add Filter** (one free-text filter input), **Ask Agent**, the notice `Event sources need a public URL to deliver webhooks to this instance.`, and a **Test event payload** pre-filled with a JSON object for that source and key. A source the backend has not registered (menu **Custom**, then a typed name) adds **Register this as a custom webhook source**, checked by default.- `F28.timeout`: **Add Timeout** adds an optional **Timeout seconds** number field with a remove button; `1800` saves and the draft reads **Ready to test**.- `F28.draft-save`: **Save draft** works on any form, valid or not; the first save replaces the URL with `?draftId=<id>`, shows the **Draft saved** bar (relative time, **View test runs**, **Test**) and the toast `Draft saved in this conversation.`, and the save state reads **Saved just now**. The draft appears in the dashboard Drafts group (F21).-- `F28.draft-validation`: the server validates on save, not on blur. An invalid draft is still saved (`dispatchable: false`) and its first error replaces **Ready to test** in the draft bar: an empty prompt shows `Field required` (also under Prompt), a bad custom cron shows `Value error, Invalid cron expression: every day`. A field error stays until the next save.-- `F28.draft-save-error`: a draft the server refuses outright (a timeout above 1800 returns `422`) sets the save state to **Save failed** and shows one error toast with the reason. Known failure (reproduced 2026-10-14, not filed yet): the toast reads only `Draft body does not match endpoint schema`; the reason the API returns in `detail.errors` (`Value error, timeout must not exceed 1800 seconds (30 minutes)`) is never shown, and the draft bar keeps the previous save's **Ready to test**.+- `F28.draft-validation`: the server validates on save, not on blur. An invalid draft is still saved (`dispatchable: false`) and its first error replaces **Ready to test** in the draft bar: an empty prompt shows `Field required` (also under Prompt), a bad custom cron shows `Value error, Invalid cron expression: every day`. A field error stays until the next save. **Test** stays enabled on a saved invalid draft: it saves again, opens **Test runs** with the same error in a red alert and dispatches nothing.+- `F28.draft-save-error`: a draft the server refuses outright (a timeout above 1800 returns `422`) sets the save state to **Save failed** and shows one error toast with the reason the API gives (a timeout of 1801 reads `Value error, timeout must not exceed 1800 seconds (30 minutes)`). The draft bar drops its validity pill (no stale **Ready to test**) until a save succeeds.- `F28.required-before-test`: Test and Create check locally first and send nothing when a required field is empty: `Add a prompt before continuing.` (Prompt or Plugin kind), `Add a plugin source before continuing.`, `Add Python code before continuing.`, `Add an entrypoint command before continuing.`, `Add a setup script path before continuing.`, `Add a setup script before continuing.`; an event Test with a payload that is not a JSON object shows `Enter a valid JSON object before testing this event automation.` A blank Name is not an error: it is derived from the prompt.- `F28.test-gated`: in create mode **Test** stays disabled until the draft is saved and unchanged since; editing any field after a save disables it again until the next **Save draft**.-- `F28.draft-test`: **Test** on a saved, valid draft opens **Test runs** (with **Back**), shows `Test run started.` and a Pending row; it runs a hidden disabled copy of the draft, not a dashboard automation. Expected: the row reaches Successful or Failed by itself. Known failure #18263 (reproduced again 2026-10-14 on a Custom Python draft): the row stays Pending and the page does not poll the runs after the first request.+- `F28.draft-test`: **Test** on a saved, valid draft opens **Test runs** (with **Back**), shows `Test run started.` and a Pending row; it runs a hidden disabled copy of the draft, not a dashboard automation. Expected: the row reaches Successful or Failed by itself. Known failure #18263 (reproduced again 2026-10-15 on a Custom Python draft): the row stays Pending and the page does not poll the runs after the first request.- `F28.create`: **Create Automation** creates the automation enabled, navigates to `/automations/<id>` (a Custom Python automation shows **Script**), and removes the draft from the dashboard Drafts group.-- `F28.error-contrast`: the draft bar's error pill and the Test runs error alert are readable in every color theme. Known failure (computed 2026-10-14 from the Light+ theme tokens and confirmed live the same day for the draft pill, not filed yet): both use raw `text-red-300` on `bg-red-500/10`, about 1.5:1 against Light+'s `#F3F3F3` surface; the theme's `--oh-feedback-error` gives 4.6:1. Dark themes read about 7.8:1.+- `F28.error-contrast`: the draft bar's error pill and the Test runs error alert use the theme's error color (`text-feedback-error`) on a red tint and reach at least 4.5:1 in all five color themes. The alert does (lowest 4.9:1, Solarized Light); the pill reads about 4.6:1 on Light+ and 4.7:1 on OpenHands-Neutral and OpenHands-Neo. Known failure (reproduced 2026-10-15, [#18481](https://github.com/OpenHands/OpenHands/issues/18481)): with its 10% tint the pill reads 4.33:1 on Solarized Light and 4.48:1 on OpenHands-DeepSea.## How to get to it (user POV)@@ -49,19 +49,19 @@ Source: `src/routes/automation-setup-new.tsx`, `src/components/features/automatiPreconditions:- Baseline state (`launch`, `doctor`, `onboard --skip`). No LLM is needed: every bullet uses the Custom Python kind or never dispatches, and the agent-assisted path stays in F22.-- Desktop viewport; the `F28.error-contrast` bullet needs the Light+ theme (Settings β Application, `F16`), which it restores.-- Every recipe below was run as written on 2026-10-14 on a fresh local `control-openhands launch` with Agent Server 1.54.0 and no LLM, along with `F23.edit-test` and `F23.edit-dirty-state` ([run results](https://github.com/OpenHands/OpenHands/pull/18452#issuecomment-6177650450)). The corrections from that run are included here; documented known failures remain failures.+- Desktop viewport; the `F28.error-contrast` bullet switches color themes (Settings β Application, `F16`) and restores the default.+- Every recipe below was run as written on 2026-10-15 on a fresh local `control-openhands launch` of main with Agent Server 1.54.0 and no LLM. Documented known failures remain failures.- **Blank form (`F28.open-blank`).** Run `control-openhands conversation list`, `control-openhands browser goto /automations`, `control-openhands browser click 'testid=automations-add-automation'` and `control-openhands browser click 'testid=automations-add-automation-create' --expect-url '/automations/setup$'`. Then `browser value 'testid=automation-setup-name'` is `New Automation`, `browser attr 'testid=automation-setup-name' placeholder` is `Standup digest`, `browser value 'testid=automation-setup-prompt'` is empty, `browser attr 'testid=automation-setup-frequency-daily' aria-checked` is `true`, `browser value 'testid=automation-setup-time'` is `09:00`, `browser text 'testid=automation-setup-save-state'` is `Unsaved changes` and `browser enabled 'testid=automation-setup-test'` is `false`. `conversation list` is unchanged.-- **Presets (`F28.schedule-presets`).** For each of `once`, `hourly`, `daily`, `weekdays`, `weekly`, `custom` run `control-openhands browser click 'testid=automation-setup-frequency-<preset>'` and `control-openhands browser snapshot 'testid=automation-setup-at-row'`: Once has `automation-setup-datetime`, Hourly only `automation-setup-timezone`, Daily and Weekdays `automation-setup-time`, Weekly also `automation-setup-weekday` (value `1`), Custom `automation-setup-custom-schedule`. Click Weekly, then Custom: `browser value 'testid=automation-setup-custom-schedule'` is `0 9 * * *` (the default, not Weekly's `0 9 * * 1`). `browser count 'testid=automation-setup-timezone >> option'` is `13`. Click Daily again.+- **Presets (`F28.schedule-presets`).** For each of `once`, `hourly`, `daily`, `weekdays`, `weekly`, `custom` run `control-openhands browser click 'testid=automation-setup-frequency-<preset>'` and `control-openhands browser testids 'testid=automation-setup-at-row'` (`browser snapshot` is an ARIA tree and does not list test ids): Once has `automation-setup-datetime`, Hourly only `automation-setup-timezone`, Daily and Weekdays `automation-setup-time`, Weekly also `automation-setup-weekday` (value `1`), Custom `automation-setup-custom-schedule`. Click Weekly, then Custom: expected `browser value 'testid=automation-setup-custom-schedule'` is Weekly's `0 9 * * 1`. Known failure (reproduced 2026-10-15, [#18461](https://github.com/OpenHands/OpenHands/issues/18461)): it reads `0 9 * * *`. `browser count 'testid=automation-setup-timezone >> option'` is `13`. Click Daily again.- **Event fields (`F28.event-trigger`).** Run `control-openhands browser click 'role=radio[name=/^Event/]'`. `browser value 'testid=automation-setup-event-key'` is `issue_comment.created`, `browser visible 'testid=automation-setup-event-public-url-notice'` is `true`, and `browser count 'testid=automation-setup-custom-webhook-enabled'` is `0` for `github`. Click `testid=automation-setup-event-source-toggle`, `browser snapshot 'testid=automation-setup-event-source-menu'` lists the registered sources and `Custom` (GitHub, GitLab, Slack, Linear, Jira on a local stack). Click `testid=automation-setup-event-source-menu >> role=button[name="Custom"]`, `browser fill 'testid=automation-setup-event-source' qa-hooks`: `browser visible 'testid=automation-setup-custom-webhook-enabled'` is `true` and `browser eval "document.querySelector('[data-testid=automation-setup-custom-webhook-enabled]').checked"` is `true`. Pick GitHub again from the same menu. Click `testid=automation-setup-add-event-filter` (`automation-setup-event-filter` appears) and `testid=automation-setup-event-test-payload-toggle`; `browser value 'testid=automation-setup-event-test-payload'` is a JSON object with `"source": "github"` and `"event": "issue_comment.created"`. Click `role=radio[name=/^Schedule/]` to return.-- **Invalid drafts save (`F28.draft-save`, `F28.draft-validation`).** Fill `testid=automation-setup-name` with `QA_F28 Probe`, leave the prompt empty, `browser network --clear`, click `testid=automation-setup-save-draft`. `browser wait-url 'draftId='`; `browser toasts --history` includes `Draft saved in this conversation.`; `browser text 'testid=automation-setup-draft-validity'` is `Field required`; `control-openhands api GET /api/automation/v1/drafts/<draft-id>` (the id in the URL) has `validation_errors` `[{"field":"prompt","code":"missing",β¦}]` and `dispatchable: false` (`browser network --bodies` shows request bodies, not the response); `browser text 'testid=automation-setup-save-state'` is `Saved just now`. Now fill the prompt with `Reply pong. Do not run any tools.`, click `testid=automation-setup-frequency-custom`, fill `testid=automation-setup-custom-schedule` with `every day`, press Tab, and `browser network --filter 'automation/v1'` lists no request (no blur validation). Click Save draft: the validity text is `Value error, Invalid cron expression: every day`. Fill the cron with `0 0 1 1 *` and Save draft: it reads `Ready to test`.-- **Required fields before Test (`F28.required-before-test`).** Clear `testid=automation-setup-prompt`, Save draft, `browser network --clear`, click `testid=automation-setup-test`: `browser text 'testid=automation-setup-draft-runs-page'` contains `Add a prompt before continuing.` and `browser network --filter 'dispatch'` lists nothing. Click `testid=automation-setup-draft-runs-back`, fill the prompt back in and Save draft.-- **Timeout (`F28.timeout`, `F28.draft-save-error`).** Click `testid=automation-setup-add-timeout`, fill `testid=automation-setup-timeout` with `1800`, Save draft: `Ready to test`. Fill `1801`, `browser toasts --history --clear`, `browser network --clear`, Save draft. `browser network --bodies --filter 'automation/v1/drafts'` shows `PATCH β¦ 422` with `detail.errors[0].message` `Value error, timeout must not exceed 1800 seconds (30 minutes)`, and `browser text 'testid=automation-setup-save-state'` is `Save failed`. Expected: `browser toasts --history` shows that message. Known failure (reproduced twice 2026-10-14, not filed yet): the toast is `Draft body does not match endpoint schema` and the draft bar still reads `Ready to test`. Click `testid=automation-setup-timeout-remove` and Save draft.+- **Invalid drafts save (`F28.draft-save`, `F28.draft-validation`).** Fill `testid=automation-setup-name` with `QA_F28 Probe`, leave the prompt empty, `browser network --clear`, click `testid=automation-setup-save-draft`. `browser wait-url 'draftId='`; `browser toasts --history` includes `Draft saved in this conversation.`; `browser text 'testid=automation-setup-draft-validity'` is `Field required`; `control-openhands api GET /api/automation/v1/drafts/<draft-id>` (the id in the URL) has `validation_errors` `[{"field":"prompt","code":"missing",β¦}]` and `dispatchable: false` (`browser network --bodies` shows request bodies, not the response); `browser text 'testid=automation-setup-save-state'` is `Saved just now`. Now fill the prompt with `Reply pong. Do not run any tools.`, click `testid=automation-setup-frequency-custom`, fill `testid=automation-setup-custom-schedule` with `every day`, `browser network --clear`, press Tab, and `browser network --filter 'automation/v1'` lists no request (no blur validation). Click Save draft: the validity text is `Value error, Invalid cron expression: every day`. `browser network --clear`, click `testid=automation-setup-test`: `browser text 'testid=automation-setup-draft-runs-page'` contains the same cron error, `browser network` lists only the draft `PATCH` (200) and nothing under `dispatch`; click `testid=automation-setup-draft-runs-back`. Fill the cron with `0 0 1 1 *` and Save draft: it reads `Ready to test`.+- **Required fields before Test (`F28.required-before-test`).** Run `control-openhands browser fill 'testid=automation-setup-prompt' ''`, Save draft, `browser network --clear`, click `testid=automation-setup-test`: `browser text 'testid=automation-setup-draft-runs-page'` contains `Add a prompt before continuing.` and `browser network --filter 'dispatch'` lists nothing. Click `testid=automation-setup-draft-runs-back`, fill the prompt back in and Save draft.+- **Timeout (`F28.timeout`, `F28.draft-save-error`).** Click `testid=automation-setup-add-timeout`, fill `testid=automation-setup-timeout` with `1800`, Save draft: `Ready to test`. Fill `1801`, `browser toasts --history --clear`, `browser network --clear`, Save draft. `browser network --filter 'automation/v1/drafts'` shows `PATCH β¦ 422` (`--bodies` adds the request body, not the response) and `browser text 'testid=automation-setup-save-state'` is `Save failed`. `browser toasts --history` holds one toast, `Value error, timeout must not exceed 1800 seconds (30 minutes)`, and `browser count 'testid=automation-setup-draft-validity'` is `0`. Click `testid=automation-setup-timeout-remove` and Save draft.- **Test gating (`F28.test-gated`).** After a successful Save draft `browser enabled 'testid=automation-setup-test'` is `true`; fill `testid=automation-setup-name` with `QA_F28 Probe 2` and it is `false`; Save draft and it is `true`.-- **Custom kind and draft Test (`F28.kind-toggle`, `F28.draft-test`).** Click `testid=automation-setup-kind-custom`: `browser count 'testid=automation-setup-prompt'` is `0` and `browser value 'testid=automation-setup-custom-code'` contains `AUTOMATION_CALLBACK_URL`. Click `testid=automation-setup-custom-details-toggle`: Entrypoint `python3 main.py`, Setup script path `setup.sh`. Save draft (`Ready to test`), click `testid=automation-setup-test` and `browser wait 'testid=automation-setup-draft-run'`: the row reads Pending and the page shows `Test run started.` Expected: `browser wait 'testid=automation-setup-draft-run >> text=Successful' --timeout 45000`. Known failure #18263 (reproduced 2026-10-14): the row stays Pending for 40 s with a single runs request in `browser network --filter '/runs'`. Click `testid=automation-setup-draft-runs-back`. Switching back with `testid=automation-setup-kind-prompt` restores the Prompt; leave the draft on Custom for the next bullet.+- **Custom kind and draft Test (`F28.kind-toggle`, `F28.draft-test`).** Click `testid=automation-setup-kind-custom` and `browser wait 'testid=automation-setup-custom-code'`; once the crossfade ends `browser count 'testid=automation-setup-prompt'` is `0` (right after the click it can still read `1`, and `visible` `true`) and `browser value 'testid=automation-setup-custom-code'` contains `AUTOMATION_CALLBACK_URL`. Click `testid=automation-setup-custom-details-toggle`: Entrypoint `python3 main.py`, Setup script path `setup.sh`. Save draft (`Ready to test`), click `testid=automation-setup-test` and `browser wait 'testid=automation-setup-draft-run'`: the row reads Pending and the page shows `Test run started.` Expected: `browser wait 'testid=automation-setup-draft-run >> text=Successful' --timeout 45000`. Known failure #18263 (reproduced 2026-10-15): the row stays Pending for 45 s with a single runs request in `browser network --filter '/runs'`; after `browser reload`, `testid=automation-setup-view-test-runs` shows it Successful. Click `testid=automation-setup-draft-runs-back`. Switching back with `testid=automation-setup-kind-prompt` restores the Prompt; leave the draft on Custom for the next bullet.- **Create (`F28.create`).** Run `control-openhands browser click 'testid=automation-setup-create' --expect-url '/automations/[0-9a-f-]{36}$'`. The detail h1 is `QA_F28 Probe 2`, the badge reads Active and the page shows **Script**. `browser goto /automations`: `browser count 'testid=automation-setup-draft-resume-<draft-id>'` is `0`.-- **Error contrast (`F28.error-contrast`).** Switch to Light+ (`F16`), open a draft whose cron is `every day` (as in the invalid-drafts bullet), `browser screenshot 'testid=automation-setup-draft-details' --feature F28.error-contrast --name light-plus`, and read the colors with `browser eval "getComputedStyle(document.querySelector('[data-testid=automation-setup-draft-validity]')).color"`. Expected: at least 4.5:1 against the bar. Known failure (reproduced 2026-10-14, not filed yet): the color is `oklch(0.808 0.114 19.571)` (`text-red-300`) over `#F3F3F3` with a 10% red tint, 1.49:1. Restore the theme.+- **Error contrast (`F28.error-contrast`).** Switch to Light+ (`F16`), open a draft whose cron is `every day` (as in the invalid-drafts bullet), `browser screenshot 'testid=automation-setup-draft-details' --feature F28.error-contrast --name light-plus`, and read the colors with `browser eval "getComputedStyle(document.querySelector('[data-testid=automation-setup-draft-validity]')).color"`: `rgb(192, 40, 45)` over `#F3F3F3` with a 10% red tint, about 4.6:1 (at least 4.5:1). Click `testid=automation-setup-test`: the `testid=automation-setup-draft-runs-error` alert has the same color on white, about 5.1:1 (`browser screenshot 'testid=automation-setup-draft-runs-page' --feature F28.error-contrast --name light-plus-runs`). Repeat the pill read on Solarized Light and OpenHands-DeepSea (composite the pill's 10% `#fb2c36` over the bar's `backgroundColor`): expected at least 4.5:1. Known failure (reproduced 2026-10-15, [#18481](https://github.com/OpenHands/OpenHands/issues/18481)): Solarized Light `rgb(187, 42, 38)` over `rgb(238, 232, 213)` is 4.33:1, DeepSea `rgb(231, 106, 94)` over `rgb(33, 37, 47)` is 4.48:1. Restore OpenHands-Neutral.- **Cleanup.** Delete `QA_F28 Probe 2` from its kebab and any leftover `QA_F28` draft with its trash icon, as in F21; `api GET /api/automation/v1/drafts` lists none.## Gotchasdiff --git a/.agents/skills/verify-openhands/references/feature-map/README.md b/.agents/skills/verify-openhands/references/feature-map/README.mdindex 0782a0f699..99f8bb7ab5 100644--- a/.agents/skills/verify-openhands/references/feature-map/README.md+++ b/.agents/skills/verify-openhands/references/feature-map/README.md@@ -5,7 +5,7 @@ of Agent Canvas. Read this index before driving the app, then open the matchingfeature file and run its recipe with `control-openhands`. The map is not a claimthat every row passes today; the run's evidence ledger is.-Maintenance baseline: main@8b9823a89ce5844d0808398c2f740d9748da66df (2026-10-14). The next maintenance pass starts from this commit; a pass proposes the next baseline in its PR, and merging that PR accepts it.+Maintenance baseline: main@1c75a05d587bcb502cd3f63d7e13eaa98ca84d53 (2026-10-15). The next maintenance pass starts from this commit; a pass proposes the next baseline in its PR, and merging that PR accepts it.## Baseline preconditions