Skip to content

Claude Plan mode can skip the proposal flow in a mid-conversation thread #1712

Closed

Description

@SawyerHood

Source

Discord report by Mockafjongen: https://discord.com/channels/1522478522332090528/1535636404497809459/1537505479209652245

Problem

On bb 0.37.0, a user entered Claude Plan mode during an existing conversation. Claude did not use the plan exit tool. It returned a normal response with a link to the plan file instead.

This is related to #1259 and #1260, but it has a different symptom. The plan proposal and approval flow never appeared.

Expected result

Claude uses the plan exit tool and shows the plan proposal interface before it leaves Plan mode.

AGENT GENERATED: by GPT-5

Activity

  1. added
    bug
    on Aug 17, 2026
  2. added theissue type on Aug 17, 2026
  3. added
    providers
    provider-claude-code
    and removed
    bug
    on Aug 18, 2026
  4. SawyerHood commented on Aug 18, 2026

    @SawyerHood
    CollaboratorAuthor

    Reproduction & root-cause report: https://get-bb.github.io/reports/issues/1712.html

    • Verdict: REPRODUCED · root-cause confidence: high
    • Root cause (short): Since Agent providers as a first-class plugin surface (provider bridge protocol) #1640 the bridge-protocol adapter always classifies option changes as "live" (no thread/resume), and the Claude bridge's turn/start|steer path only uses providerOptions.claudeCodePermissionMode to strip the "/plan" mention — it never calls setPermissionMode("plan") on the live SDK session, so a mid-conversation /plan runs in the user's normal preset and Claude executes the task instead of planning/proposing via ExitPlanMode.
    • Proposed fix: In plugins/provider-claude-code: (1) session-params.ts buildClaudeTurnParams forwards providerOptions.claudeCodePermissionMode; (2) bridge/commands.ts claudeTurnStartParamsSchema/claudeTurnSteerParamsSchema gain claudeCodePermissionMode: z.literal("plan").optional(); (3) bridge/bridge.ts adds enterPlanModeIfRequested() which, when the turn requests plan and threadSession.permissionMode !== "plan", sets threadSession.permissionMode = "plan" and awaits threadSession.session.setPermissionMode("plan"), called right after applyLiveSessionSettings in runTurnStart and runTurnSteer before the prompt i…
    • Caveats: The reporter ran 0.37.0, which predates Agent providers as a first-class plugin surface (provider bridge protocol) #1640; at that version a mid-thread /plan DID rebuild the session in plan mode via thread/resume (consistent with the reported plan-file link), and the missing ExitPlanMode there is most likely model behavior (ExitPlanMode is a deferred tool needing a ToolSearch lookup first, seen in every successful run) — not reproduced deterministically, so confidence abo…

    The report has copy-paste repro steps, screenshots where the bug is visual, code permalinks at 16ceb3a54, and repro artifacts. It was independently re-run by a second agent (see its Verification section).

    AGENT GENERATED: by Claude Opus 5

  5. added
    confirmed-repro
    on Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-reproprovider-claude-codeproviders

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions