Repository navigation
fix(agents): drop --limit from ix locate in the refactor planner prompt - #29
Merged
Merged
Conversation
The ix-safe-refactor-planner agent resolves a description with `ix locate "$INPUT" --limit 5 --format llm`. `ix locate` has no --limit (its flags are --kind, --path, --pick, --format, --pretty, --quiet, --fields), so that step failed with "unknown option '--limit'" and the agent fell back without a location. Found by Ix's new plugin contract check (ix-infrastructure/Ix#777). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EqMeW5huGYgRUWS2TtuvF8
Scans agents/, commands/ and skills/ for argv the real ix rejects. It fails on main's ix-safe-refactor-planner.json. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
KageBinary
commented
Oct 4, 2026
KageBinary
left a comment
Collaborator
Author
There was a problem hiding this comment.
Reviewed. The fix is right: ix locate has no --limit on Ix main (locate.ts), and the other flags in that prompt are real.
What I changed: merged main in (f838b7e) and added tests/prompt-argv.test.ts (c1b92b2), which scans agents/, commands/ and skills/ for ix locate … --limit. It fails on main's planner prompt.
Checked together with #30 on main: every CI step passes (bun test 332, real-ix 6, fixtures unchanged). Merging.
KageBinary
marked this pull request as ready for review
October 4, 2026 20:23
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.
The
ix-safe-refactor-planneragent resolves a description with:ix locatehas no--limit(its flags are--kind,--path,--pick,--format,--pretty,--quietand--fields), so this step failed withunknown option '--limit'and the agent carried on without a location. This PR drops the flag. The neighbouringix text … --limit 10is fine, sincetextaccepts it.Found by Ix's new plugin contract check (ix-infrastructure/Ix#777), which reports this as the only invalid
ixinvocation across the six plugins.No version bump in this PR.
🤖 Generated with Claude Code