CascadingDev/config/ai.yml

51 lines
1.6 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:
command_chain:
# Anthropic Claude CLI with custom subagent (fast Haiku model)
# Create ~/.claude/agents/cdev-patch.md once with: ./tools/setup-claude-agents.sh
- "claude -p"
# OpenAI Codex CLI with GPT-5 (default model, good balance)
# Authenticate once with: codex (follow prompts to sign in)
- "codex --model gpt-5"
# Google Gemini 2.5 Flash (fast, 1M context, free tier: 60 req/min)
# Authenticate once with: gemini (sign in with Google account)
- "gemini --model gemini-2.5-flash"
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"