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.

context.snapshot.created

Emitted when a context snapshot is created.

  • Type: event (event)
  • Version: 1.0.0
  • Tags: snapshot
  • File: packages/libs/contracts-spec/src/context/events/contextSnapshotCreated.event.ts
  • field.key.label
    context.snapshot.created
    field.version.label
    1.0.0
    field.type.label
    event (event)
    field.title.label
    context.snapshot.created
    field.description.label

    Emitted when a context snapshot is created.

  • Type: event (event)
  • Version: 1.0.0
  • Tags: snapshot
  • File: packages/libs/contracts-spec/src/context/events/contextSnapshotCreated.event.ts
  • field.tags.label
    snapshot
    field.owners.label
    field.stability.label

    Emitted when a context snapshot is created.

    Source Definition

    import { ScalarTypeEnum, SchemaModel } from '@lssm-tech/lib.schema';
    import { docRef } from '../../docs/registry';
    import type { DocBlock } from '../../docs/types';
    import { defineEvent } from '../../events';
    import {
    	CONTEXT_DOMAIN,
    	CONTEXT_OWNERS,
    	CONTEXT_STABILITY,
    	CONTEXT_TAGS,
    } from '../constants';
    
    export const ContextSnapshotCreatedEvent = defineEvent({
    	meta: {
    		key: 'context.snapshot.created',
    		version: '1.0.0',
    		description: 'Emitted when a context snapshot is created.',
    		domain: CONTEXT_DOMAIN,
    		owners: CONTEXT_OWNERS,
    		tags: [...CONTEXT_TAGS, 'snapshot'],
    		stability: CONTEXT_STABILITY,
    		docId: [docRef(ContextSnapshotCreatedDocBlock.id)],
    	},
    	capability: {
    		key: 'context.system',
    		version: '1.0.0',
    	},
    	pii: [],
    	payload: ContextSnapshotCreatedPayload,
    });