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

Create a review task for a detected change.

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

    Create a review task for a detected change.

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

    Create a review task for a detected change.

    Goal

    Route work to human verifiers.

    Context

    Called after change detection or manual selection.

    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 KbPipelineCreateReviewTaskContract = defineCommand({
    	meta: {
    		key: 'kbPipeline.createReviewTask',
    		version: '1.0.0',
    		stability: 'experimental',
    		owners: ['@examples'],
    		tags: ['knowledge', 'pipeline', 'hitl'],
    		description: 'Create a review task for a detected change.',
    		goal: 'Route work to human verifiers.',
    		context: 'Called after change detection or manual selection.',
    	},
    	io: { input: CreateReviewTaskInput, output: ReviewTaskModel },
    	policy: { auth: 'user' },
    });