_build_chat_block seeded its merge buffer by deep-merging DEFAULT_CHAT_PARAMS
into an empty dict with the in-place _deep_merge helper. With an empty buffer,
the first merge aliased the buffer's nested stage dicts (exploring/responding)
to the module-level DEFAULT_CHAT_PARAMS objects; the second merge of the user's
capabilities.chat override then wrote that value into DEFAULT_CHAT_PARAMS in
place. Opening Settings -> Capabilities once with a chat stage override thus
corrupted the shipped default process-wide, and a later read without an
override returned the stale value (which also feeds loader.get_chat_params on
the chat hot path). Seed the buffer from a deepcopy instead.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>