Type Alias: ConversationNotice
@kortexya/reasoninglayer / ConversationNotice
Type Alias: ConversationNotice
Section titled “Type Alias: ConversationNotice”ConversationNotice = {
intent:string;kind:"write_proposed";message:string;osfql?:string|null; } | {kind:"pruned_features";message:string;skipped:SkippedFeature[]; } | {kind:"value_grounding";message:string;substitutions:ValueSubstitution[]; } | {kind:"claim_check_failed";message:string; } | {code:string;component:string;kind:"model_unavailable";message:string; } | {kind:"cognitive_strategy_unavailable";message:string;reason:string; }
Defined in: src/types/conversation.ts:659
One thing the engine did to a conversation question before it answered.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ intent: string; kind: "write_proposed"; message: string; osfql?: string | null; }
intent
Section titled “intent”intent:
string
Proposed write intent.
kind:
"write_proposed"
A proposed write was not executed.
message
Section titled “message”message:
string
User-visible explanation.
osfql?
Section titled “osfql?”
optionalosfql?:string|null
Proposed statement, never evidence of execution.
Type Literal
Section titled “Type Literal”{ kind: "pruned_features"; message: string; skipped: SkippedFeature[]; }
kind:
"pruned_features"
message
Section titled “message”message:
string
The user-facing sentence.
skipped
Section titled “skipped”skipped:
SkippedFeature[]
Each (sort, feature) projection the engine dropped.
Type Literal
Section titled “Type Literal”{ kind: "value_grounding"; message: string; substitutions: ValueSubstitution[]; }
kind:
"value_grounding"
message
Section titled “message”message:
string
The user-facing sentence.
substitutions
Section titled “substitutions”substitutions:
ValueSubstitution[]
Each literal and the data value that replaced it.
Type Literal
Section titled “Type Literal”{ kind: "claim_check_failed"; message: string; }
kind:
"claim_check_failed"
The engine could not check the answer against the records, so nothing
in it is marked as verified. The answer state is abstained with the
gate code claim_check_failed.
message
Section titled “message”message:
string
The user-facing sentence.
Type Literal
Section titled “Type Literal”{ code: string; component: string; kind: "model_unavailable"; message: string; }
code:
string
llm_unconfigured (no text model) or llm_provider_failed (its provider failed).
component
Section titled “component”component:
string
The /health component the answer needed: text_model.
kind:
"model_unavailable"
The text model did not write the answer, so the answer is the engine’s templated summary of what it ran.
message
Section titled “message”message:
string
The user-facing sentence.
Type Literal
Section titled “Type Literal”{ kind: "cognitive_strategy_unavailable"; message: string; reason: string; }
kind:
"cognitive_strategy_unavailable"
message
Section titled “message”message:
string
The user-facing sentence.
reason
Section titled “reason”reason:
string
Why the strategy could not run, as the engine refused it.
Remarks
Section titled “Remarks”Every notice is a substitution the user must see: the executed query is not
the question as the model translated it, or the answer was produced without a
step the tenant configured. message is the one-line,
user-facing sentence; the other fields carry the same facts as data.
Discriminated on kind.