Mock of B9 — Daycare offboarding (embeds B-Retention and B-ChildOffboard)

Sources: spec §3.9 B9 + §3.11 B-Retention + §3.14 B-ChildOffboard + §5.1 I-ChildDataDeletion, prd.md §5 Journey 9.

Invariants enforced in this screen: I-ChildDataDeletion (§5.1) — at grace-period end all Photo/Child/Consent/GuardianLink/TeacherAssignment records are hard-deleted; marketplace metadata (Daycare shell, Payout history) preserved; 30-day minimum notice (§3.9 step 1); access-through-end-of-billing-period, no pro-rata refund (Appendix A item 1, resolved 2026-04-21); gentle-over-strict (§5.2) — reminders never urgent or guilt-inducing; I-Retention (§5.1) — 7-day deletion grace for offboarded children (§3.11 step 2).

Inference flags:

B9 — Daycare offboarding

Step 1 — Director initiates offboarding

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]

Step 2 — Family notifications (dispatched immediately)

Littlereach
Your daycare is leaving Littlereach on [date].

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.

Step 3 — Reminders

Parents receive reminders at T-14, T-7, T-1 days.

Littlereach · T-14

[copy — not specified; must be gentle per §5.2]

Littlereach · T-7

[copy — not specified]

Littlereach · T-1

[copy — not specified]

AC2: T-14, T-7, T-1 reminders dispatched on schedule.

Step 4 — Data export (for the director)

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 bundle

AC3: export is generated and downloadable for the full 30-day window.

Step 5 — Last-day execution (T=0, local end-of-day)

Step 6 — Grace period expiry (30 days after effective date; 60 days after notice)

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.

Error — director cancels within the 30-day notice window

Allowed (§3.9 error case 1). Notifications walk back gracefully; subscriptions resume.

Cancel offboarding
Littlereach · cancellation follow-up

[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.

Error — director cancels after the 30-day window elapsed

Not supported. Transition is irreversible once subscriptions have cancelled. Director must re-onboard via a new access code (§3.9 error case 2).

B-Retention (§3.11) — periodic photo-retention job

Runs daily at 3:00am UTC. Enforces Q1 (90-day retention).

Hardest invariant in the system: no photo persists past 90 days under any circumstance (I-Retention, §5.1).

B-ChildOffboard (§3.14) — single child leaves daycare

Invoked when director marks Child.left_daycare_at (past, today, or future).

Confirm offboarding

On effective date:

Edge cases (§3.14)