Add configurable worktree target path and session run diagnostics
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user