agestra 4.13.4 → 4.14.0

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.
Files changed (70) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.gemini/commands/agestra/design.toml +11 -11
  4. package/.gemini/commands/agestra/idea.toml +11 -11
  5. package/.gemini/commands/agestra/implement.toml +11 -12
  6. package/.gemini/commands/agestra/qa.toml +11 -11
  7. package/.gemini/commands/agestra/research.toml +16 -0
  8. package/.gemini/commands/agestra/review.toml +11 -11
  9. package/.gemini/commands/agestra/security.toml +11 -12
  10. package/.gemini/commands/agestra/setup.toml +3 -8
  11. package/AGENTS.md +48 -40
  12. package/GEMINI.md +19 -5
  13. package/README.ja.md +59 -417
  14. package/README.ko.md +58 -416
  15. package/README.md +58 -416
  16. package/README.zh.md +61 -419
  17. package/agents/agestra-debate.md +93 -0
  18. package/agents/agestra-implementer.md +19 -2
  19. package/agents/agestra-research.md +98 -0
  20. package/agents/agestra-team-lead.md +170 -650
  21. package/commands/design.md +46 -24
  22. package/commands/idea.md +58 -30
  23. package/commands/implement.md +46 -29
  24. package/commands/qa.md +35 -15
  25. package/commands/research.md +191 -0
  26. package/commands/review.md +43 -18
  27. package/commands/security.md +30 -7
  28. package/commands/setup.md +26 -17
  29. package/dist/bundle.js +369 -249
  30. package/hooks/user-prompt-submit.js +2 -2
  31. package/package.json +16 -9
  32. package/scripts/host-assets/categories.mjs +31 -49
  33. package/scripts/host-assets/codex-assets.mjs +93 -18
  34. package/scripts/host-assets/gemini-assets.mjs +83 -0
  35. package/scripts/install-host-mcp.mjs +18 -310
  36. package/scripts/uninstall-host-mcp.mjs +10 -174
  37. package/skills/build-fix.md +76 -76
  38. package/skills/cancel.md +62 -59
  39. package/skills/design.md +43 -24
  40. package/skills/e2e.md +19 -10
  41. package/skills/idea.md +74 -54
  42. package/skills/leader.md +38 -30
  43. package/skills/provider-guide.md +38 -34
  44. package/skills/qa.md +35 -10
  45. package/skills/references/lenses/README.md +47 -0
  46. package/skills/references/lenses/design.md +40 -0
  47. package/skills/references/lenses/e2e.md +35 -0
  48. package/skills/references/lenses/qa.md +60 -0
  49. package/skills/references/lenses/research-domains/design.md +33 -0
  50. package/skills/references/lenses/research-domains/idea.md +38 -0
  51. package/skills/references/lenses/research-domains/implement.md +33 -0
  52. package/skills/references/lenses/research-domains/qa.md +35 -0
  53. package/skills/references/lenses/research-domains/review.md +35 -0
  54. package/skills/references/lenses/research-domains/security.md +35 -0
  55. package/skills/references/lenses/research.md +105 -0
  56. package/skills/references/lenses/review.md +48 -0
  57. package/skills/references/lenses/security.md +46 -0
  58. package/skills/research.md +226 -0
  59. package/skills/review.md +40 -19
  60. package/skills/security.md +35 -8
  61. package/skills/setup.md +16 -3
  62. package/skills/trace.md +62 -62
  63. package/skills/worker-manage.md +71 -67
  64. package/agents/agestra-designer.md +0 -226
  65. package/agents/agestra-e2e-writer.md +0 -167
  66. package/agents/agestra-ideator.md +0 -211
  67. package/agents/agestra-moderator.md +0 -515
  68. package/agents/agestra-qa.md +0 -322
  69. package/agents/agestra-reviewer.md +0 -195
  70. package/agents/agestra-security.md +0 -201
@@ -12,7 +12,7 @@
12
12
  "name": "agestra",
13
13
  "source": "./",
14
14
  "description": "Multi-host MCP orchestration across Claude, Ollama, Gemini, and Codex for review, QA, and cross-validation",
15
- "version": "4.13.4",
15
+ "version": "4.14.0",
16
16
  "author": {
17
17
  "name": "mua-vtuber"
18
18
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agestra",
3
- "version": "4.13.4",
3
+ "version": "4.14.0",
4
4
  "description": "Claude Code plugin — multi-host MCP orchestration across Claude, Ollama, Gemini, and Codex for review, QA, and cross-validation",
5
5
  "mcpServers": {
6
6
  "agestra": {
@@ -1,16 +1,16 @@
1
- description = "Run the Agestra design workflow for an architecture or implementation topic."
1
+ # Generated by Agestra. Managed file.
2
+ description = "Explore architecture and design trade-offs before implementation"
2
3
  prompt = """
3
- You are executing the Agestra design workflow inside Gemini CLI.
4
+ You are executing the `/agestra design` Gemini command.
4
5
 
5
- User topic:
6
- {{args}}
6
+ - Start with `setup_status`, then `environment_check` and `provider_list`.
7
+ - For investigation-including workflows, route through `agent_research_consensus_start`.
8
+ - Host research consensus contract:
9
+ 호스트가 조사한다.
10
+ 호스트가 정리한다.
11
+ 시스템이 토론한다.
12
+ 호스트가 문서화한다.
13
+ - External AI research and debate run in separate fresh sessions, even when the same provider participates in both phases.
7
14
 
8
- Use the shared workflow spec below as the source of truth and adapt it to the current Gemini host session:
9
15
  @{commands/design.md}
10
-
11
- Gemini-specific rules:
12
- - Start with `setup_status`, then `environment_check` and `provider_list`.
13
- - Prefer Agestra MCP tools, workspace documents, and debate flows over free-form brainstorming.
14
- - Translate Claude-specific wording into leader-host wording when Gemini is the active host.
15
- - Keep the final answer in the user's language.
16
16
  """
@@ -1,16 +1,16 @@
1
- description = "Run the Agestra idea workflow to discover improvements or compare options."
1
+ # Generated by Agestra. Managed file.
2
+ description = "Discover and refine ideas with Agestra"
2
3
  prompt = """
3
- You are executing the Agestra idea workflow inside Gemini CLI.
4
+ You are executing the `/agestra idea` Gemini command.
4
5
 
5
- User topic:
6
- {{args}}
6
+ - Start with `setup_status`, then `environment_check` and `provider_list`.
7
+ - For investigation-including workflows, route through `agent_research_consensus_start`.
8
+ - Host research consensus contract:
9
+ 호스트가 조사한다.
10
+ 호스트가 정리한다.
11
+ 시스템이 토론한다.
12
+ 호스트가 문서화한다.
13
+ - External AI research and debate run in separate fresh sessions, even when the same provider participates in both phases.
7
14
 
8
- Use the shared workflow spec below as the source of truth and adapt it to the current Gemini host session:
9
15
  @{commands/idea.md}
10
-
11
- Gemini-specific rules:
12
- - Start with `setup_status`, then `environment_check` and `provider_list`.
13
- - Prefer Agestra MCP tools, workspace documents, and provider comparisons over one-shot brainstorming.
14
- - Translate Claude-specific wording into leader-host wording when Gemini is the active host.
15
- - Keep the final answer in the user's language.
16
16
  """
@@ -1,17 +1,16 @@
1
- description = "Run the Agestra implementation workflow with leader-only or multi-provider execution."
1
+ # Generated by Agestra. Managed file.
2
+ description = "Coordinate implementation through Agestra"
2
3
  prompt = """
3
- You are executing the Agestra implementation workflow inside Gemini CLI.
4
+ You are executing the `/agestra implement` Gemini command.
4
5
 
5
- User task:
6
- {{args}}
6
+ - Start with `setup_status`, then `environment_check` and `provider_list`.
7
+ - For investigation-including workflows, route through `agent_research_consensus_start`.
8
+ - Host research consensus contract:
9
+ 호스트가 조사한다.
10
+ 호스트가 정리한다.
11
+ 시스템이 토론한다.
12
+ 호스트가 문서화한다.
13
+ - External AI research and debate run in separate fresh sessions, even when the same provider participates in both phases.
7
14
 
8
- Use the shared workflow spec below as the source of truth and adapt it to the current Gemini host session:
9
15
  @{commands/implement.md}
10
-
11
- Gemini-specific rules:
12
- - Start with `setup_status`, then `environment_check` and `provider_list`.
13
- - Prefer Agestra MCP tools and worker orchestration over ad-hoc shell-heavy implementation plans.
14
- - Treat "Leader-host only" as the Gemini-led local path when Gemini is the active host.
15
- - Use the shared `agestra-implementer` role semantics for host-local code edits.
16
- - Keep the final answer in the user's language.
17
16
  """
@@ -1,16 +1,16 @@
1
- description = "Run the Agestra QA workflow for document-based verification and optional E2E."
1
+ # Generated by Agestra. Managed file.
2
+ description = "Run document-first QA with Agestra"
2
3
  prompt = """
3
- You are executing the Agestra QA workflow inside Gemini CLI.
4
+ You are executing the `/agestra qa` Gemini command.
4
5
 
5
- User target:
6
- {{args}}
6
+ - Start with `setup_status`, then `environment_check` and `provider_list`.
7
+ - For investigation-including workflows, route through `agent_research_consensus_start`.
8
+ - Host research consensus contract:
9
+ 호스트가 조사한다.
10
+ 호스트가 정리한다.
11
+ 시스템이 토론한다.
12
+ 호스트가 문서화한다.
13
+ - External AI research and debate run in separate fresh sessions, even when the same provider participates in both phases.
7
14
 
8
- Use the shared workflow spec below as the source of truth and adapt it to the current Gemini host session:
9
15
  @{commands/qa.md}
10
-
11
- Gemini-specific rules:
12
- - Start with `setup_status`, then `environment_check` and `provider_list`.
13
- - Prefer Agestra MCP tools and prompt assets over ad-hoc QA prompting.
14
- - If the workflow refers to Claude-specific wording, translate it to the current leader-host path rather than asking the user to switch hosts.
15
- - Keep the final answer in the user's language.
16
16
  """
@@ -0,0 +1,16 @@
1
+ # Generated by Agestra. Managed file.
2
+ description = "Run research using a selected investigation topology"
3
+ prompt = """
4
+ You are executing the `/agestra research` Gemini command.
5
+
6
+ - Start with `setup_status`, then `environment_check` and `provider_list`.
7
+ - For investigation-including workflows that continue into domain consensus, route through `agent_research_consensus_start`.
8
+ - Host research consensus contract:
9
+ 호스트가 조사한다.
10
+ 호스트가 정리한다.
11
+ 시스템이 토론한다.
12
+ 호스트가 문서화한다.
13
+ - External AI research and debate run in separate fresh sessions, even when the same provider participates in both phases.
14
+
15
+ @{commands/research.md}
16
+ """
@@ -1,16 +1,16 @@
1
- description = "Run the Agestra review workflow for a target, diff, or feature."
1
+ # Generated by Agestra. Managed file.
2
+ description = "Run a code or document review with Agestra"
2
3
  prompt = """
3
- You are executing the Agestra review workflow inside Gemini CLI.
4
+ You are executing the `/agestra review` Gemini command.
4
5
 
5
- User target:
6
- {{args}}
6
+ - Start with `setup_status`, then `environment_check` and `provider_list`.
7
+ - For investigation-including workflows, route through `agent_research_consensus_start`.
8
+ - Host research consensus contract:
9
+ 호스트가 조사한다.
10
+ 호스트가 정리한다.
11
+ 시스템이 토론한다.
12
+ 호스트가 문서화한다.
13
+ - External AI research and debate run in separate fresh sessions, even when the same provider participates in both phases.
7
14
 
8
- Use the shared workflow spec below as the source of truth and adapt it to the current Gemini host session:
9
15
  @{commands/review.md}
10
-
11
- Gemini-specific rules:
12
- - Start with `setup_status`, then `environment_check` and `provider_list`.
13
- - Prefer Agestra MCP tools and prompt assets over ad-hoc review prompting.
14
- - If the workflow refers to Claude-specific wording, translate it to the current leader-host path rather than asking the user to switch hosts.
15
- - Keep the final answer in the user's language.
16
16
  """
@@ -1,17 +1,16 @@
1
- description = "Run the Agestra dedicated security audit workflow."
1
+ # Generated by Agestra. Managed file.
2
+ description = "Run a security review with Agestra"
2
3
  prompt = """
3
- You are executing the Agestra security workflow inside Gemini CLI.
4
+ You are executing the `/agestra security` Gemini command.
4
5
 
5
- User target:
6
- {{args}}
6
+ - Start with `setup_status`, then `environment_check` and `provider_list`.
7
+ - For investigation-including workflows, route through `agent_research_consensus_start`.
8
+ - Host research consensus contract:
9
+ 호스트가 조사한다.
10
+ 호스트가 정리한다.
11
+ 시스템이 토론한다.
12
+ 호스트가 문서화한다.
13
+ - External AI research and debate run in separate fresh sessions, even when the same provider participates in both phases.
7
14
 
8
- Use the shared workflow spec below as the source of truth and adapt it to the current Gemini host session:
9
15
  @{commands/security.md}
10
-
11
- Gemini-specific rules:
12
- - Start with `setup_status`, then `environment_check` and `provider_list`.
13
- - Prefer Agestra MCP tools and prompt assets over ad-hoc security prompting.
14
- - If the workflow refers to Claude-specific wording, translate it to the current leader-host path rather than asking the user to switch hosts.
15
- - Do not run destructive exploit tests or ask the user to paste real secrets.
16
- - Keep the final answer in the user's language.
17
16
  """
@@ -1,12 +1,7 @@
1
- description = "Run the Agestra setup workflow for provider selection and UI language."
1
+ # Generated by Agestra. Managed file.
2
+ description = "Select AI providers and UI language for Agestra workflows"
2
3
  prompt = """
3
- You are executing the Agestra setup workflow inside Gemini CLI.
4
+ You are executing the `/agestra setup` Gemini command.
4
5
 
5
- Use the shared workflow spec below as the source of truth and adapt it to the current Gemini host session:
6
6
  @{commands/setup.md}
7
-
8
- Gemini-specific rules:
9
- - Start with `environment_check`, `provider_list`, and `setup_status`.
10
- - Prefer Agestra MCP tools over ad-hoc shell edits.
11
- - Keep all user-facing questions and the final answer in the user's language.
12
7
  """
package/AGENTS.md CHANGED
@@ -1,45 +1,53 @@
1
- # Agestra for Codex
2
-
3
- This repository includes a Codex-friendly host wrapper for Agestra.
4
-
5
- ## First Run
6
-
1
+ # Agestra for Codex
2
+
3
+ This repository includes a Codex-friendly host wrapper for Agestra.
4
+
5
+ ## First Run
6
+
7
7
  1. Build the bundled MCP server if needed: `npm run bundle`
8
- 2. Register Agestra with Codex and install generated custom agents: `npm run install:codex:assets`
9
- 3. Open this repository in Codex. This `AGENTS.md` file is loaded automatically.
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
-
15
- ## How to Work Here
16
-
17
- - Treat `commands/*.md` as the source of truth for Agestra workflows.
18
- - When the user asks for review, QA, security, 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.
19
- - Prefer Agestra MCP tools over ad-hoc multi-provider prompting.
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.
21
-
22
- ## Workflow Mapping
23
-
24
- - Review requests: follow `commands/review.md`
25
- - QA / verification requests: follow `commands/qa.md`
26
- - Security audit requests: follow `commands/security.md`
27
- - Review, QA, and security workflows write durable reports under `docs/reports/review/`, `docs/reports/qa/`, and `docs/reports/security/` unless the user asks for chat-only output.
28
- - Persistent E2E test creation/maintenance is internal: QA produces `E2E_TEST_WORK_REQUEST`, the leader asks the user, and approved work goes to `agestra-e2e-writer`.
29
- - Design and architecture requests: follow `commands/design.md`
30
- - Idea discovery requests: follow `commands/idea.md`
31
- - Implementation requests: follow `commands/implement.md`
32
-
33
- ## Core MCP Tools
34
-
35
- - `environment_check` and `provider_list`: inspect host/provider state first
36
- - `agent_debate_structured` (with `agent_debate_approve`/`_continue`/`_reject`) and `agent_debate_review`: run approval-gated multi-provider review flows
37
- - `cli_worker_spawn`, `agent_changes_review`, `agent_changes_accept`, `agent_changes_reject`: use for autonomous Codex/Gemini worker tasks
38
- - `host_assets_status`, `host_assets_install`, `host_assets_uninstall`: inspect and explicitly manage generated host-native assets such as Codex custom agents
39
- - `qa_run`: run workspace build/test verification before reporting implementation completion
40
-
8
+ 2. Register this checkout with Codex and install user-scope generated custom agents/skills: `npm run install:codex`
9
+ 3. For a real npm-global install from this checkout instead, run `npm run bundle`, `npm install -g .`, then `npm run install:codex:global`
10
+ 4. Open the target repository in Codex. Its `AGENTS.md` file is loaded automatically when the project is trusted.
11
+
12
+ Use `npm run install:codex:mcp` only when you intentionally want MCP registration without generated Codex agents/skills. Use `npm run install:codex:assets` only when you intentionally want project-local `.codex/agents` and `.codex/skills` assets in the current checkout.
13
+ 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.
14
+ Use `host_assets_status` to inspect generated Codex host assets, and only call `host_assets_install` after the user agrees to install or refresh Codex custom agents. The `host_assets_*` MCP tools currently manage Codex assets only.
15
+
16
+ ## How to Work Here
17
+
18
+ - Default to direct Codex work using the workspace `AGENTS.md` contract, oh-my-codex workflows, and Superpowers-style skills when they apply.
19
+ - Use Agestra primarily for explicit multi-AI or provider orchestration requests, such as when the user names Agestra, Codex/Gemini/Ollama providers, "multi-AI", "multiple AI", "provider", `agent_debate_*`, `cli_worker_*`, or asks to gather/compare several AI opinions.
20
+ - Plain review/QA/check requests without `/agestra` or explicit multi-AI/provider wording stay with the current host; they are not Agestra natural-language auto-triggers.
21
+ - Agestra natural-language routing requires explicit multi-AI/provider wording such as "multiple AIs", "all AIs", "other AI", "multi-AI", "Codex and Gemini", "provider comparison", or "프로바이더 비교". Explicit `/agestra ...` commands remain supported.
22
+ - Native helper agents are created by the active host layer. In Codex, use the generated custom agents installed from these assets; external MCP/CLI/chat providers participate through Agestra tools and never create or manage Codex native agents.
23
+ - Keep Agestra setup/status/provider checks as installation and health checks, not as workflow-routing triggers.
24
+ - Run `setup_status`, `environment_check`, and `provider_list` when the task concerns Agestra installation, MCP registration, host assets, provider availability, or before entering an Agestra workflow. If `setup_status` reports `Setup required: yes`, complete interactive setup first and then resume the original task.
25
+ - Do not treat ordinary review, QA, security, design, idea, implementation, cleanup, build-fix, or planning requests as Agestra workflows just because setup/status/provider checks exist.
26
+ - When an Agestra workflow is active, treat `commands/*.md` as the source of truth for that workflow.
27
+ - Prefer Agestra MCP tools over ad-hoc multi-provider prompting only when the task is actually in Agestra/multi-provider mode.
28
+ - If any legacy workflow text mentions old single-host Agestra execution, treat it as obsolete. Direct current-host work should happen outside Agestra workflows.
29
+
30
+ ## Workflow Mapping
31
+
32
+ - When Agestra is active, review requests follow `commands/review.md`
33
+ - When Agestra is active, QA / verification requests follow `commands/qa.md`
34
+ - When Agestra is active, security audit requests follow `commands/security.md`
35
+ - Review, QA, and security workflows write durable reports under `docs/reports/review/`, `docs/reports/qa/`, and `docs/reports/security/` unless the user asks for chat-only output.
36
+ - Persistent E2E test creation/maintenance is internal: QA produces `E2E_TEST_WORK_REQUEST`, the leader asks the user, and approved work goes to `agestra-implementer` with `mode: e2e-test-authoring`.
37
+ - When Agestra is active, design and architecture requests follow `commands/design.md`
38
+ - When Agestra is active, idea discovery requests follow `commands/idea.md`
39
+ - When Agestra is active, implementation requests follow `commands/implement.md`
40
+
41
+ ## Core MCP Tools
42
+
43
+ - `setup_status`, `environment_check`, and `provider_list`: inspect installation, host, and provider state for Agestra health checks and active Agestra workflows
44
+ - `agent_consensus_start` (with `agent_debate_approve`/`_continue`/`_reject`) and `agent_debate_review`: run approval-gated consensus flows from prepared `initial_aggregation`
45
+ - `cli_worker_spawn`, `agent_changes_review`, `agent_changes_accept`, `agent_changes_reject`: use for explicit autonomous Codex/Gemini worker tasks
46
+ - `host_assets_status`, `host_assets_install`, `host_assets_uninstall`: inspect and explicitly manage generated Codex host-native assets such as custom agents and skills
47
+ - `qa_run`: run workspace build/test verification before reporting implementation completion
48
+
41
49
  ## Project Assets
42
50
 
43
- - `agents/`: canonical role prompts (`agestra-team-lead`, `agestra-e2e-writer`, `agestra-reviewer`, etc.)
51
+ - `agents/`: canonical role prompts (`agestra-team-lead`, `agestra-research`, `agestra-debate`, `agestra-implementer`)
44
52
  - `skills/`: reusable workflow references
45
53
  - `GEMINI.md` and `.gemini/commands/`: Gemini-specific host assets; keep behavior aligned with them when updating shared workflows
package/GEMINI.md CHANGED
@@ -2,11 +2,14 @@
2
2
 
3
3
  This repository includes Gemini-native wrapper assets for Agestra.
4
4
 
5
+ Runtime contract: native helper agents are a capability of the active host layer. External MCP/CLI/chat providers participate in Agestra workflows, but they do not create or manage Gemini native agents. These generated Gemini assets are host-neutral workflow assets; verify real Gemini native-agent team behavior before claiming parity with Claude nested teams or Codex custom-agent behavior.
6
+
5
7
  ## First Run
6
8
 
7
9
  1. Build the bundled MCP server if needed: `npm run bundle`
8
- 2. Register Agestra with Gemini in this project: `npm run install:gemini`
9
- 3. Open the repository in Gemini CLI. `GEMINI.md` and `.gemini/commands/` are loaded automatically.
10
+ 2. Register this checkout with Gemini and install the user-scope `agestra` extension: `npm run install:gemini`
11
+ 3. For a real npm-global install from this checkout instead, run `npm run bundle`, `npm install -g .`, then `npm run install:gemini:global`
12
+ 4. Open the target repository in Gemini CLI. `GEMINI.md` and `.gemini/commands/` are loaded automatically when present.
10
13
 
11
14
  ## Project Commands
12
15
 
@@ -23,17 +26,28 @@ Each command delegates to the shared workflow specs in `commands/*.md`.
23
26
 
24
27
  ## Usage Rules
25
28
 
29
+ - Plain review/QA/check requests without `/agestra` or explicit multi-AI/provider wording stay with the current host; they are not Agestra natural-language auto-triggers.
30
+ - Agestra natural-language routing requires explicit multi-AI/provider wording such as "multiple AIs", "all AIs", "other AI", "multi-AI", "Codex and Gemini", "provider comparison", or "프로바이더 비교". Explicit `/agestra ...` commands remain supported.
26
31
  - Start orchestration requests with `setup_status`, then `environment_check` and `provider_list`.
27
32
  - Prefer Agestra MCP tools instead of rebuilding workflows in free-form prompts.
28
33
  - Treat `commands/*.md` and `agents/*.md` as the canonical workflow and role assets.
29
- - If any legacy shared workflow text mentions "Claude only", translate that to the current leader-host-only path when Gemini is the active host.
34
+ - Keep native agent creation host-owned. Providers reached through MCP, CLI workers, or chat are participants only.
35
+ - For investigation-including workflows, route through `agent_research_consensus_start`.
36
+ - Use this host research consensus contract verbatim:
37
+ 호스트가 조사한다.
38
+ 호스트가 정리한다.
39
+ 시스템이 토론한다.
40
+ 호스트가 문서화한다.
41
+ - External AI research and debate run in separate fresh sessions, even when the same provider participates in both phases.
42
+ - If any legacy shared workflow text mentions old single-host Agestra execution, treat it as obsolete. Direct current-host work should happen outside Agestra workflows.
30
43
 
31
44
  ## Core MCP Tools
32
45
 
33
- - `agent_debate_structured`, `agent_debate_approve`/`_continue`/`_reject`, `agent_debate_review`: structured multi-provider reviews and approval-gated debates
46
+ - `agent_research_consensus_start`: host-led research, consolidation, system debate, engine aggregation docs, and host-authored final decision docs for investigation-including workflows
47
+ - `agent_consensus_start`, `agent_debate_approve`/`_continue`/`_reject`, `agent_debate_review`: direct consensus sessions from prepared `initial_aggregation` and approval-gated debate artifacts
34
48
  - `cli_worker_spawn`, `agent_changes_review`, `agent_changes_accept`, `agent_changes_reject`: autonomous worker lifecycle
35
49
  - `workspace_*`: document-backed review and aggregation flows
36
50
  - `qa_run`: workspace build/test verification before implementation completion
37
51
 
38
52
  Review, QA, and security workflows write durable reports under `docs/reports/review/`, `docs/reports/qa/`, and `docs/reports/security/` unless the user asks for chat-only output.
39
- Persistent E2E test creation/maintenance is internal: QA produces `E2E_TEST_WORK_REQUEST`, the leader asks the user, and approved work goes to `agestra-e2e-writer`. There is no standalone Gemini `/agestra:e2e` command yet.
53
+ Persistent E2E test creation/maintenance is internal: QA produces `E2E_TEST_WORK_REQUEST`, the leader asks the user, and approved work goes to `agestra-implementer` with `mode: e2e-test-authoring`. There is no standalone Gemini `/agestra:e2e` command yet.