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.rollback

Rolls back to a previously published tenant config version.

  • 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.rollback
    field.version.label
    1.0.0
    field.type.label
    operation (command)
    field.title.label
    appConfig.lifecycle.rollback
    field.description.label

    Rolls back to a previously published tenant config version.

  • 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

    Rolls back to a previously published tenant config version.

    Goal

    Provide rapid recovery when new configs regress production.

    Context

    Called manually or automatically when monitoring detects regression and a rollback is required.

    Source Definition

    export const RollbackTenantConfigCommand = defineCommand({
    	meta: {
    		key: 'appConfig.lifecycle.rollback',
    		version: '1.0.0',
    		description: 'Rolls back to a previously published tenant config version.',
    		owners: [OwnersEnum.PlatformSigil],
    		tags: [TagsEnum.Hygiene, 'app-config'],
    		stability: StabilityEnum.Experimental,
    		goal: 'Provide rapid recovery when new configs regress production.',
    		context:
    			'Called manually or automatically when monitoring detects regression and a rollback is required.',
    	},
    	io: {
    		input: RollbackConfigInput,
    		output: RollbackConfigOutput,
    	},
    	policy: LifecyclePolicy,
    	sideEffects: {
    		emits: [
    			{
    				ref: ConfigRolledBackEvent.meta,
    				when: 'after rollback completes',
    			},
    		],
    	},
    });