From 2c82ad652754741994ce278b241bce46da26f0b2 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Sat, 17 Oct 2026 11:55:31 +0000 Subject: [PATCH] contract: accept any 0.x draft status (OpenABTest is 0.2) Co-Authored-By: Claude Opus 5.5 --- apps/logicsrc-web/contract/spec-discovery.contract.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/logicsrc-web/contract/spec-discovery.contract.test.ts b/apps/logicsrc-web/contract/spec-discovery.contract.test.ts index 55cf6cb7..56db5e39 100644 --- a/apps/logicsrc-web/contract/spec-discovery.contract.test.ts +++ b/apps/logicsrc-web/contract/spec-discovery.contract.test.ts @@ -25,7 +25,7 @@ describe.each([ it("serves the specification through its family and docs index", () => { expect(familyOfSpec(slug)?.slug).toBe(family); expect(listDocs()).toContainEqual(expect.objectContaining({ slug, title: name })); - expect(readDoc(slug)).toMatch(/Status: \*{0,2}0\.1/); + expect(readDoc(slug)).toMatch(/Status: \*{0,2}0\.\d/); }); it("includes a reachable docs URL and the full contract in the LLM feeds", async () => {