Run xmoj-code-navigator on Sonnet
What does this PR aim to accomplish?:
Run the xmoj-code-navigator Claude Code agent on Sonnet instead of Haiku. While I was checking the docs against XMOJ.user.js, the Haiku navigator got details wrong: it confirmed the rating threshold as "≥500" when the code is > 500, and it said badges are edited on /userinfo.php instead of /modify_user_info.php.
How does this PR accomplish the above?:
Changes model: haiku to model: sonnet in .claude/agents/xmoj-code-navigator.md. sonnet resolves to the latest Sonnet (currently 5.5). Developer tooling only; the userscript is not touched.
By submitting this pull request, I confirm the following:
- I have read and understood the contributor's guide, as well as this entire template.
- N/A, a one-line config change.
- Not tested beyond the diff; it takes effect the next time the agent runs.
- I am willing to help maintain this change if there are issues with it later.
- It is compatible with the GNU General Public License v3.0.
- Single commit.
- I have checked that another pull request for this purpose does not exist.
- I have considered and confirmed that this submission will be valuable to others.
- I accept that this submission may not be used, and the PR can be closed at the will of the maintainer.
- I give this submission freely and claim no ownership to its content.
- N/A: no userscript or UI change.
- I have read the above and my PR is ready for review.
🤖 Generated with Claude Code
https://claude.ai/code/session_017dqWu3YgeVRGwBt5pXDq4A
Summary by cubic
Switches the xmoj-code-navigator agent from Haiku to Sonnet to fix inaccurate answers when locating code in XMOJ.user.js. Haiku twice gave wrong details, including confirming a ≥500 rating threshold when the code is > 500, and citing /userinfo.php for badge edits instead of /modify_user_info.php. Developer tooling only; the userscript is unchanged.
Summary by Sourcery
Enhancements:
- Configure the xmoj-code-navigator agent to use Sonnet for more reliable code understanding.