mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Add the management surface for the reminder memory: list, create, confirm, done/dismiss, and soft-delete, every query scoped to the session owner with the same no-IDOR posture as the plans routes (a cross-user or unknown id is a 0-count no-op, never a leaked existence). The note is the only writable field; timing is resolved server-side from the closed grammar. Add the confirm endpoint behind the generalised action card. It switches on a closed action-type allowlist and builds each entity field-by-field from a server-resolved spec: a preventive-care reminder whose schedule comes from a closed interval catalog, or a reminder note. It never auto-applies, and the allowlist excludes any medication or clinical change. Regenerate the OpenAPI contract for the new routes.
742 KiB
742 KiB