@sweny-ai/core 0.1.58 → 0.1.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -410,7 +410,7 @@ describe("validateWorkflow", () => {
410
410
  // ─── JSON Schema shape tests ─────────────────────────────────────
411
411
  describe("workflowJsonSchema", () => {
412
412
  it("has the correct $id", () => {
413
- expect(workflowJsonSchema.$id).toBe("https://sweny.ai/schemas/workflow.json");
413
+ expect(workflowJsonSchema.$id).toBe("https://spec.sweny.ai/schemas/workflow.json");
414
414
  });
415
415
  it("requires all top-level fields", () => {
416
416
  expect(workflowJsonSchema.required).toContain("id");
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Spec Conformance Tests
3
+ *
4
+ * These tests validate that the @sweny-ai/core implementation conforms to the
5
+ * SWEny Workflow Specification v1.0 (spec.sweny.ai). Each test references
6
+ * the relevant spec section.
7
+ *
8
+ * Sections covered:
9
+ * - Workflow structural validation
10
+ * - Node input augmentation (rules, context, skill instructions)
11
+ * - Edge routing algorithm
12
+ * - Dry-run semantics
13
+ * - Execution events ordering
14
+ * - Execution trace structure
15
+ * - Source resolution
16
+ * - JSON Schema correctness
17
+ */
18
+ export {};