- {CHOICES.filter((choice) => template || !SUBJECT_KINDS.includes(choice.kind)).map(
+ {/* `kind === null` is a choice that is not built yet — never a subject block, and it must not
+ be filtered out by a list that only knows about the ones that are. */}
+ {CHOICES.filter((choice) => template || choice.kind === null || !SUBJECT_KINDS.includes(choice.kind)).map(
({ kind, label, hint, Icon }) => (