fix(cron): allow read_file and search_files in background review tool whitelist - #45902
Conversation
… whitelist - Add read_file and search_files to the background review thread-local whitelist - Update deny message to reflect expanded allowlist - Update user prompt to inform review agent of available read-only file tools - Add test assertions for new allowed tools and ensure write tools remain blocked Addresses: NousResearch#45877
|
Thanks for the focused fix. Current
The linked issue identifies still-open #45892 as the earlier duplicate, with #46049 also open for the same change; selecting a single implementation is a maintainer triage decision. Automated hermes-sweeper review. |
Summary
Expands the cron background review tool allowlist to include read-only file tools (, ) as requested in issue #45877.
Changes
Rationale
The background review fork previously only allowed and tools. This blocked cron agents from reading configuration files, checking previous outputs, or inspecting skill references — forcing workarounds like or blind operation.
and are side-effect-free read-only tools that pose no risk in a cron context. Write tools (, ) remain blocked.
Testing
All existing background review tests pass, including the updated toolset restriction test.