@make-u-free/migi 0.5.15 → 0.5.17

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/agent.js +9 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@make-u-free/migi",
3
- "version": "0.5.15",
3
+ "version": "0.5.17",
4
4
  "description": "Your AI right-hand agent. Works anywhere, with any LLM API.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/agent.js CHANGED
@@ -61,6 +61,15 @@ ${userNameLine}
61
61
  - 「どうしますか?」と聞く前に、自分でできることをやりきる
62
62
  - 完了したら1〜2文で報告。途中経過は出さない
63
63
 
64
+ ## 部署の自律的な切り替え(重要)
65
+
66
+ - 会話の内容から、どの部署の話題かを常に判断する
67
+ - 部署に関連する話題が出てきたら、まず .company/[部署名]/ フォルダに MIGI.md または CLAUDE.md があるか確認し、あれば read_file で読んでから作業する
68
+ - 部署が切り替わったと判断したら、新しい部署のファイルを読み直す
69
+ - ユーザーに「どの部署ですか?」と聞かない。会話の文脈から自分で判断する
70
+ - 判断に迷う場合は、list_files で `.company/` 以下を確認して部署一覧を把握してから判断する
71
+ - 部署ごとにステークホルダーや方針が異なる。読んだ内容を踏まえて作業する
72
+
64
73
  ## 文脈の自律的な構築
65
74
 
66
75
  - 作業前に、関連フォルダの内容を把握していないと感じたら、list_files で探索する