π OpenHands: AI-Driven Development
F15 β Condenser, agent context and verification settings
Settings pages generated from the Agent Server's settings schemas:
Condenser (summarize long chats), Agent Context (persistent agent
memory) and Verification (confirmation mode, security analyzer and the
critic). On a local backend each agent profile owns its condenser and critic:
they are edited in the Condenser and Verification sections of the agent
profile editor (Settings β Agent), /settings/condenser opens the Agent page,
and the Verification page keeps only the global Critic API Key, Confirmation
Mode and Security Analyzer under a note that the critic is set per agent
profile. On a Cloud backend the Condenser page and the full Verification page
(with the critic switch and its fields) are global settings pages. Each page
shows the schema's fields in Basic/Advanced/All tiers (only the tiers that have
fields), hides fields whose parent switch is off, and saves through one
Save Changes button that stays disabled until a value differs from the
stored one.
Source: src/routes/condenser-settings.tsx, src/routes/agent-context-settings.tsx, src/routes/verification-settings.tsx, src/components/features/settings/sdk-settings/, src/utils/sdk-settings-schema.ts, src/components/features/settings/agent-profiles/profile-behavior-form.ts.
Sub-features
F15.condenser-page: on a local backend/settings/condenserreplaces itself with/settings/agentsand no nav item or command leads to it; on a Cloud backend Condenser shows its subtitle, Basic and All tabs (no Advanced), and in Basic only the Enable Memory Condensation switch.F15.condenser-all-view: (Cloud backend) the All tab lists the eight condenser fields with Title Case labels, plain descriptions and their stored values (Max Size240, Keep First Events2, β¦).F15.condenser-save: (Cloud backend) changing Max Size and saving shows Saving..., then the saved toast; after a reload the page opens on All with the new value.F15.condenser-dependents: (Cloud backend) turning condensation off hides the six size/reset fields (Condenser Kind stays); turning it back on un-dirties Save.F15.condenser-kind: (Cloud backend) Condenser Kind is a dropdown (LLM Summarizer, None, stored asllm_summarizingandno_op); the choice persists, and switching back restores the summarizer defaults.F15.save-dirty-state: on each page Save is disabled on load, enabled after an edit, and disabled again when the edit is reverted by hand.F15.save-errors: (Cloud backend) a non-integer Max Size is refused in the browser with a toast; a negative one is refused by the server with a 422 toast; nothing is stored.F15.view-scoped-save: (Cloud backend) saving from a narrower tier keeps the stored values of fields that tier does not show.F15.agent-context-page: Agent Context shows a single Persistent Agent Memory switch with its help text and no tab bar.F15.agent-context-save: toggling Persistent Agent Memory and saving persists after reload.F15.verification-page: Verification shows Basic, Advanced and All tabs. On a local backend it starts with the noteEach agent profile turns the critic on or off in Settings β Agent.and every tier shows only Critic API Key (with its OpenHands LLM Key help link) and Confirmation Mode; on a Cloud backend every tier shows only Confirmation Mode and Enable Critic by default.F15.verification-critic-fields: Confirmation Mode reveals Security Analyzer (Advanced and All). Enable Critic reveals Iterative Refinement (Basic) plus mode, server URL and model (All), and Iterative Refinement reveals threshold and max iterations: locally in an agent profile's Verification section (without the Critic API Key), on a Cloud backend on the page, where Enable Critic also reveals the Critic API Key.F15.confirmation-mode-save: Confirmation Mode and Security Analyzer (conversation settings) persist after reload, alongside the agent-settings fields on the same page.F15.confirmation-mode-effect: with Confirmation Mode on and Security Analyzer None, a new conversation stops before its first command with Do you want to continue with this action? and Cancel/Continue; Continue runs it.F15.critic-tuning: (Cloud backend page; locally the same fields in an agent profile's Verification section) Critic Mode is a dropdown (Finish and Message,All Actions); the mode, Critic Threshold and Max Refinement Iterations persist after reload, and an out-of-range threshold (1.5) is refused with the 422 toast.F15.critic-save: the Critic API Key persists after reload and comes back masked, and clearing it storesnull; on a Cloud backend the critic text fields on the page persist too, and clearing them and turning the critic off restores the defaults.F15.agent-context-effect: with Persistent Agent Memory on, a new conversation's system prompt carries the.openhands/memory/instructions; with it off, it does not.F15.tier-after-save: after a save the tab bar re-derives the tier from the stored values without a reload: saving the last non-Basic field back to its default moves the page to Basic.F15.profile-behavior: on a local backend the agent profile editor (Settings β Agent, Add or Edit) has Condenser (Basic/All) and Verification (Basic/All) sections rendered from the same schema; they edit that profile'scondenserandverification, never the global settings, offer no Critic API Key, and a new profile starts from thedefaultprofile's values; reopening a profile always shows its stored values. Known failure (reproduced 2026-10-22, #18810): after a reload, Edit intermittently shows the global values instead, and a condenser save from that state overwrites the profile's.F15.unsaved-navigation: leaving a page with unsaved edits shows no prompt and discards them.F15.command-menu: the command menu offers Agent Context and Verification settings (plus Condenser settings on a Cloud backend), and each opens its page.F15.direct-url: each page renders when opened by URL; locally/settings/condenseropens/settings/agentsinstead.F15.phone: at 390 px the fields stack in one column without horizontal overflow.F15.schema-unavailable: a backend without the settings-schema endpoints showsSDK settings schema unavailable.with an upgrade hint instead of the form (blocked: needs such a backend).
How to get to it (user POV)
- Sidebar settings gear (
backend-selector-settings-link, lands on/settings/agents), then Agent Context or Verification in the settings navigation (sidebar-settings-/settings/agent-context,sidebar-settings-/settings/verification); Condenser (sidebar-settings-/settings/condenser) is listed only on a Cloud backend. - Direct URLs
/settings/condenser(local: opens/settings/agents),/settings/agent-context,/settings/verification. - Command menu (
Control+korMeta+k, orcommand-menu-triggerin the sidebar): Agent Context and Verification settings (plus Condenser settings on a Cloud backend); locally "memory" finds only Agent Context. - Per-profile condenser and critic (local): Settings β Agent, Add agent profile (
add-agent-profile) or a row's menu β Edit, sectionsagent-settings-condenserandagent-settings-verification. - The effects show up in new conversations only: the confirmation prompt in the chat, and the memory instructions in the conversation's system prompt.
Driving it with control-openhands
Preconditions:
Baseline state (launched, doctored,
onboard --skipdone). No LLM is needed for the settings pages.F15.confirmation-mode-effectandF15.agent-context-effectneed an active LLM profile (control-openhands llm preset deepseek).The condenser rows marked "(Cloud backend)",
F15.critic-tuning's page recipe and the Cloud halves of the Verification rows need an OpenHands Cloud backend and account (blocked in a local run); a local run proves the redirect, the local Verification page andF15.profile-behavior.F15.profile-behaviorneeds an LLM profile (the agent profile editor refuses to save without one):control-openhands llm preset deepseek(no model call).F15.schema-unavailableneeds an agent server that serves/api/settingsbut answers 404 for/api/settings/agent-schema(an older release vialaunch --new --sdk-ref <old>); not available in this checkout's pinned stack.Stored values are the defaults:
control-openhands api GET /api/settingsshowsagent_settings.condenser.enabledtrue,max_size240,condenser_kindllm_summarizing;agent_context.load_memoryfalse;verification.critic_enabledfalse;conversation_settings.confirmation_modefalse.Condenser on a local backend (
F15.condenser-page,F15.direct-url). Runcontrol-openhands browser goto /,control-openhands browser goto /settings/condenser(the result already reads.../settings/agents),control-openhands browser count 'testid=condenser-settings-screen'(0),control-openhands browser text 'testid=settings-screen >> header'(AgentwithCreate and manage reusable agent setups.) andcontrol-openhands browser screenshot --feature F15.condenser-page --name local-redirect-agents;control-openhands browser backreturns to/(the redirect replaced history).control-openhands browser count 'testid=sidebar-settings-/settings/condenser'is0. The Cloud bullets below run only on a Cloud backend.Open Condenser from the sidebar (
F15.condenser-page, Cloud backend). Runcontrol-openhands browser click 'testid=backend-selector-settings-link' --expect-url '/settings/agents(\?|$)',control-openhands browser click 'testid=sidebar-settings-/settings/condenser' --expect-url '/settings/condenser(\?|$)',control-openhands browser text 'testid=settings-page-subtitle'(Summarize long chats to stay within context limits.) andcontrol-openhands browser snapshot 'testid=condenser-settings-screen'. The snapshot shows tabsBasic[selected] andAll, the textEnable Memory Condensationandbutton "Save Changes" [disabled];control-openhands browser count 'testid=sdk-section-advanced-toggle'is0. Read the switch withcontrol-openhands browser eval "document.querySelector('[data-testid=\"sdk-settings-condenser.enabled\"]').checked"(true).All tier (
F15.condenser-all-view). Runcontrol-openhands browser click 'testid=sdk-section-all-toggle',control-openhands browser count 'testid=condenser-settings-screen >> input'(8) andcontrol-openhands browser value 'testid=sdk-settings-condenser.max_size'(240).control-openhands browser snapshot 'testid=condenser-settings-screen'labels the fieldsEnable Memory Condensation,Max Size,Condenser Kind(combobox valueLLM Summarizer),Max Tokens,Keep First Events,Minimum Progress,Hard Reset RetriesandHard Reset Scaling, each with a plain-language paragraph and all but the switch markedOptional(Condenser Kind:How the condenser shortens long conversations. LLM Summarizer replaces older events with a summary written by the LLM; None keeps the full history.).Dirty state (
F15.save-dirty-state). On the All tier:control-openhands browser enabled 'testid=save-button'isfalse;control-openhands browser fill 'testid=sdk-settings-condenser.max_size' 120makes ittrue;control-openhands browser fill 'testid=sdk-settings-condenser.max_size' 240makes itfalseagain.Save and reload (
F15.condenser-save). Fill Max Size with120, thencontrol-openhands browser click 'testid=save-button' --observe 'testid=save-button' --observe-ms 3000(observed statesSave ChangesβSaving...βSave Changes) andcontrol-openhands browser toasts(Settings saved. For old conversations, you will need to stop and restart the conversation to see the changes.).control-openhands browser enabled 'testid=save-button'isfalse. Runcontrol-openhands browser reload,control-openhands browser snapshot 'role=tablist'(All[selected]: the page opens on the tier that shows the overridden field) andcontrol-openhands browser value 'testid=sdk-settings-condenser.max_size'(120).control-openhands api GET /api/settingsshowsmax_size120. Keep it for the next bullet.Dependent fields (
F15.condenser-dependents). On the All tier runcontrol-openhands browser click 'testid=condenser-settings-screen >> text=Enable Memory Condensation'; the switch readsfalseandcontrol-openhands browser count 'testid=condenser-settings-screen >> input'is2(the switch and Condenser Kind). Click the label again: the count is8andbrowser enabled 'testid=save-button'isfalse.Basic save keeps hidden fields (
F15.view-scoped-save). With Max Size stored as120, runcontrol-openhands browser click 'testid=sdk-section-basic-toggle',control-openhands browser click 'testid=condenser-settings-screen >> text=Enable Memory Condensation'andcontrol-openhands browser click 'testid=save-button'.control-openhands api GET /api/settingsnow showsenabledfalseandmax_size120. Known failure (reproduced 2026-10-06):max_sizeis240, because the save sends defaults for every field Basic does not show (#18049). Afterbrowser reloadthe page opens on Basic with the switch off. Restore: click the label again,browser click 'testid=save-button',browser reload; the switch readstrueand the API showsenabledtrue(withmax_size240today, from the reset above).Invalid values (
F15.save-errors). On the All tier runcontrol-openhands browser fill 'testid=sdk-settings-condenser.max_size' 1.5,control-openhands browser click 'testid=save-button'andcontrol-openhands browser toasts(Expected an integer value, received: 1.5; no request is sent). Then wait for the toast to close, fill-5,control-openhands browser network --clear,control-openhands browser click 'testid=save-button' --observe 'testid=save-button' --observe-ms 2500(Saving...only briefly),control-openhands browser toasts(Settings validation failed) andcontrol-openhands browser network(onePATCH /api/settingsanswering 422; a 4xx is not retried). The API still showsmax_size240;browser reloaddrops the bad draft.Condenser Kind (
F15.condenser-kind). On the All tier runcontrol-openhands browser click 'testid=sdk-settings-condenser.condenser_kind',control-openhands browser snapshot 'role=listbox'(optionsLLM Summarizer[selected] andNone),control-openhands browser click 'role=listbox >> role=option[name="None"]'andcontrol-openhands browser click 'testid=save-button'. Afterbrowser reloadthe page opens on All,browser value 'testid=sdk-settings-condenser.condenser_kind'isNone, andcontrol-openhands api GET /api/settings --pick agent_settings.condenseris just{"enabled": true, "condenser_kind": "no_op"}(the labels are Canvas copy; the stored values are unchanged). The summarizer fields should hide while None is selected. Known failure (reproduced 2026-10-06): Max Size, Max Tokens, Keep First Events, Minimum Progress, Hard Reset Retries and Hard Reset Scaling stay with their defaults, andbrowser fill 'testid=sdk-settings-condenser.max_size' 100then Save givesSettings savedwhile the API still shows onlyenabledandcondenser_kindand a reload shows240again (#18049;browser screenshot --feature F15.condenser-kind --name none-shows-summarizer-fields). Restore by choosingLLM Summarizerthe same way and saving: after reload the page opens on Basic and the API shows all eight defaults again (condenser_kindllm_summarizing).Agent Context (
F15.agent-context-page). Runcontrol-openhands browser click 'testid=sidebar-settings-/settings/agent-context' --expect-url '/settings/agent-context(\?|$)',control-openhands browser text 'testid=settings-page-subtitle'(Let the agent keep notes and recall them in new conversations.),control-openhands browser count 'role=tablist'(0) andcontrol-openhands browser snapshot 'testid=agent-context-settings-screen'(textPersistent Agent Memory, the paragraph about.openhands/memory/,button "Save Changes" [disabled]).Persistent memory persists (
F15.agent-context-save). Runcontrol-openhands browser click 'testid=agent-context-settings-screen >> text=Persistent Agent Memory',control-openhands browser click 'testid=save-button',control-openhands browser reloadandcontrol-openhands browser eval "document.querySelector('[data-testid=\"sdk-settings-agent_context.load_memory\"]').checked"(true; APIagent_context.load_memorytrue). Restore: click the label, save, reload; the value isfalse.Verification (
F15.verification-page). Runcontrol-openhands browser click 'testid=sidebar-settings-/settings/verification' --expect-url '/settings/verification(\?|$)',control-openhands browser text 'testid=settings-page-subtitle'(Confirmation prompts and security checks on actions.),control-openhands browser text 'testid=verification-critic-per-profile-note'(Each agent profile turns the critic on or off in Settings β Agent.) andcontrol-openhands browser snapshot 'testid=verification-settings-screen': tabsBasic[selected],Advanced,All;textbox "Critic API Key Optional"with its help paragraph andlink "OpenHands LLM Key"(https://app.all-hands.dev/settings/api-keys),checkbox "Confirmation Mode"andbutton "Save Changes" [disabled]; Advanced and All show the same (control-openhands browser screenshot --feature F15.verification-page --name local-basic). On a Cloud backend there is no note and the tiers showConfirmation ModeandEnable Critic.Analyzer field (
F15.verification-critic-fields, local). On/settings/verificationclicktestid=verification-settings-screen >> text=Confirmation Mode(unsaved);control-openhands browser count 'testid=sdk-settings-security_analyzer'is0on Basic and1on Advanced and on All (clicksdk-section-<tier>-togglebefore each count).browser reloaddrops the draft. The critic's own fields are in each agent profile's Verification section (F15.profile-behavior).Critic and analyzer fields (
F15.verification-critic-fields, Cloud backend). On All runcontrol-openhands browser click 'testid=verification-settings-screen >> text=Confirmation Mode',control-openhands browser click 'testid=verification-settings-screen >> text="Enable Critic"'andcontrol-openhands browser click 'testid=verification-settings-screen >> text="Enable Iterative Refinement"'.control-openhands browser testids 'testid=verification-settings-screen' --hiddennow listssdk-settings-security_analyzer,sdk-settings-verification.critic_mode,sdk-settings-verification.critic_threshold(0.6),sdk-settings-verification.max_refinement_iterations(3),sdk-settings-verification.critic_server_url,sdk-settings-verification.critic_model_name,sdk-settings-verification.critic_api_keyandhelp-link-verification.critic_api_key.control-openhands browser attr 'testid=sdk-settings-verification.critic_api_key' typeispassword;control-openhands browser eval "document.querySelector('[data-testid=\"help-link-verification.critic_api_key\"] a')?.href"ishttps://app.all-hands.dev/settings/api-keys.control-openhands browser screenshot --feature F15.verification-critic-fields --name all-critic-onshows the API key spanning both columns. Basic (sdk-section-basic-toggle) keepsconfirmation_mode,critic_enabled,enable_iterative_refinementandcritic_api_key; Advanced addssecurity_analyzer. The three switches are an unsaved draft that survives tab switches: runcontrol-openhands browser reloadbefore the next bullet, otherwise its Confirmation Mode click turns the switch off again and the save stores the critic draft.Confirmation mode persists (
F15.confirmation-mode-save). On/settings/verification(Basic) runcontrol-openhands browser click 'testid=verification-settings-screen >> text=Confirmation Mode',control-openhands browser click 'testid=save-button',control-openhands browser reloadandcontrol-openhands browser eval "document.querySelector('[data-testid=\"sdk-settings-confirmation_mode\"]').checked"(true). Thencontrol-openhands browser click 'testid=sdk-section-advanced-toggle',control-openhands browser click 'testid=sdk-settings-security_analyzer',control-openhands browser snapshot 'role=listbox'(optionsLLM[selected],None),control-openhands browser click 'role=listbox >> role=option[name="None"]',control-openhands browser click 'testid=save-button'andcontrol-openhands browser reload: the tab bar showsAdvanced[selected] andcontrol-openhands browser value 'testid=sdk-settings-security_analyzer'isNone.control-openhands api GET /api/settingsshowsconversation_settings.confirmation_modetrue,security_analyzernone. Keep both for the next bullet.Confirmation stops the agent (
F15.confirmation-mode-effect). Runcontrol-openhands conversation start --prompt "Run this shell command: echo qa-f15-confirm" --wait --until waiting_for_confirmation,finished,idle,error --timeout 180; the status iswaiting_for_confirmation.control-openhands browser wait-text 'Do you want to continue with this action?' --timeout 15000succeeds andcontrol-openhands browser screenshot --feature F15.confirmation-mode-effect --name awaitingshows Cancel β§ββ« and Continue ββ© under the pending command. Runcontrol-openhands browser click 'testid=action-confirm-button',control-openhands conversation wait <id> --until finished,idle,error --timeout 120(<id>from the start output) andcontrol-openhands conversation events <id> --kinds ObservationEvent: the terminal observation isqa-f15-confirm. If the status is stillwaiting_for_confirmationthe agent asked again (see Gotchas): confirm again. Restore on/settings/verification(control-openhands browser goto /settings/verification; the browser is on the conversation):browser click 'testid=sdk-section-basic-toggle', click the Confirmation Mode label,browser click 'testid=save-button'; the Basic save also resets Security Analyzer tollm(APIconfirmation_modefalse,security_analyzerllm).Critic API Key persists (
F15.critic-save, local). On/settings/verificationruncontrol-openhands browser click 'testid=sdk-section-all-toggle',control-openhands browser fill 'testid=sdk-settings-verification.critic_api_key' qa-dummy-critic-key,control-openhands browser click 'testid=save-button',control-openhands browser toasts(Settings saved. β¦) andcontrol-openhands browser reload:control-openhands browser value 'testid=sdk-settings-verification.critic_api_key'reportsmasked: trueandlength: 10, andcontrol-openhands api GET /api/settings --pick agent_settings.verificationshowscritic_api_key**********withcritic_enabledfalse(screenshot--feature F15.critic-save --name key-masked). Restore: clicktestid=sdk-section-all-toggle, fill the key with'', save; the API showscritic_api_keynull.Critic values persist (
F15.critic-save, Cloud backend). On the All tier clicktestid=verification-settings-screen >> text="Enable Critic", runcontrol-openhands browser fill 'testid=sdk-settings-verification.critic_model_name' qa-critic-model,control-openhands browser fill 'testid=sdk-settings-verification.critic_api_key' qa-dummy-critic-key,control-openhands browser click 'testid=save-button'andcontrol-openhands browser reload. The page opens onAll;browser value 'testid=sdk-settings-verification.critic_model_name'isqa-critic-modelandbrowser value 'testid=sdk-settings-verification.critic_api_key'reportsmasked: trueandlength: 10for the stored placeholder. The CLI redacts its displayed value; do not compare its returned star string to the input's literal placeholder or bypass masking. Restore on All: fill both fields with'', clicktext="Enable Critic"again, save, reload: the page opens on Basic and the API showscritic_enabledfalse,critic_model_nameandcritic_api_keynull.Critic mode, threshold and iterations (
F15.critic-tuning, Cloud backend). On/settings/verificationruncontrol-openhands browser click 'testid=sdk-section-all-toggle',control-openhands browser click 'testid=verification-settings-screen >> text="Enable Critic"',control-openhands browser click 'testid=sdk-settings-verification.critic_mode'andcontrol-openhands browser snapshot 'role=listbox'(optionsFinish and Message[selected],All Actions). Runcontrol-openhands browser click 'role=listbox >> role=option[name="All Actions"]',control-openhands browser click 'testid=verification-settings-screen >> text="Enable Iterative Refinement"',control-openhands browser fill 'testid=sdk-settings-verification.critic_threshold' 0.75,control-openhands browser fill 'testid=sdk-settings-verification.max_refinement_iterations' 5,control-openhands browser click 'testid=save-button'andcontrol-openhands browser reload: the page opens onAll,browser valuereadsAll Actions,0.75and5, andcontrol-openhands api GET /api/settings --pick agent_settings.verificationshowscritic_modeall_actions,critic_threshold0.75,max_refinement_iterations5. Thenbrowser fill 'testid=sdk-settings-verification.critic_threshold' 1.5,browser network --clear,browser click 'testid=save-button',browser toasts(Settings validation failed, onePATCH /api/settingswith 422 inbrowser network); the API still shows0.75. Restore:browser reload,browser click 'testid=sdk-section-basic-toggle', clicktext="Enable Iterative Refinement"andtext="Enable Critic"off,browser click 'testid=save-button': the Basic save resets mode, threshold and iterations, and the API shows the verification defaults.Tier follows the stored values after a save (
F15.tier-after-save). On/settings/verification(control-openhands browser goto /settings/verification) clicktestid=verification-settings-screen >> text=Confirmation Mode, runcontrol-openhands browser click 'testid=sdk-section-advanced-toggle',control-openhands browser click 'testid=sdk-settings-security_analyzer',control-openhands browser click 'role=listbox >> role=option[name="None"]',control-openhands browser click 'testid=save-button',control-openhands browser wait-text 'Settings saved' --timeout 5000andcontrol-openhands browser snapshot 'role=tablist'(Advanced[selected]). Thenbrowser click 'testid=sdk-section-advanced-toggle', pickrole=option[name="LLM"]the same way,browser click 'testid=save-button',control-openhands browser wait 'testid=sdk-settings-security_analyzer' --state detached --timeout 5000(detached) andbrowser snapshot 'role=tablist':Basic[selected] without any reload (browser screenshot --feature F15.tier-after-save --name back-to-basic). Restore: click the Confirmation Mode label and save; the API showsconfirmation_modefalse,security_analyzerllm.Memory reaches the agent (
F15.agent-context-effect). Runcontrol-openhands browser goto /settings/agent-context, turn Persistent Agent Memory on and save as inF15.agent-context-save, then runcontrol-openhands conversation start --prompt "Reply with only: ok" --wait --timeout 180andcontrol-openhands api GET '/api/conversations/<id>/events/search?limit=1'. The first event is theSystemPromptEvent; its text containsProject memory:followed by`.openhands/memory/` under the workspace root. The same call for a conversation started with memory off (for example the one fromF15.confirmation-mode-effect) has no.openhands/memory. Restore memory off through the page (control-openhands browser goto /settings/agent-contextfirst:conversation startleft the browser on the conversation).Dirty state on Verification (
F15.save-dirty-state). On/settings/verificationcontrol-openhands browser enabled 'testid=save-button'isfalse; clickingtestid=verification-settings-screen >> text=Confirmation Modemakes ittrue, and clicking the label again makes itfalse.Leaving discards edits (
F15.unsaved-navigation). Arrange an unsaved draft:control-openhands browser click 'testid=sidebar-settings-/settings/verification' --expect-url '/settings/verification(\?|$)', clicktestid=verification-settings-screen >> text=Confirmation Modeandcontrol-openhands browser fill 'testid=sdk-settings-verification.critic_api_key' qa-draft(do not save);browser enabled 'testid=save-button'istrue. Runcontrol-openhands browser click 'testid=sidebar-settings-/settings/agent-context' --expect-url '/settings/agent-context(\?|$)',control-openhands browser dialogs(none),control-openhands browser click 'testid=sidebar-settings-/settings/verification' --expect-url '/settings/verification(\?|$)', thencontrol-openhands browser eval "document.querySelector('[data-testid=\"sdk-settings-confirmation_mode\"]').checked"(false),control-openhands browser value 'testid=sdk-settings-verification.critic_api_key'(empty,length0) andbrowser enabled 'testid=save-button'(false).Per-profile condenser and critic (
F15.profile-behavior). Afterllm preset deepseek, runcontrol-openhands browser goto /settings/agents,control-openhands browser click 'testid=add-agent-profile',control-openhands browser fill 'testid=agent-profile-name-input' QA_f15,control-openhands browser click 'testid=agent-settings-condenser >> testid=sdk-section-all-toggle'(browser count 'testid=agent-settings-condenser >> input'is8;browser value 'testid=sdk-settings-condenser.max_size'is240, thedefaultprofile's value),control-openhands browser fill 'testid=sdk-settings-condenser.max_size' 120,control-openhands browser click 'testid=agent-settings-verification >> text="Enable Critic"'andcontrol-openhands browser click 'testid=agent-settings-verification >> testid=sdk-section-all-toggle':control-openhands browser testids 'testid=agent-settings-verification' --hiddenlistssdk-settings-verification.critic_enabled,.critic_mode,.enable_iterative_refinement,.critic_server_urland.critic_model_name, and nocritic_api_key(browser screenshot --feature F15.profile-behavior --name editor-filled).control-openhands browser click 'testid=save-agent-profile-btn'toastsProfile "QA_f15" created;control-openhands api GET /api/agent-profiles/QA_f15hasprofile.condenser.max_size120,profile.verification.critic_enabledtrueand no critic key, whilecontrol-openhands api GET /api/settings --pick agent_settings.condenser.max_sizestays240and--pick agent_settings.verification.critic_enabledstaysfalse. Reopen it (browser reload,browser click '[data-testid=agent-profile-row]:has-text("QA_f15") >> testid=agent-profile-menu-trigger',browser click 'role=menu >> role=menuitem[name="Edit"]'): the Condenser section opens on All withmax_size120, the critic switch is checked andbrowser enabled 'testid=save-agent-profile-btn'isfalse, on every reopen. Known failure (reproduced 2026-10-22, #18810): in about one reopen in six after abrowser reload(repeat the reload and Edit about 10 times), the section shows the global240and the critic off whileapi GET /api/agent-profiles/QA_f15still has120/true; saving a condenser edit from that state storesmax_size240. Thedefaultprofile's editor shows both sections too (browser count 'testid=agent-settings-condenser'is1). In the section, choosing Condenser Kind None should hide the summarizer fields and Max Size should refuse values below zero; Known failure (reproduced 2026-10-22, #18049, #15813): with None pickedbrowser count 'testid=sdk-settings-condenser.max_size'is still1, andbrowser fill 'testid=sdk-settings-condenser.max_size' -5keeps-5(browser screenshot --feature F15.profile-behavior --name kind-none-fields). Leave withtestid=cancel-agent-profile-btnand deleteQA_f15(control-openhands api DELETE /api/agent-profiles/QA_f15 --write; deleting through the UI is F13).Command menu (
F15.command-menu). Runcontrol-openhands browser goto /,control-openhands browser press Control+k,control-openhands browser type 'testid=command-menu >> role=combobox' Condenserandcontrol-openhands browser snapshot 'testid=command-menu': on a local backendNo commands found(on a Cloud backend, optionCondenser settings Tune context condensation behavior. Go, which opens/settings/condenser);control-openhands browser press Escape. Repeat withVerification(optionVerification settings Adjust risk and confirmation controls. Go, URL/settings/verification) and withAgent Context(optionAgent Context Let the agent keep notes and recall them in new conversations. Go[selected], URL/settings/agent-context, subtitleLet the agent keep notes and recall them in new conversations.). Thencontrol-openhands browser press Control+k,control-openhands browser type 'testid=command-menu >> role=combobox' memoryandcontrol-openhands browser snapshot 'testid=command-menu': locally one option,Agent Context β¦(a Cloud backend also listsCondenser settings β¦; hovering selects an option, so click the one you want rather than pressing Enter); close withcontrol-openhands browser press Escape(browser count 'testid=command-menu'is0).Direct URLs (
F15.direct-url). Runcontrol-openhands browser goto /settings/agent-contextandcontrol-openhands browser wait 'testid=agent-context-settings-screen'; likewise/settings/verificationwithtestid=verification-settings-screen. Each wait returnsvisible.Phone (
F15.phone). Runcontrol-openhands browser viewport phone,control-openhands browser goto /settings/verification,control-openhands browser click 'testid=sdk-section-all-toggle',control-openhands browser bbox 'testid=verification-settings-screen'(width348,pageHorizontalOverflowfalse) andcontrol-openhands browser screenshot --feature F15.phone --name verification-all-local(one column; the settings nav is replaced by a back chevron). On a Cloud backend also clicktestid=verification-settings-screen >> text="Enable Critic"(unsaved) first, and do the same for/settings/condenserAll. Return withcontrol-openhands browser viewport desktopandbrowser reloadto drop the draft.Schema unavailable (
F15.schema-unavailable, blocked).control-openhands service stop agent-serverdoes not reach this state: afterbrowser reloadthe whole app is replaced by the Manage backends dialog (Disconnected, 502). Bring the stack back withcontrol-openhands restart. The state needs a backend whose schema endpoints 404 (see Preconditions); therebrowser text 'testid=sdk-schema-unavailable'should start withSDK settings schema unavailable.Errors sweep.
control-openhands browser errors --clear, open the pages and their All tabs, thencontrol-openhands browser errors --app-only: no page errors and no warnings (the condenser fields are translated since #18035).Background refetch keeps the draft (
F15.save-dirty-state, Cloud backend). With Max Size stored as240, runcontrol-openhands browser goto /settings/condenser,control-openhands browser click 'testid=sdk-section-all-toggle'andcontrol-openhands browser fill 'testid=sdk-settings-condenser.max_size' 111. Arrange a changed server baseline withcontrol-openhands api PATCH /api/settings --write --data '{"agent_settings_diff":{"condenser":{"max_size":300}}}'; this API write is a precondition, not the UI proof. Runcontrol-openhands browser clock --offset-ms 360000(makes the mounted query stale),control-openhands browser network-state offline,control-openhands browser network-state onlineandcontrol-openhands browser network --filter '/api/settings'. After the real GET refetch, the unsaved111should remain and Save should stay enabled. Known failure (reproduced 2026-10-12, #16948):control-openhands browser value 'testid=sdk-settings-condenser.max_size'is300andcontrol-openhands browser enabled 'testid=save-button'isfalse; the draft vanished without Save, reset or a scope change. Capturecontrol-openhands browser screenshot --feature F15.save-dirty-state --name refetch-discards-draft. Restore withcontrol-openhands browser clock --offset-ms 0, fill Max Size240, click Save and confirmcontrol-openhands api GET /api/settings --pick agent_settings.condenser.max_sizeis240; networking stays online.Negative condenser input floor (
F15.save-errors, Cloud backend; locally seeF15.profile-behavior). On/settings/condenserselect All, filltestid=sdk-settings-condenser.max_sizewith-5and readbrowser enabled 'testid=save-button'. Expected by #15813: the input prevents values below zero. Known failure, reproduced 2026-10-12:-5remains and Save is enabled. Save showsSettings validation failed, whileapi GET /api/settings --pick agent_settings.condenser.max_sizeremains240; repeat filling-5and read Save enabled, then fill240to discard the invalid draft. The server guard works; the requested client input floor does not.Default Verification tabs (
F15.verification-page,F15.verification-critic-fields). #15811 asks whether Basic and Advanced should differ. On defaults, snapshottestid=verification-settings-screenin each tab: both show only Critic API Key and Confirmation Mode (on a Cloud backend, Confirmation Mode and Enable Critic). Enable Confirmation Mode without saving;browser count 'testid=sdk-settings-security_analyzer'is1on Advanced,0on Basic and1again on Advanced. Reload to discard, then repeat the default/conditional check. Verified 2026-10-12: the default sameness is the current conditional-field behavior, not evidence that the two tiers always render the same fields.Datetime refreshed on Canvas launch (
F15.agent-context-page). Before a new chat, readapi GET /api/settings --pick agent_settings.agent_context.current_datetime; record this public timestamp so it can be restored. Arrange an old persisted-state timestamp through the real API (api PATCH /api/settings --write --data '{"agent_settings_diff":{"agent_context":{"current_datetime":"2001-01-01T00:00:00+00:00"}}}'). Start a chat through the Home composer with the dummy loopback profile, then inspect the run-owned runtimeagent.agent_context.current_datetimeandconversation events <id> --kinds SystemPromptEvent --grep 2001-01-01 --from-start --last 1. Expected: runtime datetime matches the new launch and the old-date event search returns zero. Restore the original settings timestamp through PATCH; no successful model reply is required to inspect initialization.
Regression check (F15.save-errors, negative-no-retry; Cloud backend only, since locally /settings/condenser opens the Agent page):
trap 'control-openhands browser reload >/dev/null' EXIT
control-openhands browser viewport desktop
control-openhands browser goto /settings/condenser
control-openhands browser click 'testid=sdk-section-all-toggle'
control-openhands browser fill 'testid=sdk-settings-condenser.max_size' -5
control-openhands browser network --clear
control-openhands browser click 'testid=save-button' --observe 'testid=save-button' --observe-ms 3000
control-openhands browser screenshot --feature F15.save-errors --name negative-request-count
control-openhands assert --field recent.0.status --equals 422 -- browser network --filter '/api/settings'
control-openhands assert --field total --equals 1 -- browser network --filter '/api/settings'
Gotchas
- Switches are
sr-onlycheckboxes (keyboard reachable): toggle by clicking the label text scoped to the page, read.checkedwithbrowser eval. text=Enable Criticis a case-insensitive substring match and hits the help paragraphEnable critic evaluation for the agent.first, so the click does nothing. Quote it:text="Enable Critic"(same fortext="Enable Iterative Refinement").- The conversation-owned fields have no
verification.prefix:sdk-settings-confirmation_mode,sdk-settings-security_analyzer. Critic fields keep it (sdk-settings-verification.critic_enabled). - Locally the condenser and the critic switch belong to agent profiles: a recipe that opens
/settings/condenserlands on/settings/agents, andsdk-settings-verification.critic_enabledis not on the Verification page. Use the agent profile editor's sections (F15.profile-behavior), whose tab toggles repeat per section: scope them,'testid=agent-settings-condenser >> testid=sdk-section-all-toggle'. - Saving is tier-scoped: Basic or Advanced saves reset every field the tier hides to its schema default (
F15.view-scoped-save). Make all edits on All when other non-default values must survive. - The page opens on the least detailed tier that shows every stored override (any minor override β All). Do not assume Basic after a reload.
- Condenser Kind None (
no_op) still shows the summarizer fields with defaults, although the stored condenser no longer has them, and edits to them are accepted (Settings saved) but dropped while None is stored. #18049 covers hiding fields that do not apply to the selected kind. - A server-side validation error (422) is not retried: one
PATCH /api/settings,Saving...for a moment, then the toastSettings validation failed, which does not name the field. - Condenser Kind is served by the Agent Server's settings schema as a user field. Canvas shows its own choice labels and help text rather than raw
llm_summarizing/no_opvalues or reStructuredText. The dropdown (F15.condenser-kind) remains a user setting so additional kinds can be selected. OpenHands/software-agent-sdk#5495, the schema's developer-facing description, remains an upstream issue. - Toasts close after a few seconds; read them right after the click, or assert the stored value with
api GET /api/settings. - Each instance's agent server keeps its tmux sockets in its own
TMUX_TMPDIR(see F06 Gotchas), so a confirmed command that returnsThe terminal session was reset because the underlying tmux server/session disappeared...is a finding, not interference from another run; after one, the agent asks to run it again. A confirmed command took up to two minutes to produce its observation. Confirm again and wait withconversation wait, not a fixed sleep. - The confirmation buttons have test ids (
action-confirm-button,action-reject-button) but their accessible names areConfirm action/Reject action, not the visibleContinue/Cancel:role=button[name*="Continue"]finds nothing. - Basic-tier saves on Verification reset Security Analyzer to
llm(it is an Advanced field). That is a convenient restore, and a trap if you meant to keepNone. - The memory instructions are only visible through the conversation's first event;
conversation eventstruncates text, so readapi GET /api/conversations/<id>/events/search?limit=1and search the JSON. - A checkout without #18035 shows the condenser minor fields with the schema's English text (
Max tokens,Keep first, raw choice values) and logs 14[i18n] Missing translationwarnings on the All tab. - The dropdowns' clear (Γ) button has no accessible name and, in this build, clicking it through
role=button >> nth=2left the value unchanged. - After every successful save the selected tab is recomputed from the stored values (
F15.tier-after-save), so a follow-upfillon an All-only field can time out because the page silently moved to Basic. Re-clicksdk-section-all-togglebefore each further edit. - Pressing Enter in a field does not save (no toast, API unchanged, Save stays enabled); only the Save Changes button submits.
- Fields revealed by a parent switch do not exist while the switch is off:
filloncritic_thresholdwith Iterative Refinement off waits for a missing element. - Rejecting a pending action (Cancel), the lock chip above the composer and the ββ© / β§ββ« shortcuts belong to
F06.confirmation-modeandF06.confirmation-shortcuts; this family only proves that the settings turn the prompt on. browser count 'role=status'also counts the backend status dot (backend-status-dot); usebrowser toastsfor toast texts.