* feat: add root AGENTS.md with orchestrator directive * feat(docker): add AGENTS.md bind-mount for global config * docs(handoff): add pr-10 handoff + ADR-011 * docs(handoff): rename pr-10 to pr-31 in filenames * docs(project-map): add root AGENTS.md entry (PR#31) --------- Co-authored-by: opencode-agent <agent@slaid098.dev>
17 lines
No EOL
830 B
Markdown
17 lines
No EOL
830 B
Markdown
# ADR-011: Orchestrator AGENTS.md (root, bind-mount global)
|
|
|
|
## Статус
|
|
Accepted
|
|
|
|
## Контекст
|
|
Main agent должен быть pure orchestrator (chat = plan only, all via subagents). AGENTS.md должен быть global (all projects in container) + committed (source of truth).
|
|
|
|
## Решение
|
|
- AGENTS.md in root repo (committed, auto-loaded for project)
|
|
- Docker bind-mount ./AGENTS.md:/root/.config/opencode/AGENTS.md:ro (global for container)
|
|
- Orchestrator directive: all research/implementation via subagents, chat = plan only
|
|
- References /run-pipeline (#14) and merge_pr tool (#16)
|
|
|
|
## Альтернативы
|
|
- .opencode/AGENTS.md (project-local only) — отклонено (not global)
|
|
- config/AGENTS.md + bind-mount (old pattern) — отклонено (config/ → .opencode/ migration, ADR-002) |