Skip to content

Commit 6ec903f

Browse files
committed
test(compound-engineering): guard ce-plan autopilot wording
1 parent 53f2e65 commit 6ec903f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/autopilot-skill-contract.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ describe("autopilot skill contract", () => {
5858
expect(plan).toContain("`Engineer > Product Manager > Designer`")
5959
expect(plan).toContain("Dominant decision criteria:")
6060
expect(plan).toContain("update the manifest's `artifacts.plan_doc`")
61+
expect(plan).toContain("prefer the document whose topic and problem frame most closely match the current feature description")
62+
expect(plan).not.toContain("most recent matching document automatically")
63+
expect(plan).not.toContain("Pipeline Mode")
6164

6265
expect(deepenPlan).toContain("`Engineer > Product Manager > Designer`")
6366
expect(deepenPlan).toContain("keep the canonical decision rows in the run-scoped `decisions.md`")

0 commit comments

Comments
 (0)