fn name_in_use(store: &Store, defs: &[AgentDefinition], name: &str) -> boolExpand description
name_taken, or the store’s own name resolution finds it (slug, name,
a launched agent’s instance name, or a slug an agent was renamed from):
every name a fork could take is checked against both, automatic or typed
(#4746). So is the name it would be addressed by, its route name: a former
slug or display name stays reserved for its agent
(SPEC_FORK_SLUG_MIGRATION_2026_10_22.md Phase 1; former_names).