Context
PR #37 added cross-agent diff review. The review agent is spawned via this.run(reviewTask, "/tmp"), which inserts the review task into _runningTasks. During review (~60s), API callers see a ghost task in getRunningTasks() that can't be resolved by getTask().
Options
- Add a
_isReviewTask flag and filter in getRunningTasks()
- Use a separate
AgentRunner instance for reviews
- Accept the brief visibility (document it)
Impact
Low — the ghost task disappears after review completes. But it's confusing for dashboard consumers.
Ref: #37