Move the behavior adjustment tool, rules prompt, merge templates, and DOX into a _behavior_adjustment plugin so durable behavior, personality, style, and response-format rules ship as a standard plugin. Rules persist in the memory subdirectory, the system-prompt extension injects them at the front, and normalization keeps merged rulesets deduplicated. The tool prompt drops the stale promptinclude guidance that no longer matches how the tool writes rules. The tool logs its message as its own `behavior_adjustment` type with an `icon://psychology Adjusting behavior` headline rendered through a BEH badge handler in the brain pink accent. Validation: pytest tests/test_tool_action_contracts.py tests/test_responses_tools.py tests/test_behavior_tool_ui.py
885 B
merge adjustments into the ruleset of agent behavior your entire response replaces the current ruleset, so it must contain the complete merged result apply every adjustment: added rules appear, changed rules replace their old versions, on conflict the adjustment wins to remove a rule, omit it from the response the current ruleset may be a short default; treat it like any other ruleset keep rules not affected by the adjustments with their wording intact keep the ruleset short: no duplicate or redundant rules write every rule as a plain lowercase line, one rule per line, no bullet points or headings if an adjustment says to respond exactly with a phrase, keep the phrase unchanged inside its rule, capitalization and punctuation included; the rest of the line stays lowercase respond with the new ruleset only: no preamble, no commentary, no code fences, nothing before or after