Identified root cause: Lambda sends 'options' as object instead of string array.
Enhanced debugging to show more of the message content and added defensive fix:
- Increased message logging from 300 to 1000 chars (first) + 500 chars (last)
- Added comprehensive SQS polling debug info
- Added defensive conversion for options object to array
- Extract userArguments string and split into array if available
- Default to empty array if no valid options structure found
This allows compilation to proceed while Lambda can be fixed separately.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>