Skip to content

feat(plugin): file watcher for completion detection and auto-reload #826

@JeremyDev87

Description

@JeremyDev87

Purpose

Watch file system for changes instead of polling via capture-pane. Detect worker completion (RESULT.json), rule changes (.ai-rules/), and config changes instantly.

Changes

  • packages/codingbuddy-plugin/ — File watcher module (chokidar or fs.watch)

Key Watchers

  • .taskmaestro/wt-N/RESULT.json → worker completion instant detection
  • packages/rules/.ai-rules/ → auto-reload rules on change
  • codingbuddy.config.json → auto-reload config on change

Supersedes

Acceptance Criteria

  • Watch RESULT.json for worker completion
  • Watch .ai-rules/ for rule changes → auto-reload
  • Watch config for settings changes → auto-reload
  • Debounced to avoid excessive triggers

Metadata

Metadata

Assignees

No one assigned

    Labels

    featpriority:shouldShould Have - 중요하지만 필수는 아님sub-issue상위 이슈의 하위 작업

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions