Repository navigation
Description
Summary
When a coding agent asks to sign in, Tale's consent page offers Connect AI subscriptions ("Ask to add an AI subscription. Nothing is added until you confirm it in Tale.") as one of the choices under Also allow. No tool of the MCP endpoint takes that access, so choosing it grants nothing, and the sentence promises something no agent can do yet. Agent sign-in is on by default since #4926, so anyone who connects an agent that asks for all the scopes the endpoint lists (Claude Code and Codex do) sees the choice.
Anchors are at main 0cf2c45fda (2026-10-13).
What the repo says today
services/platform/lib/shared/agent-access.ts:94-98(EXTRA_SCOPES): reading settings, changing them andtale:subscriptions.connectare "the scopes that are a choice of their own beside the level".services/platform/app/features/auth/components/agent-consent/agent-access-picker.tsx:107: the picker renders every entry ofEXTRA_SCOPESas a checkbox. The label and description areconsent.extras.subscriptionsandconsent.extras.subscriptionsDescription(services/platform/messages/en/agentConnections.yml:39-40).- None of the 39 tools in the MCP inventory names
tale:subscriptions.connectamong its scopes (services/platform/lib/mcp/tools.ts), so the scope was added ahead of the tool. The subscription tools are the subject of Decision: should a coding agent be able to ask to add its own AI subscription over MCP, and what must be settled first? #4931.
What was observed
On a local stack on 2026-10-13, Claude Code's authorization request asked for the six agent scopes and offline_access, and the consent page offered the checkbox Connect AI subscriptions, unticked, beside Read settings and Change settings. Ticking it would add the scope to the connection, and the What Claude Code can do list would then read "Allowed: Connect subscriptions". Not examined: whether anything else reads the scope; the tool inventory shows nothing that does.
Options
- Offer a choice only if a tool takes it. Derive the offered extras from the scopes the tools name, with a test that keeps the two lists equal, so the choice appears together with the first tool that needs it.
- Keep the choice and say in its description that nothing uses it yet.
- Leave it until the tools in Decision: should a coding agent be able to ask to add its own AI subscription over MCP, and what must be settled first? #4931 exist.
Activity
tale-code-bot commentedon Nov 1, 2026
The fix is on branch
fix/consent-offers-only-scopes-a-tool-takes(task TALE-197), handed to review fortrain: the consent page offers only the scopes a tool of the MCP endpoint takes, held equal to the tool inventory by a test, and a request fortale:subscriptions.connectstill signs in without the connection being given it.One part is left for a person: the docs capture
services/docs/public/images/platform/agent-consent.webpstill shows Connect AI subscriptions, and retaking it needs the capture stack the agents' workers do not have. It is #5246.fix(platform): offer only the agent scopes a tool takes
docs: amend the v0.5.95 release notes
docs: amend the v0.5.95 release notes