peopleanalyst

Platform · Unknown · new here

Practitioner↔clients tenancy grain (PCP-1) — the Coach/Consulting Toolbox foundation

A practitioner (coach, consultant, advisor) is a tenant whose client companies are CHILD TENANTS (platform.tenant.kind='client', parent_tenant_id) — so client↔client isolation is EXISTING tenant isolation (withTenantScope + RLS, proven by live probe) with zero new policy surface. Role and bundle entitlement resolve with a ONE-HOP parent fallback (own wins; practitioner's membership/bundle covers servicing their clients; never transitive). One account holds coach AND consultant bundles simultaneously. Coach Toolbox (PCP-2) and Consulting Toolbox (PCP-3) are branded facades over this one primitive.

Cluster
Platform
Type
primitive
Status
Unknown
Used by
people-analytics-toolbox

Maturity evidence

Functioning
10/10 unit tests (guards, one-level nesting, idempotent scope creation, role+entitlement one-hop inheritance, multi-bundle); 6/6 live RLS probe (client A cannot read or mutate client B through a real spoke table; ON DELETE RESTRICT blocks deleting a practitioner with clients); migration 0178 applied + columns verified live.
Valuable
No SKU yet — the coach/consultant bundle SKUs land with PCP-2/PCP-3; value realizes when the first practitioner services a client through a facade.
Understood
Design note in src/lib/platform/practitioner/types.ts + Layer-1 entry; decision (child-tenants over client-id dimension) recorded with rationale: reuses withTenantScope/RLS with zero new policy surface.
Integrated
PCP-2 (Coach Toolbox facade) is the first consumer — not built yet. Exported from the @/lib/platform barrel, ready to consume.

How to use it

Not surfaced with a callable endpoint yet — still building. Tell us you want Practitioner↔clients tenancy grain (PCP-1) — the Coach/Consulting Toolbox foundationand we’ll prioritize it.

Request Practitioner↔clients tenancy grain (PCP-1) — the Coach/Consulting Toolbox foundation

Other Platform capabilities

← Every platform capability

Capability detail sourced from the People Analytics Toolbox capability feed (source of truth), snapshot retrieved 2026-07-23.