Skip to content

Interface: GitCandidateComparisonToolNode<THandle> ​

Defined in: core/dist/ast/domain/git-candidate-comparison-tool-node.d.ts:12

Passive AST node for speculative candidate comparison and benchmark tools (git.candidateComparisonTools).

Exposes diffCandidates, readCandidateFile, and checkpoint-sandboxed evalInCandidates over refs/harness/candidates/<run-id>/<branch-index> and live candidate worktrees.

Extends ​

Type Parameters ​

Type ParameterDefault typeDescription
THandleGitWorktreeHandleIsolation scope handle type.

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
__handleBrand?readonlyBivariantCallback<[handle: THandle], void>Phantom type brand binding the tool to its compatible scope handle type.BaseToolASTNode.__handleBrandcore/dist/ast/base/base-tool-ast-node.d.ts:25
descriptionreadonlystringHuman- and LLM-readable description of the tool's behavior.BaseToolASTNode.descriptioncore/dist/ast/base/base-tool-ast-node.d.ts:19
effectTrackingreadonly"declared"Static indicator of whether effects are predicted pre-flight or diffed post-flight.BaseToolASTNode.effectTrackingcore/dist/ast/base/base-tool-ast-node.d.ts:23
inputSchemareadonlyZodTypeAnyZod schema validating tool call arguments before execution.BaseToolASTNode.inputSchemacore/dist/ast/base/base-tool-ast-node.d.ts:21
namereadonlystringWire-level tool function name exposed to the LLM.BaseToolASTNode.namecore/dist/ast/base/base-tool-ast-node.d.ts:17
runnerreadonlyNodeRunnerNodeRunner pool governing git and benchmark subprocess slot concurrency.-core/dist/ast/domain/git-candidate-comparison-tool-node.d.ts:14
typereadonly"git:candidate-comparison-tool"Unique string-literal discriminant of the tool node.BaseToolASTNode.typecore/dist/ast/base/base-tool-ast-node.d.ts:15

Released under the MIT License.