copilot-cli
copilot-cli copied to clipboard
🐛 'create' tool fails with JSON parsing error (reproducible 4x today)
Bug Description
The create tool fails with JSON parsing errors when creating files with larger content or multiple files in sequence.
Error Message
create: create a new file at undefined.
Expected ',' or '}' after property value in JSON at position 84 (line 1 column 85)
Reproduction
- Frequency: 4 times in one session (Nov 17, 2025)
- Context: Creating documentation files
- File sizes: 1KB-10KB markdown files with code blocks, emojis
- Pattern: Occurs with larger content or sequential creates
Environment
- Version: 0.0.358
- OS: Linux
- Date: 2025-11-17T17:17:54Z
Workaround
Using bash with HEREDOC works:
cat > file.md << 'EOF'
content here
EOF
Meta Bug! 🤣
This bug occurred AGAIN while trying to create THIS issue! See session log for meta-irony.
Impact
- Severity: Medium (has workaround)
- Frequency: ~20% of create attempts in my session
- User Experience: Confusing error, unclear cause
Request investigation of JSON serialization in create tool parameters.