Add configurable worktree target path and session run diagnostics

This commit is contained in:
2026-02-23 20:38:05 -05:00
parent e7dbc9870f
commit 83bbf1a9ce
13 changed files with 434 additions and 7 deletions

View File

@@ -18,6 +18,7 @@ function parentSnapshot(): DiscoverySnapshot {
worktreeRoot: "/repo/.ai_ops/worktrees",
worktreePath: "/repo/.ai_ops/worktrees/parent",
baseRef: "HEAD",
targetPath: "src/agents",
},
},
{
@@ -55,6 +56,7 @@ test("builds deterministic child suballocation requests", () => {
const gitRequest = requests.find((entry) => entry.kind === "git-worktree");
assert.ok(gitRequest);
assert.equal(typeof gitRequest.options?.rootDirectory, "string");
assert.equal(gitRequest.options?.targetPath, "src/agents");
const portRequest = requests.find((entry) => entry.kind === "port-range");
assert.ok(portRequest);