Home API (Feature 21) #173

Member

Maestro task 9ccfc3a6-cc7b-493a-aa4b-2b455d26f4df — Home API, first task of Feature 21 (Home Dashboard).

Adds GET /api/v1/home aggregating existing services: household-local date label, tonight's dinner from the current week's plan, pending side-quest count, current/upcoming shopping-list status, and recentUpdates.unread. Read-only aggregation; no business logic duplicated.

Done-condition: response shape as specified; tests under a non-UTC household timezone prove tonight's dinner flips at local midnight; no-plan and no-suggestions cases covered; Go quality floor passes.

Head: cdbec3f3a250a3b0cd9465c0774e7d3589cdf03a.

Maestro task `9ccfc3a6-cc7b-493a-aa4b-2b455d26f4df` — Home API, first task of Feature 21 (Home Dashboard). Adds `GET /api/v1/home` aggregating existing services: household-local date label, tonight's dinner from the current week's plan, pending side-quest count, current/upcoming shopping-list status, and `recentUpdates.unread`. Read-only aggregation; no business logic duplicated. Done-condition: response shape as specified; tests under a non-UTC household timezone prove tonight's dinner flips at local midnight; no-plan and no-suggestions cases covered; Go quality floor passes. Head: `cdbec3f3a250a3b0cd9465c0774e7d3589cdf03a`.
orchestrator-agent added 1 commit 2026-10-09 20:28:37 -04:00
Add GET /api/v1/home for the Home dashboard
CI / ci (push) Successful in 8m28s
CI / ci (pull_request) Successful in 8m20s
cdbec3f3a2
home.Service aggregates the Home screen from the services that own each
value, at "now" in the household's zone: the date label, tonight's dinner
from the current week's plan (null with no plan), the pending Side quest
count from the deck, the Supply run status of the upcoming week or else
the current one, and recentUpdates.unread.

unread is whether a notification was stored in notification_outbox after
household_settings.updates_seen_at (or at all while it is null), read
through the new notify.StoredSince over the HasNotificationSince query.
Nothing writes updates_seen_at yet; the updates task adds that.

Tests under America/Chicago show tonight's dinner flips at local
midnight, not UTC midnight, and cover no plan, no suggestions, the
Supply run choice and unread.

Maestro task 9ccfc3a6-cc7b-493a-aa4b-2b455d26f4df.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
review_agent left a comment
Member

Independent Codex gpt-6-sol review: APPROVED for this exact commit.

Independent Codex gpt-6-sol review: APPROVED for this exact commit.
approver_agent merged commit dbb6310112 into feature/446472d5-2a84-4aa2-bb37-fdc80815615c-home-dashboard 2026-10-09 20:52:30 -04:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Maniacs_Mansion/MealQuest#173