Skip to content

Interface: GitPatchEquivalenceNode<TCrossReport> ​

Defined in: ast/domain/git-patch-equivalence-node.ts:13

Passive AST node comparing patch equivalence across speculative worktree candidates (git.patchEquivalence).

Computes normalized patch diffs across surviving tournament branches and groups byte- or AST-equivalent patches into equivalence classes for the speculative arbiter.

Extends ​

Type Parameters ​

Type ParameterDefault typeDescription
TCrossReportRecord<string, unknown>Validated cross-verification report type.

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
__handleBrand?readonlyBivariantCallback<[handle: GitWorktreeHandle], void>Phantom type brand binding the verifier to its compatible scope handle type.BaseCrossVerifierASTNode.__handleBrandast/base/base-cross-verifier-ast-node.ts:28
__receiptBrand?readonlyBivariantCallback<[receipt: GitScopeReceipt], void>Phantom type brand binding the verifier to its compatible scope receipt type.BaseCrossVerifierASTNode.__receiptBrandast/base/base-cross-verifier-ast-node.ts:30
idreadonlystringLogical identifier of the cross-verifier.BaseCrossVerifierASTNode.idast/base/base-cross-verifier-ast-node.ts:24
reportSchemareadonlyZodType<TCrossReport>Zod schema validating the cross-verification report attached to each candidate.BaseCrossVerifierASTNode.reportSchemaast/base/base-cross-verifier-ast-node.ts:26
typereadonly"git:patch-equivalence"Unique string-literal discriminant of the cross-verifier node.BaseCrossVerifierASTNode.typeast/base/base-cross-verifier-ast-node.ts:22

Released under the MIT License.