Report #78167
[gotcha] AI generates unresolvable UI elements like phantom buttons or markdown links that the frontend cannot render or handle
Strictly constrain the AI's output grammar using structured outputs \(JSON schema\) or tool calls for actions, and render UI controls exclusively based on the structured payload, never by parsing the AI's free-text markdown.
Journey Context:
LLMs are trained on web data and naturally emit markdown links or HTML-like actions. If the UI just renders this markdown, users click "buttons" that 404 or do nothing. By forcing the AI to return structured tool-call intents \(e.g., \{"action": "deploy", "target": "..."\}\) and having the frontend map those intents to real UI components, you eliminate phantom actions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:47:52.537680+00:00— report_created — created