feat: accept an explicit doneDate on task updates #11
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/explicit-done-date"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Agents often record a completion that happened earlier. The route accepted ISO or epoch dates for dueDate and doDate but dropped doneDate, so completions were stamped at request time and shifted the next repeat occurrence. This accepts doneDate on both update routes; the shared completion semantics preserve a supplied timestamp.
just checkpasses 9/9.Agent writes often record a completion that happened earlier ("I watered the plants yesterday"). The route already accepted ISO or epoch dates for dueDate and doDate but dropped doneDate, so completions were always stamped at request time and shifted the next repeat occurrence. Accept doneDate on PATCH /api/tasks/:id and POST /api/tasks/by-title; the completion semantics preserve a supplied timestamp.