Have you considered handing the task management over to Claude Task Master: https://github.com/eyaltoledano/claude-task-master?