Conversation
Harbor404
requested review from
MikeRyanDev,
davidmckayv,
guidovizoso,
mxmzb and
tylerslaton
as code owners
October 1, 2026 13:47
…rker-handoff # Conflicts: # CHANGELOG.md # server/src/index.ts
Contributor
|
Closing. #399 is an open design question the maintainers have not decided, and this PR picks an answer for it. It also adds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Fixes #399.
A coworker created as Built in on a deployment with a managed Bot was stored as
remote_ag_uipointing at the managed endpoint. It could answer and be asked, but the handoff tool is minted only inside this deployment's own run loop, so it could not hand work on.This takes the smaller of the two options in #399:
systemPromptnow staybuilt_in, even when a managed Bot exists;remote_ag_uirows whose endpoint equals the configured managed endpoint, moving them to the role description they already have;builtIn.The repair is startup code rather than a static SQL migration because
MANAGED_AGENT_AG_UI_URLis deployment configuration, not a database fact.Where it runs
Boundary and audit
Changelog
Unreleased.Proof
remote_ag_uiwherebuilt_inwas expected.bun test server/tests/agent-profile-store.integration.test.ts server/tests/agent-handoff-endtoend.integration.test.ts: 31 pass, 0 fail.bun run typecheck: app, server, worker pass.composio-transportplustenant-package: 167 pass, 0 fail.