KR-AG-015: Unconverted CLI 2.x Trust Configuration
Summary
- Rule ID:
KR-AG-015 - Severity:
MEDIUM - Category:
Kiro Agents - Normative Level:
MUST - Auto-Fix:
Yes (unsafe) - Verified On:
2026-11-04
Applicability
- Tool:
kiro - Version Range:
>=2.8.0 - Spec Revision:
unspecified
Evidence Sources
- https://kiro.dev/docs/custom-agents/configuration-reference/
- https://kiro.dev/docs/cli/v3/migration-guide/
- https://kiro.dev/docs/cli/v3/upgrade-agent/
Test Coverage Metadata
- Unit tests:
true - Fixture tests:
true - E2E tests:
false
Examples
The following examples demonstrate what triggers this rule and how to fix it.
Invalid
{"name": "review-agent", "tools": ["fs_read"], "allowedTools": ["fs_read"], "toolsSettings": {"fs_read": {"allowedPaths": ["src/**"]}}}
Valid
{"name": "review-agent", "tools": ["read", "shell"], "permissions": {"rules": [{"capability": "shell", "match": ["npm *"], "effect": "allow"}]}}