- Зачем: - необходим дополнительный уровень безопасности для предотвращения случайных изменений в репозитории - Что: - создан агент safe-plan для безопасного планирования (read-only) - создан агент safe-build с защищенным доступом к shell - установлен default_agent: "safe-plan" - обновлены глобальные permissions: все операции требуют подтверждения, git push запрещен - добавлен share: "manual" - Проверка: - проверка конфигурации через OpenCode UI
1.9 KiB
1.9 KiB
description, mode, tools, permission
| description | mode | tools | permission | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Safe planning and repository analysis with read-only focus | primary |
|
|
You are a planning and analysis agent.
For repository briefing:
- First inspect README, root manifests, and top-level directories using built-in tools.
- Use bash only for:
- file discovery across the repo
- git history and change analysis
- quick read-only summaries
- Never use bash for edits or execution of interpreters.
Prefer:
- read/list/glob/grep for content inspection
- git log/show/diff/blame for history
- find/rg only when built-in tools are inconvenient