Skip to main content

Module response

Module response 

Source
Expand description

Ordered response blocks and the narration contract (spec §18).

The assistant turn is a list of typed blocks persisted exactly as returned. Model-authored blocks (answers, transitions) sit between server-authored blocks (receipts, notices, interactions, artifacts) and may only cite facts the server allowed. claim_guard::verify is the structural check that no model-authored block claims an operational outcome without a matching event-backed receipt block.

Modules§

claim_guard
Structural guard against unbacked operational claims (I16, spec §17.4).

Structs§

AnsweredEnumeration
One complete value set as it reaches the client.
AnsweredValue
One value of an AnsweredEnumeration.
ArtifactView
An artifact block.
AssistantTurn
The persisted assistant turn (spec §18.1).
CaseGuidance
One workflow’s guidance for the stage that writes, and the case it is about.
CaseLabel
What a person calls one case.
DoneAct
An act a turn did, with the values it was given.
GeneratedAnswer
A model-authored answer to a question (spec §18.2).
GeneratedTransition
A short model-authored transition or acknowledgment.
InteractionBlock
An interaction block.
InteractionSummary
The next interaction as summarized for the narrator.
NarrationRequest
What the runtime asks a narrator model to produce (spec §18.3). The output is inserted around deterministic blocks, never trusted as the blocks themselves.
OptionSummary
One option as summarized for the narrator.
ReceiptBlock
A receipt block.
ReceiptSummary
A receipt as summarized for the narrator.
ReplayToken
Opaque token that lets a client or operator retrieve the replay record.
ServerNotice
A server-authored notice (spec §18.2).

Enums§

AnswerProgress
How far the first answer to a card got, when a second one arrives.
AnswerStatus
Whether a question was answered (spec §19.4).
ClaimClass
Classes of claims the narrator must not make (spec §18.3).
Expectation
Something a reply asked for, so the next message can be read as its answer (§6.8).
FactRelevance
Whether a fact is about the turn in hand or about the room it happens in.
NarratableFact
A fact the narrator may state (spec §18.3). Everything else is forbidden.
NoticeSeverity
Severity of a server notice.
ResponseBlock
One ordered block of an assistant turn (spec §18.1).
ToneProfile
Voice the narrator should use.