Skip to content

A Bot uses its computer when the person asks, also when an app couldn't be connected - #2900

Closed
davidmckayv wants to merge 1 commit into
mainfrom
computer-when-asked
Closed

davidmckayv wants to merge 1 commit into
mainfrom
computer-when-asked

Conversation

@davidmckayv

Copy link
Copy Markdown
Contributor

What changed and why

Found in dogfooding: Gusto couldn't be connected, so the person asked the Bot to try with its computer instead. The Bot answered "I can't use the computer as a workaround for Gusto's app connection."

That refusal was ours, not the model's own caution. Every answer a Bot gets about an app ends "Do not browse to its website or ask them to sign in there", and the apps guidance says "Do not browse to its website instead" for any app the Bot doesn't hold. Those lines are right when a Bot picks a route for itself, but they said nothing about the person asking, and right after "Gusto is switched off on this deployment" they read as a ban on the website.

Every Bot's working rules (built-in Bots and connected AG-UI Bots alike, in how_to_work) now say:

  • When the person asks a Bot to do something on its computer or in its browser, it does, including when an app could not be connected or its connection failed.
  • A rule against browsing to an app's website is about what the Bot picks for itself. It is never a reason to refuse the person, and an app switched off here is not a rule against its website.
  • The safety rules stay as they are: a sign-in is handed to the person in the browser, never a password asked for; OpenBot's approvals still ask; and anything the deployment blocks in the browser stays blocked.
  • When a connection fails, the Bot may offer the browser once, without pressing it.

BROWSE_WHEN_ASKED is the sentence the server adds after each "do not browse to its website" line, so the rule and its exception are always read together.

Red/green

shared/bot-prompt.test.ts, "asked by the person, a Bot uses its computer, also when an app could not be connected, within the safety rules", checks both kinds of Bot.

  • Red, on the prompt before this change: fails (Export named 'BROWSE_WHEN_ASKED' not found; the rule isn't in the working rules).
  • Green, with it: bun test shared passes, 718 tests.

Release note

Asked to use its computer or browser, including when an app couldn't be connected, a Bot now does it, within the usual safety rules.

…'t be connected

Asked to try with its computer after Gusto couldn't be connected, a Bot answered
"I can't use the computer as a workaround for Gusto's app connection." The refusal
came from our own instructions: every answer about an app ends "Do not browse to its
website or ask them to sign in there", with no word for the person asking.

Every Bot's working rules now say that when the person asks it to do something on its
computer or in its browser, it does, including when an app could not be connected,
and that an app switched off here is not a rule against its website. The safety rules
stay: a sign-in is handed to the person in the browser, OpenBot's approvals still ask,
and what the deployment blocks in the browser stays blocked. A Bot may offer the
browser once when a connection fails, without pressing it.

BROWSE_WHEN_ASKED is the sentence the server says after each "do not browse to its
website" line, so the rule and its exception are read together.
@davidmckayv

Copy link
Copy Markdown
Contributor Author

Folded into #2802, which now carries this standing rule with the sign-in change.

@davidmckayv davidmckayv closed this Dec 3, 2026
@davidmckayv
davidmckayv deleted the computer-when-asked branch December 3, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant