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.

knowledge.source.update

Update metadata or configuration for a knowledge source.

  • Type: operation (command)
  • Version: 1.0.0
  • Stability: experimental
  • Owners: @platform.knowledge
  • Tags: knowledge, sources
  • File: packages/libs/contracts-spec/src/knowledge/operations.ts
  • field.key.label
    knowledge.source.update
    field.version.label
    1.0.0
    field.type.label
    operation (command)
    field.title.label
    knowledge.source.update
    field.description.label

    Update metadata or configuration for a knowledge source.

  • Type: operation (command)
  • Version: 1.0.0
  • Stability: experimental
  • Owners: @platform.knowledge
  • Tags: knowledge, sources
  • File: packages/libs/contracts-spec/src/knowledge/operations.ts
  • field.tags.label
    knowledge,sources
    field.owners.label
    @platform.knowledge
    field.stability.label
    experimental

    Update metadata or configuration for a knowledge source.

    Goal

    Allow rotation of credentials, sync schedules, and labels.

    Context

    Supports editing how a tenant ingests knowledge (e.g., toggling sync cadence).

    Source Definition

    import { ScalarTypeEnum, SchemaModel } from '@lssm-tech/lib.schema';
    import {
    	type AnyOperationSpec,
    	defineCommand,
    	defineQuery,
    } from '../operations/';
    import type { OperationSpecRegistry } from '../operations/registry';
    
    export const UpdateKnowledgeSource = defineCommand({
    	meta: {
    		key: 'knowledge.source.update',
    		title: 'Update Knowledge Source',
    		version: '1.0.0',
    		description: 'Update metadata or configuration for a knowledge source.',
    		goal: 'Allow rotation of credentials, sync schedules, and labels.',
    		context:
    			'Supports editing how a tenant ingests knowledge (e.g., toggling sync cadence).',
    		owners: ['@platform.knowledge'],
    		tags: ['knowledge', 'sources'],
    		stability: 'experimental',
    	},
    	io: {
    		input: UpdateKnowledgeSourceInput,
    		output: KnowledgeSourceRecord,
    	},
    	policy: {
    		auth: 'admin',
    		policies: [{ key: 'platform.knowledge.manage', version: '1.0.0' }],
    	},
    });