Interface: CompetencyQuestion
@kortexya/reasoninglayer / CompetencyQuestion
Interface: CompetencyQuestion
Section titled “Interface: CompetencyQuestion”Defined in: src/types/ontology.ts:346
A stored competency question.
Properties
Section titled “Properties”description?
Section titled “description?”
optionaldescription?:string|null
Defined in: src/types/ontology.ts:365
Longer text — a use case’s description.
expected
Section titled “expected”expected:
boolean
Defined in: src/types/ontology.ts:363
Whether a non-empty answer is the passing outcome (false for a pitfall).
key:
string
Defined in: src/types/ontology.ts:351
Content-derived key, stable across regeneration. An authored question has
the form user:<hash>, so re-submitting the same text updates it.
kind:
string&object|CompetencyQuestionKind
Defined in: src/types/ontology.ts:357
Positive question or pitfall guard.
origin
Section titled “origin”origin:
CompetencyQuestionOrigin
Defined in: src/types/ontology.ts:359
Who wrote it.
osfql:
string
Defined in: src/types/ontology.ts:355
Executable OSFQL; empty when none was supplied.
question
Section titled “question”question:
string
Defined in: src/types/ontology.ts:353
The question text.
sorts?
Section titled “sorts?”
optionalsorts?:string[]
Defined in: src/types/ontology.ts:367
Sorts the question is about.
status
Section titled “status”status:
string&object|CompetencyQuestionStatus
Defined in: src/types/ontology.ts:361
Review status.
useCase?
Section titled “useCase?”
optionaluseCase?:string|null
Defined in: src/types/ontology.ts:369
The use case this question tests (a use case’s own id for use_case).