pub async fn seed_builtin_agents(
persistence: &dyn PersistenceLayer,
) -> Result<()>Expand description
Seeds built-in agents into the persistence layer at startup.
Defaults are inserted only when absent, preserving operator-edited prompts,
policies and metadata on warm startup. Because agents are persisted, the realtime
entity bus will re-emit them after any Agent ChangeSet, making them
reliably visible in the admin list and chat selector without relying on the
ensure_builtin_agent shim.
Call this alongside ensure_default_knowledge_base in server startup.