#OpenClaw file corruption - markdown β†’ JSON arrays

1 messages Β· Page 1 of 1 (latest)

vagrant cosmos
#

My agent intermittently corrupts markdown files by mixing JSON arrays with markdown fragments instead of writing clean markdown.
Expected: # Header\n\nContent
Actual: [{"type": "data"}, "# Header\n\nContent"]
Behavior is inconsistent - same operation sometimes works, sometimes produces corrupted output.
Has anyone experienced file operations returning JSON-wrapped content instead of plain text? Looking for debugging approaches or config settings I might be missing.
Setup: OpenClaw agent with file read/write operations on .md files