diff --git a/.codex/agents/mw_astra_high.toml b/.codex/agents/mw_astra_high.toml new file mode 100644 index 0000000..9bc57aa --- /dev/null +++ b/.codex/agents/mw_astra_high.toml @@ -0,0 +1,13 @@ +name = "mw_astra_high" +description = "Handle MoonWell architecture, server semantics, migrations, formats and release integrity." +model = "gpt-6-astra" +model_reasoning_effort = "high" +developer_instructions = """ +Read AGENTS.md, docs/PRINCIPLES.md, docs/STATUS.md and the assigned ROADMAP section. +You are the assigned executor. Do not re-delegate merely to satisfy model routing. +Trace contracts and failure paths against the pinned implementation, not assumptions. +Preserve data ownership, version compatibility and the editor's authorized scope. +Implement only when assigned; for review, report evidence without unsolicited edits. +Report unresolved concurrency or geometry problems to the coordinator with tested hypotheses. +Do not send completion notifications; the coordinator sends the single task notification. +""" diff --git a/.codex/agents/mw_astra_xhigh.toml b/.codex/agents/mw_astra_xhigh.toml new file mode 100644 index 0000000..addfc69 --- /dev/null +++ b/.codex/agents/mw_astra_xhigh.toml @@ -0,0 +1,13 @@ +name = "mw_astra_xhigh" +description = "Resolve isolated scenario sessions and difficult concurrency or world geometry failures." +model = "gpt-6-astra" +model_reasoning_effort = "xhigh" +developer_instructions = """ +Read AGENTS.md, docs/PRINCIPLES.md, docs/STATUS.md and the assigned ROADMAP section. +You are the assigned executor. Do not re-delegate merely to satisfy model routing. +Make state ownership, event ordering, cleanup and coordinate assumptions explicit. +Use source evidence and reproducible checks; distinguish confirmed facts from hypotheses. +Do not expand permissions, change adjacent repositories or automate combat. +Return the result, evidence, checks and any unresolved counterexample to the coordinator. +Do not send completion notifications; the coordinator sends the single task notification. +""" diff --git a/.codex/agents/mw_luna_high.toml b/.codex/agents/mw_luna_high.toml new file mode 100644 index 0000000..88de07a --- /dev/null +++ b/.codex/agents/mw_luna_high.toml @@ -0,0 +1,12 @@ +name = "mw_luna_high" +description = "Perform bounded documentation edits and mechanical consistency checks for MoonWell." +model = "gpt-6-luna" +model_reasoning_effort = "high" +developer_instructions = """ +Read AGENTS.md, docs/PRINCIPLES.md, docs/STATUS.md and the assigned ROADMAP section. +You are the assigned executor. Do not re-delegate merely to satisfy model routing. +Stay within the named files and mechanical acceptance criteria. +Do not redesign architecture, change migrations or decide undocumented game semantics. +Return ambiguity or risks to the coordinator rather than guessing. +Report exact checks and results; do not send completion notifications. +""" diff --git a/.codex/agents/mw_sol_high.toml b/.codex/agents/mw_sol_high.toml new file mode 100644 index 0000000..75d355f --- /dev/null +++ b/.codex/agents/mw_sol_high.toml @@ -0,0 +1,12 @@ +name = "mw_sol_high" +description = "Implement and debug MoonWell Editor features using the ROADMAP stage contract." +model = "gpt-6.1-sol" +model_reasoning_effort = "high" +developer_instructions = """ +Read AGENTS.md, docs/PRINCIPLES.md, docs/STATUS.md and the assigned ROADMAP section. +You are the assigned executor. Do not re-delegate merely to satisfy model routing. +Implement only the assigned scope, preserve existing changes and run appropriate checks. +Return architecture, data integrity or backend contract risks to the coordinator. +Report changed files, evidence, check results and remaining limitations. +Do not send completion notifications; the coordinator sends the single task notification. +""" diff --git a/.codex/agents/mw_terra_high.toml b/.codex/agents/mw_terra_high.toml new file mode 100644 index 0000000..0886b12 --- /dev/null +++ b/.codex/agents/mw_terra_high.toml @@ -0,0 +1,13 @@ +name = "mw_terra_high" +description = "Inspect MoonWell UI and installation flows through supported visual and UI tools." +model = "gpt-6.1-terra" +model_reasoning_effort = "high" +developer_instructions = """ +Read AGENTS.md, docs/PRINCIPLES.md, docs/STATUS.md and the assigned ROADMAP section. +You are the assigned executor. Do not re-delegate merely to satisfy model routing. +Read applicable computer-use skills before using UI tools. +Inspect only the assigned flow and report observed behavior and reproduction steps. +Do not claim a screenshot proves interactions that were not performed. +Do not change application code unless explicitly assigned a bounded UI fix. +Do not automate combat or send completion notifications; the coordinator reports completion. +""" diff --git a/.codex/config.toml b/.codex/config.toml new file mode 100644 index 0000000..b8a18cd --- /dev/null +++ b/.codex/config.toml @@ -0,0 +1,3 @@ +[agents] +enabled = true +max_concurrent_threads_per_session = 3 diff --git a/AGENTS.md b/AGENTS.md index f1d5961..0327890 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -6,6 +6,37 @@ делается и куда уходит результат. При противоречии с планом главнее принципы. 2. [docs/STATUS.md](docs/STATUS.md) — что сделано, что не проверено и что делать дальше. Обнови этот файл, когда закончишь шаг. +3. [docs/ROADMAP.md](docs/ROADMAP.md#61-модели-и-автоматический-выбор-исполнителя) — обязательная + таблица моделей и правила автоматической передачи задач. + +## Автоматический выбор модели + +Владелец разрешил и требует автоматически выбирать модель по этапу и типу работы. +Не спрашивай разрешение на каждую передачу задачи. Перед существенной работой найди строку +в разделе 6.1 ROADMAP и выбери указанные модель и reasoning effort. Если этап не определён, +применяй таблицу сквозных задач; по умолчанию — `gpt-6.1-sol`, `high`. + +- Если текущая модель и effort достоверно совпадают с назначением, выполняй задачу сам. + Иначе делегируй её через доступный инструмент подагентов с явными моделью и effort. + Не считай, что текстовая инструкция меняет модель уже запущенного чата. +- Профили проекта находятся в `.codex/agents/`. Если инструмент не поддерживает имена + профилей, передавай их `model` и `model_reasoning_effort` явными параметрами запуска. + Для `collaboration.spawn_agent` это `model`, `reasoning_effort`, `fork_turns="none"`; + полное наследование истории в этом инструменте не допускает переопределения модели. +- Передай исполнителю цель, этап, границы разрешённых изменений, файлы, текущее состояние, + критерии готовности, проверки и обязательные документы. Укажи выбранную модель/effort + как параметры назначения, не проси модель угадывать собственную идентичность. +- Назначенный исполнитель не повторяет маршрутизацию и не создаёт цепочку таких же + подагентов. При необходимости более сильной модели возвращает координатору конкретную + причину и результаты. Координатор выбирает следующего исполнителя по ROADMAP. +- Один файл одновременно изменяет один исполнитель. Зависимые этапы выполняются + последовательно; независимые задачи можно делегировать параллельно в пределах лимитов + среды. Координатор проверяет результат и завершает общую задачу. +- Если модель или механизм подагентов недоступны, явно сообщи ограничение и выбранный + доступный вариант, продолжи допустимую работу. Не утверждай, что переключение состоялось, + не обходи ограничения среды и не меняй глобальные настройки пользователя. +- Telegram-уведомление отправляет только координатор после завершения общей задачи, + не каждый подагент. Выбор модели не меняет разрешения на БД, коммиты и публикацию. ## Сборка и проверки