Repository navigation
Description
In plain words
OSS: Settings has an Experimental page where you switch on reactions, decision cards and message edits.
OHE: There is no such page, so these features stay off in every OHE conversation.
Gap
- OSS change: OpenHands/OpenHands#19503 — Settings → Experimental page with Conversation reactions (unreleased). The same switches turn on #19789 (decision cards for
ask_user, unreleased) and #19794 (message edits, unreleased). - OSS paths:
src/api/experimental-features-service/experimental-features-service.api.ts,src/hooks/query/use-experimental-features.ts,src/hooks/use-settings-nav-items.ts,src/routes/experimental-settings.tsx - Gap key:
gap:canvas-cloud/experimental-features· blocker typemissing-integration - Evidence: static inspection of enterprise
mainatdfa3025and OSSmainat428b3dc2a. Needs live validation: no.
What OHE is missing
The Canvas lists the switches from the agent server (/api/settings/experimental) and hides the page on cloud. Its own comment says "Cloud has no such settings yet, so it lists none" (experimental-features-service.api.ts#L28, use-settings-nav-items.ts#L23). Reactions, decision cards and message edits all read that list, so they are off on cloud, and a pin bump does not change it.
Enterprise has nothing behind it. It has no per-user store for the switches, no route that lists and changes them, and no step that hands them to the sandbox agent server. The agent server keeps the switches in its own settings file, and a sandbox starts with empty settings. The SDK says the host passes the user's switches in OH_RUNTIME_EXPERIMENTAL_FEATURES for such runtimes. The switches exist only from agent-server 1.63.0; enterprise pins 1.62.0.
Where it belongs in OHE
Scope: personal. A switch is something a user sets for themselves, like enable_memory_context (P1 precedent).
needs product decision: may an org admin turn these features off for all members? Recommendation: not in the first change. Ship personal switches, and let the page flag (P3) be the kill switch.
Target files:
openhands/app_server/settings/settings_models.py(#L829,enable_memory_contextis the precedent),storage/user.py(#L81) and a new file inmigrations/versions/— store each user's switchesopenhands/app_server/settings/settings_router.py— list and change the switches, in the shape the SDK client reads (key,label,description,enabled)openhands/app_server/sandbox/remote_sandbox_service.py(_init_environment#L340) and the Docker and managed sandbox services — pass the user's switches to the sandbox asOH_RUNTIME_EXPERIMENTAL_FEATURESpyproject.toml(#L64) —openhands-agent-serverandopenhands-sdkat 1.63.0 or laterfrontend/src/routes/(a new settings page),frontend/src/routes.ts,frontend/src/constants/settings-nav.tsx,frontend/src/utils/settings-utils.tsandopenhands/app_server/web_client/default_web_client_config_injector.py— the OHE page behind a flag that defaults off
OHE principles that apply
- P1 Decide the settings scope: a personal switch, like
enable_memory_contextinsettings_models.py. - P3 Put a new OHE page behind a flag that defaults off: add the flag in
default_web_client_config_injector.pywith_env_flag_enabled, and hide the page throughisSettingsPageHidden()infrontend/src/utils/settings-utils.ts. - P6 Persist in PostgreSQL with an Alembic migration: the stored switches need a column and a migration in
migrations/versions/, as167_add_user_memory_context.pydid forenable_memory_context. - P7 Env-var toggles accept
'true'and'1': applies to the new page flag. - P10 Change the right frontend: a locked-to-cloud Canvas sends every settings route except
/settings/appto OHE's own settings shell, so the page is built infrontend/, not taken from the bundle.
Acceptance
- With the page flag on, a user opens Settings → Experimental in OHE, sees the switches the agent server lists, and the choice survives a reload and a new sandbox.
- A conversation started after a switch is on has that feature in the sandbox agent server; with it off, the feature is absent.
- With the page flag off, the page and its nav entry are hidden, and the new route answers like the other flagged pages. The test covers the flag value
'1'. - A migration test on PostgreSQL covers the new column.
Dependencies
- Enterprise needs the SDK pin at 1.63.0 or later (
openhands-agent-server,openhands-sdk). - OSS work after the enterprise route exists: the cloud branch of
listExperimentalFeaturesmust call it, and the reaction call (conversation-reactions-service.api.ts) must pass the sandbox runtime options asanswerAskUserdoes; then bumpAGENT_CANVAS_REFto a release with #19503, #19789 and #19794 (all after v1.42.0).
Duplicate check
Searched issues in OpenHands/enterprise, OpenHands/OpenHands and OpenHands/software-agent-sdk for "experimental features", "reactions", "ask_user decision cards", "message_edits", the gap key and the three PR numbers. No enterprise issue or open enterprise PR covers it. The closest are the closed OSS request OpenHands/OpenHands#19505 and the closed SDK work software-agent-sdk#6621, which are the OSS and agent-server halves. OpenHands/OpenHands#19575 (Projects behind an experimental flag) is a different feature that will use the same switches.
This issue was created by an AI agent (OpenHands) via the OHE OSS gap discovery automation.
Activity
openhands-agent commentedon Nov 20, 2026
blocked - agent is stuck, @juanmichelini: 2 attempts did not open a PR. Remove
blocked - agent is stuckto let dev-coordinator pick it up again with a fresh round count.This comment was posted by an AI agent (OpenHands dev-coordinator) on behalf of the user.