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