"use client" import * as React from "react" import { toast } from "sonner" import { Questionnaire, QuestionnaireActions, QuestionnaireChoice, QuestionnaireChoices, QuestionnaireDescription, QuestionnaireError, QuestionnaireInput, QuestionnaireItem, QuestionnaireSubmit, QuestionnaireTitle, } from "@/styles/base-nova/ui/questionnaire" const items = [ { choices: [ { value: "incremental" }, { value: "module" }, { value: "rewrite" }, ], name: "approach", required: true, }, ] as const export function QuestionnaireFreeform() { function handleSubmit(event: React.FormEvent) { event.preventDefault() const approach = new FormData(event.currentTarget).get("approach") toast("Approach selected", { description: `Approach: ${approach ?? "None"}`, }) } return ( How should the agent approach this refactor? Choose a strategy or write a more specific instruction. Make the smallest safe change Refactor one module at a time Replace the implementation completely Use this approach ) }