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.

appConfig.lifecycle.publish

Publishes a preview tenant config to production.

  • Type: operation (command)
  • Version: 1.0.0
  • Tags: app-config
  • File: packages/libs/contracts-spec/src/app-config/lifecycle-contracts.ts
  • field.key.label
    appConfig.lifecycle.publish
    field.version.label
    1.0.0
    field.type.label
    operation (command)
    field.title.label
    appConfig.lifecycle.publish
    field.description.label

    Publishes a preview tenant config to production.

  • Type: operation (command)
  • Version: 1.0.0
  • Tags: app-config
  • File: packages/libs/contracts-spec/src/app-config/lifecycle-contracts.ts
  • field.tags.label
    app-config
    field.owners.label
    field.stability.label

    Publishes a preview tenant config to production.

    Goal

    Promote tested configurations to production safely.

    Context

    Triggered after validation passes and change management approvals are complete.

    Source Definition

    export const PublishTenantConfigCommand = defineCommand({
    	meta: {
    		key: 'appConfig.lifecycle.publish',
    		version: '1.0.0',
    		description: 'Publishes a preview tenant config to production.',
    		owners: [OwnersEnum.PlatformSigil],
    		tags: [TagsEnum.Hygiene, 'app-config'],
    		stability: StabilityEnum.Experimental,
    		goal: 'Promote tested configurations to production safely.',
    		context:
    			'Triggered after validation passes and change management approvals are complete.',
    	},
    	io: {
    		input: PublishConfigInput,
    		output: PublishConfigOutput,
    	},
    	policy: LifecyclePolicy,
    	sideEffects: {
    		emits: [
    			{
    				ref: ConfigPublishedEvent.meta,
    				when: 'after publish succeeds',
    			},
    		],
    	},
    });