Interface: GitSnapshotAndResetNode
Defined in: core/dist/ast/domain/git-snapshot-and-reset-node.d.ts:11
Passive AST node snapshotting an aborted worktree to refs/harness/aborted/<run-id>/<stepExecId> and resetting the working tree to handle.baseRef (git.snapshotAndReset).
Preserves the aborted step's dirty working tree as an immutable git commit ref for downstream git.refReaderTools inspection while restoring the workspace to a clean baseline for replacement steps.
Extends
BaseAbortHookASTNode<"git:snapshot-and-reset",GitWorktreeHandle,GitAbortMeta>
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
__handleBrand? | readonly | BivariantCallback<[handle: GitWorktreeHandle], void> | Phantom type brand binding the hook to its compatible scope handle type. | BaseAbortHookASTNode.__handleBrand | core/dist/ast/base/base-abort-hook-ast-node.d.ts:21 |
id | readonly | string | Logical identifier of the abort hook. | BaseAbortHookASTNode.id | core/dist/ast/base/base-abort-hook-ast-node.d.ts:17 |
metaSchema | readonly | ZodType<GitAbortMeta> | Zod schema validating metadata returned by the abort hook executor. | BaseAbortHookASTNode.metaSchema | core/dist/ast/base/base-abort-hook-ast-node.d.ts:19 |
type | readonly | "git:snapshot-and-reset" | Unique string-literal discriminant of the abort hook node. | BaseAbortHookASTNode.type | core/dist/ast/base/base-abort-hook-ast-node.d.ts:15 |