fix: migrate ruler [global] to [mcp] and disable aider mcp#158
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughModifies ChangesRuler TOML MCP Configuration
Estimated code review effort: 1 (Trivial) | ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Problem
The
dotfilesUpgradeworkflow fails atruler-apply-global(make upgrade-dev):@intellectronica/ruler0.3.41 has no[global]table in its config schema. Valid top-level keys aredefault_agents,agents,mcp,gitignore,skills. Themerge_strategysetting belongs under[mcp].Fix
merge_strategy = "merge"from[global]to[mcp].[agents.aider.mcp] enabled = false). Once chore: cleanup turbo configuration and simplify scripts #1 lets the apply proceed, ruler crashes writing aider's MCP config: it writes.aider.conf.ymlas YAML (theread:instructions list), then re-parses it as JSON and fails.Verification
Ran the exact Makefile invocation locally:
Result:
Ruler apply completed successfully.(exit 0), all 18 agents apply cleanly.Summary by cubic
Fixes the Upgrade workflow failure by aligning
@intellectronica/rulerconfig with the 0.3.41 schema and disabling Aider MCP to prevent a parse crash. Ruler apply now completes successfully.merge_strategy = "merge"from[global]to[mcp](per@intellectronica/ruler0.3.41).[agents.aider.mcp] enabled = false) to avoid YAML→JSON reparse failure on.aider.conf.yml.Written for commit 39583cd. Summary will update on new commits.