opencode-config/docs/decisions/011-pr-31-orchestrator-agents-md.md
Sergey 109fff628f
feat: orchestrator AGENTS.md + docker bind-mount (#31)
* 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>
2026-07-24 01:08:56 +03:00

830 B

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)