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.

learningJourney.platformTour.recordEvent

Record an event to advance platform tour progress.

  • Type: operation (command)
  • Version: 1.0.0
  • Stability: experimental
  • Owners: examples.learning-journey.platform-tour
  • Tags: learning, platform, tour
  • field.key.label
    learningJourney.platformTour.recordEvent
    field.version.label
    1.0.0
    field.type.label
    operation (command)
    field.title.label
    learningJourney.platformTour.recordEvent
    field.description.label

    Record an event to advance platform tour progress.

  • Type: operation (command)
  • Version: 1.0.0
  • Stability: experimental
  • Owners: examples.learning-journey.platform-tour
  • Tags: learning, platform, tour
  • field.tags.label
    learning,platform,tour
    field.owners.label
    examples.learning-journey.platform-tour
    field.stability.label
    experimental

    Record an event to advance platform tour progress.

    Goal

    Advance steps via domain events in demo/sandbox contexts.

    Context

    Called by handlers or demo scripts to emit step completion events.

    Source Definition

    import { defineCommand, defineQuery } from '@lssm-tech/lib.contracts-spec';
    import { defineSchemaModel, ScalarTypeEnum } from '@lssm-tech/lib.schema';
    import { JourneyTrackModel } from '@lssm-tech/module.learning-journey/contracts/journey';
    import { platformPrimitivesTourTrack } from '../track';
    
    export const RecordPlatformTourEvent = defineCommand({
    	meta: {
    		key: 'learningJourney.platformTour.recordEvent',
    		version: '1.0.0',
    		stability: 'experimental',
    		owners: ['examples.learning-journey.platform-tour'],
    		tags: ['learning', 'platform', 'tour'],
    		description: 'Record an event to advance platform tour progress.',
    		goal: 'Advance steps via domain events in demo/sandbox contexts.',
    		context:
    			'Called by handlers or demo scripts to emit step completion events.',
    	},
    	io: {
    		input: RecordDemoEventInput,
    		output: SuccessModel,
    	},
    	policy: { auth: 'user' },
    });