fix(ce-plan): run ambiguity gate before the non-software catch-all#598
Merged
fix(ce-plan): run ambiguity gate before the non-software catch-all#598
Conversation
PR #597 reordered Phase 0.1b so the "Otherwise, read universal-planning and skip subsequent phases" branch came before the ambiguity check. That made the ambiguity gate unreachable — prompts like "plan a migration" with no other context now route straight to non-software planning instead of asking the user first. Move the ambiguity check above the catch-all so it still gets to intercept software-adjacent or under-specified requests. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to #597. Codex flagged that the reordered Phase 0.1b put the
Otherwise, read universal-planning...catch-all before the ambiguity check. Because that branch also says to skip subsequent phases, the ambiguity gate became unreachable — a prompt like "plan a migration" with no other context would route straight to non-software planning instead of asking the user first.Fix
Move the ambiguity check above the catch-all:
universal-planning.md.Now software-adjacent or under-specified requests still get intercepted.