Repository navigation
Closed
Labels
agentsAgents instructions
Description
Problem
The agent instructions prefer rg and rg --files for repository searches. The managed host setup does not install or declare Ripgrep, so a conformant host can still lack the preferred search tool.
This was reproduced on the Linux host used for issue #793. command -v rg failed, while the fallback grep and find commands worked.
The absent local lint commands are not part of this gap. The fleet deliberately runs those linters through pinned Docker images.
Required Work
- Add
ripgreptohost-setup/linux/install-tools.shas a managed tool. - Add Ripgrep to
host-setup/windows/install-tools.ps1with the equivalent install, report, and upgrade behavior. - Add a required
ripgrepentry tospec/host-tools.jsonwith anrg --versionprobe and platform remedies. - Document Ripgrep and its repository-search purpose in
docs/host-setup.mdand the platform setup documentation where appropriate. - Update installer and host-gate tests for selection, reporting, installation, upgrade, and dry-run behavior.
- Keep
.agents/skills/or other instruction text unchanged unless implementation proves that the preferredrgguidance needs clarification.
Design Constraints
- Use the distribution package where its version is adequate. Use an upstream release only if a supported distribution cannot meet the selected floor.
- Keep installation idempotent and compatible with the existing named-tool interface.
- Use the official tool name
Ripgrepin prose and the command namergin commands. - Do not add local copies of tools already supplied through the fleet's pinned lint containers.
Acceptance Criteria
- A default host-tool install includes Ripgrep on Linux and Windows.
install-toolsreport and list modes show Ripgrep.scripts/host_gate.pyreports a missing or below-floorrginstallation with an executable platform remedy.- Installer tests and host-gate tests pass on both platform implementations.
- Host setup documentation explains why Ripgrep is required.
Metadata
Metadata
Assignees
Labels
agentsAgents instructions
Activity
ptr727 commentedon Aug 17, 2026
Ref [https://github.com/burntsushi/ripgrep#installation]
BurntSushi.ripgrep.MSVCconsider if adding a tool install skill should be added, we have now gone through several tool adds of the last few days, and i have to emphasize e.g.:
Add Ripgrep to Managed Host Tools (#802)