Files
temp/.opencode/agents/config/models.yaml
freemo e5f75c5c83 refactor: remove parallelism cap and backpressure throttling
- Remove maximum cap (16) on CA_MAX_PARALLEL_WORKERS in resources.yaml
  - Can now be set to any positive value (32, 64, etc.)
  - Only minimum validation remains (must be > 0)

- Remove dynamic backpressure/throttling from implementation-orchestrator
  - Dispatch always runs at full configured speed
  - Resource monitoring remains for visibility only
  - No automatic reduction of slots_available based on failures

- Convert system-watchdog from auto-degradation to monitoring + suggestions
  - Renamed DEGRADATION_THRESHOLDS to HEALTH_THRESHOLDS
  - Removed apply_system_degradation() and check_degradation_recovery()
  - Changed findings to include suggestions instead of actions
  - Watchdog now reports issues with fix recommendations
  - No automatic throttling or pausing of agents

The system now operates at maximum configured speed at all times,
with the watchdog providing diagnostic insights when issues arise.
2026-04-07 01:13:27 -04:00

107 lines
3.0 KiB
YAML

# CleverAgents Model Configuration
# This file centralizes model assignments and tier definitions
models:
# Model tier definitions
tiers:
haiku:
id: anthropic/claude-haiku-4-5
max_tokens: 200000
use_for: simple_tasks
cost_rank: 1 # Lowest cost
codex:
id: anthropic/claude-codex-4-20241022
max_tokens: 200000
use_for: implementation
cost_rank: 2
sonnet:
id: anthropic/claude-sonnet-4-20241022
max_tokens: 200000
use_for: complex_reasoning
cost_rank: 3
opus:
id: anthropic/claude-opus-4-6
max_tokens: 200000
use_for: critical_decisions
cost_rank: 4 # Highest cost
# Agent-specific model assignments
assignments:
# Implementation agents
implementer: codex # Core implementer inherits model from tier
implementation-worker: codex
implementation-orchestrator: sonnet # Needs good planning
# Testing agents
behave-tester: codex # Core tester inherits model from tier
robot-tester: codex
test-fixer: codex
unit-test-runner: codex
integration-test-runner: codex
coverage-improver: codex
# Review agents
pr-self-reviewer: sonnet # Needs nuanced judgment
implementation-reviewer: sonnet
continuous-pr-reviewer: sonnet
# Architecture & Planning
architect: opus # Most critical - bad architecture cascades
architecture-guard: opus # Enforces architectural coherence
epic-planner: sonnet # Complex planning
milestone-reviewer: sonnet
# System agents
system-watchdog: opus # Critical system health monitoring
human-liaison: sonnet # Nuanced human interaction
product-builder: sonnet # Overall orchestration
product-verifier: sonnet
# Utility agents
ref-reader: haiku # Simple document reading
spec-reader: haiku
issue-finder: haiku
issue-analyzer: haiku
pr-status-checker: haiku
# Specialized agents
agent-evolver: opus # Modifies other agents - critical
spec-updater: sonnet # Updates architecture docs
timeline-updater: haiku
docs-writer: sonnet
backlog-groomer: haiku
project-owner: sonnet # Strategic decisions
# Quality agents
lint-fixer: codex
typecheck-fixer: codex
quality-enforcer: sonnet
quality-gate-escalator: sonnet
# Infrastructure
bug-hunter: sonnet # Needs deep analysis
uat-tester: sonnet # User perspective testing
test-infra-improver: sonnet
# Escalation paths
escalation:
# Implementation escalation
implementation_path:
- haiku # First attempt (if simple)
- codex # Standard implementation
- sonnet # Complex problems
- opus # Critical failures
# Testing escalation
testing_path:
- codex # Standard tests
- sonnet # Complex test scenarios
- opus # Critical test design
# Review escalation
review_path:
- sonnet # Standard review
- opus # Critical review decisions