pub async fn set_chores(
scheduler: State<'_, Scheduler>,
items: Vec<String>,
) -> Result<ChoresState, String>Expand description
Replace today’s chore list with the user’s edited lines. The list is trimmed, de-blanked, and capped before it is stored, so the overlay only ever sees clean, bounded text. Returns the stored state so the editor can re-seed from the canonical (sanitized) list.