agestra 4.12.4 → 4.12.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@
12
12
  "name": "agestra",
13
13
  "source": "./",
14
14
  "description": "Orchestrate Ollama, Gemini, and Codex for multi-AI debates, code review, and cross-validation",
15
- "version": "4.12.4",
15
+ "version": "4.12.5",
16
16
  "author": {
17
17
  "name": "mua-vtuber"
18
18
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agestra",
3
- "version": "4.12.4",
3
+ "version": "4.12.5",
4
4
  "description": "Claude Code plugin — orchestrate Ollama, Gemini, and Codex for multi-AI debates, code review, and cross-validation",
5
5
  "mcpServers": {
6
6
  "agestra": {
package/AGENTS.md CHANGED
@@ -5,13 +5,17 @@ This repository includes a Codex-friendly host wrapper for Agestra.
5
5
  ## First Run
6
6
 
7
7
  1. Build the bundled MCP server if needed: `npm run bundle`
8
- 2. Register Agestra with Codex once per machine: `npm run install:codex`
8
+ 2. Register Agestra with Codex and install generated custom agents: `npm run install:codex:assets`
9
9
  3. Open this repository in Codex. This `AGENTS.md` file is loaded automatically.
10
10
 
11
+ Use `npm run install:codex` only when you intentionally want MCP registration without generated `.codex/agents/*.toml` assets.
12
+ Low-level MCP calls do not silently write setup. High-level Agestra workflows must call `setup_status` first; if it reports `Setup required: yes`, run the interactive setup questions immediately, call `setup_apply` after the user chooses providers/locale, then resume the original workflow.
13
+ Use `host_assets_status` to inspect generated host assets, and only call `host_assets_install` after the user agrees to install or refresh Codex custom agents.
14
+
11
15
  ## How to Work Here
12
16
 
13
17
  - Treat `commands/*.md` as the source of truth for Agestra workflows.
14
- - When the user asks for review, design, idea, or implementation help, start with `environment_check` and `provider_list`.
18
+ - When the user asks for review, design, idea, or implementation help, start with `setup_status`, `environment_check`, and `provider_list`. If `setup_status` reports `Setup required: yes`, complete interactive setup first and then resume the original workflow.
15
19
  - Prefer Agestra MCP tools over ad-hoc multi-provider prompting.
16
20
  - If any legacy workflow text mentions "Claude only", interpret that as the current leader-host-only path when Claude is not the active host.
17
21
 
@@ -27,6 +31,7 @@ This repository includes a Codex-friendly host wrapper for Agestra.
27
31
  - `environment_check` and `provider_list`: inspect host/provider state first
28
32
  - `agent_debate_structured` (with `agent_debate_approve`/`_continue`/`_reject`) and `agent_debate_review`: run approval-gated multi-provider review flows
29
33
  - `cli_worker_spawn`, `agent_changes_review`, `agent_changes_accept`, `agent_changes_reject`: use for autonomous Codex/Gemini worker tasks
34
+ - `host_assets_status`, `host_assets_install`, `host_assets_uninstall`: inspect and explicitly manage generated host-native assets such as Codex custom agents
30
35
  - `qa_run`: run workspace build/test verification before reporting implementation completion
31
36
 
32
37
  ## Project Assets
package/README.ja.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  [English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [中文](README.zh.md)
9
9
 
10
- Agestra は Ollama(ローカル)、Gemini CLI、Codex CLI を Claude Code にプラガブルなプロバイダーとして接続し、独立集約、合意形成ディベート、自律 CLI ワーカー、並列タスク配分、クロスバリデーション、品質ベースのプロバイダー選択を 25 個の MCP ツールで提供します。
10
+ Agestra は Ollama(ローカル)、Gemini CLI、Codex CLI を Claude Code にプラガブルなプロバイダーとして接続し、独立集約、合意形成ディベート、自律 CLI ワーカー、並列タスク配分、クロスバリデーション、品質ベースのプロバイダー選択を 44 個の MCP ツールで提供します。
11
11
 
12
12
  ## クイックスタート
13
13
 
@@ -34,7 +34,7 @@ npm install -g agestra
34
34
  agestra-install codex --assets
35
35
  ```
36
36
 
37
- Codex ではリポジトリ直下の [AGENTS.md](AGENTS.md) と、登録済みの `agestra` MCP サーバーを一緒に使います。`--assets` は `.codex/agents/` に生成済み Codex custom agent もインストールし、Agestra host-asset manifest に記録します。MCP 登録だけでよい場合は `npm run install:codex` または `agestra-install codex` を使ってください。
37
+ Codex ではリポジトリ直下の [AGENTS.md](AGENTS.md) と、登録済みの `agestra` MCP サーバーを一緒に使います。生成済み Codex custom agent には `--assets` が必要で、`.codex/agents/` にインストールして Agestra host-asset manifest に記録します。custom agent なしで MCP 登録だけでよい場合は `npm run install:codex` または `agestra-install codex` を使ってください。
38
38
 
39
39
  ### Gemini CLI
40
40
 
@@ -141,7 +141,7 @@ Turborepo モノレポで、8 パッケージ構成です:
141
141
  | `@agestra/provider-codex` | OpenAI Codex CLI アダプター |
142
142
  | `@agestra/agents` | 合意検出付きディベートエンジン、ターン品質評価、タスク配分、クロスバリデーション、タスクチェーン、自動 QA、ファイル変更追跡、セッション管理 |
143
143
  | `@agestra/workspace` | レビュー、分析メモ、統合レポート向けのワークスペース文書マネージャー |
144
- | `@agestra/mcp-server` | MCP プロトコル層、25 ツール、環境依存のツールフィルタリング、ディスパッチ |
144
+ | `@agestra/mcp-server` | MCP プロトコル層、44 ツール、環境依存のツールフィルタリング、ディスパッチ |
145
145
 
146
146
  ### 設計原則
147
147
 
@@ -163,7 +163,7 @@ Turborepo モノレポで、8 パッケージ構成です:
163
163
 
164
164
  ---
165
165
 
166
- ## ツール (25)
166
+ ## ツール (44)
167
167
 
168
168
  ### AI チャット (3)
169
169
 
@@ -173,7 +173,7 @@ Turborepo モノレポで、8 パッケージ構成です:
173
173
  | `ai_analyze_files` | ディスク上のファイルを読み込み、質問と一緒にプロバイダーへ送信 |
174
174
  | `ai_compare` | 同じプロンプトを複数プロバイダーに送り、応答を比較 |
175
175
 
176
- ### エージェントオーケストレーション (0)
176
+ ### エージェントオーケストレーション (14)
177
177
 
178
178
  | ツール | 説明 |
179
179
  |--------|------|
@@ -226,6 +226,21 @@ Turborepo モノレポで、8 パッケージ構成です:
226
226
  | `provider_list` | 状態と機能付きでプロバイダー一覧を表示 |
227
227
  | `provider_health` | 1 つまたはすべてのプロバイダーのヘルスチェック |
228
228
 
229
+ ### セットアップ (2)
230
+
231
+ | ツール | 説明 |
232
+ |--------|------|
233
+ | `setup_status` | 利用可能なプロバイダーと現在の設定状態を確認 |
234
+ | `setup_apply` | 選択したプロバイダー、ロケール、選択ポリシーを `providers.config.json` に書き込む |
235
+
236
+ ### ホストアセット (3)
237
+
238
+ | ツール | 説明 |
239
+ |--------|------|
240
+ | `host_assets_status` | Codex custom agents などの生成済みホストネイティブアセットを確認 |
241
+ | `host_assets_install` | 管理対象のホストネイティブアセットを明示的にインストールまたは更新 |
242
+ | `host_assets_uninstall` | Agestra が追跡する管理対象ホストネイティブアセットを削除 |
243
+
229
244
  ### Ollama (2)
230
245
 
231
246
  | ツール | 説明 |
@@ -353,7 +368,7 @@ agestra/
353
368
  │ ├── provider-codex/ # Codex CLI アダプター
354
369
  │ ├── agents/ # ディベートエンジン、ディスパッチ、クロスバリデーション
355
370
  │ ├── workspace/ # ワークスペース文書マネージャー
356
- │ └── mcp-server/ # MCP サーバー、25 ツール、環境依存フィルタリング、ディスパッチ
371
+ │ └── mcp-server/ # MCP サーバー、44 ツール、環境依存フィルタリング、ディスパッチ
357
372
  ├── package.json # ワークスペースルート
358
373
  └── turbo.json # Turborepo パイプライン
359
374
  ```
package/README.ko.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  [English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [中文](README.zh.md)
9
9
 
10
- Agestra는 Claude 호스트, Ollama(로컬), Gemini CLI, Codex CLI를 플러그형 공급자로 연결합니다. 독립 취합, 합의 토론, 자율 CLI 워커, 병렬 작업 분배, 교차 검증, 품질 기반 공급자 라우팅을 25개 MCP 도구로 제공합니다.
10
+ Agestra는 Claude 호스트, Ollama(로컬), Gemini CLI, Codex CLI를 플러그형 공급자로 연결합니다. 독립 취합, 합의 토론, 자율 CLI 워커, 병렬 작업 분배, 교차 검증, 품질 기반 공급자 라우팅을 44개 MCP 도구로 제공합니다.
11
11
 
12
12
  ## 빠른 시작
13
13
 
@@ -42,7 +42,7 @@ agestra-install codex --assets
42
42
  npm run install:codex:global
43
43
  ```
44
44
 
45
- Codex는 저장소 루트의 [AGENTS.md](AGENTS.md)와 등록된 `agestra` MCP 서버를 함께 사용합니다. `--assets` 경로는 `.codex/agents/` 아래에 생성형 Codex custom agent 설치하고 Agestra host-asset manifest에 기록합니다. MCP만 등록하려면 `npm run install:codex` 또는 `agestra-install codex`를 사용하세요.
45
+ Codex는 저장소 루트의 [AGENTS.md](AGENTS.md)와 등록된 `agestra` MCP 서버를 함께 사용합니다. 생성형 Codex custom agent에는 `--assets` 경로가 필요하며, 이 경로가 `.codex/agents/` 아래에 agent 설치하고 Agestra host-asset manifest에 기록합니다. custom agent 없이 MCP만 등록하려면 `npm run install:codex` 또는 `agestra-install codex`를 사용하세요.
46
46
 
47
47
  ### Gemini CLI
48
48
 
@@ -168,7 +168,7 @@ Turborepo 모노레포, 8개 패키지:
168
168
  | `@agestra/provider-codex` | OpenAI Codex CLI 어댑터 |
169
169
  | `@agestra/agents` | 합의 검출 토론 엔진, 턴 품질 평가기, 작업 분배기, 교차 검증기, 작업 체인, 자동 QA, 파일 변경 추적기, 세션 관리자 |
170
170
  | `@agestra/workspace` | 리뷰, 분석 메모, 통합 보고서를 위한 워크스페이스 문서 관리자 |
171
- | `@agestra/mcp-server` | MCP 프로토콜 레이어, 25개 도구, 환경별 도구 필터링, 디스패치 |
171
+ | `@agestra/mcp-server` | MCP 프로토콜 레이어, 44개 도구, 환경별 도구 필터링, 디스패치 |
172
172
 
173
173
  ### 설계 원칙
174
174
 
@@ -190,7 +190,7 @@ Turborepo 모노레포, 8개 패키지:
190
190
 
191
191
  ---
192
192
 
193
- ## 도구 (25개)
193
+ ## 도구 (44개)
194
194
 
195
195
  ### AI 채팅 (3개)
196
196
 
@@ -200,7 +200,7 @@ Turborepo 모노레포, 8개 패키지:
200
200
  | `ai_analyze_files` | 파일을 디스크에서 읽어 공급자에게 질문과 함께 전송 |
201
201
  | `ai_compare` | 같은 프롬프트를 여러 공급자에 보내 응답 비교 |
202
202
 
203
- ### 에이전트 오케스트레이션 (0개)
203
+ ### 에이전트 오케스트레이션 (14개)
204
204
 
205
205
  | 도구 | 설명 |
206
206
  |------|------|
@@ -253,6 +253,21 @@ Turborepo 모노레포, 8개 패키지:
253
253
  | `provider_list` | 공급자 목록 (상태, 능력 포함) |
254
254
  | `provider_health` | 공급자 상태 체크 |
255
255
 
256
+ ### 설정 (2개)
257
+
258
+ | 도구 | 설명 |
259
+ |------|------|
260
+ | `setup_status` | 사용 가능한 공급자와 현재 설정/구성 상태 확인 |
261
+ | `setup_apply` | 선택한 공급자, 언어, 선택 정책을 `providers.config.json`에 기록 |
262
+
263
+ ### 호스트 자산 (3개)
264
+
265
+ | 도구 | 설명 |
266
+ |------|------|
267
+ | `host_assets_status` | Codex custom agents 같은 생성된 호스트 네이티브 자산 상태 확인 |
268
+ | `host_assets_install` | 관리되는 호스트 네이티브 자산을 명시적으로 설치 또는 갱신 |
269
+ | `host_assets_uninstall` | Agestra가 추적하는 관리형 호스트 네이티브 자산 제거 |
270
+
256
271
  ### Ollama (2개)
257
272
 
258
273
  | 도구 | 설명 |
@@ -381,7 +396,7 @@ agestra/
381
396
  │ ├── provider-codex/ # Codex CLI 어댑터
382
397
  │ ├── agents/ # 토론 엔진, 분배기, 교차 검증기
383
398
  │ ├── workspace/ # 워크스페이스 문서 관리자
384
- │ └── mcp-server/ # MCP 서버, 25개 도구, 환경별 필터링, 디스패치
399
+ │ └── mcp-server/ # MCP 서버, 44개 도구, 환경별 필터링, 디스패치
385
400
  ├── package.json # 워크스페이스 루트
386
401
  └── turbo.json # Turborepo 파이프라인
387
402
  ```
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  [English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [中文](README.zh.md)
9
9
 
10
- Agestra connects the Claude host, Ollama (local), Gemini CLI, and Codex CLI as pluggable providers, enabling multi-agent orchestration with independent aggregation, consensus debates, autonomous CLI workers, parallel task dispatch, cross-validation, and quality-based provider routing — all through 25 MCP tools.
10
+ Agestra connects the Claude host, Ollama (local), Gemini CLI, and Codex CLI as pluggable providers, enabling multi-agent orchestration with independent aggregation, consensus debates, autonomous CLI workers, parallel task dispatch, cross-validation, and quality-based provider routing — all through 44 MCP tools.
11
11
 
12
12
  ## Quick Start
13
13
 
@@ -42,7 +42,7 @@ If you want MCP-only registration of the global package while working from a rep
42
42
  npm run install:codex:global
43
43
  ```
44
44
 
45
- Codex uses the repository-level [AGENTS.md](AGENTS.md) instructions plus the registered `agestra` MCP server. The `--assets` path also installs generated Codex custom agents under `.codex/agents/` and tracks them in the Agestra host-asset manifest. For MCP-only registration, use `npm run install:codex` or `agestra-install codex`.
45
+ Codex uses the repository-level [AGENTS.md](AGENTS.md) instructions plus the registered `agestra` MCP server. The `--assets` path is required for generated Codex custom agents; it installs them under `.codex/agents/` and tracks them in the Agestra host-asset manifest. For MCP-only registration without custom agents, use `npm run install:codex` or `agestra-install codex`.
46
46
 
47
47
  ### Gemini CLI
48
48
 
@@ -169,7 +169,7 @@ Turborepo monorepo with 8 packages:
169
169
  | `@agestra/provider-codex` | OpenAI Codex CLI adapter |
170
170
  | `@agestra/agents` | Debate engine with consensus detection, turn quality evaluator, task dispatcher, cross-validator, task chain, auto-QA, file change tracker, session manager |
171
171
  | `@agestra/workspace` | Workspace document manager for reviews, analysis notes, and aggregated reports |
172
- | `@agestra/mcp-server` | MCP protocol layer, 25 tools, environment-aware tool filtering, dispatch |
172
+ | `@agestra/mcp-server` | MCP protocol layer, 44 tools, environment-aware tool filtering, dispatch |
173
173
 
174
174
  ### Design Principles
175
175
 
@@ -191,7 +191,7 @@ Turborepo monorepo with 8 packages:
191
191
 
192
192
  ---
193
193
 
194
- ## Tools (25)
194
+ ## Tools (44)
195
195
 
196
196
  ### AI Chat (3)
197
197
 
@@ -201,7 +201,7 @@ Turborepo monorepo with 8 packages:
201
201
  | `ai_analyze_files` | Read files from disk and send contents with a question to a provider |
202
202
  | `ai_compare` | Send the same prompt to multiple providers, compare responses |
203
203
 
204
- ### Agent Orchestration (0)
204
+ ### Agent Orchestration (14)
205
205
 
206
206
  | Tool | Description |
207
207
  |------|-------------|
@@ -254,6 +254,21 @@ Turborepo monorepo with 8 packages:
254
254
  | `provider_list` | List providers with status and capabilities |
255
255
  | `provider_health` | Health check one or all providers |
256
256
 
257
+ ### Setup (2)
258
+
259
+ | Tool | Description |
260
+ |------|-------------|
261
+ | `setup_status` | Detect available providers and show the current setup/config state |
262
+ | `setup_apply` | Write selected providers, locale, and selection policy to `providers.config.json` |
263
+
264
+ ### Host Assets (3)
265
+
266
+ | Tool | Description |
267
+ |------|-------------|
268
+ | `host_assets_status` | Check generated host-native assets such as Codex custom agents |
269
+ | `host_assets_install` | Explicitly install or refresh managed host-native assets |
270
+ | `host_assets_uninstall` | Remove managed host-native assets tracked by Agestra |
271
+
257
272
  ### Ollama (2)
258
273
 
259
274
  | Tool | Description |
@@ -383,7 +398,7 @@ agestra/
383
398
  │ ├── provider-codex/ # Codex CLI adapter
384
399
  │ ├── agents/ # Debate engine, dispatcher, cross-validator
385
400
  │ ├── workspace/ # Workspace document manager
386
- │ └── mcp-server/ # MCP server, 25 tools, environment-aware filtering, dispatch
401
+ │ └── mcp-server/ # MCP server, 44 tools, environment-aware filtering, dispatch
387
402
  ├── package.json # Workspace root
388
403
  └── turbo.json # Turborepo pipeline
389
404
  ```
package/README.zh.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  [English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [中文](README.zh.md)
9
9
 
10
- Agestra 将 Ollama(本地)、Gemini CLI 和 Codex CLI 作为可插拔提供方接入 Claude Code,通过 25 个 MCP 工具提供多 AI 编排、独立汇总、共识辩论、自主 CLI Worker、并行任务分发、交叉验证和基于质量的提供方路由。
10
+ Agestra 将 Ollama(本地)、Gemini CLI 和 Codex CLI 作为可插拔提供方接入 Claude Code,通过 44 个 MCP 工具提供多 AI 编排、独立汇总、共识辩论、自主 CLI Worker、并行任务分发、交叉验证和基于质量的提供方路由。
11
11
 
12
12
  ## 快速开始
13
13
 
@@ -34,7 +34,7 @@ npm install -g agestra
34
34
  agestra-install codex --assets
35
35
  ```
36
36
 
37
- Codex 会结合仓库根目录下的 [AGENTS.md](AGENTS.md) 与已注册的 `agestra` MCP 服务一起工作。`--assets` 还会在 `.codex/agents/` 下安装生成的 Codex custom agent,并写入 Agestra host-asset manifest。只注册 MCP 时,请使用 `npm run install:codex` 或 `agestra-install codex`。
37
+ Codex 会结合仓库根目录下的 [AGENTS.md](AGENTS.md) 与已注册的 `agestra` MCP 服务一起工作。生成 Codex custom agent 需要使用 `--assets` 路径,它会在 `.codex/agents/` 下安装 agent,并写入 Agestra host-asset manifest。不安装 custom agent、只注册 MCP 时,请使用 `npm run install:codex` 或 `agestra-install codex`。
38
38
 
39
39
  ### Gemini CLI
40
40
 
@@ -141,7 +141,7 @@ Gemini 会结合仓库根目录下的 [GEMINI.md](GEMINI.md) 与 [`.gemini/comma
141
141
  | `@agestra/provider-codex` | OpenAI Codex CLI 适配器 |
142
142
  | `@agestra/agents` | 带共识检测的辩论引擎、轮次质量评估、任务分发、交叉验证、任务链、自动 QA、文件变更跟踪、会话管理 |
143
143
  | `@agestra/workspace` | 用于评审、分析笔记和汇总报告的工作区文档管理器 |
144
- | `@agestra/mcp-server` | MCP 协议层,25 个工具,按环境过滤工具并动态分发 |
144
+ | `@agestra/mcp-server` | MCP 协议层,44 个工具,按环境过滤工具并动态分发 |
145
145
 
146
146
  ### 设计原则
147
147
 
@@ -163,7 +163,7 @@ Gemini 会结合仓库根目录下的 [GEMINI.md](GEMINI.md) 与 [`.gemini/comma
163
163
 
164
164
  ---
165
165
 
166
- ## 工具(25
166
+ ## 工具(44
167
167
 
168
168
  ### AI Chat(3)
169
169
 
@@ -173,7 +173,7 @@ Gemini 会结合仓库根目录下的 [GEMINI.md](GEMINI.md) 与 [`.gemini/comma
173
173
  | `ai_analyze_files` | 从磁盘读取文件并连同问题一起发送给提供方 |
174
174
  | `ai_compare` | 将同一提示发送给多个提供方并比较结果 |
175
175
 
176
- ### Agent Orchestration(0
176
+ ### Agent Orchestration(14
177
177
 
178
178
  | 工具 | 说明 |
179
179
  |------|------|
@@ -226,6 +226,21 @@ Gemini 会结合仓库根目录下的 [GEMINI.md](GEMINI.md) 与 [`.gemini/comma
226
226
  | `provider_list` | 列出提供方及其状态和能力 |
227
227
  | `provider_health` | 对一个或全部提供方进行健康检查 |
228
228
 
229
+ ### Setup(2)
230
+
231
+ | 工具 | 说明 |
232
+ |------|------|
233
+ | `setup_status` | 检测可用提供方并显示当前设置/配置状态 |
234
+ | `setup_apply` | 将选择的提供方、语言和选择策略写入 `providers.config.json` |
235
+
236
+ ### Host Assets(3)
237
+
238
+ | 工具 | 说明 |
239
+ |------|------|
240
+ | `host_assets_status` | 检查 Codex custom agents 等生成的宿主原生资产 |
241
+ | `host_assets_install` | 显式安装或刷新受管宿主原生资产 |
242
+ | `host_assets_uninstall` | 移除 Agestra 追踪的受管宿主原生资产 |
243
+
229
244
  ### Ollama(2)
230
245
 
231
246
  | 工具 | 说明 |
@@ -353,7 +368,7 @@ agestra/
353
368
  │ ├── provider-codex/ # Codex CLI 适配器
354
369
  │ ├── agents/ # 辩论引擎、分发器、交叉验证器
355
370
  │ ├── workspace/ # 工作区文档管理器
356
- │ └── mcp-server/ # MCP Server,25 个工具,按环境过滤并分发
371
+ │ └── mcp-server/ # MCP Server,44 个工具,按环境过滤并分发
357
372
  ├── package.json # 工作区根目录
358
373
  └── turbo.json # Turborepo pipeline
359
374
  ```
@@ -1,28 +1,41 @@
1
1
  ---
2
2
  name: agestra-designer
3
3
  description: |
4
- Pre-implementation design explorer using Socratic questioning. Explores architecture,
5
- discusses design trade-offs, and establishes direction before coding.
4
+ Host-local pre-implementation design explorer using Socratic questioning. Explores architecture,
5
+ discusses design trade-offs, and establishes direction before coding. Single-host scope only —
6
+ does NOT orchestrate external providers (Codex/Gemini/Ollama). For multi-AI design debates or
7
+ consensus design with external providers, route through agestra-team-lead or agestra-moderator
8
+ (mode: "idea") instead.
6
9
 
7
10
  <example>
8
- Context: User needs to plan architecture before implementing
11
+ Context: User needs to plan architecture before implementing (single-host)
9
12
  user: "이 기능 어떻게 설계하면 좋을까?"
10
13
  assistant: "I'll use the agestra-designer agent to explore architecture approaches."
11
14
  <commentary>
12
- User wants design exploration before coding — designer asks clarifying questions and proposes approaches.
15
+ Single-host design exploration — designer asks clarifying questions and proposes approaches without external providers.
13
16
  </commentary>
14
17
  </example>
15
18
 
16
19
  <example>
17
- Context: User is comparing implementation approaches
20
+ Context: User is comparing implementation approaches (single-host)
18
21
  user: "REST vs GraphQL, 어떤 방향으로 가야할지 고민이야"
19
22
  assistant: "I'll use the agestra-designer agent to analyze trade-offs between the approaches."
20
23
  <commentary>
21
- Design trade-off discussion — designer explores pros/cons of each approach.
24
+ Single-host design trade-off discussion — designer explores pros/cons. If user wanted multi-AI input, route to team-lead instead.
25
+ </commentary>
26
+ </example>
27
+
28
+ <example>
29
+ Context: User explicitly asks for multi-AI design input — DO NOT use this agent directly
30
+ user: "코덱스랑 제미니 의견도 받아서 설계 결정하자"
31
+ assistant: "I'll use the agestra-team-lead agent to orchestrate a multi-AI design consensus."
32
+ <commentary>
33
+ Multi-AI design — must go through team-lead (which can dispatch to designer + external providers via structured debate). Do NOT call agestra-designer directly here.
22
34
  </commentary>
23
35
  </example>
24
36
  model: opus
25
37
  color: blue
38
+ codexSandboxMode: workspace-write
26
39
  disallowedTools: Edit, NotebookEdit
27
40
  ---
28
41
 
@@ -1,28 +1,40 @@
1
1
  ---
2
2
  name: agestra-ideator
3
3
  description: |
4
- Discover improvements, compare with similar projects, collect user feedback, explore new features,
5
- or research what to build. Use for competitive analysis, gap discovery, and idea generation.
4
+ Host-local idea & improvement discoverer. Compares with similar projects, collects user feedback,
5
+ explores new features, researches what to build. Single-host scope does NOT orchestrate external
6
+ providers (Codex/Gemini/Ollama). For multi-AI idea consensus or competitive brainstorming with
7
+ external providers, route through agestra-team-lead or agestra-moderator (mode: "idea") instead.
6
8
 
7
9
  <example>
8
- Context: User wants to find improvements for their project
10
+ Context: User wants to find improvements for their project (single-host research)
9
11
  user: "이 프로젝트에 뭐 추가하면 좋을까?"
10
12
  assistant: "I'll use the agestra-ideator agent to research improvements and feature ideas."
11
13
  <commentary>
12
- User seeking feature ideas — ideator researches competitors, user complaints, and gaps.
14
+ Single-host research — ideator does the web research and analysis alone.
13
15
  </commentary>
14
16
  </example>
15
17
 
16
18
  <example>
17
- Context: User exploring whether a new project is viable
19
+ Context: User exploring whether a new project is viable (single-host research)
18
20
  user: "이거 만들 가치가 있을까? 비슷한 도구가 있나?"
19
21
  assistant: "I'll use the agestra-ideator agent to research the landscape and assess viability."
20
22
  <commentary>
21
- New project validation — ideator compares with existing tools and identifies gaps.
23
+ Single-host viability research — ideator compares with existing tools alone.
24
+ </commentary>
25
+ </example>
26
+
27
+ <example>
28
+ Context: User wants multi-AI idea brainstorming — DO NOT use this agent directly
29
+ user: "코덱스 제미니 같이 의견 모아서 뭐 만들지 정하자"
30
+ assistant: "I'll use the agestra-team-lead agent to orchestrate a multi-AI idea consensus."
31
+ <commentary>
32
+ Multi-AI idea generation — must go through team-lead which can run structured debate (mode:idea) with external providers. Do NOT call agestra-ideator directly here.
22
33
  </commentary>
23
34
  </example>
24
35
  model: sonnet
25
36
  color: green
37
+ codexSandboxMode: read-only
26
38
  disallowedTools: Edit, NotebookEdit
27
39
  ---
28
40
 
@@ -1,20 +1,31 @@
1
1
  ---
2
2
  name: agestra-implementer
3
3
  description: |
4
- Implementation executor. Applies scoped code changes, writes or updates tests,
4
+ Host-local implementation executor. Applies scoped code changes, writes or updates tests,
5
5
  follows existing project patterns, and verifies the result. Receives tasks from
6
- the team lead; does not orchestrate other providers.
6
+ agestra-team-lead; does not orchestrate other providers and does not run debates or QA.
7
+ For multi-AI implementation (Codex/Gemini/Ollama workers), route through agestra-team-lead.
7
8
 
8
9
  <example>
9
10
  Context: The team lead has decomposed a task and needs a host-local executor
10
11
  user: "이 작업은 현재 호스트 구현 에이전트가 처리해"
11
12
  assistant: "I'll use the agestra-implementer agent to apply the scoped code changes."
12
13
  <commentary>
13
- Implementation executor — modifies code within the assigned files and verifies.
14
+ Single-host implementation executor — modifies code within the assigned files and verifies.
15
+ </commentary>
16
+ </example>
17
+
18
+ <example>
19
+ Context: User wants multi-AI implementation — DO NOT use this agent directly
20
+ user: "코덱스로 이 부분 구현하고 제미니로 검증해줘"
21
+ assistant: "I'll use the agestra-team-lead agent to orchestrate multi-AI implementation."
22
+ <commentary>
23
+ Multi-AI implementation with external providers — must go through team-lead which spawns CLI workers and coordinates results. Do NOT call agestra-implementer directly here.
14
24
  </commentary>
15
25
  </example>
16
26
  model: sonnet
17
27
  color: green
28
+ codexSandboxMode: workspace-write
18
29
  ---
19
30
 
20
31
  <Role>
@@ -1,16 +1,25 @@
1
1
  ---
2
2
  name: agestra-moderator
3
3
  description: |
4
- Multi-AI discussion facilitator and result aggregator. Manages turn-based debates,
5
- independent result aggregation, document review rounds, and merge conflict resolution.
6
- Neutral — does not inject domain opinions, only facilitates.
4
+ Multi-AI discussion facilitator and result aggregator. Manages structured turn-based debates with
5
+ JSON consensus ledger, independent result aggregation, document review rounds, and merge conflict
6
+ resolution. Neutral — does not inject domain opinions, only facilitates. The right entry point when
7
+ the work is purely facilitation/aggregation rather than full lifecycle orchestration (use
8
+ agestra-team-lead for end-to-end multi-AI development).
9
+
10
+ ROUTING — invoke this agent (not the host-local specialists) for:
11
+ - Explicit debate/discussion requests: "토론", "끝장토론", "debate", "structured debate", "합의 내자"
12
+ - Result aggregation: "취합", "모아서", "합쳐줘", "aggregate", "통합 분석", "여러 AI 의견 모아"
13
+ - Document review rounds: "리뷰 라운드", "review round", "함께 리뷰 라운드"
14
+ - Merge conflict resolution between CLI workers: "merge conflict 해결", "충돌 정리"
15
+ - Consensus ledger / JSON ledger questions: "consensus ledger", "동의 매트릭스"
7
16
 
8
17
  <example>
9
18
  Context: User wants multiple AIs to debate a design decision
10
19
  user: "이 구조에 대해 끝장토론 해줘"
11
20
  assistant: "I'll use the agestra-moderator agent to facilitate a multi-AI debate on this."
12
21
  <commentary>
13
- User explicitly requests a debate — moderator manages the turn-based discussion flow.
22
+ Explicit debate request — moderator runs structured debate with JSON consensus ledger.
14
23
  </commentary>
15
24
  </example>
16
25
 
@@ -19,11 +28,39 @@ description: |
19
28
  user: "각 AI 리뷰 결과를 취합해줘"
20
29
  assistant: "I'll use the agestra-moderator agent to aggregate the independent results."
21
30
  <commentary>
22
- Independent results need to be merged — moderator classifies consensus, unique, and disputed findings.
31
+ Independent results need merging — moderator classifies consensus, unique, and disputed findings.
32
+ </commentary>
33
+ </example>
34
+
35
+ <example>
36
+ Context: User wants multi-AI consensus on an idea
37
+ user: "코덱스 제미니 의견 모아서 어떤 방향으로 갈지 합의 내자"
38
+ assistant: "I'll use the agestra-moderator agent to run a structured idea debate (mode:idea)."
39
+ <commentary>
40
+ Multi-AI consensus on direction — moderator runs structured debate (mode:idea) with the named providers.
41
+ </commentary>
42
+ </example>
43
+
44
+ <example>
45
+ Context: CLI workers produced overlapping changes
46
+ user: "워커들 변경이 충돌나는데 정리해줘"
47
+ assistant: "I'll use the agestra-moderator agent for conflict resolution."
48
+ <commentary>
49
+ Merge conflict between CLI workers — moderator's Conflict Resolution mode.
50
+ </commentary>
51
+ </example>
52
+
53
+ <example>
54
+ Context: User wants full lifecycle (decompose, assign, implement, verify), not just facilitation
55
+ user: "여러 AI로 인증 기능 처음부터 끝까지 만들어줘"
56
+ assistant: "I'll use the agestra-team-lead agent for full-lifecycle multi-AI orchestration."
57
+ <commentary>
58
+ Full lifecycle (decompose + assign + implement + verify) — team-lead's job. Moderator only facilitates discussions; it doesn't decompose tasks or route implementation.
23
59
  </commentary>
24
60
  </example>
25
61
  model: sonnet
26
62
  color: cyan
63
+ codexSandboxMode: read-only
27
64
  disallowedTools: Edit, NotebookEdit
28
65
  ---
29
66
 
@@ -186,7 +223,7 @@ Severity labels are lifted from the proposer's individual review verbatim. The m
186
223
  The moderator's own narration is rendered through i18n bundles for `ko`, `zh`, `ja`, `en` (`packages/core/src/i18n/<locale>.json`). Scope of localization:
187
224
 
188
225
  - Report headers, table labels, section titles, meta-narration (e.g. "Consensus reached in round {round} of {max}") → localized via `t()`.
189
- - `AskUserQuestion` option labels (`extend+3`, `escalate`, etc.) → localized.
226
+ - Structured question option labels (`extend+3`, `escalate`, etc.) → localized when `AskUserQuestion` is available; otherwise present the same localized labels in plain chat.
190
227
  - Synthesis section headings → localized.
191
228
 
192
229
  Scope that stays English (or AI-native):
@@ -301,7 +338,7 @@ Invoked after Independent Aggregation has produced an initial working document.
301
338
  - All active participants agree on an item -> `accepted`.
302
339
  - All active participants disagree on an item -> `excluded`.
303
340
  - Opinion/no-response/mixed stance -> keep it open for more discussion or leader review.
304
- - **Every 10 rounds:** call `AskUserQuestion` offering `continue`, `stop with current state`, `escalate split positions`.
341
+ - **Every 10 rounds:** ask the leader to choose `continue`, `stop with current state`, or `escalate split positions` using AskUserQuestion when available, otherwise plain chat.
305
342
 
306
343
  **Why sequential:** one provider turn at a time gives the ledger deterministic state, makes retries precise, and avoids duplicate per-provider markdown files.
307
344
 
@@ -436,11 +473,11 @@ This ensures the host specialist can respond to external opinions while the JSON
436
473
  <Consensus_Criteria>
437
474
  Consensus is driven by the JSON consensus ledger, not by regex heuristics over free text. An item moves to `accepted` when all active participants agree, `excluded` when all active participants disagree, `needs_opinion` when any active participant gives an opinion or no response, and `superseded` when a revision or merge replaces it. The session moves to `ready-for-approval` only when there are no unresolved items left or the leader chooses to escalate open items.
438
475
 
439
- If `max_rounds` is hit with open proposals, the moderator surfaces the choice to the user via `AskUserQuestion` (extend by 3/5/10 rounds, or escalate with split positions documented).
476
+ If `max_rounds` is hit with open proposals, the moderator surfaces the choice to the user via AskUserQuestion when available, otherwise plain chat (extend by 3/5/10 rounds, or escalate with split positions documented).
440
477
  </Consensus_Criteria>
441
478
 
442
479
  <Constraints>
443
- - Default `max_rounds = 10`. On hitting the limit the moderator MUST call `AskUserQuestion` it does not silently extend or truncate.
480
+ - Default `max_rounds = 10`. On hitting the limit the moderator MUST request a leader decision via AskUserQuestion when available, otherwise plain chat; it does not silently extend or truncate.
444
481
  - Do NOT express your own opinion on the debate topic. You are a facilitator, not a participant.
445
482
  - When a registered host-backed provider is available, include the host specialist turn. Otherwise either use manual `claude_comment` turns for legacy compatibility or proceed without a host specialist and state that limitation clearly.
446
483
  - When a specialist or reviewer agent is running in the background, wait for its actual output. Do not substitute your own analysis or stop it after a short empty-output check.
@@ -1,29 +1,40 @@
1
1
  ---
2
2
  name: agestra-qa
3
3
  description: |
4
- Post-implementation verifier. Validates implementation against design documents,
5
- checks external AI output integration, runs build/test, issues PASS/FAIL judgment.
6
- Does NOT modify code read-only verification.
4
+ Host-local post-implementation verifier. Validates implementation against design documents,
5
+ runs build/test, issues PASS/FAIL judgment. Read-only — does NOT modify code, does NOT orchestrate
6
+ external providers. For multi-AI joint verification (Codex/Gemini cross-validation), route through
7
+ agestra-team-lead (Phase 5M structured debate) or agestra-moderator instead.
7
8
 
8
9
  <example>
9
- Context: Implementation is done and needs verification
10
+ Context: Implementation is done and needs single-host verification
10
11
  user: "구현 다 했는데 QA 돌려줘"
11
12
  assistant: "I'll use the agestra-qa agent to verify the implementation against the design."
12
13
  <commentary>
13
- Post-implementation verification — QA checks build, tests, and spec compliance.
14
+ Single-host post-implementation verification — QA checks build, tests, and spec compliance alone.
14
15
  </commentary>
15
16
  </example>
16
17
 
17
18
  <example>
18
- Context: User wants to check if code matches the design document
19
+ Context: User wants to check if code matches the design document (single-host)
19
20
  user: "설계 문서대로 구현됐는지 확인해줘"
20
21
  assistant: "I'll use the agestra-qa agent to validate against the design document."
21
22
  <commentary>
22
- Spec compliance check — QA compares implementation with design docs.
23
+ Single-host spec compliance check — QA compares implementation with design docs alone.
24
+ </commentary>
25
+ </example>
26
+
27
+ <example>
28
+ Context: User wants multi-AI joint QA — DO NOT use this agent directly
29
+ user: "코덱스랑 제미니로 같이 검증해줘"
30
+ assistant: "I'll use the agestra-team-lead agent to run a multi-AI structured QA debate."
31
+ <commentary>
32
+ Multi-AI verification — must go through team-lead which runs structured debate (mode:review) with external providers cross-validating. Do NOT call agestra-qa directly here.
23
33
  </commentary>
24
34
  </example>
25
35
  model: opus
26
36
  color: yellow
37
+ codexSandboxMode: read-only
27
38
  disallowedTools: Write, Edit, NotebookEdit
28
39
  ---
29
40