Interface: GitCheckpointPayload
Defined in: git/src/executors/git-checkpoint-payload.ts:24
Serialized checkpoint payload produced by GitCowWorktreeScopeDriver.serializeCheckpoint().
Captures worktree-local .git metadata (headSha, headRawContent, indexTreeSha, infoExcludeContent, meta), the porcelain v2 statusMap, the temporary-index treeSha, and any oversizedUntrackedBlobs.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
headRawContent | readonly | string | Exact raw file content of <gitdir>/HEAD. | git/src/executors/git-checkpoint-payload.ts:28 |
headSha | readonly | string | Resolved commit SHA of HEAD (git rev-parse HEAD). | git/src/executors/git-checkpoint-payload.ts:26 |
ignoredPaths | readonly | readonly string[] | Paths ignored at checkpoint time (used when a .gitignore file changes mid-step). | git/src/executors/git-checkpoint-payload.ts:38 |
indexTreeSha | readonly | string | Tree OID of the live <gitdir>/index at checkpoint time. | git/src/executors/git-checkpoint-payload.ts:30 |
infoExcludeContent | readonly | string | null | Raw content of <gitdir>/info/exclude, or null when absent. | git/src/executors/git-checkpoint-payload.ts:32 |
meta | readonly | object | Snapshot of <gitdir>/harness-meta.json at checkpoint time. | git/src/executors/git-checkpoint-payload.ts:34 |
meta.baseBranch | public | string | - | git/src/schemas/git-receipts.schema.ts:37 |
meta.baseRef | public | string | - | git/src/schemas/git-receipts.schema.ts:36 |
meta.branchName? | public | string | - | git/src/schemas/git-receipts.schema.ts:38 |
meta.inFlightCommitAndPush? | public | object | - | git/src/schemas/git-receipts.schema.ts:49 |
meta.inFlightCommitAndPush.preStepBaseRef | public | string | - | git/src/schemas/git-receipts.schema.ts:52 |
meta.inFlightCommitAndPush.preStepHeadSha | public | string | - | git/src/schemas/git-receipts.schema.ts:51 |
meta.inFlightCommitAndPush.targetBranch? | public | string | - | git/src/schemas/git-receipts.schema.ts:53 |
meta.inFlightMerge? | public | object | - | git/src/schemas/git-receipts.schema.ts:41 |
meta.inFlightMerge.mergedTreeSha | public | string | - | git/src/schemas/git-receipts.schema.ts:44 |
meta.inFlightMerge.priorTreeSha | public | string | - | git/src/schemas/git-receipts.schema.ts:45 |
meta.inFlightMerge.targetHeadSha | public | string | - | git/src/schemas/git-receipts.schema.ts:43 |
meta.inFlightMerge.unresolvedConflictPaths | public | Record<string, string> | - | git/src/schemas/git-receipts.schema.ts:46 |
meta.pendingParentHeadSha? | public | string | - | git/src/schemas/git-receipts.schema.ts:40 |
meta.unresolvedConflictPaths | public | Record<string, string> | - | git/src/schemas/git-receipts.schema.ts:39 |
nodeModulesDigest | readonly | string | Digest of node_modules tree state at checkpoint time for tamper detection in diffEffects. | git/src/executors/git-checkpoint-payload.ts:40 |
oversizedUntrackedBlobs | readonly | Readonly<Record<string, OversizedUntrackedBlobRecord>> | Map of untracked files exceeding maxUntrackedFileSizeBytes stored in <gitdir>/harness-ckpt-blobs/. | git/src/executors/git-checkpoint-payload.ts:44 |
statusMap | readonly | Readonly<Record<string, string>> | Map from repository-relative file path to ${mode}:${sha256} (or 'DELETED'). | git/src/executors/git-checkpoint-payload.ts:36 |
treeSha | readonly | string | Git tree SHA capturing headSha plus all dirty tracked and non-oversized untracked files. | git/src/executors/git-checkpoint-payload.ts:42 |