Skip to content

Commit 8434e13

Browse files
author
corbits-code
committed
test(agent-dispatch): assert workspace card matches retained in-tree card
1 parent b2957da commit 8434e13

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎src/agent/directors/dispatch/package.test.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { describe, expect, test } from "bun:test";
22

33
import { dispatchPackage } from "@corbits/agent-dispatch";
4+
import { dispatchPackage as inTreeDispatchPackage } from "./package.js";
45
import { DISPATCH_TOOLS } from "../tool-sets.js";
56
import { DIRECTOR_REGISTRY } from "../registry.js";
67
import type { DirectorPackage } from "../types.js";
@@ -32,4 +33,8 @@ describe("dispatchPackage", () => {
3233
expect(dispatchPackage.tier).toBe("orchestrator");
3334
expect(dispatchPackage.modelRole).toBe("orchestrator");
3435
});
36+
37+
test("workspace card matches retained in-tree card until removal", () => {
38+
expect(dispatchPackage.systemPrompt).toBe(inTreeDispatchPackage.systemPrompt);
39+
});
3540
});

0 commit comments

Comments
 (0)