d8cba5eea0
Add comprehensive tests verifying that `uwf step show` produces valid JSON output even when step detail nodes contain control characters (newlines, tabs, carriage returns, etc.) in tool call args and content fields. Tests cover: - Basic control characters (newlines, tabs, CR+LF) - Backslashes and quotes - Unicode control characters (U+0001-U+001F) - Nested CAS refs with control characters - Large steps with multiple tool calls - Empty/null values - YAML output format (unaffected by escaping) The tests confirm that JSON.stringify() already handles control character escaping correctly when serializing JavaScript objects to JSON. No code changes needed - these tests serve as regression guards to ensure the behavior remains correct. Fixes #557 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>