Question
You're building a search-as-you-type box in React + TypeScript against a `/search?q=` API, greenfield, and handing it to an AI agent. Spell out the build plan: the client-side debounce/cancellation strategy, what the API contract needs, the acceptance criteria, and the review gates. What does a careless 'add a live search box' prompt get wrong about correctness and load?
Treat the AI’s output as a draft to verify, not an answer to trust. Name the specific flaw and the input that triggers it, say how you’d catch it — tests, edge cases, reading critically — and how you’d re-prompt or decompose to get it right.
Vibe coding: describe the solution in plain language (or narrate it) and the coach grades your approach. Generating runnable code from your description is coming next.