Interface: GitSnapshotAndResetNode
Defined in: ast/domain/git-snapshot-and-reset-node.ts:12
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 | ast/base/base-abort-hook-ast-node.ts:26 |
id | readonly | string | Logical identifier of the abort hook. | GitSnapshotAndResetNode.id | ast/base/base-abort-hook-ast-node.ts:22 |
metaSchema | readonly | ZodType<GitAbortMeta> | Zod schema validating metadata returned by the abort hook executor. | BaseAbortHookASTNode.metaSchema | ast/base/base-abort-hook-ast-node.ts:24 |
type | readonly | "git:snapshot-and-reset" | Unique string-literal discriminant of the abort hook node. | BaseAbortHookASTNode.type | ast/base/base-abort-hook-ast-node.ts:20 |