mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-14 05:17:18 -07:00
95d687a7dd
- Implemented targeted argument matching by adding 'argName' to PolicyRule. - Updated PolicyEngine to match against a specific argument (e.g., 'command') when argName is specified, preventing nested property injection bypasses. - Simplified anchor handling by matching against raw argument values instead of JSON strings, enabling standard ^ and $ behavior. - Added a security regression test to verify bypasses are blocked. - Resolved type errors in config.ts and various test files. - Cleaned up TDD-related notes and updated unit tests.