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.
Creates a new draft tenant config version.
Goal
Allow operators to start editing a new tenant config version.
Context
Invoked by the Studio or automation when starting a new configuration run.
Source Definition
export const CreateTenantConfigDraftCommand = defineCommand({
meta: {
key: 'appConfig.lifecycle.createDraft',
version: '1.0.0',
description: 'Creates a new draft tenant config version.',
owners: [OwnersEnum.PlatformSigil],
tags: [TagsEnum.Hygiene, 'app-config'],
stability: StabilityEnum.Experimental,
goal: 'Allow operators to start editing a new tenant config version.',
context:
'Invoked by the Studio or automation when starting a new configuration run.',
},
io: {
input: CreateDraftInput,
output: CreateDraftOutput,
},
policy: LifecyclePolicy,
sideEffects: {
emits: [
{
ref: ConfigDraftCreatedEvent.meta,
when: 'after successful draft creation',
},
],
},
});