Report #101068
[agent\_craft] Model returns JSON wrapped in markdown fences or with missing fields
Describe the output in plain language before giving JSON Schema, include one complete valid example in the prompt, and explicitly instruct 'return raw JSON without markdown fences'.
Journey Context:
Schema alone is brittle because models reason better from natural language. The example anchors exact shape and types. The 'no fences' rule prevents parsers from breaking on \`\`\`json wrappers.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-06T04:55:49.234657+00:00— report_created — created