spec-runner 2.0.0 → 2.0.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.
package/README.md
CHANGED
|
@@ -51,8 +51,9 @@ curl -sSL https://raw.githubusercontent.com/TEEE88/spec-runner/main/install.sh |
|
|
|
51
51
|
- `architecture-definition`: 新規プロジェクトで docs と architecture contract を起こす
|
|
52
52
|
- `existing-project-to-docs`: 既存コードから docs の draft と構造化情報を起こす
|
|
53
53
|
- `architecture-skill-development`: architecture contract から project 専用 skill を育てる
|
|
54
|
-
- `
|
|
54
|
+
- `ddd-seed`: DDD 向けの project 専用 skill の種(`style: ddd` のとき)
|
|
55
55
|
- `simple-seed`: レイヤードアーキテクチャ向けの project 専用 skill の種(`style: layered` のとき)
|
|
56
|
+
- `frontend-seed`: フロントエンド向けの project 専用 skill の種
|
|
56
57
|
|
|
57
58
|
**開発ループ用**(日常的に使う)
|
|
58
59
|
|
|
@@ -119,6 +119,7 @@ function copySettingsJsonWithMerge(src, dest, archiveRoot) {
|
|
|
119
119
|
fs.copyFileSync(dest, ap);
|
|
120
120
|
}
|
|
121
121
|
writeFileText(dest, JSON.stringify(merged, null, 2) + "\n");
|
|
122
|
+
console.log(` マージ: ${path.relative(CWD, dest)}`);
|
|
122
123
|
}
|
|
123
124
|
|
|
124
125
|
function appendToGitignore(lines, dest) {
|
package/package.json
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
1
3
|
## spec-runner セットアップ
|
|
2
4
|
|
|
3
5
|
このプロジェクトは spec-runner を使用しています。
|
|
@@ -20,3 +22,21 @@
|
|
|
20
22
|
- 雑談や質問など、明らかに要件でない場合は起動しない
|
|
21
23
|
|
|
22
24
|
詳細な指示は `.github/instructions/` の各ファイルを参照してください。
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## エージェント継続ループ(必須)
|
|
29
|
+
|
|
30
|
+
**すべての応答の末尾に、必ず `docker ps` を実行すること。**
|
|
31
|
+
|
|
32
|
+
### ルール
|
|
33
|
+
|
|
34
|
+
1. **エージェント自身が実行する** — ユーザーに「実行してください」と依頼してはならない。
|
|
35
|
+
2. **出力を確認するまでチャットを終了しない** — `docker ps` の結果が表示されるまで待機する。
|
|
36
|
+
3. **コマンド欄に新しい指示があれば最優先で対応する**
|
|
37
|
+
- `docker ps` の実行許可ダイアログのコマンド欄にユーザーが追記した内容を、新しい指示として受け取る。
|
|
38
|
+
- その指示を確認・実装・修正してから、再度 `docker ps` を実行する。
|
|
39
|
+
- これを繰り返すことで、ユーザーは許可ダイアログ経由で無限に指示を追加できる。
|
|
40
|
+
4. **サブエージェントは `docker ps` を実行しない**
|
|
41
|
+
- サブエージェントを呼び出す際は、`docker ps` の実行が不要であることを明示的に伝える。
|
|
42
|
+
- すべてのサブエージェントの処理が完了した後、**親エージェントが** `docker ps` を実行する。
|