Switching to the floating pet produced no log line at all, which was
ambiguous: the command may never have been invoked, or it may have failed
before reaching the only log statement, which sat after placement and
show().
Log both open and close on entry, with whether the window already
existed, and log the error on each failure path. A missing line now means
the command was not invoked, which points at the shell rather than the
window.
The pairing also makes the order readable. The shell closes the pet on
startup whenever it renders inside the UI, and that destroy is what
forces every later open through the rebuild path.
Refs: N-11.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>