# Schemas: t3/vcs

> T3 Code · channel `nightly` · v0.1.15-nightly.20261205.5786 @ [`be521199aace`](https://github.com/pingdotgg/t3code/tree/be521199aace1a0b446f4db4a1181ef994aaa1e2) · 2026-12-05 · generated by Everdoc from source (no LLM).

7 entries.

<a id="schema-checkoutcloneerror"></a>

## `CheckoutCloneError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/vcs/CheckoutCloner.ts:9](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/vcs/CheckoutCloner.ts#L9-L21)
- Shape: `{ _tag: "CheckoutCloneError"; source: string; destination: string; errno?: number; cause?: unknown }`

<a id="schema-gitnothingtocommiterror"></a>

## `GitNothingToCommitError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/vcs/GitVcsDriver.ts:84](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/vcs/GitVcsDriver.ts#L84-L95)
- Shape: `{ _tag: "GitNothingToCommitError"; operation: string; cwd: string; detail: string }`

<a id="schema-pushhooksunapprovederror"></a>

## `PushHooksUnapprovedError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/vcs/GitVcsDriver.ts:387](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/vcs/GitVcsDriver.ts#L387-L398)
- Shape: `{ _tag: "PushHooksUnapprovedError"; files: string[]; commands: { name: string; command: string }[]; digest: string }`

<a id="schema-removeemptydirectoryerror"></a>

## `RemoveEmptyDirectoryError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/vcs/removeEmptyDirectory.ts:7](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/vcs/removeEmptyDirectory.ts#L7-L14)
- Shape: `{ _tag: "RemoveEmptyDirectoryError"; path: string; cause: unknown }`

<a id="schema-repositoryhookspolicy"></a>

## `RepositoryHooksPolicy`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/vcs/GitVcsDriver.ts:406](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/vcs/GitVcsDriver.ts#L406)
- Shape: `{ _tag: "all" } | { _tag: "none" } | { _tag: "approved-push"; digest: string | null }`

<a id="schema-stalecaptureindex"></a>

## `StaleCaptureIndex`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/vcs/checkpointCaptureIndex.ts:36](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/vcs/checkpointCaptureIndex.ts#L36-L39)
- Shape: `{ _tag: "StaleCaptureIndex" }`

<a id="schema-vcsprojectconfigerror"></a>

## `VcsProjectConfigError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/vcs/VcsProjectConfig.ts:30](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/vcs/VcsProjectConfig.ts#L30-L42)
- Shape: `{ _tag: "VcsProjectConfigError"; operation: "inspect" | "read" | "decode"; cwd: string; configPath: string; cause: unknown }`
