Skip to content

fix(compound): remove overly defensive context budget precheck#279

Merged
kieranklaassen merged 2 commits intomainfrom
fix/compound-context-check-278
Mar 16, 2026
Merged

fix(compound): remove overly defensive context budget precheck#279
kieranklaassen merged 2 commits intomainfrom
fix/compound-context-check-278

Conversation

@kieranklaassen
Copy link
Copy Markdown
Collaborator

Summary

  • Removes the Phase 0 "context budget check" that nagged users with a warning and forced them to choose between full/compact-safe mode — even with 80%+ context remaining
  • Full mode now runs by default, no questions asked
  • Compact-safe mode stays available if users explicitly request it

Fixes #278 — reported by @NoamTenne on X

Root cause

The heuristic told Claude to "check how long the current conversation has been running" and guess whether context was constrained. There's no actual token count API, so Claude erred on the side of caution and recommended compact-safe mode for any non-trivial conversation. Especially aggressive on Codex.

What changed

Replaced the 35-line Phase 0 block (warning + choice prompt) with a 3-line default: always run full mode, compact-safe on explicit request only.

Test plan

  • Run /ce:compound in a fresh session — should go straight to full mode with no warning
  • Run /ce:compound in a long session — should still go straight to full mode
  • Run /ce:compound --compact — should use compact-safe mode
  • Say "use compact mode" — should use compact-safe mode

Post-Deploy Monitoring & Validation

No additional operational monitoring required: this is a prompt-only change with no runtime impact.


Compound Engineered 🤖 Generated with Claude Code

kieranklaassen and others added 2 commits March 16, 2026 08:18
The Phase 0 vibes-based heuristic warned users and forced a mode choice
even with 80%+ context remaining. Full mode now runs by default;
compact-safe mode stays available on explicit request.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@kieranklaassen kieranklaassen merged commit 84ca52e into main Mar 16, 2026
1 check passed
@kieranklaassen kieranklaassen deleted the fix/compound-context-check-278 branch March 16, 2026 15:23
This was referenced Mar 18, 2026
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.

ce:compound context budget check is overly defensive — fires with 80%+ context remaining

1 participant