[Bug] System clock before companion.hatchedAt crashes all Claude Code instances with map evaluation error

Resolved 💬 2 comments Opened Apr 8, 2026 by batuergun Closed May 21, 2026

Bug Description
Setting the system clock to any time before the 'companion.hatchedAt' crashes every claude code instance running on the system. It's really easy to reproduce and impacts every running instance on the machine. All currently running instances crash immediately. Newly launched instances generate a new companion and run as expected.

Environment Info

  • Platform: darwin
  • Terminal: WezTerm
  • Version: 2.1.94
  • Feedback ID: 4c680835-5852-4832-a839-1fb2b91508bd

Errors

ERROR  undefined is not an object (evaluating 'q[_%q.length].map')

 /$bunfs/root/src/entrypoints/cli.js:6700:2514

 - la_ (/$bunfs/root/src/entrypoints/cli.js:6700:2514)
 - Kz8 (/$bunfs/root/src/entrypoints/cli.js:7992:6468)
 - u3 (/$bunfs/root/src/entrypoints/cli.js:479:20982)
 - XA (/$bunfs/root/src/entrypoints/cli.js:479:39522)
 - a0 (/$bunfs/root/src/entrypoints/cli.js:479:50213)
 - CxH (/$bunfs/root/src/entrypoints/cli.js:479:86887)
 - A5H (/$bunfs/root/src/entrypoints/cli.js:479:85851)
 - z5H (/$bunfs/root/src/entrypoints/cli.js:479:85672)
 - oMH (/$bunfs/root/src/entrypoints/cli.js:479:82420)
 - MH (/$bunfs/root/src/entrypoints/cli.js:479:6361)

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗