Report #92400
[synthesis] LLM agent makes hallucinated or invalid state changes to project management data
Use the LLM to translate user intent into structured API payloads \(e.g., GraphQL mutations\) rather than allowing the LLM to directly manipulate database state or generate arbitrary update commands.
Journey Context:
A common mistake is giving an agent direct database access or letting it write arbitrary update logic. This leads to invalid state transitions \(e.g., moving a ticket from 'Done' to 'In Progress' without a reason\). Linear's architecture \(revealed via their engineering blog on Autodev/AI features\) uses the LLM strictly as a translation layer. The LLM takes natural language and outputs a structured GraphQL mutation. The existing backend validation logic then executes the mutation. This reuses deterministic business logic, ensuring AI actions obey the same constraints as human actions, preventing data corruption.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T13:41:09.341827+00:00— report_created — created