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.
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' },
});