Skip to main content

Module validated_output

Module validated_output 

Source
Expand description

Public validated output namespace. Use it for the documented validated output API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file. Durable and observable SDK records. Use these DTOs for events, journals, effects, context, output, and feature evidence. Constructing records is data-only; persistence, publication, and external actions happen through ports or application coordinators. This file contains the validated output portion of that contract.

Structs§

DecodedTypedOutput
Carries the decoded typed output record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
OutputLineage
Carries the output lineage record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
StructuredOutputResult
Carries the structured output result record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
TypedResultPublicationRecord
Carries the typed result publication record record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
ValidatedOutput
Carries the validated output record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
ValidatedOutputParams
Carries the validated output params record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
ValidationReportRecord
Carries the validation report record record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
ValidationReportRef
Carries the validation report ref record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.

Enums§

TypedOutputError
Enumerates the finite typed output error cases. Serialized names are part of the SDK contract; update fixtures when variants change.
TypedResultPublicationStatus
Enumerates the finite typed result publication status cases. Serialized names are part of the SDK contract; update fixtures when variants change.
ValidatedOutputPublicationStep
Enumerates the finite validated output publication step cases. Serialized names are part of the SDK contract; update fixtures when variants change.
ValidationStatus
Enumerates the finite validation status cases. Serialized names are part of the SDK contract; update fixtures when variants change.

Constants§

TYPED_RESULT_PUBLICATION_RECORD_SCHEMA_VERSION
Constant value for the records::validated_output contract. Use it to keep SDK records and tests aligned on the same stable value.
VALIDATED_OUTPUT_RECORD_SCHEMA_VERSION
Constant value for the records::validated_output contract. Use it to keep SDK records and tests aligned on the same stable value.
VALIDATION_REPORT_RECORD_SCHEMA_VERSION
Constant value for the records::validated_output contract. Use it to keep SDK records and tests aligned on the same stable value.

Functions§

validate_typed_result_publication_order
Validates the records::validated_output invariants and returns a typed error on failure. Validation is pure and does not perform I/O, dispatch, journal appends, or adapter calls.