Skip to content

Commit cc32b96

Browse files
committed
javaとgoの実行環境を削除
1 parent f284723 commit cc32b96

17 files changed

Lines changed: 30 additions & 330 deletions

config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,6 @@ command_executor:
409409
python: "coding-agent-executor-python:latest"
410410
miniforge: "coding-agent-executor-miniforge:latest"
411411
node: "coding-agent-executor-node:latest"
412-
java: "coding-agent-executor-java:latest"
413-
go: "coding-agent-executor-go:latest"
414412

415413
# デフォルト環境(環境選択に失敗した場合)
416414
default_environment: "python"

docker-compose.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -314,22 +314,6 @@ services:
314314
image: coding-agent-executor-node:latest
315315
command: ["echo", "Build only"]
316316

317-
# Java実行環境イメージ
318-
executor-java:
319-
build:
320-
context: ./docker/executor-java
321-
dockerfile: Dockerfile
322-
image: coding-agent-executor-java:latest
323-
command: ["echo", "Build only"]
324-
325-
# Go実行環境イメージ
326-
executor-go:
327-
build:
328-
context: ./docker/executor-go
329-
dockerfile: Dockerfile
330-
image: coding-agent-executor-go:latest
331-
command: ["echo", "Build only"]
332-
333317
volumes:
334318
rabbitmq_data:
335319
postgres_data:

docker/executor-go/Dockerfile

Lines changed: 0 additions & 41 deletions
This file was deleted.

docker/executor-java/Dockerfile

Lines changed: 0 additions & 41 deletions
This file was deleted.

docs/SPEC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ Issueで依頼された内容を自動的にMR/PRとして作成:
310310

311311
Command Executor MCPを使用してDocker環境でコマンドを実行:
312312

313-
- 複数言語対応(Python、Node.js、Java、Go等
313+
- 複数言語対応(Python、Node.js等
314314
- プロジェクトをクローン
315315
- 依存関係を自動インストール
316316
- コマンドを実行してフィードバックを取得

docs/external-api/mcp_client.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ Model Context Protocol(MCP)は、LLMアプリケーションと外部ツー
2525

2626
- **Python 3.8以上**: Python版クライアントの場合
2727
- **Node.js 17以上**: TypeScript版クライアントの場合
28-
- **Java 17以上**: Java版クライアントの場合
2928

3029
### 2.2 必要なライブラリ
3130

docs/spec/COMMAND_EXECUTOR_MCP_SPECIFICATION.md

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
コーディングエージェントがGitHub/GitLabのIssueやPull Request/Merge Requestを処理する際、以下のようなコマンド実行が必要になるケースがあります:
1212

13-
- ビルドコマンドの実行(npm build、make、go build等
14-
- テストコマンドの実行(npm test、pytest、go test等
15-
- リンターやフォーマッターの実行(eslint、black、gofmt等
13+
- ビルドコマンドの実行(npm build、make等
14+
- テストコマンドの実行(npm test、pytest等
15+
- リンターやフォーマッターの実行(eslint、black等
1616
- ファイル検索・確認(grep、find、cat等)
1717
- その他のプロジェクト固有のスクリプト実行
1818

@@ -63,8 +63,6 @@ flowchart TD
6363
ImgPython[Python イメージ]
6464
ImgMiniforge[Miniforge イメージ]
6565
ImgNode[Node.js イメージ]
66-
ImgJava[Java イメージ]
67-
ImgGo[Go イメージ]
6866
end
6967
subgraph ExecutionContainer[実行環境コンテナ]
7068
ProjectFiles[プロジェクトファイル]
@@ -201,8 +199,6 @@ coding-agent-exec-{task_uuid}
201199
| python | coding-agent-executor-python:latest | Python 3.11 + pip + pytest/black/flake8/mypy | 純粋Pythonプロジェクト、Webフレームワーク |
202200
| miniforge | coding-agent-executor-miniforge:latest | conda/mamba + Python + データサイエンスツール | 科学計算、ML/AI、condaenv.yaml使用プロジェクト |
203201
| node | coding-agent-executor-node:latest | Node.js 20 + npm/yarn/pnpm + TypeScript/ESLint | フロントエンド、Node.jsバックエンド |
204-
| java | coding-agent-executor-java:latest | Java 21 + Maven + Gradle | Spring Boot、Java/Kotlinプロジェクト |
205-
| go | coding-agent-executor-go:latest | Go 1.22 + golangci-lint | Goプロジェクト、CLIツール |
206202

207203
**環境選択の判断基準:**
208204
- プロジェクトルートの依存関係ファイル(package.json, requirements.txt等)
@@ -367,8 +363,6 @@ flowchart TD
367363
- package.json: `npm install` または `yarn install`
368364
- requirements.txt: `pip install -r requirements.txt`
369365
- condaenv.yaml / environment.yml: `mamba env create -f <環境ファイル>`(miniforge/mambaforge使用)
370-
- go.mod: `go mod download`
371-
- pom.xml: `mvn dependency:resolve`
372366
- Gemfile: `bundle install`
373367

374368
**Conda環境について:**
@@ -467,10 +461,7 @@ sequenceDiagram
467461
| mamba | 高速Condaパッケージマネージャー | `mamba install`, `mamba env create -f environment.yml` |
468462
| python | Pythonインタープリター | `python setup.py`, `python -m pytest` |
469463
| python3 | Python3インタープリター | `python3 -m venv`, `python3 script.py` |
470-
| go | Go言語ツールチェーン | `go build`, `go test`, `go mod download` |
471464
| cargo | Rustパッケージマネージャー | `cargo build`, `cargo test` |
472-
| maven / mvn | Javaビルドツール | `mvn install`, `mvn test` |
473-
| gradle | Javaビルドツール | `gradle build`, `gradle test` |
474465
| make | ビルド自動化ツール | `make`, `make install`, `make test` |
475466
| cmake | ビルドシステムジェネレーター | `cmake .`, `cmake --build .` |
476467
| bundle | Rubyパッケージマネージャー | `bundle install`, `bundle exec` |
@@ -487,7 +478,6 @@ sequenceDiagram
487478
| mocha | JavaScriptテストフレームワーク | `mocha`, `mocha tests/` |
488479
| rspec | Rubyテストフレームワーク | `rspec`, `rspec spec/` |
489480
| phpunit | PHPテストフレームワーク | `phpunit`, `phpunit tests/` |
490-
| go test | Goテストコマンド | `go test ./...`, `go test -v` |
491481
| cargo test | Rustテストコマンド | `cargo test`, `cargo test --all` |
492482
| dotnet test | .NETテストコマンド | `dotnet test` |
493483

@@ -502,8 +492,6 @@ sequenceDiagram
502492
| pylint | Pythonリンター | `pylint src/` |
503493
| mypy | Python型チェッカー | `mypy src/` |
504494
| rubocop | Rubyリンター | `rubocop`, `rubocop -a` |
505-
| gofmt | Goフォーマッター | `gofmt -w .` |
506-
| golint | Goリンター | `golint ./...` |
507495
| rustfmt | Rustフォーマッター | `rustfmt --check .` |
508496
| clippy | Rustリンター | `cargo clippy` |
509497
| tsc | TypeScriptコンパイラ | `tsc --noEmit`, `tsc` |
@@ -657,7 +645,7 @@ The following commands are available for execution:
657645

658646
**Test Execution:**
659647
- Run the project's test suite to verify code changes work correctly
660-
- Examples: `npm test`, `pytest`, `go test ./...`, `cargo test`
648+
- Examples: `npm test`, `pytest`, `cargo test`
661649

662650
**Code Search:**
663651
- Use `grep` command to recursively search for code patterns across the entire project
@@ -666,7 +654,7 @@ The following commands are available for execution:
666654

667655
**Build/Compile:**
668656
- Execute project build commands to check for compilation errors
669-
- Examples: `npm run build`, `make`, `go build`, `cargo build`
657+
- Examples: `npm run build`, `make`, `cargo build`
670658

671659
**Linter/Formatter:**
672660
- Perform code quality checks and format verification
@@ -696,18 +684,18 @@ The following commands are available for execution:
696684
システムプロンプト内の `{allowed_commands_list}` プレースホルダーは、セクション6.3で定義された許可コマンドリストの内容で動的に置き換えられます。
697685

698686
**置き換え内容:**
699-
- ビルド・パッケージ管理コマンド(npm, yarn, pip, conda, mamba, go, cargo等)
700-
- テスト実行コマンド(pytest, jest, go test等
687+
- ビルド・パッケージ管理コマンド(npm, yarn, pip, conda, mamba, cargo等)
688+
- テスト実行コマンド(pytest, jest等
701689
- リンター・フォーマッターコマンド(eslint, black, flake8等)
702690
- ファイル操作・検索コマンド(grep, find, ls, cat等)
703691
- バージョン管理コマンド(git status, git diff等)
704692
- その他ユーティリティコマンド
705693

706694
**生成形式例:**
707695
```
708-
Build/Package Management: npm, yarn, pnpm, pip, pip3, conda, mamba, python, python3, go, cargo, maven, gradle, make, cmake, bundle, gem, composer, dotnet
709-
Test Execution: pytest, jest, mocha, rspec, phpunit, go test, cargo test, dotnet test
710-
Linter/Formatter: eslint, prettier, black, flake8, pylint, mypy, rubocop, gofmt, golint, rustfmt, clippy, tsc
696+
Build/Package Management: npm, yarn, pnpm, pip, pip3, conda, mamba, python, python3, cargo, make, cmake, bundle, gem, composer, dotnet
697+
Test Execution: pytest, jest, mocha, rspec, phpunit, cargo test, dotnet test
698+
Linter/Formatter: eslint, prettier, black, flake8, pylint, mypy, rubocop, rustfmt, clippy, tsc
711699
File Operations: ls, cat, head, tail, grep, find, wc, diff, tree, file, stat
712700
Version Control: git status, git diff, git log, git branch, git show, git blame
713701
Utilities: echo, pwd, cd, mkdir, rm, cp, mv, touch, chmod, env, which, curl, wget, tar, unzip, jq, sed, awk, sort, uniq, xargs

docs/spec/ENVIRONMENT_SETUP_IN_PLANNING_SPECIFICATION.md

Lines changed: 3 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ flowchart TD
167167
依頼内容の理解フェーズで、環境構築ファイルの情報も収集します。
168168

169169
**処理内容**:
170-
1. プロジェクトのファイル一覧からrequirements.txt、package.json、pom.xml、go.mod、condaenv.yaml等を検出
170+
1. プロジェクトのファイル一覧からrequirements.txt、package.json、condaenv.yaml等を検出
171171
2. 検出したファイルの内容を読み込み
172-
3. 環境タイプを推測(Python、Node.js、Java、Go、Miniforge)
172+
3. 環境タイプを推測(Python、Node.js、Miniforge)
173173
4. 依存関係リストを抽出
174174
5. セットアップコマンドの候補を生成
175175

@@ -181,7 +181,7 @@ flowchart TD
181181
"package.json": "ファイル内容",
182182
...
183183
},
184-
"environment_type": "python" | "node" | "java" | "go" | "miniforge",
184+
"environment_type": "python" | "node" | "miniforge",
185185
"dependencies": [パッケージリスト],
186186
"setup_commands": [推奨コマンドリスト]
187187
}
@@ -214,8 +214,6 @@ flowchart TD
214214
| requirements.txt存在 + conda不要 | python |
215215
| condaenv.yaml または environment.yml存在 | miniforge |
216216
| package.json存在 | node |
217-
| pom.xml または build.gradle存在 | java |
218-
| go.mod存在 | go |
219217

220218
#### 4.2.2 複合プロジェクトの判定
221219

@@ -293,8 +291,6 @@ Available execution environments:
293291
- python: Python 3.11 environment with pip
294292
- miniforge: Miniforge environment with conda, suitable for scientific computing
295293
- node: Node.js environment with npm
296-
- java: Java environment with Maven/Gradle
297-
- go: Go environment with go command
298294

299295
Project environment information:
300296
{environment information collected}
@@ -734,8 +730,6 @@ The following execution environments are available:
734730
- **python**: Python 3.11 environment with pip package manager
735731
- **miniforge**: Miniforge environment with conda package manager, suitable for scientific computing and data science projects
736732
- **node**: Node.js environment with npm package manager
737-
- **java**: Java environment with Maven/Gradle build tools
738-
- **go**: Go environment with go module system
739733
740734
### Environment Selection Criteria
741735
@@ -744,8 +738,6 @@ Select the environment based on the following criteria:
744738
1. **Python environment**: When `requirements.txt` exists and conda is not required
745739
2. **Miniforge environment**: When `condaenv.yaml` or `environment.yml` exists
746740
3. **Node.js environment**: When `package.json` exists
747-
4. **Java environment**: When `pom.xml` or `build.gradle` exists
748-
5. **Go environment**: When `go.mod` exists
749741
750742
For projects with multiple languages, prioritize based on:
751743
- The primary language targeted by the task
@@ -823,14 +815,6 @@ For Node.js:
823815
}
824816
```
825817

826-
For Go:
827-
```json
828-
{
829-
"command": "go version | grep -q 'go version' && echo 'OK'",
830-
"expected_output": "OK"
831-
}
832-
```
833-
834818
**Bad verification command examples** (DO NOT USE):
835819
- `python --version` (output varies: "Python 3.11.5" vs "Python 3.11.6")
836820
- `npm list` (output includes variable package tree)
@@ -916,36 +900,6 @@ For Go:
916900
}
917901
```
918902

919-
**Java environment**:
920-
```json
921-
{
922-
"setup_commands": [
923-
"mvn clean install -DskipTests"
924-
],
925-
"verification": [
926-
{
927-
"command": "mvn --version | grep -q 'Apache Maven' && echo 'OK'",
928-
"expected_output": "OK"
929-
}
930-
]
931-
}
932-
```
933-
934-
**Go environment**:
935-
```json
936-
{
937-
"setup_commands": [
938-
"go mod download"
939-
],
940-
"verification": [
941-
{
942-
"command": "go version | grep -q 'go version' && echo 'OK'",
943-
"expected_output": "OK"
944-
}
945-
]
946-
}
947-
```
948-
949903
### Important Notes
950904

951905
- The environment setup commands will be executed in the environment setup sub-phase immediately after planning
@@ -1076,8 +1030,6 @@ LLMに修正依頼して再生成します(最大3回固定)。
10761030
- Python: `requirements.txt`, `pyproject.toml`, `setup.py`, `Pipfile`, `poetry.lock`
10771031
- Conda: `environment.yml`, `condaenv.yaml`
10781032
- Node.js: `package.json`, `package-lock.json`, `yarn.lock`, `pnpm-lock.yaml`
1079-
- Java: `pom.xml`, `build.gradle`, `build.gradle.kts`
1080-
- Go: `go.mod`, `go.sum`
10811033
- 共通: `Dockerfile`, `docker-compose.yml`, `Makefile`
10821034
3. 検出されたファイルのリストを返す
10831035

0 commit comments

Comments
 (0)