Skip to content

Interface: BaseCrossVerifierASTNode<TType, THandle, TReceipt, TCrossReport> ​

Defined in: ast/base/base-cross-verifier-ast-node.ts:15

Domain-agnostic base AST node contract for speculative cross-verifiers (CrossVerifierASTNode).

Compares or cross-tests surviving candidate branches during the CROSS_VERIFYING phase of .speculate() tournaments before invoking .arbiter().

Extended by ​

Type Parameters ​

Type ParameterDefault typeDescription
TType extends stringstringString-literal discriminant of the cross-verifier node.
THandleunknownIsolation scope handle type of candidate branches.
TReceipt extends Record<string, unknown>Record<string, unknown>Scope receipt type produced by candidate branches.
TCrossReportunknownValidated cross-verification report type per branch.

Properties ​

PropertyModifierTypeDescriptionDefined in
__handleBrand?readonlyBivariantCallback<[handle: THandle], void>Phantom type brand binding the verifier to its compatible scope handle type.ast/base/base-cross-verifier-ast-node.ts:28
__receiptBrand?readonlyBivariantCallback<[receipt: TReceipt], void>Phantom type brand binding the verifier to its compatible scope receipt type.ast/base/base-cross-verifier-ast-node.ts:30
idreadonlystringLogical identifier of the cross-verifier.ast/base/base-cross-verifier-ast-node.ts:24
reportSchemareadonlyZodType<TCrossReport>Zod schema validating the cross-verification report attached to each candidate.ast/base/base-cross-verifier-ast-node.ts:26
typereadonlyTTypeUnique string-literal discriminant of the cross-verifier node.ast/base/base-cross-verifier-ast-node.ts:22

Released under the MIT License.