Files
fusion/.changeset/fix-planning-json-parse.md
gsxdsm 224b0603e8 feat(FN-841): harden planning-mode AI response parsing and recovery
- Add robust JSON extraction from AI responses (handle markdown fences, mixed content, malformed JSON)
- Add multi-strategy recovery: regex extraction, brace/bracket balancing, common-fix repairs
- Add comprehensive test suite for planning-mode parsing (101 new test cases)
- Document planning-mode robustness behavior in dashboard README
- Add changeset for patch bump to @gsxdsm/fusion
2026-04-04 02:04:31 -07:00

9 lines
324 B
Markdown

---
"@gsxdsm/fusion": patch
---
Fix planning mode JSON parse failure on question generation. Planning mode now
robustly extracts JSON from AI responses (handles markdown wrapping, prose,
truncated output) and retries once with a reformat prompt before showing an
actionable error instead of "Unexpected end of JSON input".