fix(plan): allowlist get_internal_docs in Plan Mode (#22668)

This commit is contained in:
Adib234
2026-03-16 20:34:30 -04:00
committed by GitHub
parent cddd9e7148
commit 61fd71dc29
5 changed files with 14 additions and 3 deletions

View File

@@ -346,6 +346,12 @@ describe('Policy Engine Integration Tests', () => {
expect(
(await engine.check({ name: 'list_directory' }, undefined)).decision,
).toBe(PolicyDecision.ALLOW);
expect(
(await engine.check({ name: 'get_internal_docs' }, undefined)).decision,
).toBe(PolicyDecision.ALLOW);
expect(
(await engine.check({ name: 'cli_help' }, undefined)).decision,
).toBe(PolicyDecision.ALLOW);
// Other tools should be denied via catch all
expect(