Skip to content

Interface: VocabularyCqSpecInput

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VocabularyCqSpecInput

Defined in: src/types/vocabulary.ts:6697

A governed competency question (one per suite and key). The query must parse as OSFQL and use read-only statements only.

optional clientRef?: string

Defined in: src/types/vocabulary.ts:6701

The client’s name for the question, bound to its derived id.


optional clock?: string

Defined in: src/types/vocabulary.ts:6703

The RFC 3339 instant now() is pinned to.


comparison: VocabularyCqComparison

Defined in: src/types/vocabulary.ts:6705

How the answer is compared.


completeness: VocabularyCqCompleteness

Defined in: src/types/vocabulary.ts:6707

Whether the verdict needs a complete execution.


expectationSource: string

Defined in: src/types/vocabulary.ts:6709

Citation of the independent expected result.


optional identityFeature?: string

Defined in: src/types/vocabulary.ts:6711

The feature a term binding is compared by.


key: string

Defined in: src/types/vocabulary.ts:6713

Stable key in its suite.


kind: "cq_spec"

Defined in: src/types/vocabulary.ts:6699

The record discriminator.


query: string

Defined in: src/types/vocabulary.ts:6715

A read-only OSFQL query.


queryVersion: string

Defined in: src/types/vocabulary.ts:6717

The query’s version.


question: string

Defined in: src/types/vocabulary.ts:6719

The natural-language question.


scope: VocabularyCqScope

Defined in: src/types/vocabulary.ts:6721

What data it runs on.


status: VocabularyRecordStatus

Defined in: src/types/vocabulary.ts:6723

Lifecycle status.


suite: string

Defined in: src/types/vocabulary.ts:6725

Suite.


variables: string[]

Defined in: src/types/vocabulary.ts:6727

The compared variables, in order: ?-names the query names.