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

Create a knowledge source binding for a tenant.

  • 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.create
    field.version.label
    1.0.0
    field.type.label
    operation (command)
    field.title.label
    knowledge.source.create
    field.description.label

    Create a knowledge source binding for a tenant.

  • 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

    Create a knowledge source binding for a tenant.

    Goal

    Onboard a new knowledge ingestion source such as Notion or uploads.

    Context

    Used by Ops and App Studio to configure knowledge ingestion per tenant and space.

    Source Definition

    export const CreateKnowledgeSource = defineCommand({
      meta: {
        key: 'knowledge.source.create',
        title: 'Create Knowledge Source',
        version: '1.0.0',
        description: 'Create a knowledge source binding for a tenant.',
        goal: 'Onboard a new knowledge ingestion source such as Notion or uploads.',
        context:
          'Used by Ops and App Studio to configure knowledge ingestion per tenant and space.',
        owners: ['@platform.knowledge'],
        tags: ['knowledge', 'sources'],
        stability: 'experimental',
      },
      io: {
        input: CreateKnowledgeSourceInput,
        output: KnowledgeSourceRecord,
      },
      policy: {
        auth: 'admin',
        policies: [{ key: 'platform.knowledge.manage', version: '1.0.0' }],
      },
    });