Ultraplan mode is now recorded in telemetry and survives a session state round trip.
What's wrong with this entry?
Permission-mode telemetry now carries an ultraplan flag, and session state sent into Claude Code is parsed for the same flag, so ultraplan survives a state round trip.
- A new helper derives the reported permission mode and ultraplan flag from the previous and new pair, with a rule that reports on every latch rather than only on the transition into plan mode.
- The metadata report includes
is_ultraplan_modewhen set; the inbound parser accepts it as a boolean.
is_ultraplan_mode
Strings lifted out of the shipped bundle, so the claim above can be checked against them.