Skip to content

Interface: CrossVerifierBuilder<THandle, TReceipt, TCrossReport, TNode> ​

Defined in: ast/cross-verifier-builder.ts:16

Fluent builder contract for cross-candidate verification primitives (git.patchEquivalence, git.publicSurfaceCrossTester).

Exposes id and reportSchema directly on the builder instance so downstream .speculate() arbiter schemas (P.SpeculationInputSchema(..., crossTester.reportSchema)) can reference reportSchema without calling .toAST().

Extends ​

Type Parameters ​

Type ParameterDefault typeDescription
THandleunknownIsolation scope runtime handle type.
TReceipt extends Record<string, unknown>Record<string, unknown>Inspected scope receipt record type.
TCrossReportunknownStructured cross-verification report type.
TNode extends CrossVerifierASTNode<THandle, TReceipt, TCrossReport>CrossVerifierASTNode<THandle, TReceipt, TCrossReport>Concrete CrossVerifierASTNode produced by .toAST().

Methods ​

toAST() ​

ts
toAST(): TNode;

Defined in: ast/ast-builder.ts:20

Compiles the current builder configuration into a deeply frozen passive AST node.

Validates required builder invariants at compilation time and returns an immutable plain-object AST representation containing zero execution methods.

Returns ​

TNode

Deeply frozen passive AST node.

Inherited from ​

AstBuilder.toAST

Properties ​

PropertyModifierTypeDescriptionDefined in
idreadonlystringUnique identifier of the cross-verifier primitive.ast/cross-verifier-builder.ts:27
reportSchemareadonlyZodType<TCrossReport>Zod schema validating each candidate branch's cross-verification report.ast/cross-verifier-builder.ts:29

Released under the MIT License.