T3 Code Atlas

contracts/git

39 schemas in 1 file.

Stablev0.1.14c0eed7328db2· 2026-12-05

Blast radius

3 direct · 5 transitive workspaces · 6 apps affected

What a change to these 39 schemas can reach, from workspace dependencies, imports, call sites, and protocol edges.

Affected apps (browser, edge, electron-main, electron-preload, node, react-native, worker)
Contracts in its surface14 RPC1 MCP
Framework
effect-schema
Shape
›union7 members · discriminated by kind
›| "action_started"{2 fields }
kind: "action_started"
›| "phase_started"{3 fields }
kind: "phase_started"
›| "hook_started"{2 fields }
kind: "hook_started"
›| "hook_output"{4 fields }
kind: "hook_output"
hookName: TrimmedNonEmptyString | null
›| "hook_finished"{4 fields }
kind: "hook_finished"
exitCode: number | null
durationMs: NonNegativeInt | null
›| "action_finished"{2 fields }
kind: "action_finished"
›| "action_failed"{4 fields }
kind: "action_failed"
createdBranch?: GitRefName
Framework
effect-schema
Shape
›union7 members
| "action_started"
| "phase_started"
| "hook_started"
| "hook_output"
| "hook_finished"
| "action_finished"
| "action_failed"
Framework
effect-schema
Shape
"branch" | "commit" | "push" | "pr"
Framework
effect-schema
Shape
"stdout" | "stderr"
Framework
effect-schema
Shape
›{12 fields }
_tag: "GitCommandError"
operation: string
command: string
cwd: string
argumentCount?: number
exitCode?: number
stdoutLength?: number
stderrLength?: number
outputLength?: number
reason: ForwardCompatibleOptional
detail: string
cause?: unknown
Framework
effect-schema
Shape
›union13 members
| "authentication_failed"
| "branch_already_exists"
| "branch_checked_out_in_worktree"
| "config_locked"
| "host_key_unverified"
| "not_a_repository"
| "path_already_exists"
| "push_rejected_by_remote"
| "push_rejected_non_fast_forward"
| "ref_name_conflict"
| "ref_not_found"
| "remote_unreachable"
| "tag_would_be_clobbered"
Framework
effect-schema
Shape
›{5 fields }
_tag: "GitManagerError"
operation: string
cwd: string
detail: string
cause?: unknown
Framework
effect-schema
Shape
›{4 fields }
mode: "local" | "worktree"
threadId?: makeEntityId
Framework
effect-schema
Shape
›{4 fields }
›pullRequest: {6 fields }
number: PositiveInt
url: string
baseBranch: GitRefName
headBranch: GitRefName
state: "open" | "closed" | "merged"
branch: GitRefName
worktreePath: NonBlankString
isOnPullRequestHead: boolean
Framework
effect-schema
Shape
›{7 fields }
_tag: "GitPullRequestMaterializationError"
pullRequestNumber: PositiveInt
headRepository: TrimmedNonEmptyString | null
headBranch: GitRefName
localBranch: GitRefName
cause: unknown
Framework
effect-schema
Shape
›{1 field }
›pullRequest: {6 fields }
number: PositiveInt
url: string
baseBranch: GitRefName
headBranch: GitRefName
state: "open" | "closed" | "merged"
Framework
effect-schema
Shape
›{9 fields }
commitMessage?: TrimmedNonEmptyString
featureBranch?: boolean
expectedBranch?: GitRefName
filePaths?: string[]
threadId?: makeEntityId
projectId?: makeEntityId
Framework
effect-schema
Shape
›{6 fields }
›branch: {2 fields }
status: "created" | "skipped_not_requested"
name?: GitRefName
›commit: {3 fields }
status: "created" | "skipped_no_changes" | "skipped_not_requested"
›push: {4 fields }
status: "pushed" | "skipped_not_requested" | "skipped_up_to_date"
branch?: GitRefName
upstreamBranch?: GitRefName
setUpstream?: boolean
›pr: {6 fields }
status: "created" | "opened_existing" | "skipped_not_requested"
url?: string
number?: PositiveInt
baseBranch?: GitRefName
headBranch?: GitRefName
›toast: {3 fields }
description?: TrimmedNonEmptyString
›cta: union3 members · discriminated by kind
›| "none"{1 field }
kind: "none"
›| "open_pr"{3 fields }
kind: "open_pr"
url: string
›| "run_action"{3 fields }
Framework
effect-schema
Shape
"commit" | "push" | "create_pr" | "commit_push" | "commit_push_pr"
Framework
effect-schema
Shape
›{4 fields }
_tag: "TextGenerationError"
operation: string
detail: string
cause?: unknown
Framework
effect-schema
Shape
›{2 fields }
refName: string | null
isRepo?: boolean
Framework
effect-schema
Shape
›{3 fields }
refName: GitRefName
switchRef?: boolean
Framework
effect-schema
Shape
›{1 field }
refName: GitRefName
Framework
effect-schema
Shape
›{5 fields }
refName: GitRefName
newRefName?: GitRefName
baseRefName?: GitRefName
path: NonBlankString | null
Framework
effect-schema
Shape
›{1 field }
›worktree: {2 fields }
Framework
effect-schema
Shape
›{2 fields }
Framework
effect-schema
Shape
›{7 fields }
query?: GitRefName
includeMatchingRemoteRefs?: boolean
refKind?: "all" | "local" | "remote"
refresh?: boolean
limit?: PositiveInt
Framework
effect-schema
Shape
›{6 fields }
isAtRepositoryRoot?: boolean
refs: VcsRef[]
isRepo: boolean
hasPrimaryRemote: boolean
nextCursor: NonNegativeInt
totalCount: NonNegativeInt
Framework
effect-schema
Shape
›{1 field }
Framework
effect-schema
Shape
›{3 fields }
status: "pulled" | "skipped_up_to_date"
refName: GitRefName
upstreamRef: GitRefName
Framework
effect-schema
Shape
›{7 fields }
isRemote?: boolean
remoteName?: GitRefName
upstreamRef?: GitRefName
current: boolean
isDefault: boolean
worktreePath: NonBlankString
Framework
effect-schema
Shape
›{1 field }
Framework
effect-schema
Shape
›{3 fields }
force?: boolean
Framework
effect-schema
Shape
›{1 field }
Framework
effect-schema
Shape
›{8 fields }
isRepo: boolean
sourceControlProvider?: SourceControlProviderInfo
hasPrimaryRemote: boolean
isDefaultRef: boolean
refName: GitRefName | null
hasWorkingTreeChanges: boolean
›workingTree: {4 fields }
rootPath?: string
›files: arrayof
›{3 fields }
path: string
insertions: NonNegativeInt
deletions: NonNegativeInt
insertions: NonNegativeInt
deletions: NonNegativeInt
›branchChanges?: {3 fields }
baseRef: GitRefName | null
insertions: NonNegativeInt
deletions: NonNegativeInt
Framework
effect-schema
Shape
›{6 fields }
hasUpstream: boolean
aheadCount: NonNegativeInt
behindCount: NonNegativeInt
aheadOfDefaultCount?: NonNegativeInt
›pr: union2 members
›| {8 fields }
number: PositiveInt
url: string
baseRef: GitRefName
headRef: GitRefName
›state: union3 members
| …
| …
| …
isDraft?: boolean
›updatedAt?: union2 members
| …
| null
| null
refsRevision?: NonNegativeInt
Framework
effect-schema
Shape
›{14 fields }
isRepo: boolean
sourceControlProvider?: SourceControlProviderInfo
hasPrimaryRemote: boolean
isDefaultRef: boolean
refName: GitRefName | null
hasWorkingTreeChanges: boolean
›workingTree: {4 fields }
rootPath?: string
›files: arrayof
›{3 fields }
path: string
insertions: NonNegativeInt
deletions: NonNegativeInt
insertions: NonNegativeInt
deletions: NonNegativeInt
›branchChanges?: {3 fields }
baseRef: GitRefName | null
insertions: NonNegativeInt
deletions: NonNegativeInt
hasUpstream: boolean
aheadCount: NonNegativeInt
behindCount: NonNegativeInt
aheadOfDefaultCount?: NonNegativeInt
›pr: union2 members
›| {8 fields }
number: PositiveInt
url: string
baseRef: GitRefName
headRef: GitRefName
state: "open" | "closed" | "merged"
isDraft?: boolean
updatedAt?: string | null
| null
refsRevision?: NonNegativeInt
Framework
effect-schema
Shape
›union3 members · discriminated by _tag
›| "snapshot"{3 fields }
_tag: "snapshot"
remote: VcsStatusRemoteResult | null
›| "localUpdated"{2 fields }
_tag: "localUpdated"
›| "remoteUpdated"{2 fields }
_tag: "remoteUpdated"
remote: VcsStatusRemoteResult | null
Framework
effect-schema
Shape
›{1 field }
includeRemote?: boolean
Framework
effect-schema
Shape
›{2 fields }
Framework
effect-schema
Shape
›{1 field }
refName: GitRefName | null
Powered by Everdoc. Compiled from source by static analysis; no LLM in the loop.Stable v0.1.14c0eed7328db22026-12-05