CascadingDev/config/ai.yml

61 lines
1.8 KiB
YAML

# CascadingDev AI configuration (v1)
#
# This repository (CascadingDev tooling) uses this file to coordinate AI
# command preferences across the automation runner, Ramble GUI, and other
# helper scripts. Values are copied into generated projects so end users can
# customise their preferred providers without editing source code.
#
# Command chains are evaluated left → right until a tool succeeds. Use the
# literal token "||" to separate commands in overrides, but each entry here is
# declared individually for readability.
#
# The sentinel token tells automation that "no changes" is intentional and
# should not be treated as an error.
version: 1
runner:
# Default command chain (balanced speed/quality)
command_chain:
- "claude -p" # Auto-selects subagent based on TASK COMPLEXITY hint
- "codex"
- "gemini --model gemini-2.5-flash"
# Fast command chain (optimized for speed/cost)
# Used when model_hint: fast in .ai-rules.yml
command_chain_fast:
- "claude -p" # Will select cdev-patch (Haiku) when TASK COMPLEXITY: FAST
- "codex"
- "gemini --model gemini-2.5-flash"
# Quality command chain (optimized for complex tasks)
# Used when model_hint: quality in .ai-rules.yml
command_chain_quality:
- "claude -p" # Will select cdev-patch-quality (Sonnet) when TASK COMPLEXITY: QUALITY
- "codex"
- "gemini --model gemini-2.5-pro"
sentinel: "CASCADINGDEV_NO_CHANGES"
ramble:
default_provider: mock
providers:
mock:
kind: mock
claude:
kind: claude_cli
command: "claude"
args: []
codex:
kind: codex_cli
command: "codex"
args:
- "--model"
- "gpt-5"
gemini:
kind: gemini_cli
command: "gemini"
args:
- "--model"
- "gemini-2.5-flash"