auto-claude: subtask-1-1 - Confirm root cause by reading task-log-service.ts

Verified three root causes by reading actual source files:
1. RC1 CONFIRMED: mergeLogs() oscillation at lines 134-139 - condition falls back to
   main logs when worktree coding phase resets to pending during agent retry
2. RC2 CONFIRMED: Stale cache emitted in startWatching() polling loop (lines 329-413)
   when JSON parse fails mid-write, stale cache is emitted as logs-changed
3. RC3 NOTE: useTaskDetail.ts onTaskLogsChanged already uses additive setExpandedPhases
   pattern (lines 256-260) - fix appears already applied, subtask-2-3 should verify

Investigation complete - findings documented in build-progress.txt.
No code changes in this investigation-only subtask.

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
This commit is contained in:
AndyMik90
2026-02-20 12:38:32 +01:00
co-authored by Claude Sonnet 4.5
parent eb834ca32b
commit bda15f4242

Diff Content Not Available