From f86adcfcd125a4ca02d50f61a65c07beb4c5248b Mon Sep 17 00:00:00 2001 From: Agent IX Date: Sun, 21 Jun 2026 13:04:28 -0700 Subject: [PATCH] schemas: allow mixed-case ids for Plan/Task archetypes The Plan/Task id_pattern defaults are Plan-{next:03d} / Task-{next:03d} (mixed case), but the frontmatter schemas required ^[A-Z]{2,4}-[0-9]+$ (uppercase only), so a documented `Plan-001` / `Task-001` id failed structural validation. Loosen both regexes to ^[A-Za-z]{2,4}-[0-9]+$ so the id_pattern defaults validate. Unblocks quire-validatable plan bundles (Plan + Task) from spec-to-plan. Co-Authored-By: Claude Opus 4.8 (1M context) --- spec_artifacts_process/schemas/plan-frontmatter.schema.json | 2 +- spec_artifacts_process/schemas/task-frontmatter.schema.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec_artifacts_process/schemas/plan-frontmatter.schema.json b/spec_artifacts_process/schemas/plan-frontmatter.schema.json index 7d8ec86..2c7a7af 100644 --- a/spec_artifacts_process/schemas/plan-frontmatter.schema.json +++ b/spec_artifacts_process/schemas/plan-frontmatter.schema.json @@ -10,7 +10,7 @@ "properties": { "id": { "type": "string", - "pattern": "^[A-Z]{2,4}-[0-9]+$" + "pattern": "^[A-Za-z]{2,4}-[0-9]+$" }, "title": { "type": "string", diff --git a/spec_artifacts_process/schemas/task-frontmatter.schema.json b/spec_artifacts_process/schemas/task-frontmatter.schema.json index 7042cce..c1034e9 100644 --- a/spec_artifacts_process/schemas/task-frontmatter.schema.json +++ b/spec_artifacts_process/schemas/task-frontmatter.schema.json @@ -10,7 +10,7 @@ "properties": { "id": { "type": "string", - "pattern": "^[A-Z]{2,4}-[0-9]+$" + "pattern": "^[A-Za-z]{2,4}-[0-9]+$" }, "title": { "type": "string",