@adia-ai/a2ui-validator 0.7.23 → 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,16 @@
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
+
9
+ ## [0.7.24] — 2026-07-01
10
+
11
+ ### Maintenance
12
+ - **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.7.24 work shipped in @adia-ai/web-components upstream consumer findings F1/F2/F4/F5/F6 — icon-ui fail-loud registry wiring, @phosphor-icons/core direct dep, custom-elements.json de-fabrication, new display-field-ui primitive, table-ui rowExpandable per-row gate. See `packages/web-components/CHANGELOG.md#0724--2026-07-01` for details.
13
+
3
14
  ## [0.7.23] — 2026-06-30
4
15
 
5
16
  ### Maintenance
@@ -312,7 +323,7 @@
312
323
  ## [0.6.15] — 2026-05-21
313
324
 
314
325
  ### Maintenance
315
- - **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.
316
327
 
317
328
  ## [0.6.14] — 2026-05-21
318
329
 
@@ -609,14 +620,14 @@ Internal `@adia-ai/*` dep ranges stay at `^0.4.0` (patch-cut asymmetry — `^0.4
609
620
 
610
621
  ### Added
611
622
 
612
- - **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):
613
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`.
614
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).
615
626
  - 18 unit tests covering registry hygiene, regex match against 6 dominant intents, clean-pass / clean-fail / partial-verdict scoring, nested A2UI tree traversal.
616
627
 
617
628
  ### Changed
618
629
 
619
- - 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).
620
631
 
621
632
  ### Notes
622
633
 
@@ -645,7 +656,7 @@ Lockstep version bump only — source byte-identical to v0.3.4. Internal `@adia-
645
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.
646
657
  ## [0.3.3] - 2026-05-07
647
658
 
648
- **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).
649
660
 
650
661
  ### Changed
651
662
 
@@ -658,7 +669,7 @@ Lockstep version bump only — source byte-identical to v0.3.3. Internal `@adia-
658
669
  ## [0.3.2] - 2026-05-06
659
670
 
660
671
  **9-package lockstep patch cut to v0.3.2.** All lockstep members share
661
- 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).
662
673
  Internal `@adia-ai/*` dep ranges unchanged at `^0.3.0`.
663
674
 
664
675
  ### No source changes
@@ -671,7 +682,7 @@ version only.
671
682
  - `version`: `0.3.1` → `0.3.2`.
672
683
  ## [0.3.1] - 2026-05-06
673
684
 
674
- **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).
675
686
 
676
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).
677
688
 
@@ -681,7 +692,7 @@ This package itself ships **no source changes** in v0.3.1. The cut bumps version
681
692
  - Internal `@adia-ai/*` dep ranges: unchanged at `^0.3.0` (covers `0.3.1` under semver — patch-cut asymmetry).
682
693
  ## [0.3.0] - 2026-05-05
683
694
 
684
- **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`.
685
696
 
686
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.
687
698
 
@@ -693,9 +704,9 @@ This package itself ships **no source changes** in v0.3.0. The cut bumps version
693
704
  - `version`: `0.2.5` → `0.3.0`.
694
705
  ## [0.2.5] - 2026-05-04
695
706
 
696
- **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).
697
708
 
698
- 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.
699
710
 
700
711
  ### Changed
701
712
 
@@ -703,7 +714,7 @@ This is a **patch cut on top of v0.2.4, no BREAKING changes.** Substantive conte
703
714
  - Internal `@adia-ai/*` dep ranges: unchanged at `^0.2.0` (covers `0.2.5` under semver — patch-cut asymmetry).
704
715
  ## [0.2.4] - 2026-05-04
705
716
 
706
- **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).
707
718
 
708
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.
709
720
 
@@ -723,7 +734,7 @@ _Nothing yet._
723
734
 
724
735
  **Lockstep cut.** All 8 published `@adia-ai/*` packages bump
725
736
  0.2.2 → 0.2.3 per
726
- [`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).
727
738
  Patch cut — no breaking changes.
728
739
 
729
740
  ### Changed
@@ -735,7 +746,7 @@ Patch cut — no breaking changes.
735
746
  `@adia-ai/a2ui-validator` source is byte-identical to `0.2.2`. The cut bumps version only.
736
747
  ## [0.2.2] - 2026-05-02
737
748
 
738
- **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.
739
750
 
740
751
  ### Changed
741
752
 
@@ -748,7 +759,7 @@ Patch cut — no breaking changes.
748
759
  ---
749
760
  ## [0.2.1] - 2026-05-02
750
761
 
751
- **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.
752
763
 
753
764
  ### Changed
754
765
 
@@ -762,8 +773,8 @@ Patch cut — no breaking changes.
762
773
  ## [0.2.0] - 2026-05-02
763
774
 
764
775
  **Lockstep cut.** All 8 published `@adia-ai/*` packages now share one
765
- version, governed by [`docs/specs/package-architecture.md` § 15
766
- (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).
767
778
 
768
779
  ### Changed
769
780
 
@@ -795,7 +806,7 @@ consolidation.
795
806
  - **Semantic validator** (`semantic/`) — optional LLM-judged rubric
796
807
  scoring in shadow mode. Disk-cached by content hash; gated behind
797
808
  `--semantic` flag in `eval-diff.mjs`. See
798
- [`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).
799
810
 
800
811
  ### Dependencies
801
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.23",
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
  *