OC-CFG-014: Invalid subagent_depth Value - OpenCode
Summary
- Rule ID:
OC-CFG-014 - Severity:
MEDIUM - Category:
OpenCode - Normative Level:
MUST - Auto-Fix:
No - Verified On:
2026-07-16
Applicability
- Tool:
opencode - Version Range:
>=1.18.2 - Spec Revision:
unspecified
Evidence Sources
Test Coverage Metadata
- Unit tests:
true - Fixture tests:
false - E2E tests:
false
Examples
The following examples demonstrate what triggers this rule and how to fix it.
Invalid
{
"subagent_depth": -1
}
Valid
{
"subagent_depth": 2
}