KR-AG-012: toolAliases Renames a Tool Not in tools
Summary
- Rule ID:
KR-AG-012 - Severity:
MEDIUM - Category:
Kiro Agents - Normative Level:
SHOULD - Auto-Fix:
No - Verified On:
2026-10-17
Applicability
- Tool:
kiro - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
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": ["read"], "toolAliases": {"@github-mcp/get_issues": "github_issues"}}
Valid
{"name": "review-agent", "tools": ["@github-mcp"], "toolAliases": {"@github-mcp/get_issues": "github_issues"}}