Review unfinished Today work when a new local day begins #603

Closed
opened 2026-08-12 00:19:43 +00:00 by rockachopa · 0 comments
Member

Problem

Today plans are account-scoped but not date-bound. Capacity, estimates, and unfinished work can silently remain “Today” after local midnight or returning days later.

Vertical slice

  • Persist the plan local date and IANA timezone with synchronized Today state.
  • Detect a stale/legacy plan on foreground and expose a non-destructive review state.
  • Carry selected unfinished items into the new day atomically with revision/idempotency protection.
  • Preserve offline durability and reject stale cross-device rollover.

Acceptance

  • Same-day plans remain normal; prior-day and legacy plans require review.
  • Calendar dates, not elapsed 24-hour periods, handle DST/timezone changes.
  • A rollover carries selected IDs, capacity, and estimates in one operation and is idempotent.
  • Stale offline rollover cannot overwrite newer server truth.
  • Mobile review controls remain usable at 320x568 and 390x844.
  • Focused tests and full suite pass.

Audit evidence: current today_plans schema and today-work.js/today-sync.js snapshots contain no date or timezone. No historical issue/PR title or recent commit covers Today day rollover.

## Problem Today plans are account-scoped but not date-bound. Capacity, estimates, and unfinished work can silently remain “Today” after local midnight or returning days later. ## Vertical slice - Persist the plan local date and IANA timezone with synchronized Today state. - Detect a stale/legacy plan on foreground and expose a non-destructive review state. - Carry selected unfinished items into the new day atomically with revision/idempotency protection. - Preserve offline durability and reject stale cross-device rollover. ## Acceptance - Same-day plans remain normal; prior-day and legacy plans require review. - Calendar dates, not elapsed 24-hour periods, handle DST/timezone changes. - A rollover carries selected IDs, capacity, and estimates in one operation and is idempotent. - Stale offline rollover cannot overwrite newer server truth. - Mobile review controls remain usable at 320x568 and 390x844. - Focused tests and full suite pass. Audit evidence: current `today_plans` schema and `today-work.js`/`today-sync.js` snapshots contain no date or timezone. No historical issue/PR title or recent commit covers Today day rollover.
timmy was assigned by rockachopa 2026-08-12 00:19:43 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#603
No description provided.