You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Claude Plan mode can skip the proposal flow in a mid-conversation thread #1712
confirmed-reproBug reproduced again from a clean trusted checkout; see linked reportprovider-claude-codeBuilt-in plugin: provider-claude-codeprovidersCross-provider bridges, models, login
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.
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).
confirmed-reproBug reproduced again from a clean trusted checkout; see linked reportprovider-claude-codeBuilt-in plugin: provider-claude-codeprovidersCross-provider bridges, models, login
Activity
SawyerHood commentedon Aug 18, 2026
Reproduction & root-cause report: https://get-bb.github.io/reports/issues/1712.html
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).Enter Plan mode when a later Claude turn carries /plan (get-bb#2157)