Files
zszz3 0670c14fcd fix: repeat the setup rules once the tools are loaded, skip them for partners
The setup protocol (confirm with ask_user before apply_setting, never
handle secrets, ...) reached the model only in the load_tools result or
the turn that opened setup mode. Once history snipping or summarisation
dropped that message, the setup tools stayed in tools[] without their
rules. A setup turn (explicit mode or an intent message) whose capability
already has tools loaded now gets the protocol repeated in its turn note,
and the intent wording says the tools are already loaded.

A partner turn refuses every setup write (setup/access.py can_write), so
the setup tools are no longer listed under Extended Tools or pointed at
by the turn note there. Non-admin users keep them: personal preferences
are still theirs to change.

Also correct the comment about when set_deferral_available runs:
is_active is already asked by the exclusive-capability checks before it.

Refs #2972
2026-11-30 23:35:08 +08:00
..
2026-08-19 17:34:52 +08:00
2026-08-19 17:34:52 +08:00
2026-08-19 17:34:52 +08:00