Skip to content

Owner's connector keys and secrets default to 'No Bot'; make them available to all of the owner's Bots (#359) #545

Closed

Description

@Birfy

Owner decision 2026-10-20 20:21 (Asia/Shanghai): the owner's connectors and secrets are on by default for all of the owner's own Bots, per #359 / AGENTS.md hard rule 4 (connector tools on by default for the owner's Bots, off by default for other people's Bots). Filed on the owner's order; agent-ready because the owner ordered it.

Environment

FlyBot main @ b6e89d2, group chat with Chief (Main), Maintainer, SelfTest, Release; GitHub connected (identity Birfy) and Composio connected.

Steps to reproduce

  1. Settings → Connectors → connect GitHub with a token (or Composio with a key).
  2. Open Settings → Secrets.

Actual

  • GITHUB_TOKEN (and COMPOSIO_API_KEY) is listed as No Bot. list_secrets tells every Bot "for no Bot — you may not use it". Chief reported (translated): "the GITHUB_TOKEN in the secrets area is marked for no Bot, so neither I nor these Bots can use it", and asked the owner to tick Release and Maintainer by hand or hand over a new PAT in DM.
  • Release's self-check reported seeing the Composio Gmail connection but no GitHub MCP.

Expected

  • A key the owner saves (on the Secrets page, from a card, or through a connector) is for all of the owner's Bots unless the owner narrows it; new and existing Bots, Bots in group chats included. Friends' Bots never get it.
  • Keys that are "No Bot" only because of the old connector default move to "All my Bots" once; a scope the owner chose stays.
  • The Secrets page shows and changes the scope with an explicit control: All my Bots / Chosen Bots / No Bot.

Where it sits

Change scope

secrets.js (default + one-time migration + scopeSet marker), connectors.js (no scope: [] on connect), secret-card.js + i18n.js (three-way scope control), tests, docs.

Activity

  1. self-assigned this
    on Oct 20, 2026
  2. added
    bug
    agent-ready
    area:automation
    area:security
    agent-working
    on Oct 20, 2026
  3. Birfy commented on Oct 20, 2026

    @Birfy
    CollaboratorAuthor

    Claimed (urgent, owner's order 2026-10-20 20:21 Asia/Shanghai). Working on branch fix/owner-secrets-all-bots in Birfy/FlyBot.

  4. added a commit that references this issue on Oct 20, 2026
    6824c61
  5. removed
    agent-ready
    agent-working
    on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:automationarea:securitybug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions