Repository navigation
Task apps: a snooze moves the copy's date instead of closing it - #2494
Merged
Merged
Conversation
JeroenCorthout
force-pushed
the
task-apps-snooze-moves-due
branch
from
December 5, 2026 11:02
00cf262 to
9ae9ff4
Compare
A to-do that leaves For you keeps its task-app copy open. Snoozed, the copy moves to the day it comes back; waiting on others, it moves to the check-in time and gets a waiting label (Todoist), category (Microsoft To Do) or notes line (Google Tasks). The to-do's own due date stays as a Todoist deadline on Pro and Business, else a "Due" line in the notes. Back in For you, all of it goes back. Copies an older version closed for this open again once. Moving a linked task to a later day in the app snoozes its to-do; today or earlier brings a snoozed one back. Repeating tasks only move. Dates the Machine wrote itself are never read back as a move. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0131jDkEg5VQnWqibgKRkRiz
A copy's notes are read fresh and whole before a move, never from the
clipped event: Todoist's description (GET /api/v1/tasks/{id}), Google
Tasks' notes (tasks.get), Microsoft To Do's body (todo.tasks.get), which
is changed only when it is plain text; HTML notes keep only a date move.
Only the lines the mark proves The Machine added are taken away, as it
added them.
A to-do with an approved Send later is never moved by its task's date.
On Todoist Pro the deadline The Machine set is cleared when the to-do is
back (deadline_date null), never one of the owner's; a PREMIUM_ONLY
refusal falls back to the line. A new time on the same day is the
owner's move.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0131jDkEg5VQnWqibgKRkRiz
JeroenCorthout
force-pushed
the
task-apps-snooze-moves-due
branch
from
December 5, 2026 11:36
9ae9ff4 to
ca74886
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A to-do that leaves For you no longer marks its task-app copy done. The copy stays open and its date moves.
Snooze here. The copy moves to the day the snooze ends, plus the time if it lands at a time other than "Snoozes land at" (Todoist only; To Do and Google Tasks keep the day). The to-do's own due date is kept:
deadlineon Pro and Business (user.is_premium). On other plans, or if Todoist refuses the deadline, it goes in aDue <date>first line of the description.Due <date>first line of the notes.When the to-do is back (the snooze ends, Undo, or it's brought back), the date, label and line go back.
Waiting on others. The copy always gets a date:
wait_until);The copy is also tagged: label
waitingin Todoist, categoryWaitingin To Do, aWaiting on othersnotes line in Google Tasks. The tag comes off when the to-do is back in For you.Snooze there. Moving a linked task (a copy or an adopted task) to a later day in the app snoozes its to-do until then. A date with no time lands at "Snoozes land at". Moving it to today or earlier brings a snoozed to-do back. Repeating tasks keep the old behavior: only the due date moves. A task that isn't a to-do is untouched. The chat shows "Snoozed in Todoist" and "Brought back in Todoist".
Done. Only Done or Not needed closes a copy. A copy an older version closed for a snooze or a wait (mark
away:) opens again once, with the new treatment.No loops. Each
park:/back:mark records what the Machine wrote:|<date, with time when the app has one>|<added lines; deadline>(task_sync.wrote/written).task_sync.wrote_duekeepsfollow_tasksfrom reading that date back as the owner's move. A different time on the same day still counts as the owner's move.Review fixes (second commit):
GET /api/v1/tasks/{id}, To Dotodo.tasks.get, Googletasks.tasks.get. At mostFRESH_MAXreads per pass. To Do notes are edited only when they are plain text; HTML notes get only the date move. If the task can't be read, only the date moves.send_later.waiting) is never moved by its task's date, and nothing loops.POST /api/v1/tasks/{id}withdeadline_date: null(the documented way). The fallback to the description line triggers only on Todoist'sPREMIUM_ONLYrefusal of a deadline. Theitem_updateuuid now includes the args, so the fallback retry isn't answered from the cached refusal.to_pushreusespushed_of().Rebased on #2489 (Work and Personal in every task app): conflicts in
task_sync.py,connectors/todoist.pyanddocs/sources.mdresolved, keeping both.Docs: docs/help/todoist.md, docs/help/ms-todo.md, docs/help/google-tasks.md, docs/sources.md (task-app sections and
follow_tasks). The cloud repo's copies of these help pages get synced as usual.What's new: task-apps-snooze-moves-date
Lasting knowledge: why a copy moved stays in
task_links.pushed(park:s:<until>/park:w:<until>/back:<at>, plus the day written) and in thetask-snooze:/task-back:decision rows, so it can be rebuilt from the database.Proof:
task_sync.away_of/to_push. Each connector only turnspark/backinto its own API call.FRESH_MAXfresh reads a pass. "Waiting with no chase time" has a fixed key (park:w:), so its date is worked out once. A migration reopen happens only once.away:marks from older versions are read as away and are reopened once. New marks parse with the samepushed_of.Tests (local, in a scope): the three connector suites, test_mobile_shell, test_card_chat, test_whats_new, test_tasks_extension, test_look_done, test_done_checks and the guard set. All pass, and help_check is clean.
🤖 Generated with Claude Code
https://claude.ai/code/session_0131jDkEg5VQnWqibgKRkRiz