LearnNewsExamplesServices
Frontmatter
id9913
titlefix(ai): Implement JSON recovery/repair in DreamService Tri-Vector Synthesis
stateClosed
labels
bugaiarchitecture
assigneestobiu
createdAtApr 12, 2026, 1:37 PM
updatedAtApr 14, 2026, 12:33 AM
githubUrlhttps://github.com/neomjs/neo/issues/9913
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[ ] 9954 Epic: The Self-Healing Protocol, [ ] 9890 feat: DreamService 4th REM Vector — executeNLActionDigest(), [x] 9903 RLAIF Trajectory Curation & Whitebox E2E Pre-Flight
closedAtApr 13, 2026, 2:38 PM

fix(ai): Implement JSON recovery/repair in DreamService Tri-Vector Synthesis

Closedbugaiarchitecture
tobiu
tobiu commented on Apr 12, 2026, 1:37 PM

Context

Sandman is regularly failing to digest large sessions due to [WARN] Failed to validate extracted Tri-Vector A2A payload. The local OS LLM is occasionally generating trailing text or invalid quote schemas during extraction, breaking Zod strict validation.

Objective

We must implement a JSON-repair loop (e.g., regex sanitization, AST validation) or an automated LLM retry mechanism natively inside executeTriVectorExtraction before dumping the payload.

tobiu added the bug label on Apr 12, 2026, 1:37 PM
tobiu added the ai label on Apr 12, 2026, 1:37 PM
tobiu added the architecture label on Apr 12, 2026, 1:37 PM
tobiu marked this issue as blocking #9903 on Apr 12, 2026, 1:40 PM
tobiu marked this issue as blocking #9890 on Apr 12, 2026, 1:40 PM
tobiu marked this issue as blocking #9954 on Apr 13, 2026, 1:13 PM
tobiu cross-referenced by PR #9964 on Apr 13, 2026, 1:45 PM
tobiu referenced in commit 8d32d94 - "fix(MemoryCore): Implement autonomous JSON boundary repair loops in DreamService REM pipeline (#9913)" on Apr 13, 2026, 2:01 PM
tobiu cross-referenced by PR #9967 on Apr 13, 2026, 2:02 PM
tobiu closed this issue on Apr 13, 2026, 2:38 PM
tobiu referenced in commit 5f38fc5 - "fix(MemoryCore): Implement autonomous JSON boundary repair loops in DreamService REM pipeline (#9913) (#9967)" on Apr 13, 2026, 2:38 PM
tobiu assigned to @tobiu on Apr 14, 2026, 12:33 AM
tobiu cross-referenced by PR #10100 on Apr 19, 2026, 4:24 PM