Add Ripgrep to Managed Host Tools - #802
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request adds Ripgrep (rg) as a required managed host tool across the fleet contract, ensuring coding-agent repository searches (including rg --files) do not fall back to slower tooling on otherwise conformant hosts.
Changes:
- Extend the fleet host-tools contract to require Ripgrep with an
rg --versionprobe and a 13.0.0 target floor. - Implement Ripgrep installation/upgrade support on Linux (apt, with downloaded-copy shadow removal) and Windows (winget
BurntSushi.ripgrep.MSVC). - Update host-gate/bootstrap tests and host setup documentation; add and distribute the
add-host-toolfleet skill.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| spec/host-tools.json | Declares Ripgrep as required with probe, version pattern, floor, sources, and remedies. |
| host-setup/linux/install-tools.sh | Adds Ripgrep to the managed set and implements apt install plus unowned shadow cleanup. |
| host-setup/windows/install-tools.ps1 | Registers Ripgrep in the winget-managed tool table (BurntSushi.ripgrep.MSVC). |
| docs/host-setup.md | Documents Ripgrep in the host contract table and explains its distro source and purpose. |
| host-setup/linux/README.md | Updates Linux host setup docs to include Ripgrep as distro-sourced. |
| host-setup/windows/README.md | Documents Ripgrep’s winget package and its rg / rg --files usage. |
| scripts/tests/test_host_gate.py | Updates floor/target assertions to include Ripgrep. |
| scripts/tests/test_bootstrap.py | Adds assertions that Ripgrep uses apt on Linux and the documented winget package on Windows. |
| AGENTS.md | Notes add-host-tool as the packaged workflow for managed host tool changes. |
| .github/skills/add-host-tool/SKILL.md | Adds the new skill definition in the GitHub skills distribution. |
| .agents/skills/add-host-tool/SKILL.md | Adds the new skill definition in the agents skill source tree. |
| .claude-plugin/fleet-skills/skills/add-host-tool/SKILL.md | Adds the new skill definition to the generated Claude plugin skills set. |
| .claude-plugin/fleet-skills/.claude-plugin/plugin.json | Includes add-host-tool in the plugin’s skills list. |
| .claude-plugin/fleet-skills/.source-digest | Updates the fleet-skills source digest after adding the skill. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
ptr727
marked this pull request as ready for review
August 18, 2026 01:16
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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
rg --versionhost contract and a distribution-compatible 13.0.0 flooradd-host-toolfleet skillWhy
Coding agents prefer
rgandrg --files, but a conformant managed host could lack Ripgrep. This made repository search depend on slower fallback tools.The Linux installer uses the distribution package and migrates an unowned downloaded copy that shadows apt. The Windows registry uses the documented
BurntSushi.ripgrep.MSVCwinget package.Issue #800 tracks the cross-platform verification. It stays open until native WSL and Windows checks complete.
Verification
/usr/bin/rg, and the host gate reported 0 issues across 8 tools