Document the new tools in the prompt and read-only variants

The tool guidance covers apply_patch and web_fetch, the approval line derives from the tools actually offered rather than a hardcoded edit-tool check, and plan and review gain approved web research when the net set is on.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
Muhammad Zakir Ramadhan
2026-09-03 16:42:31 +07:00
co-authored by Sisyphus
parent 41546154fe
commit 8ee4c5bd2c
4 changed files with 26 additions and 3 deletions
+4
View File
@@ -58,6 +58,10 @@ test('plan and review are read-only: no write, edit, or bash', () => {
}
});
test('plan and review can use approved web research', () => {
for (const name of ['plan', 'review']) expect(variantByName(name)!.allowTools).toContain('web_fetch');
});
test('resolveAgent with no arguments yields the default', () => {
expect(resolveAgent(undefined, undefined).name).toBe('default');
});