MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isValidOrgSlug

Function isValidOrgSlug

packages/core/api/src/account/org-slug.ts:128–129  ·  view source on GitHub ↗
(slug: string)

Source from the content-addressed store, hash-verified

126 * URL namespace (`classifyMcpPath` claims only `org_`-prefixed segments).
127 */
128export const isValidOrgSlug = (slug: string): boolean =>
129 ORG_SLUG_PATTERN.test(slug) && !RESERVED_ORG_SLUGS.has(slug);
130
131/**
132 * Derive a slug candidate from an organization name. Lowercases, strips

Callers 9

getActiveOrgSlugFunction · 0.90
org-slug.test.tsFile · 0.90
firstPathSegmentFunction · 0.90
orgSelectorSegmentFunction · 0.90
db.test.tsFile · 0.90
resolveOrgSlugFunction · 0.90
resolveOrgSlugFunction · 0.90
generateOrgSlugFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected