Issue 2026-07-11
v0.8.67
CodeWhale
any model, open models first
Section 02 · Docs

Documentation 文档

How CodeWhale works: ego, conflict law, evidence, modes, tools, sandbox, MCP, config, hooks. The full architecture walkthrough is in docs/ARCHITECTURE.md

Modes 模式

Three operating modes — orthogonal to the approval system. Press Tab to cycle.

Plan 计划

Read-only investigation. Grep, read files, list directories, fetch URLs — cannot write or execute shell.

Agent 代理

Default mode. Multi-step tool use. Shell and side-effect tools require approval per approval_mode.

YOLO 全权

Auto-approve all actions and enable trust mode. Workspace boundary lifted. Use carefully.

Approval Policies

Modes and approval are independent dimensions. Set via /config.

suggest · 建议

Default — follow mode rules. Ask before dangerous operations.

auto · 自动

Auto-approve all tool calls. Equivalent to YOLO without trust.

never · 拒绝

Block any non-safe / non-read-only action. Investigation only.

Source document: docs/MODES.md · Update docs-map.ts when changing.