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.

kbPipeline.runWatch

Detect source changes and create change candidates.

  • Type: operation (command)
  • Version: 1.0.0
  • Stability: experimental
  • Owners: @examples
  • Tags: knowledge, pipeline, jobs
  • File: packages/examples/kb-update-pipeline/src/operations/pipeline.ts
  • field.key.label
    kbPipeline.runWatch
    field.version.label
    1.0.0
    field.type.label
    operation (command)
    field.title.label
    kbPipeline.runWatch
    field.description.label

    Detect source changes and create change candidates.

  • Type: operation (command)
  • Version: 1.0.0
  • Stability: experimental
  • Owners: @examples
  • Tags: knowledge, pipeline, jobs
  • File: packages/examples/kb-update-pipeline/src/operations/pipeline.ts
  • field.tags.label
    knowledge,pipeline,jobs
    field.owners.label
    @examples
    field.stability.label
    experimental

    Detect source changes and create change candidates.

    Goal

    Automate discovery of updates needing review.

    Context

    Scheduled job or manual trigger in demos.

    Source Definition

    import { defineCommand } from '@lssm-tech/lib.contracts-spec';
    import { defineSchemaModel, ScalarTypeEnum } from '@lssm-tech/lib.schema';
    import {
    	ChangeCandidateModel,
    	ReviewDecisionEnum,
    	ReviewTaskModel,
    } from '../entities/models';
    
    export const KbPipelineRunWatchContract = defineCommand({
    	meta: {
    		key: 'kbPipeline.runWatch',
    		version: '1.0.0',
    		stability: 'experimental',
    		owners: ['@examples'],
    		tags: ['knowledge', 'pipeline', 'jobs'],
    		description: 'Detect source changes and create change candidates.',
    		goal: 'Automate discovery of updates needing review.',
    		context: 'Scheduled job or manual trigger in demos.',
    	},
    	io: { input: RunWatchInput, output: RunWatchOutput },
    	policy: { auth: 'user' },
    });