Remove legacy orchestration and MCP aliases; reroute recursive pipeline API
This commit is contained in:
@@ -117,3 +117,22 @@ test("rejects relationship cycles", () => {
|
||||
|
||||
assert.throws(() => parseAgentManifest(manifest), /Relationship graph must be acyclic/);
|
||||
});
|
||||
|
||||
test("rejects legacy edge trigger aliases", () => {
|
||||
const manifest = validManifest() as {
|
||||
pipeline: {
|
||||
edges: Array<{ from: string; to: string; on: string }>;
|
||||
};
|
||||
};
|
||||
|
||||
manifest.pipeline.edges[0] = {
|
||||
from: "product-node",
|
||||
to: "coder-node",
|
||||
on: "onValidationFail",
|
||||
};
|
||||
|
||||
assert.throws(
|
||||
() => parseAgentManifest(manifest),
|
||||
/unsupported event "onValidationFail"/,
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user