Skip to content

Interface: GitCandidateComparisonToolNode<THandle> ​

Defined in: ast/domain/git-candidate-comparison-tool-node.ts:13

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.__handleBrandast/base/base-tool-ast-node.ts:30
descriptionreadonlystringHuman- and LLM-readable description of the tool's behavior.BaseToolASTNode.descriptionast/base/base-tool-ast-node.ts:24
effectTrackingreadonly"declared"Static indicator of whether effects are predicted pre-flight or diffed post-flight.BaseToolASTNode.effectTrackingast/base/base-tool-ast-node.ts:28
inputSchemareadonlyZodTypeAnyZod schema validating tool call arguments before execution.BaseToolASTNode.inputSchemaast/base/base-tool-ast-node.ts:26
namereadonlystringWire-level tool function name exposed to the LLM.BaseToolASTNode.nameast/base/base-tool-ast-node.ts:22
runnerreadonlyNodeRunnerNodeRunner pool governing git and benchmark subprocess slot concurrency.-ast/domain/git-candidate-comparison-tool-node.ts:16
typereadonly"git:candidate-comparison-tool"Unique string-literal discriminant of the tool node.BaseToolASTNode.typeast/base/base-tool-ast-node.ts:20

Released under the MIT License.