OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Complete onboarding and finalize user/organization setup
Goal
Transition from draft to active profile
Context
Validates all required fields, creates/updates entities, marks onboarding complete
Source Definition
export const CompleteOnboardingBaseSpec = defineCommand({
meta: {
key: 'base.onboarding.complete',
version: '1.0.0',
stability: StabilityEnum.Beta,
owners: [OwnersEnum.PlatformSigil],
tags: ['onboarding'],
description: 'Complete onboarding and finalize user/organization setup',
goal: 'Transition from draft to active profile',
context:
'Validates all required fields, creates/updates entities, marks onboarding complete',
},
io: {
input: CompleteOnboardingBaseInput,
output: CompleteOnboardingBaseOutput,
},
policy: {
auth: 'user',
escalate: null,
},
transport: {
gql: { field: 'completeOnboarding' },
rest: { method: 'POST' },
},
});