@adia-ai/a2ui-validator 0.7.24 → 0.7.25

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog — @adia-ai/a2ui-validator
2
2
 
3
+ ## [0.7.25] — 2026-07-03
4
+
5
+ ### Maintenance
6
+ - **Lockstep version bump.** No functional source changes; bumped to maintain the 9-package version coherence enforced by `scripts/release/check-lockstep.mjs`. Substantive v0.7.25 work shipped in accordion-ui variant="flat|contained" posture + 2 footnote fixes + keyboard a11y. See `packages/web-components/CHANGELOG.md#0725--2026-07-03` for details.
7
+ - **Doc-comment path references corrected** (`docs/specs/...` → `.claude/docs/specs/...`) across `semantic/` (`classify-intent.js`, `index.js`, `intent-specs.js`, `judge.js`) — propagated from the repo-wide `docs/` → `.claude/docs/` migration (2026-07-01); no functional change.
8
+
3
9
  ## [0.7.24] — 2026-07-01
4
10
 
5
11
  ### Maintenance
@@ -317,7 +323,7 @@
317
323
  ## [0.6.15] — 2026-05-21
318
324
 
319
325
  ### Maintenance
320
- - **Lockstep version bump only.** No source changes in this package; bumped to maintain the 9-package version coherence enforced by `scripts/release/check-lockstep.mjs`. Substantive v0.6.15 work shipped in `@adia-ai/web-components` — `installIconLoaders` shape-detects malformed flat globs (FB-07 auto-promote + warn), `icons-phosphor.js` surfaces silent-fail diagnostics (FB-08), and docs/skill examples corrected (FB-09). See `packages/web-components/CHANGELOG.md#0615--2026-05-21` for details.
326
+ - **Lockstep version bump only.** No source changes in this package; bumped to maintain the 9-package version coherence enforced by `scripts/release/check-lockstep.mjs`. Substantive v0.6.15 work shipped in `@adia-ai/web-components` — `installIconLoaders` shape-detects malformed flat globs (FB-07 auto-promote + warn), `icons-phosphor.js` surfaces silent-fail diagnostics (FB-08), and .claude/docs/skill examples corrected (FB-09). See `packages/web-components/CHANGELOG.md#0615--2026-05-21` for details.
321
327
 
322
328
  ## [0.6.14] — 2026-05-21
323
329
 
@@ -614,14 +620,14 @@ Internal `@adia-ai/*` dep ranges stay at `^0.4.0` (patch-cut asymmetry — `^0.4
614
620
 
615
621
  ### Added
616
622
 
617
- - **Semantic-validator Phase 3 foundation** (per [docs/specs/semantic-validator.md](../../../docs/specs/semantic-validator.md) § Phase 3 — rule-based fast-path):
623
+ - **Semantic-validator Phase 3 foundation** (per [.claude/docs/specs/semantic-validator.md](../../../.claude/docs/specs/semantic-validator.md) § Phase 3 — rule-based fast-path):
618
624
  - `semantic/intent-specs.js` — registry of 10 `IntentSpec` entries covering dominant intent classes: `auth.signup`, `auth.signin`, `auth.password-reset`, `dashboard.analytics`, `data-table.list`, `form.settings`, `form.contact`, `chat.conversation`, `commerce.cart`, `errors.not-found`.
619
625
  - `semantic/classify-intent.js` — `classifyIntent()` regex classifier + `scoreAgainstSpec()` deterministic A2UI-tree scorer. Returns rule verdict with certainty 0..1 (≥ 0.9 = LLM-skip eligible per spec § 3c hybrid).
620
626
  - 18 unit tests covering registry hygiene, regex match against 6 dominant intents, clean-pass / clean-fail / partial-verdict scoring, nested A2UI tree traversal.
621
627
 
622
628
  ### Changed
623
629
 
624
- - Spec status updated in `docs/specs/semantic-validator.md` to reflect Phase 3 foundation shipped (NOT yet wired into `validateSemantics()` — integration deferred until shadow-compare runs prove ≥ 95% agreement with LLM judge).
630
+ - Spec status updated in `.claude/docs/specs/semantic-validator.md` to reflect Phase 3 foundation shipped (NOT yet wired into `validateSemantics()` — integration deferred until shadow-compare runs prove ≥ 95% agreement with LLM judge).
625
631
 
626
632
  ### Notes
627
633
 
@@ -650,7 +656,7 @@ Lockstep version bump only — source byte-identical to v0.3.4. Internal `@adia-
650
656
  Lockstep version bump only — source byte-identical to v0.3.3. Internal `@adia-ai/*` dep ranges remain at `^0.3.0`. See root [CHANGELOG.md `## [0.3.4]`](../../../CHANGELOG.md) for the cut narrative.
651
657
  ## [0.3.3] - 2026-05-07
652
658
 
653
- **Lockstep cut.** All 9 published `@adia-ai/*` packages now share version `0.3.3`, governed by [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy).
659
+ **Lockstep cut.** All 9 published `@adia-ai/*` packages now share version `0.3.3`, governed by [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy).
654
660
 
655
661
  ### Changed
656
662
 
@@ -663,7 +669,7 @@ Lockstep version bump only — source byte-identical to v0.3.3. Internal `@adia-
663
669
  ## [0.3.2] - 2026-05-06
664
670
 
665
671
  **9-package lockstep patch cut to v0.3.2.** All lockstep members share
666
- one version per [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy).
672
+ one version per [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy).
667
673
  Internal `@adia-ai/*` dep ranges unchanged at `^0.3.0`.
668
674
 
669
675
  ### No source changes
@@ -676,7 +682,7 @@ version only.
676
682
  - `version`: `0.3.1` → `0.3.2`.
677
683
  ## [0.3.1] - 2026-05-06
678
684
 
679
- **9-package lockstep patch cut.** All 9 published `@adia-ai/*` packages bump 0.3.0 → 0.3.1 per [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` dep ranges remain at `^0.3.0` (covers `0.3.1` under semver — patch-cut asymmetry).
685
+ **9-package lockstep patch cut.** All 9 published `@adia-ai/*` packages bump 0.3.0 → 0.3.1 per [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` dep ranges remain at `^0.3.0` (covers `0.3.1` under semver — patch-cut asymmetry).
680
686
 
681
687
  This package itself ships **no source changes** in v0.3.1. The cut bumps version only — substantive content lives in [`@adia-ai/web-components`](https://github.com/adiahealth/gen-ui-kit/releases/tag/web-components-v0.3.1) (folder-per-trait restructure; barrel API unchanged).
682
688
 
@@ -686,7 +692,7 @@ This package itself ships **no source changes** in v0.3.1. The cut bumps version
686
692
  - Internal `@adia-ai/*` dep ranges: unchanged at `^0.3.0` (covers `0.3.1` under semver — patch-cut asymmetry).
687
693
  ## [0.3.0] - 2026-05-05
688
694
 
689
- **9-package lockstep cut.** All 9 published `@adia-ai/*` packages bump 0.2.5 → 0.3.0 per [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` dep ranges bump `^0.2.0` → `^0.3.0`.
695
+ **9-package lockstep cut.** All 9 published `@adia-ai/*` packages bump 0.2.5 → 0.3.0 per [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` dep ranges bump `^0.2.0` → `^0.3.0`.
690
696
 
691
697
  The lockstep policy expanded from 8 to 9 packages with this cut — `@adia-ai/llm` joins as a 9th member, and `@adia-ai/a2ui-utils` was renamed to `@adia-ai/a2ui-runtime`. This package's `dependencies` updated accordingly.
692
698
 
@@ -698,9 +704,9 @@ This package itself ships **no source changes** in v0.3.0. The cut bumps version
698
704
  - `version`: `0.2.5` → `0.3.0`.
699
705
  ## [0.2.5] - 2026-05-04
700
706
 
701
- **8-package lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.4 → 0.2.5 per [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` dep ranges remain at `^0.2.0` (covers 0.2.5 under semver — patch-cut asymmetry).
707
+ **8-package lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.4 → 0.2.5 per [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` dep ranges remain at `^0.2.0` (covers 0.2.5 under semver — patch-cut asymmetry).
702
708
 
703
- This is a **patch cut on top of v0.2.4, no BREAKING changes.** Substantive content lives in `web-components` (new `<fields-ui>` form-grid primitive + `draggable-list-item` last-item drop-zone fix, both surfaced by the Tasks UI Playground at `docs/projects/tasks-playground/`); `a2ui-corpus` ships a catalog regen for the new `<fields-ui>` yaml. `a2ui-validator` rides along at version bump only — no source change.
709
+ This is a **patch cut on top of v0.2.4, no BREAKING changes.** Substantive content lives in `web-components` (new `<fields-ui>` form-grid primitive + `draggable-list-item` last-item drop-zone fix, both surfaced by the Tasks UI Playground at `.claude/docs/projects/tasks-playground/`); `a2ui-corpus` ships a catalog regen for the new `<fields-ui>` yaml. `a2ui-validator` rides along at version bump only — no source change.
704
710
 
705
711
  ### Changed
706
712
 
@@ -708,7 +714,7 @@ This is a **patch cut on top of v0.2.4, no BREAKING changes.** Substantive conte
708
714
  - Internal `@adia-ai/*` dep ranges: unchanged at `^0.2.0` (covers `0.2.5` under semver — patch-cut asymmetry).
709
715
  ## [0.2.4] - 2026-05-04
710
716
 
711
- **8-package lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.3 → 0.2.4 per [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` dep ranges remain at `^0.2.0` (covers 0.2.4 under semver — patch-cut asymmetry).
717
+ **8-package lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.3 → 0.2.4 per [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy). Internal `@adia-ai/*` dep ranges remain at `^0.2.0` (covers 0.2.4 under semver — patch-cut asymmetry).
712
718
 
713
719
  This is a **patch cut on top of v0.2.3, no BREAKING changes.** Substantive content lives in `web-components` (Tier 4 trait library lift, 11 new traits + 2 architectural rewrites, plus accumulated bug fixes); `a2ui-corpus` ships a catalog regen for the new `<demo-toggle-ui>` primitive. Six packages ride along at version + dep-range bump.
714
720
 
@@ -728,7 +734,7 @@ _Nothing yet._
728
734
 
729
735
  **Lockstep cut.** All 8 published `@adia-ai/*` packages bump
730
736
  0.2.2 → 0.2.3 per
731
- [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy).
737
+ [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy).
732
738
  Patch cut — no breaking changes.
733
739
 
734
740
  ### Changed
@@ -740,7 +746,7 @@ Patch cut — no breaking changes.
740
746
  `@adia-ai/a2ui-validator` source is byte-identical to `0.2.2`. The cut bumps version only.
741
747
  ## [0.2.2] - 2026-05-02
742
748
 
743
- **Lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.1 → 0.2.2 per [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy). Patch cut — no breaking changes.
749
+ **Lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.1 → 0.2.2 per [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy). Patch cut — no breaking changes.
744
750
 
745
751
  ### Changed
746
752
 
@@ -753,7 +759,7 @@ Patch cut — no breaking changes.
753
759
  ---
754
760
  ## [0.2.1] - 2026-05-02
755
761
 
756
- **Lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.0 → 0.2.1 per [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy). Patch cut — no breaking changes.
762
+ **Lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.0 → 0.2.1 per [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy). Patch cut — no breaking changes.
757
763
 
758
764
  ### Changed
759
765
 
@@ -767,8 +773,8 @@ Patch cut — no breaking changes.
767
773
  ## [0.2.0] - 2026-05-02
768
774
 
769
775
  **Lockstep cut.** All 8 published `@adia-ai/*` packages now share one
770
- version, governed by [`docs/specs/package-architecture.md` § 15
771
- (Versioning Policy)](../../../docs/specs/package-architecture.md#15-versioning-policy).
776
+ version, governed by [`.claude/docs/specs/package-architecture.md` § 15
777
+ (Versioning Policy)](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy).
772
778
 
773
779
  ### Changed
774
780
 
@@ -800,7 +806,7 @@ consolidation.
800
806
  - **Semantic validator** (`semantic/`) — optional LLM-judged rubric
801
807
  scoring in shadow mode. Disk-cached by content hash; gated behind
802
808
  `--semantic` flag in `eval-diff.mjs`. See
803
- [`docs/specs/semantic-validator.md`](https://github.com/adiahealth/gen-ui-kit/blob/main/docs/specs/semantic-validator.md).
809
+ [`.claude/docs/specs/semantic-validator.md`](https://github.com/adiahealth/gen-ui-kit/blob/main/docs/specs/semantic-validator.md).
804
810
 
805
811
  ### Dependencies
806
812
 
package/README.md CHANGED
@@ -85,7 +85,7 @@ score) and sum to 13: `wiringControllersExist` (3), `wiringHostsExist`
85
85
  `dominantPattern` (0.5 weight) + `requiredCapabilities` (0.35) +
86
86
  `forbiddenNoise` (0.15). Combined-gating opt-in via
87
87
  `--gate-mode combined` to the eval harness.
88
- - **Phases 3–5** — planned per [`semantic-validator.md`](../../../docs/specs/semantic-validator.md):
88
+ - **Phases 3–5** — planned per [`semantic-validator.md`](../../../.claude/docs/specs/semantic-validator.md):
89
89
  rubric expansion, persisted per-intent thresholds, and judge
90
90
  ensembling.
91
91
 
@@ -96,7 +96,7 @@ score) and sum to 13: `wiringControllersExist` (3), `wiringHostsExist`
96
96
 
97
97
  ## Related
98
98
 
99
- - Spec: [`docs/specs/semantic-validator.md`](../../../docs/specs/semantic-validator.md) — canonical design narrative
100
- - Audit: [`docs/reports/audit-validator-2026-05-06.md`](../../../docs/reports/audit-validator-2026-05-06.md) — 226-line deep-dive with check-by-check rationale + recalibration notes
99
+ - Spec: [`.claude/docs/specs/semantic-validator.md`](../../../.claude/docs/specs/semantic-validator.md) — canonical design narrative
100
+ - Audit: [`.claude/docs/reports/audit-validator-2026-05-06.md`](../../../.claude/docs/reports/audit-validator-2026-05-06.md) — 226-line deep-dive with check-by-check rationale + recalibration notes
101
101
  - Repo: [`adiahealth/gen-ui-kit`](https://github.com/adiahealth/gen-ui-kit)
102
102
  - CHANGELOG: [`CHANGELOG.md`](./CHANGELOG.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/a2ui-validator",
3
- "version": "0.7.24",
3
+ "version": "0.7.25",
4
4
  "description": "AdiaUI A2UI validator \u2014 JSON Schema structural validation plus catalog-aware semantic validation (component exists, props match YAML). Split out from the compose engine so non-compose tooling (tests, MCP validator tools, CI gates) can depend on validation without pulling the whole generator graph.",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Intent classifier — Phase 3 kickoff (semantic-validator)
3
3
  *
4
- * Spec: docs/specs/semantic-validator.md § Phase 3
4
+ * Spec: .claude/docs/specs/semantic-validator.md § Phase 3
5
5
  *
6
6
  * Two-stage classification:
7
7
  *
package/semantic/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Semantic validator — public API (Phase 1: LLM-only, shadow mode).
3
3
  *
4
- * See docs/specs/semantic-validator.md §5.2 for the SemanticVerdict shape.
4
+ * See .claude/docs/specs/semantic-validator.md §5.2 for the SemanticVerdict shape.
5
5
  * Phase 1: LLM-judge only. Hybrid rule path is Phase 3.
6
6
  *
7
7
  * Usage:
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * IntentSpec Registry — Phase 3 kickoff (semantic-validator)
3
3
  *
4
- * Spec: docs/specs/semantic-validator.md § 5.1, § Phase 3
4
+ * Spec: .claude/docs/specs/semantic-validator.md § 5.1, § Phase 3
5
5
  *
6
6
  * An IntentSpec is a deterministic recipe for one common intent class.
7
7
  * The classify-intent.js classifier matches user prompts against these
package/semantic/judge.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * LLM judge for semantic A2UI validation (Phase 1: Anthropic only).
3
3
  *
4
- * Implements the rubric from docs/specs/semantic-validator.md §4 (recommendation
4
+ * Implements the rubric from .claude/docs/specs/semantic-validator.md §4 (recommendation
5
5
  * is pure 3a LLM-judge as first phase). Provider-agnostic shape per §5.3;
6
6
  * only Anthropic wired here.
7
7
  *