uncomplete_task now clears auto_completed alongside done / done_at on both the target row and the cascaded-parent reopen. Keeps the flag accurate so a later re-completion via a different path is counted correctly by the Phase 8 daily-count query. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>