Default agent configs in config/install are outdated
<h3 id="overview">Overview</h3>
The AI Agents module ships three default agent configurations under <code>config/install/</code>:
<ul>
<li><code>ai_agents.ai_agent.taxonomy_agent_config.yml</code> (Taxonomy Agent)</li>
<li><code>ai_agents.ai_agent.content_type_agent_triage.yml</code> (Content Type Agent)</li>
<li><code>ai_agents.ai_agent.field_agent_triage.yml</code> (Field Agent)</li>
</ul>
These files are outdated. They do not match the config structure that the current version of the module produces when an agent is saved through the UI. The differences are:
<ul>
<li><code>system_prompt</code> and <code>default_information_tools</code> are stored as quoted strings with <code>\r\n</code> escape sequences instead of YAML block scalars, introducing Windows-style line endings into stored values.</li>
<li><code>max_loops_message</code> is missing from all three files. The schema defines this field and the UI writes it on save.</li>
<li>Each entry under <code>tool_settings</code> is missing four fields that the current schema expects: <code>require_usage</code>, <code>description_override</code>, <code>progress_message</code>, and <code>use_artifacts</code>.</li>
<li>Empty <code>tool_usage_limits</code> entries are stored as verbose per-parameter stubs instead of <code>{ }</code>, and at least one constraint value contains a trailing <code>\r</code> artefact.</li>
<li><code>hostname_filter_disabled</code> appears before <code>tool_usage_limits</code> instead of after it.</li>
<li><code>structured_output_schema</code> uses double-quoted empty string (<code>""</code>) instead of single-quoted (<code>''</code>).</li>
</ul>
<h3 id="proposed-resolution">Proposed resolution</h3>
Re-save each of the three default agents through the UI on a current install, export the resulting config with <code>drush cex</code>, and replace the three <code>config/install/</code> files with the exported versions.
<em>Issue description generated with AI assistance.</em>
issue