CC-AG-006: Tool/Disallowed Conflict - Claude Agents
Summary
- Rule ID:
CC-AG-006 - Severity:
HIGH - Category:
Claude Agents - Normative Level:
MUST - Auto-Fix:
No - Verified On:
2026-02-04
Applicability
- Tool:
claude-code - 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: conflict-agent
description: Agent with conflicting tool lists
tools:
- Read
- Bash
disallowedTools:
- Bash
---
Agent instructions.
Valid
---
name: safe-agent
description: Agent with separate tool lists
tools:
- Read
- Grep
disallowedTools:
- Bash
---
Agent instructions.