Skip to content

fix(app-server): honour a profile's tool selection on cloud; tools is the only tool control - #453

Closed
simonrosenberg wants to merge 28 commits into
mainfrom
honour-profile-tools-on-cloud-launch
Closed

simonrosenberg wants to merge 28 commits into
mainfrom
honour-profile-tools-on-cloud-launch

Conversation

@simonrosenberg

@simonrosenberg simonrosenberg commented Sep 21, 2026 •

Copy link
Copy Markdown
Member

HUMAN:

The agent-profile tool picker (software-agent-sdk#5151 + OpenHands/OpenHands#17516) does nothing on cloud without this: the selection is resolved into agent_settings and then thrown away at launch. Now every launch uses the resolved tools, with or without a profile. It also makes migration 175 and the profile envelope safe on bad or newer rows. Sub-agent scoping is left for follow-up PRs.

  • A human has tested these changes.

AGENT:


Why

SaasSettingsStore.load() resolves the active agent profile and carries the result into user.agent_settings, tools included. The live-status launch then rebuilt the tool list from scratch with get_default_tools(...), so a profile's tool selection never reached a cloud conversation. Any tool-selection UI is inert on cloud until the launch reads what was resolved.

software-agent-sdk#5151 also makes tools the only tool control, on profiles and on AgentSettings: enable_sub_agents / enable_switch_llm_tool are no longer stored or returned, and are accepted only as deprecated input folded into tools. Enterprise has to stop reading and sending them.

Summary

  • Tools are resolved with the SDK's launch_tool_specs(..., browser_available=True), the same function the agent-server uses, so enterprise keeps no copy of the default set.
  • Every launch uses user.agent_settings.tools: a profile's resolved selection, or the stored settings, where the SDK has folded the retired switches into tools. So a row with sub-agents on keeps task_tool_set, and a row with switch_llm off doesn't get it. With tools unset, the launch gets the standard set: terminal, file_editor, task_tracker, browser_tool_set and switch_llm.
  • PLAN mode adds switch_llm next to the planning tools only when tools is unset or explicitly selects it.
  • Built-in sub-agent definitions are forwarded when task_tool_set is in the launched tools, all of them, as before. This PR doesn't restrict sub-agent tools; that's for follow-up PRs (software-agent-sdk#5358, #4953).
  • The unconditional SwitchLLMTool attach is gone, along with the built-in respelling and de-duplication helpers; the SDK's create_agent now covers both.
  • Cloud resolves profiles with browser_available=True, at launch (SaasSettingsStore) and in the materialize preview, which also passes check_usable=False since cloud sandboxes can't be probed from the app-server. The new SDK signatures are called directly.
  • GET /api/tools/catalog serves the cloud profile editor from list_tool_catalog(check_usable=False). The catalog's tools (the default, Gemini and planning presets plus task_tool_set) are registered explicitly once at import of server/routes/tool_catalog.py instead of inside the request, which used to block the event loop for ~2s on each worker's first call.
  • Migration 175 rewrites stored pre-v3 tools: [] profiles to tools: null. Cloud always ignored stored tools, so [] meant "the standard set" there. It runs on raw rows before the SDK's v2→v3 profile migration, so a v2 [] profile with sub-agents on still ends up with the standard set plus task_tool_set. The SDK's own migration also treats a legacy [] as null, which covers rows a new pod rewrites before 175 runs. A non-integer or missing schema_version counts as legacy, and a row that can't be decrypted or parsed is logged and skipped, so one bad row can't abort the upgrade.
  • The org's agent-profile envelope keeps entries it can't read (for example a newer schema_version) and writes them back unchanged, including when active points at one. Before, the next save dropped them. Saving or renaming a profile checks names and the profile limit against those hidden entries too, so a pod can't create a second profile with a hidden one's name.
  • Stored settings are migrated by the SDK. SaasSettingsStore.load validates the merged org/member settings through the SDK, which applies the v7→v8 fold of the switches into tools. A member save drops the retired switches from the stored member diff, which is merged key by key, so they aren't re-applied on every later load. "Reset to standard tools" then sticks, and a selected task_tool_set isn't stripped. An unversioned legacy member diff with tools: [] loads as the standard set. A member diff that sets no tool keys doesn't carry its schema_version into the merge: migration 108 stamped those diffs v1, which re-ran the fold over the org's current tools and gave back switch_llm (or the standard set for []) to every member who hadn't saved since.
  • Frontend: the global sub-agents toggle, its mock schema field, defaults and i18n keys are removed. Sub-agents and LLM switching are chosen on agent profiles.

Release

Requires the SDK release that ships software-agent-sdk#5151 (1.51.0); nothing here supports older SDKs. Before merge, once it's published, bump:

  • pyproject.toml / uv.lock: openhands-agent-server, openhands-sdk, openhands-tools
  • dev_config/python/.pre-commit-config.yaml: the mypy hook's openhands-sdk==1.39.1, so CI type-checks against the new SDK names
  • tests/unit/test_saas_settings_store.py::test_store_agent_kind_switch_stays_scoped_to_acting_member: 1.51.0 also ships software-agent-sdk#5434, which stops serializing ACPAgentSettings.llm, so an ACP save no longer overwrites the member's stored llm. Done here in 7103618e6: the llm.model assertion is dropped, agent_kind and acp_server still show the save persisted, and the test passes on both SDK versions.

Behaviour changes

  • A launch without a profile now honours the stored settings: a user who had sub-agents on keeps task_tool_set, and one who had LLM switching off doesn't get switch_llm.
  • A member diff that still carries a switch is folded into tools on load (with a deprecation warning) and loses the switch on that member's next save.
  • Deploy with no mixed-version pods, and no rollback to a pre-fix(app-server): honour a profile's tool selection on cloud; tools is the only tool control #453 image. Old pods reject the new agent settings (v8) and v3 profiles, and drop v3 profiles when they rewrite the org's profile blob. The envelope fix here only protects future bumps.

Issue Number

Part of the agent-profile tool catalog work (software-agent-sdk#5151, software-agent-sdk#4958).

How to Test

All run against software-agent-sdk#5151 installed editable over the 1.49.6 pin (the target suites re-run at a3359d1, the rest at a88186b).

  • Final round (2026-10-02, after merging main at 83934366e, against SDK main 35410b3af with #5406 merged): full backend tests/unit 6845 passed, 1 failed (test_process_sandbox_service::test_default_values, the macOS temp dir again).

  • Pre-merge round (2026-10-02, after merging main, against SDK 48be172): main took revision 174 for the Procrastinate schema, which left two alembic heads, so the empty-tools migration is now 175. tests/unit/app_server, agent profiles, settings store, org store, tool catalog and migration 175: 2262 passed, 2 failed, both unrelated to this PR (test_default_values, and the ACP llm assertion listed under Release, which fails the same way on main with the new SDK). The new stale-member-diff test fails without its fix (['terminal', 'switch_llm']).

  • Review-fix round (2026-09-30, enterprise 77e9d3f after merging main, SDK 48e2e34): tests/unit/app_server, agent profiles, settings store, org store, org profiles, tool catalog and migration 174: 2302 passed, 1 failed (the same unrelated test_default_values). New tests for the save dropping retired switches, the legacy [] member diff, and name/limit checks against hidden profiles fail with their fixes reverted. The pre-commit mypy hook only reports the SDK names it can't see until the pin is bumped (the wrap-validator typing error it also reported is fixed).

  • Target suites (cloud launch, test_agent_profiles.py, test_tool_catalog.py): 269 passed.

  • Full backend tests/unit (8 workers): 6718 passed, 1 failed (test_process_sandbox_service::test_default_values, macOS temp dir isn't /tmp; unrelated).

  • Frontend: vitest 2711 passed; tsc clean; eslint and prettier clean on changed files.

  • ruff clean; mypy against the editable SDK reports nothing in changed files.

  • The new launch and migration tests fail against the old code, and so does the envelope test.

  • Re-run against SDK 79799a0: the launch service and agent-profile suites pass (272).

  • Stored-settings migration checked by hand: a v6 row with enable_sub_agents=True loads with task_tool_set and switch_llm; enable_switch_llm_tool=False loads without switch_llm; a member diff or v7 row with a leftover switch folds into tools.

The SDK and canvas sides were validated end to end on a local stack (see software-agent-sdk#5151 and OpenHands/OpenHands#17516); Cloud itself was not stood up.

Video/Screenshots

No new UI here beyond removing the global toggle. The picker is in OpenHands/OpenHands#17516.

Type

  • Bug fix
  • Feature
  • Refactor
  • Breaking change
  • Docs / chore

Notes

  • Sub-agent tools aren't restricted. A profile that selects task_tool_set can delegate to every built-in sub-agent, with its own tools. Scoping is for follow-up PRs (software-agent-sdk#5358, #4953).

🤖 Generated with Claude Code


Enterprise server image for this PR:

ghcr.io/openhands/enterprise-server:sha-7103618

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  migrations/versions
  173_unset_empty_agent_profile_tools.py 59
  openhands/app_server/app_conversation
  live_status_app_conversation_service.py 167, 202
  server/routes
  agent_profiles.py 256-257
  tool_catalog.py
  storage
  agent_profile_resolution.py
  saas_settings_store.py
Project Total  

This report was generated by python-coverage-comment-action

@simonrosenberg
simonrosenberg force-pushed the honour-profile-tools-on-cloud-launch branch from 882443c to fa51e9d Compare September 28, 2026 07:46
simonrosenberg and others added 2 commits September 28, 2026 12:02
An active agent profile is resolved into `agent_settings` before the launch,
tools included — and then the launch rebuilt the default set and threw the
selection away. The agent-profile tool picker is therefore inert on cloud:
the choice is stored, resolved, carried, and discarded.

An explicit `tools` list is now used as given; `None` still means the server
default, so nothing changes for users without a profile. Sub-agent
definitions are registered whenever delegation is asked for — by the legacy
switch or by selecting `task_tool_set`, which is how an agent profile asks
(software-agent-sdk#5151).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@simonrosenberg
simonrosenberg force-pushed the honour-profile-tools-on-cloud-launch branch from fa51e9d to 5365e5f Compare September 28, 2026 10:02
simonrosenberg and others added 2 commits September 28, 2026 13:10
Cloud sandboxes always ship a browser, but the resolver defaults
browser_available to False on SDKs that take it, so a default-tools
profile launched without browser_tool_set. Pass it where supported.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Treat legacy persisted tools: [] as the default set instead of an
  agent with no working tools.
- Drop sub-agent definitions needing tools the explicit selection left
  out, so delegation (e.g. web-researcher) can't bypass the picker.
- Remove the 2+-LLM-profile switch_llm attach. create_agent already
  adds switch_llm whenever enable_switch_llm_tool is set, so the attach
  only ever fired to override a profile or user that turned it off, and
  it checked include_default_tools only.
- Pin enable_switch_llm_tool off in the selection test so it holds on
  SDKs that deliver switch_llm alongside tools; trim test docstrings.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Debug Agent and others added 4 commits September 28, 2026 18:06
…alog SDK

- Honour resolved `tools` only on a profile launch; a launch without a
  profile keeps building the default set, so the sub-agents switch still
  works there.
- Keep a profile's switch_llm next to the planning tools in PLAN mode.
- Load stored pre-v3 profiles with `tools: []` as unset, so the SDK
  migration keeps them on the standard set cloud always launched.
- Make the browser test assert the resolver receives
  browser_available=True instead of passing vacuously on 1.49.6.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…nt filter

- Rewrite stored `tools: []` agent profiles to `null` in migration 172
  instead of guessing legacy rows from schema_version on every read. That
  guess broke once SDK 1.49.6 kept writing v2 rows.
- Remove the agent_definitions filter. The sandbox registers every built-in
  sub-agent itself, so the filter had no effect. The resolved task_tool_set
  spec now carries the restriction (SDK#5151).
- cloud_resolve_kwargs() checks the signature of the resolver it is given,
  so the materialize dry run is checked against itself.
- Match switch_llm and task_tool_set by canonical tool name in one helper.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ This PR contains migrations. Please synchronize before merging to prevent conflicts.

Debug Agent and others added 5 commits September 28, 2026 20:02
…cker

The profile editor no longer has sub-agent / LLM-switching toggles: tools
are only chosen from the catalog. The route lists the tools the sandbox
agent-server registers, all usable since cloud sandboxes ship the browser.
On an SDK without the catalog it returns 404, which the editor reads as
"no picker".

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Renumber the empty-tools migration to 173 after main's 172.
- Spell selected built-ins by class name and keep one spec per tool, so
  a profile selecting switch_llm launches on SDK 1.49.6 in both modes.
- Reuse the SDK's canonical_tool_name when present; drop the redundant
  sub-agent clause.
- Skip catalog usability probes when list_tool_catalog supports it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Old clients still send enable_sub_agents / enable_switch_llm_tool; when
the SDK provides apply_tool_switch_request, apply it against the stored
profile so a changed switch edits tools and an unchanged stale one
cannot re-add a removed tool.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The SDK release this ships with is now the minimum, and tools is the only
tool control:

- Remove the apply_tool_switch_request path, cloud_resolve_kwargs and the
  inspect.signature fallbacks; call the new SDK signatures directly.
- Register agent-server tools once at app startup instead of per request.
- Cloud launch builds tools from the profile's selection or the standard
  set (with switch_llm) and never reads enable_sub_agents /
  enable_switch_llm_tool; drop the built-in respelling and dedup helpers
  create_agent now covers.
- Frontend: remove the global sub-agents toggle, its schema mock, defaults
  and i18n keys. Sub-agents and LLM switching are configured on profiles.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@simonrosenberg simonrosenberg changed the title fix(app-server): honour a profile's tool selection on a cloud launch fix(app-server): honour a profile's tool selection on cloud; tools is the only tool control Sep 29, 2026
Debug Agent and others added 2 commits September 29, 2026 15:24
The no-profile launch took the standard set from openhands-tools plus an
appended switch_llm; launch_tool_specs gives the same set from the SDK for both
the default and a profile's explicit list.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…o pre-v3 profiles

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@simonrosenberg

Copy link
Copy Markdown
Member Author

Code review (xhigh) — cross-PR findings (see full list on OpenHands/software-agent-sdk#5151)

4. Cloud launches without a profile ignore user.agent_settings.tools — live_status_app_conversation_service.py#L2251
The SDK folds the stored switches into settings tools, but that's discarded here. A row with enable_switch_llm_tool=false still gets switch_llm (PLAN mode appends it whenever profile_tools is None); a row with enable_sub_agents=true loses task_tool_set and its sub-agent definitions. On main create_agent honoured both.

9. task_tool_set registers every built-in sub-agent with the browser enabled — live_status_app_conversation_service.py#L2269
A profile [file_editor, task_tool_set] meant to deny terminal/browser delegates to general-purpose/web-researcher, which run them anyway; enable_browser=false is bypassed. The description mentions scoping via restrict_to_parent_tools but no such code exists.

11. Migration 173 can abort the upgrade and misses already-rewritten rows — 173_unset_empty_agent_profile_tools.py#L30
profile.get('schema_version', 1) < 3 with no type guard (schema_version: null → TypeError) and no per-row error handling (a decrypt_value failure aborts alembic). If a new pod rewrites the blob before 173 runs, a v2 [] profile is saved as v3 [switch_llm] and 173 skips it.

Also relevant from the SDK side: #8 (schema bump not rollback/rolling-deploy safe — old pods drop v3 profiles on next write) and #2 (_load_persisted_agent_settings on version-less dicts adds switch_llm).

I'll push fixes and follow up with a summary.

simonrosenberg and others added 3 commits September 29, 2026 18:21
…sub-agents

- Resolve the launch's tools from user.agent_settings.tools on every
  launch, so the SDK's fold of the retired switches (sub-agents on,
  switch_llm off) reaches cloud conversations without a profile.
- Forward only built-in sub-agents whose tools the parent agent has.
- Migration 173: treat a non-integer schema_version as legacy and skip,
  with a warning, a row that cannot be decrypted or parsed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Entries that fail validation (e.g. a newer schema_version written by a
newer pod) are now held aside and serialized back verbatim, and an
active pointer naming one is kept, so a reader on an older schema no
longer deletes them on its next mutation.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@simonrosenberg

Copy link
Copy Markdown
Member Author

Fixes for the xhigh review findings — pushed in 0bc7459e7, f7d2c901e, 67806b661

  • build(deps): bump snok/install-poetry from 1.4.1 to 1.4.2 #4 Settings tools on launches without a profile — every launch now uses user.agent_settings.tools (the SDK's folded result). PLAN mode adds switch_llm only when tools are unset or explicitly include it. Sub-agent definitions are sent only when task_tool_set is among the tools actually used. Tests: test_build_request_without_a_profile_honours_settings_tools, test_launch_honours_migrated_tool_switches (DEFAULT + PLAN, a v6 row with enable_sub_agents=True, enable_switch_llm_tool=False).
  • build(deps): bump docker/setup-buildx-action from 3.12.0 to 4.2.0 in /.github/actions/docker-merge-manifest #9 Sub-agents exceed the parent — _sub_agents_within() forwards only the built-in sub-agents whose tools are all among the parent's. The sandbox side is closed in SDK#5151 b3eb04383 (TaskManager cuts sub-agent tools down to the parent's; browser sub-agents aren't registered when the browser is off). restrict_to_parent_tools does not exist; the test that used it was replaced by test_build_request_forwards_only_sub_agents_within_the_parent_tools.
  • build(deps): bump the version-all group in /frontend with 37 updates #11 Migration 173 — a non-int or None schema_version counts as legacy (1). Each row is wrapped in try/except: an undecryptable or unparseable row is logged and skipped, so it can't abort alembic. The < 3 scope is kept; the race with already-rewritten rows is closed by the SDK fold now mapping legacy [] → null. 2 new tests, both failing on the old code.
  • chore(deps-dev): bump the eslint group across 1 directory with 7 updates #8 Envelope data loss — AgentProfiles now holds aside entries that fail validation (e.g. a newer schema), writes them back unchanged on save, and keeps active when it names one of them. Test: test_save_keeps_a_newer_schema_profile_and_its_active_pointer (fails on the old code). The route docstring's stale "drops invalid entries" note was also removed. ⚠️ This protects future bumps only. Old pods still drop v3 profiles, so this deploy needs no mixed-version pods and no rollback to a pre-fix(app-server): honour a profile's tool selection on cloud; tools is the only tool control #453 image.

Description correction: replace the restrict_to_parent_tools claim with:

Selecting task_tool_set forwards only the built-in sub-agents whose tools are a subset of the parent's effective tools, and the SDK (#5151) limits each sub-agent to its parent's tools inside the sandbox.

Re-run against SDK b3eb04383: 670 unit tests pass (agent profiles, tool catalog, settings, migration 173, live_status); ruff and mypy are clean on the touched files. The pre-commit mypy env pins sdk 1.49.6, so it shows 7 attribute errors until the SDK releases.

simonrosenberg and others added 4 commits September 30, 2026 10:38
…p PRs

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- A member settings save drops the retired enable_sub_agents /
  enable_switch_llm_tool keys from the stored diff, so they are not
  re-applied on every load (Reset to standard tools now sticks, and
  task_tool_set can be kept).
- An unversioned legacy member diff with `tools: []` loads as the
  standard set rather than as an explicit bare list.
- Saving or renaming a profile checks names and the profile limit against
  profiles hidden for schema drift too.
- Drop the field validator the wrap validator made redundant; type the
  wrap validator with Self.
- Register the catalog's tools explicitly instead of importing the
  agent-server tool router for its side effects.
- Renumber the empty-profile-tools migration to 174 (main added 173).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@simonrosenberg

Copy link
Copy Markdown
Member Author

Deployment validation: self-hosted (Replicated embedded cluster)

Validated on two internal Replicated fleet instances (test customers only) with a release on the test channel simon/validate-tool-catalog (release 1725, never promoted) that pins:

Tool lists below are read from each sandbox's agent spec (GET <conversation_url>).

Upgrade lane (shared-5): Stable 0.71.1 (enterprise 1.64.0, SDK 1.49.5) → test release

Seeded on Stable: settings with enable_sub_agents=true, enable_switch_llm_tool=false, plus 8 v2 agent profiles. After the upgrade:

Stored on Stable Loaded after upgrade
settings v6, sub-agents on, switch off v7 [terminal, file_editor, task_tracker, browser_tool_set, task_tool_set]
profile, tools unset v3 null
profile, tools: [] v3 null
profile, tools: [] + sub-agents on v3 standard + task_tool_set + switch_llm
profile, sub-agents on v3 standard + task_tool_set + switch_llm
profile, switch off v3 standard without switch_llm
profile, [terminal, file_editor] v3 [terminal, file_editor, switch_llm]
profile, [terminal] + switch off v3 [terminal]
ACP profile v3, switches dropped

All 8 profiles kept their ids and none were dropped. No response carries enable_sub_agents / enable_switch_llm_tool.

Launch Before (Stable) After
global settings std + task_tool_set, no SwitchLLMTool same
profile [terminal, file_editor] full std + SwitchLLMTool (selection ignored) [terminal, file_editor] + SwitchLLMTool
profile tools unset — std + SwitchLLMTool
profile tools: [] + sub-agents on — std + task_tool_set + SwitchLLMTool
profile switch off — std
profile [terminal] + switch off — [terminal]
PLAN: settings / unset / switch off — planning tools; SwitchLLMTool only for unset

Also checked:

  • A re-save of a migrated profile stays v3, bumps the revision, and writes no switch keys.
  • enable_sub_agents=true sent on an explicit list folds into task_tool_set.
  • switch_llm with params returns 422.
  • "Reset to standard tools" (tools: null) sticks across reloads, and the next launch gets the standard set + SwitchLLMTool.
  • A pre-upgrade sandbox paused by the idle policy resumes on its original 1.49.5 agent-server; new conversations run 1.50.0.
  • task_tool_set launches expose task with the built-in sub-agent types.

Rollout: the old pod answered until 12:28:30Z while the new pod's init containers (migrate-db → 174) ran. The new server process started at 12:28:26Z and answered from 12:28:40Z. At 2 s sampling there were no interleaved responses. This is benign for this release, because 174 only writes null, which older pods read as the legacy default.

Fresh lane (shared-6): clean install on the test channel

  • First-login settings are v7 with tools: null.
  • The catalog has 21 entries with default set terminal, file_editor, task_tracker, browser_tool_set, switch_llm. It is identical to shared-5's.
  • New profiles store as given; [] stays a bare agent.
  • Launches get exactly the selected tools; an explicit list without switch_llm gets no SwitchLLMTool.
  • A real turn on global settings listed the expected tools.
  • A profile with task_tool_set delegated to general-purpose and got the sub-agent's reply back.

Gaps

  • POST /api/agent-profiles/{name}/materialize takes no body, so a draft {"profile": …} is ignored and the stored profile is reported (valid: true, empty unusable_tools). The agent-server version accepts drafts. Canvas doesn't call it today.
  • Not covered:
    • 2+ LLM profiles: saving a user LLM profile on these installs returns 201 but isn't stored.
    • Database row inspection: no SSH.
    • The catalog also offers tom_consult and sleeptime_compute as selectable; worth a look.

Result: PASS, with the materialize gap as a follow-up.

simonrosenberg and others added 4 commits September 30, 2026 18:47
main took 174 for the Procrastinate schema, which left two alembic heads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…f version

Migration 108 stamped member diffs schema_version 1. Merged over the org's
current settings, that stamp re-ran the SDK's tool-switch fold, so an org
that dropped switch_llm or picked no tools got the default back for every
member who hadn't saved since.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
simonrosenberg and others added 2 commits October 2, 2026 17:42
…on-cloud-launch

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
openhands-sdk #5434 deprecates ACPAgentSettings.llm and drops it from
serialized ACP settings, so with the SDK release this PR targets an ACP
save leaves the member's stored llm as it was and the llm.model
assertion fails. agent_kind and acp_server still show the save
persisted, and the test passes on both SDK versions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@simonrosenberg

Copy link
Copy Markdown
Member Author

This remains useful, but I converted it back to draft because it is not currently safe to mark merge-ready. #758 records the concrete refresh/rollout work: revision 175 collides with an already released migration on main; runtime and mypy SDK pins predate the APIs this branch calls; skipped malformed/encrypted rows need an audit; and the mixed-version/rollback policy must be validated. Renumbering alone is not enough. No migration was changed or deployed during this audit.

@simonrosenberg

Copy link
Copy Markdown
Member Author

Superseded by #763, which consolidates tool selection, retired-switch handling, opaque-entry preservation and the tool migration with the other Enterprise Agent Profile fixes. The replacement uses released SDK 1.54.0, adds strict launch resolution and revision 187 after the current migration head, and includes an upgrade/audit guide.

#763 has passing CI, 7,577 passing local backend tests, real HTTP/model QA, and an independent automated QA PASS. Closing this duplicate PR so review and follow-up happen in one place; the linked issues remain tracked until #763 merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant