ToolSemantics
Interface: ToolSemantics
Defined in: src/lib/semantics/types.ts:195
The rendered semantic envelope — the exact object a tool hands back.
Field names are snake_case and English on purpose (the ToolAbsence
precedent): this value is read by a language model far more often than by
code, and af_semantics is the only field that exists for the machine.
Properties
af_semantics
readonlyaf_semantics:true
Defined in: src/lib/semantics/types.ts:196
clarify?
readonlyoptionalclarify?:SemanticClarify|null
Defined in: src/lib/semantics/types.ts:206
coverage?
readonlyoptionalcoverage?:SemanticCoverage
Defined in: src/lib/semantics/types.ts:202
edges?
readonlyoptionaledges?: readonlySemanticEdge[]
Defined in: src/lib/semantics/types.ts:199
facts?
readonlyoptionalfacts?: readonlySemanticFact[]
Defined in: src/lib/semantics/types.ts:198
grain?
readonlyoptionalgrain?:SemanticGrain
Defined in: src/lib/semantics/types.ts:200
not_covered?
readonlyoptionalnot_covered?: readonlystring[]
Defined in: src/lib/semantics/types.ts:205
DERIVED from coverage (not checked + cannot cover), one prose line
per item — never author-set, so the list and the lists cannot drift.
note
readonlynote:string
Defined in: src/lib/semantics/types.ts:209
The static sentence. Never interpolated — see envelope.ts.
provenance?
readonlyoptionalprovenance?:SemanticProvenance
Defined in: src/lib/semantics/types.ts:201
render?
readonlyoptionalrender?:SemanticRender
Defined in: src/lib/semantics/types.ts:207
series?
readonlyoptionalseries?: readonlySemanticSeriesPoint[]
Defined in: src/lib/semantics/types.ts:197
