agestra 4.13.5 → 4.14.1

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 (68) 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/GEMINI.md +19 -5
  12. package/README.ja.md +59 -417
  13. package/README.ko.md +58 -416
  14. package/README.md +58 -416
  15. package/README.zh.md +61 -419
  16. package/agents/agestra-debate.md +93 -0
  17. package/agents/agestra-implementer.md +19 -2
  18. package/agents/agestra-research.md +98 -0
  19. package/agents/agestra-team-lead.md +170 -651
  20. package/commands/design.md +46 -24
  21. package/commands/idea.md +58 -30
  22. package/commands/implement.md +46 -29
  23. package/commands/qa.md +35 -15
  24. package/commands/research.md +191 -0
  25. package/commands/review.md +42 -17
  26. package/commands/security.md +30 -7
  27. package/commands/setup.md +26 -17
  28. package/dist/bundle.js +376 -260
  29. package/hooks/user-prompt-submit.js +2 -2
  30. package/package.json +16 -9
  31. package/scripts/host-assets/categories.mjs +31 -49
  32. package/scripts/host-assets/codex-assets.mjs +93 -18
  33. package/scripts/host-assets/gemini-assets.mjs +83 -0
  34. package/scripts/install-host-mcp.mjs +18 -310
  35. package/scripts/uninstall-host-mcp.mjs +10 -174
  36. package/skills/cancel.md +4 -1
  37. package/skills/design.md +43 -24
  38. package/skills/e2e.md +19 -10
  39. package/skills/idea.md +74 -54
  40. package/skills/leader.md +38 -30
  41. package/skills/provider-guide.md +38 -34
  42. package/skills/qa.md +35 -10
  43. package/skills/references/lenses/README.md +47 -0
  44. package/skills/references/lenses/design.md +40 -0
  45. package/skills/references/lenses/e2e.md +35 -0
  46. package/skills/references/lenses/qa.md +60 -0
  47. package/skills/references/lenses/research-domains/design.md +33 -0
  48. package/skills/references/lenses/research-domains/idea.md +38 -0
  49. package/skills/references/lenses/research-domains/implement.md +33 -0
  50. package/skills/references/lenses/research-domains/qa.md +35 -0
  51. package/skills/references/lenses/research-domains/review.md +35 -0
  52. package/skills/references/lenses/research-domains/security.md +35 -0
  53. package/skills/references/lenses/research.md +105 -0
  54. package/skills/references/lenses/review.md +48 -0
  55. package/skills/references/lenses/security.md +46 -0
  56. package/skills/research.md +226 -0
  57. package/skills/review.md +40 -19
  58. package/skills/security.md +35 -8
  59. package/skills/setup.md +16 -3
  60. package/skills/worker-manage.md +5 -1
  61. package/AGENTS.md +0 -45
  62. package/agents/agestra-designer.md +0 -226
  63. package/agents/agestra-e2e-writer.md +0 -167
  64. package/agents/agestra-ideator.md +0 -211
  65. package/agents/agestra-moderator.md +0 -537
  66. package/agents/agestra-qa.md +0 -322
  67. package/agents/agestra-reviewer.md +0 -195
  68. 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.5",
15
+ "version": "4.14.1",
16
16
  "author": {
17
17
  "name": "mua-vtuber"
18
18
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agestra",
3
- "version": "4.13.5",
3
+ "version": "4.14.1",
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/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.