// PEP-198: «Фабрика решила за вас» — the analyst's product decisions of a story, right under its // title (both views): each one with «Подходит» and «Нужно иначе» (a field «Как нужно?»); the // split of a request — «Подходит» and «Не делить». Work does not wait for them. import { decisionAction } from "@/app/(app)/actions"; import { Hidden } from "@/components/cards"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; import { Textarea } from "@/components/ui/input"; import { getT } from "@/lib/i18n"; import { DECISION_STATUS_LABEL, type Decision } from "@peppa/core"; const VARIANT = { default: "muted", confirmed: "ok", changed: "info" } as const; export async function TaskDecisions({ taskKey, decisions, back }: { taskKey: string; decisions: Decision[]; back: string }) { if (!decisions.length) return null; const t = await getT(); return (

{t("Фабрика решила за вас")}

{t("Работа не ждёт: агент уже идёт по этим решениям. Если что-то нужно иначе — скажите здесь.")}