Interfaces

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

readonly af_semantics: true

Defined in: src/lib/semantics/types.ts:196


clarify?

readonly optional clarify?: SemanticClarify | null

Defined in: src/lib/semantics/types.ts:206


coverage?

readonly optional coverage?: SemanticCoverage

Defined in: src/lib/semantics/types.ts:202


edges?

readonly optional edges?: readonly SemanticEdge[]

Defined in: src/lib/semantics/types.ts:199


facts?

readonly optional facts?: readonly SemanticFact[]

Defined in: src/lib/semantics/types.ts:198


grain?

readonly optional grain?: SemanticGrain

Defined in: src/lib/semantics/types.ts:200


not_covered?

readonly optional not_covered?: readonly string[]

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

readonly note: string

Defined in: src/lib/semantics/types.ts:209

The static sentence. Never interpolated — see envelope.ts.


provenance?

readonly optional provenance?: SemanticProvenance

Defined in: src/lib/semantics/types.ts:201


render?

readonly optional render?: SemanticRender

Defined in: src/lib/semantics/types.ts:207


series?

readonly optional series?: readonly SemanticSeriesPoint[]

Defined in: src/lib/semantics/types.ts:197

On this page