Director selects an effective departure date ≥30 days from today (§3.9 step 1).
Start offboarding[confirmation-step copy — spec §5.2 forgiving-and-resumable requires clearly-labeled confirmation before irreversible actions; exact wording not specified]
Download any photos you want to keep before then.
[exact copy — spec provides this as paraphrase, not necessarily verbatim]
AC1: every linked guardian receives this within 1 hour of the director's notice.
Parents receive reminders at T-14, T-7, T-1 days.
[copy — not specified; must be gentle per §5.2]
[copy — not specified]
[copy — not specified]
AC2: T-14, T-7, T-1 reminders dispatched on schedule.
Export bundle contains: child roster (name, classroom, consent), photo archive (all photos within 90-day window), guardian list. Downloadable throughout the 30-day window.
Download export bundleAC3: export is generated and downloadable for the full 30-day window.
All photos, child records, consent records, guardian links, and teacher assignments at this daycare are permanently deleted.
I-ChildDataDeletion: the Daycare record itself is archived with historical metadata (payout totals, referrer code) but no PII or photo data (§5.1).
AC4: all photo data for the daycare is hard-deleted by the end of the grace period.
Allowed (§3.9 error case 1). Notifications walk back gracefully; subscriptions resume.
Cancel offboarding[copy — not specified; per AC5 "a cancelled-before-effective-date offboarding leaves no user-visible trace" other than the cancellation follow-up notification]
AC5: a cancelled-before-effective-date offboarding leaves no user-visible trace; parents see a "cancelled" follow-up notification.
Not supported. Transition is irreversible once subscriptions have cancelled. Director must re-onboard via a new access code (§3.9 error case 2).
Runs daily at 3:00am UTC. Enforces Q1 (90-day retention).
captured_at + 90 days < now is soft-marked, then hard-deleted within 24h.Child with left_daycare_at non-null: photos tagged exclusively with that child are deleted 7 days after offboarding (grace period). Shared photos tagged with other still-enrolled children have only the leaving child's PhotoDelivery records removed; the photo file is preserved until its own 90-day boundary.Daycare past offboarding grace: all photos hard-deleted, bypassing the 90-day window.Hardest invariant in the system: no photo persists past 90 days under any circumstance (I-Retention, §5.1).
Invoked when director marks Child.left_daycare_at (past, today, or future).
On effective date:
Child; photos not yet deleted are restored (AC3).