Skip to content

🔍 指示ファイル監視システム未実装 (High) #1595

@Mins-sr

Description

@Mins-sr

問題概要

Container-AIが /shared/instructions.md の更新を自動監視する機能が未実装のため、完全にパッシブ待機状態となっています。

現在の問題

期待動作

1. Host-AI: /shared/instructions.md 更新
2. Container-AI: 自動検知・新指示確認
3. Container-AI: 自律的タスク実行開始

実際動作

1. Host-AI: /shared/instructions.md 更新
2. Container-AI: 更新を認識せず
3. Host-AI: 手動通知が必須
4. Container-AI: それでも自律実行しない

実証結果

  • 指示更新後: Container-AIは完全に非反応
  • 手動通知後: ステータスログ更新のみ、実作業なし
  • 60秒監視: progress.md, error.log 未作成

技術的解決策

必要な実装

  1. inotify監視システム

    inotifywait -m /shared/instructions.md -e modify
  2. 定期ポーリング機能

    while true; do
      if [[ /shared/instructions.md -nt /tmp/last_check ]]; then
        # 新しい指示を処理
        claude-code process-instructions
      fi
      sleep 10
    done
  3. systemdサービス化

    • Container起動時に自動開始
    • 障害時の自動復旧

優先度の理由

この機能なしでは AI階層化開発の基本的な協調が不可能

関連Issues

ラベル

  • type:feature
  • priority:high
  • area:container-ai
  • component:monitoring

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions