diff --git a/src/stores/useTaskStore.ts b/src/stores/useTaskStore.ts index 313e8c5..c2bc1f8 100644 --- a/src/stores/useTaskStore.ts +++ b/src/stores/useTaskStore.ts @@ -169,6 +169,23 @@ const defaultTasks: Task[] = [ { id: 'c17', text: 'All 3 sites stable. Cron job now properly kills old processes before restarting to avoid port conflicts.', createdAt: new Date().toISOString(), author: 'assistant' } ], tags: ['monitoring', 'cron', 'bug', 'infrastructure', 'urgent'] + }, + { + id: '7', + title: 'Investigate root cause - why are websites dying?', + description: 'Currently monitoring only treats the symptom (restart when down). Need to investigate what is actually killing the Next.js dev servers. Check: system logs, memory usage, file watcher limits, zombie processes, macOS power management, SSH timeout, OOM killer. Set up logging to capture what happens right before crashes.', + type: 'research', + status: 'backlog', + priority: 'high', + projectId: '2', + createdAt: new Date().toISOString(), + updatedAt: new Date().toISOString(), + comments: [ + { id: 'c18', text: 'Problem: Sites go down randomly - what is killing them?', createdAt: new Date().toISOString(), author: 'user' }, + { id: 'c19', text: 'Suspects: Memory leaks, file watcher hitting limits, SSH session timeout, macOS power nap, OOM killer', createdAt: new Date().toISOString(), author: 'user' }, + { id: 'c20', text: 'Need to add logging/capture to see what kills processes', createdAt: new Date().toISOString(), author: 'user' } + ], + tags: ['debugging', 'research', 'infrastructure', 'root-cause'] } ]