Skip to content

fix: approvals after a refused mode switch, and compaction with a queued message - #179

Merged
ggfincke merged 4 commits into
mainfrom
fix/claude-live-mode-fallback-approvals
Nov 6, 2026
Merged

ggfincke merged 4 commits into
mainfrom
fix/claude-live-mode-fallback-approvals

Conversation

@ggfincke

@ggfincke ggfincke commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

Follow-ups to #178 found by review bots on the upstream PRs. Leaving Plan in Auto on a model without Auto, or restoring a Plan Claude entered itself, could fall back to default while turns kept Auto's policy, which has no approval callback, so requests default forwards for approval were allowed without asking; each turn now uses the mode Claude accepted, with the approval callback on when that differs from the requested mode, which also covers the CLI's own launch-time fallback after the first turn. Separately, web's compact-before-send gate took the latest unheld run, so a queued message could hide background work from the run before it; it now uses a provider-only check that skips queued runs and treats a rolled-back latest run like idle compaction does. Tests cover both approval paths and the compaction cases. Done by Claude Opus 5.5 in Claude Code (via 456code).

ggfincke and others added 2 commits November 6, 2026 13:15
Co-Authored-By: Claude <noreply@anthropic.com>
…ction

Co-Authored-By: Claude <noreply@anthropic.com>
@ggfincke ggfincke changed the title fix(server): a refused live mode switch keeps asking for approvals fix: approvals after a refused mode switch, and compaction with a queued message Nov 6, 2026
ggfincke and others added 2 commits November 6, 2026 13:31
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@ggfincke
ggfincke merged commit 929ef58 into main Nov 6, 2026
12 of 13 checks passed
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