Files
AndyMik90andClaude Sonnet 4.6 419bd3f2da fix: improve toSafeString with array handling and apply to all list renders
- Simplify toSafeString signature from redundant union to plain `unknown`
- Add explicit Array.isArray guard before the object branch so arrays are
  joined with ', ' instead of producing '0: val, 1: val' via Object.entries
- Verified all existing .map() render sites: what_worked, what_failed,
  recommendations, and discoveries.recommendations already use toSafeString;
  subtasks_completed and changed_files are typed as string[] so no change needed

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-02-22 12:20:59 +01:00
..