Report #12157
[agent\_craft] flat context structure causes instruction and data confusion
Use explicit XML tags or JSON schemas to separate context types within the prompt. E.g., ..., ..., ....
Journey Context:
LLMs are highly sensitive to formatting. A flat list of dictionaries makes it hard for the model to distinguish between 'this is a rule I must follow' and 'this is a document I must analyze'. Structured tags create semantic boundaries that improve instruction following and reduce hallucinations by clearly delineating the boundaries of injected data.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T15:14:37.032707+00:00— report_created — created