Repository navigation
fix(sync): apply global rules last and keep syncing on failure - #215
Merged
Merged
Conversation
ruler-dotdirs-sync ran after ruler-apply-global and copied stale gitignored repo-local Ruler outputs over the fresh global files, so ~/.claude/CLAUDE.md and other agent rules never picked up rule changes. - run ruler-dotdirs-sync first and ruler-apply-global last - keep running remaining sync steps when one fails, exit non-zero at end - drop BetterWright skills removed upstream (only browser remains), which made skills-install fail on every run Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing: 3
✨ Finishing Touches
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 |
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
sync: runruler-dotdirs-syncfirst andruler-apply-globallast. Previously the dotdir rsync copied stale, gitignored repo-local Ruler outputs (from a 2026-09-25 project-scope apply) over the freshly generated~/.claude/CLAUDE.md, Cursor/Windsurf/Kilo/IDX/Junie/Augment/OpenHands rules and several MCP configs, so rule changes such as feat(rules): include AI co-author trailer on agent commits #213 (AI co-author trailer) never reached agents.sync: a failing step no longer aborts the remaining steps; the target still exits non-zero.SKILLS.txt/skills-lock.json: drop1password,bitwarden,credential-manager,full-stack-e2e-review,githubfrom BetterWright; upstream now ships onlybrowser, soskills-installfailed on every run.Verification
make syncexits 0; all 8 global Ruler instruction files contain the co-author rule.🤖 Generated with Claude Code
Summary by cubic
Fixes the
syncworkflow so global rules are applied last and a failing step no longer aborts the remaining steps.ruler-dotdirs-syncran afterruler-apply-globaland copied stale, gitignored repo-local Ruler outputs over the freshly generated global rule files and some MCP configs, so rule changes like the AI co-author trailer never reached agents.1password,bitwarden,credential-manager,full-stack-e2e-review, andgithubfromSKILLS.txt/skills-lock.json; upstream BetterWright only shipsbrowser, which madeskills-installfail on every run.Written for commit fd695c0. Summary will update on new commits.