Introduce pluggable VCS driver for git operations

- Replace direct GitCore dependencies with VcsDriver and VcsProcess
- Move checkpointing, workspace, and orchestration flows onto the new VCS abstraction
- Drop workspace-specific git helpers from GitCore
This commit is contained in:
Julius Marminge committed 2026-05-02 00:02:06 -07:00
1 parent 0cd920f32e
commit 972a6876b8
25 files changed
+960 -411

No files matched your search

@@ -3,7 +3,8 @@ import { it, describe, expect } from "@effect/vitest";
import { Effect, FileSystem, Layer, Path } from "effect";
import { ServerConfig } from "../../config.ts";
import { GitCoreLive } from "../../git/Layers/GitCore.ts";
import { GitVcsDriverLive } from "../../vcs/Layers/GitVcsDriver.ts";
import { VcsProcessLive } from "../../vcs/Layers/VcsProcess.ts";
import { WorkspaceEntries } from "../Services/WorkspaceEntries.ts";
import { WorkspaceFileSystem } from "../Services/WorkspaceFileSystem.ts";
import { WorkspaceEntriesLive } from "./WorkspaceEntries.ts";
@@ -19,7 +20,7 @@ const TestLayer = Layer.empty.pipe(
Layer.provideMerge(ProjectLayer),
Layer.provideMerge(WorkspaceEntriesLive.pipe(Layer.provide(WorkspacePathsLive))),
Layer.provideMerge(WorkspacePathsLive),
Layer.provideMerge(GitCoreLive),
Layer.provideMerge(GitVcsDriverLive.pipe(Layer.provide(VcsProcessLive))),
Layer.provide(
ServerConfig.layerTest(process.cwd(), {
prefix: "t3-workspace-files-test-",