Repository navigation
Say the sign-in rule in the sign-in and secret tools' descriptions - #2946
Merged
Merged
Conversation
A Bot whose framework drops system messages sees only the tools, so the rule a built-in Bot reads in its computer guidance is said where every Bot gets it: the private sign-in form for every sign-in page, also when the username is known or the person will sign in themselves, and never the secret box for a sign-in's password. Matches the server's descriptions.
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
December 4, 2026 16:36
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.
The browser's registrations of the sign-in and secret tools now say the same sign-in rule as the server's. That rule is: use the private sign-in form on every sign-in page, even when the Bot was given the username or email or the person says they will sign in themselves, and never ask for a password through the secret box.
Why
A Bot a person connects over AG-UI may hand OpenBot's instructions to its model, or it may not. A stock agent that drops system messages sees only the tools. So the rule a built-in Bot reads in its computer guidance has to be in the tools' own descriptions too.
The secret tool listed "a password" as the first thing to ask for. Measured with a stock AG-UI agent on Claude Sonnet 5.5: given an email address, it typed the email and asked for the password through the secret box instead of opening the private sign-in form.
The server now sends connected Bots the same computer guidance built-in Bots get, and it carries the same descriptions. This keeps the browser's copy the same as the server's (
sign-in-tool.tsxsays they must match).What changed
app/src/lib/copilot/sign-in-tool.tsx: the description says to call it on every sign-in page, including when the username is known or the person will sign in themselves, not to fill in the fields or ask for the password another way, and that writing "please sign in" asks nobody.app/src/lib/copilot/computer-tools.tsx:computer_request_secretis no longer offered for "a password". It says it is not for a sign-in's password, and points tocomputer_request_sign_in.These are model-facing words only. Nothing a person sees changes, and there's no API change.
What the leaders do
ChatGPT's cloud browser pauses at a sign-in page and asks the person to sign in through a secure form the model can't see (help.openai.com). Operator hands login credentials to the user to type (openai.com). Claude in Chrome pauses at a login page and asks the person to handle it (code.claude.com). None of them asks for a password field by field.
Changelog
Bots and signing in.