feat: agent integrations — global install routing + aider automation#373
Merged
tomasz-tomczyk merged 1 commit intomainfrom Apr 27, 2026
Merged
feat: agent integrations — global install routing + aider automation#373tomasz-tomczyk merged 1 commit intomainfrom
tomasz-tomczyk merged 1 commit intomainfrom
Conversation
Codecov Report❌ Patch coverage is
❌ Your patch status has failed because the patch coverage (55.70%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #373 +/- ##
==========================================
- Coverage 66.62% 66.56% -0.06%
==========================================
Files 18 19 +1
Lines 7964 8169 +205
==========================================
+ Hits 5306 5438 +132
- Misses 2259 2309 +50
- Partials 399 422 +23
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Each integration now installs to the right path whether run from a project root or `cd ~`. Global skill paths follow each tool's actual discovery rules (e.g. Cline reads from ~/Documents/Cline/Rules, not ~/.clinerules). Adds `crit install aider` automation: writes a conventions markdown and merges an entry into ~/.aider.conf.yml under `read:`, preserving every other top-level key. Atomic file writes guard against partial-write corruption; multi-document YAML and BOM-prefixed input are handled defensively. Windsurf rule now ships with `trigger: model_decision` frontmatter so Cascade activates it. Global install of windsurf is rejected with a clear error since Windsurf has no per-tool global rules dir. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
a9f94cb to
5ea8f16
Compare
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
cd ~. Global skill paths follow each tool's actual discovery rules (e.g. Cline reads from~/Documents/Cline/Rules/, not~/.clinerules/; Copilot from~/.agents/skills/, not~/.github/skills/).crit install aider: writes a conventions markdown and merges an entry into~/.aider.conf.ymlunderread:, preserving every other top-level key. Atomic file writes guard against partial-write corruption; multi-document YAML and BOM-prefixed input are handled defensively.trigger: model_decisionfrontmatter so Cascade activates it. Global install of windsurf rejects with a clear error since Windsurf has no per-tool global rules dir.integrations/README.mdupdated with the new project + global destination columns.See also: tomasz-tomczyk/crit-web#132
Review
globalDestKindenum, xdg-user-dir$HOMEquirk handling)Test plan
gofmt -l .cleangolangci-lint run ./...clean (errorlint, gocyclo, unparam fixes applied pre-push)go test -race -count=1 ./...passes (12 new tests covering aider install: project + global mode, multi-doc rejection, BOM, atomic write tempfile cleanup, malformed YAML)crit install aiderin a project with existing.aider.conf.ymlcontainingread: [foo.md]and other keys preserves everything and adds.crit/aider-conventions.mdcd ~ && crit install windsurffails with the explanatory error message🤖 Generated with Claude Code