Reasoning text from a non-Claude model can survive a model switch, off unless enabled.
Preserving other-vendor reasoning across upgrades is off unless an experiment or env var turns it on.
What's wrong with this entry?
A setting decides whether reasoning text produced by a non-Claude model survives an upgrade to a different model instead of being discarded. It is off unless the tengu_luminous_whistle experiment turns it on, and CLAUDE_CODE_LUMINOUS_WHISTLE overrides either way. Even then it only applies when a separate precondition holds.
- Decided once per session and reset on clear, resume, spare claim and remote attach.
- Logs
api_keep_thinking_on_upgradewhen it either keeps or rejects the thinking text.
tengu_luminous_whistle
Strings lifted out of the shipped bundle, so the claim above can be checked against them.