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
ripgrep to host-setup/linux/install-tools.sh as a managed tool. - Add Ripgrep to
host-setup/windows/install-tools.ps1 with the equivalent install, report, and upgrade behavior. - Add a required
ripgrep entry to spec/host-tools.json with an rg --version probe and platform remedies. - Document Ripgrep and its repository-search purpose in
docs/host-setup.md and 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 preferred rg guidance 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
Ripgrep in prose and the command name rg in 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-tools report and list modes show Ripgrep.scripts/host_gate.py reports a missing or below-floor rg installation with an executable platform remedy.- Installer tests and host-gate tests pass on both platform implementations.
- Host setup documentation explains why Ripgrep is required.
Problem
The agent instructions prefer
rgandrg --filesfor 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 rgfailed, while the fallbackgrepandfindcommands worked.The absent local lint commands are not part of this gap. The fleet deliberately runs those linters through pinned Docker images.
Required Work
ripgreptohost-setup/linux/install-tools.shas a managed tool.host-setup/windows/install-tools.ps1with the equivalent install, report, and upgrade behavior.ripgrepentry tospec/host-tools.jsonwith anrg --versionprobe and platform remedies.docs/host-setup.mdand the platform setup documentation where appropriate..agents/skills/or other instruction text unchanged unless implementation proves that the preferredrgguidance needs clarification.Design Constraints
Ripgrepin prose and the command namergin commands.Acceptance Criteria
install-toolsreport and list modes show Ripgrep.scripts/host_gate.pyreports a missing or below-floorrginstallation with an executable platform remedy.