Skip to content

Interface: GitScopeReceipt ​

Defined in: ast/domain/git-scope-receipt.ts:7

Validated scope inspection receipt produced by git.cowWorktree (inspect and commitChild).

Summarizes the worktree's current headRef, baseRef, baseBranch, diffStat, and mutatedFiles for downstream step input mappers and speculative arbiters.

Extends ​

  • Record<string, unknown>

Indexable ​

ts
[key: string]: unknown

Properties ​

PropertyModifierTypeDescriptionDefined in
baseBranchreadonlystringUpstream or stacked-PR prerequisite base branch name.ast/domain/git-scope-receipt.ts:15
baseRefreadonlystringImmutable base commit SHA of the worktree.ast/domain/git-scope-receipt.ts:11
branchName?readonlystringOptional feature branch name associated with the worktree.ast/domain/git-scope-receipt.ts:13
diffStatreadonlystringFormatted git diff --stat summary between baseRef and headRef.ast/domain/git-scope-receipt.ts:17
headRefreadonlystringCommit SHA representing the inspected worktree state.ast/domain/git-scope-receipt.ts:9
mutatedFilesreadonlyreadonly string[]Repository-relative paths of all files mutated between baseRef and headRef.ast/domain/git-scope-receipt.ts:19

Released under the MIT License.