@adia-ai/a2ui-validator 0.7.24 → 0.7.26
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 +27 -16
- package/README.md +3 -3
- package/package.json +1 -1
- package/semantic/classify-intent.js +1 -1
- package/semantic/index.js +1 -1
- package/semantic/intent-specs.js +1 -1
- package/semantic/judge.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog — @adia-ai/a2ui-validator
|
|
2
2
|
|
|
3
|
+
## [0.7.26] — 2026-07-04
|
|
4
|
+
|
|
5
|
+
### Maintenance
|
|
6
|
+
- **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.26 work shipped in variant="outline" retired as the reach-for-secondary generation-time habit. See `packages/a2ui/compose/CHANGELOG.md#unreleased` for details.
|
|
7
|
+
|
|
8
|
+
## [0.7.25] — 2026-07-03
|
|
9
|
+
|
|
10
|
+
### Maintenance
|
|
11
|
+
- **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.
|
|
12
|
+
- **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.
|
|
13
|
+
|
|
3
14
|
## [0.7.24] — 2026-07-01
|
|
4
15
|
|
|
5
16
|
### Maintenance
|
|
@@ -317,7 +328,7 @@
|
|
|
317
328
|
## [0.6.15] — 2026-05-21
|
|
318
329
|
|
|
319
330
|
### 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.
|
|
331
|
+
- **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
332
|
|
|
322
333
|
## [0.6.14] — 2026-05-21
|
|
323
334
|
|
|
@@ -614,14 +625,14 @@ Internal `@adia-ai/*` dep ranges stay at `^0.4.0` (patch-cut asymmetry — `^0.4
|
|
|
614
625
|
|
|
615
626
|
### Added
|
|
616
627
|
|
|
617
|
-
- **Semantic-validator Phase 3 foundation** (per [docs/specs/semantic-validator.md](
|
|
628
|
+
- **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
629
|
- `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
630
|
- `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
631
|
- 18 unit tests covering registry hygiene, regex match against 6 dominant intents, clean-pass / clean-fail / partial-verdict scoring, nested A2UI tree traversal.
|
|
621
632
|
|
|
622
633
|
### Changed
|
|
623
634
|
|
|
624
|
-
- Spec status updated in
|
|
635
|
+
- 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
636
|
|
|
626
637
|
### Notes
|
|
627
638
|
|
|
@@ -650,7 +661,7 @@ Lockstep version bump only — source byte-identical to v0.3.4. Internal `@adia-
|
|
|
650
661
|
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
662
|
## [0.3.3] - 2026-05-07
|
|
652
663
|
|
|
653
|
-
**Lockstep cut.** All 9 published `@adia-ai/*` packages now share version `0.3.3`, governed by [
|
|
664
|
+
**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
665
|
|
|
655
666
|
### Changed
|
|
656
667
|
|
|
@@ -663,7 +674,7 @@ Lockstep version bump only — source byte-identical to v0.3.3. Internal `@adia-
|
|
|
663
674
|
## [0.3.2] - 2026-05-06
|
|
664
675
|
|
|
665
676
|
**9-package lockstep patch cut to v0.3.2.** All lockstep members share
|
|
666
|
-
one version per [
|
|
677
|
+
one version per [`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy).
|
|
667
678
|
Internal `@adia-ai/*` dep ranges unchanged at `^0.3.0`.
|
|
668
679
|
|
|
669
680
|
### No source changes
|
|
@@ -676,7 +687,7 @@ version only.
|
|
|
676
687
|
- `version`: `0.3.1` → `0.3.2`.
|
|
677
688
|
## [0.3.1] - 2026-05-06
|
|
678
689
|
|
|
679
|
-
**9-package lockstep patch cut.** All 9 published `@adia-ai/*` packages bump 0.3.0 → 0.3.1 per [
|
|
690
|
+
**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
691
|
|
|
681
692
|
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
693
|
|
|
@@ -686,7 +697,7 @@ This package itself ships **no source changes** in v0.3.1. The cut bumps version
|
|
|
686
697
|
- Internal `@adia-ai/*` dep ranges: unchanged at `^0.3.0` (covers `0.3.1` under semver — patch-cut asymmetry).
|
|
687
698
|
## [0.3.0] - 2026-05-05
|
|
688
699
|
|
|
689
|
-
**9-package lockstep cut.** All 9 published `@adia-ai/*` packages bump 0.2.5 → 0.3.0 per [
|
|
700
|
+
**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
701
|
|
|
691
702
|
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
703
|
|
|
@@ -698,9 +709,9 @@ This package itself ships **no source changes** in v0.3.0. The cut bumps version
|
|
|
698
709
|
- `version`: `0.2.5` → `0.3.0`.
|
|
699
710
|
## [0.2.5] - 2026-05-04
|
|
700
711
|
|
|
701
|
-
**8-package lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.4 → 0.2.5 per [
|
|
712
|
+
**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
713
|
|
|
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
|
|
714
|
+
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
715
|
|
|
705
716
|
### Changed
|
|
706
717
|
|
|
@@ -708,7 +719,7 @@ This is a **patch cut on top of v0.2.4, no BREAKING changes.** Substantive conte
|
|
|
708
719
|
- Internal `@adia-ai/*` dep ranges: unchanged at `^0.2.0` (covers `0.2.5` under semver — patch-cut asymmetry).
|
|
709
720
|
## [0.2.4] - 2026-05-04
|
|
710
721
|
|
|
711
|
-
**8-package lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.3 → 0.2.4 per [
|
|
722
|
+
**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
723
|
|
|
713
724
|
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
725
|
|
|
@@ -728,7 +739,7 @@ _Nothing yet._
|
|
|
728
739
|
|
|
729
740
|
**Lockstep cut.** All 8 published `@adia-ai/*` packages bump
|
|
730
741
|
0.2.2 → 0.2.3 per
|
|
731
|
-
[
|
|
742
|
+
[`.claude/docs/specs/package-architecture.md` § 15](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy).
|
|
732
743
|
Patch cut — no breaking changes.
|
|
733
744
|
|
|
734
745
|
### Changed
|
|
@@ -740,7 +751,7 @@ Patch cut — no breaking changes.
|
|
|
740
751
|
`@adia-ai/a2ui-validator` source is byte-identical to `0.2.2`. The cut bumps version only.
|
|
741
752
|
## [0.2.2] - 2026-05-02
|
|
742
753
|
|
|
743
|
-
**Lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.1 → 0.2.2 per [
|
|
754
|
+
**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
755
|
|
|
745
756
|
### Changed
|
|
746
757
|
|
|
@@ -753,7 +764,7 @@ Patch cut — no breaking changes.
|
|
|
753
764
|
---
|
|
754
765
|
## [0.2.1] - 2026-05-02
|
|
755
766
|
|
|
756
|
-
**Lockstep cut.** All 8 published `@adia-ai/*` packages bump 0.2.0 → 0.2.1 per [
|
|
767
|
+
**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
768
|
|
|
758
769
|
### Changed
|
|
759
770
|
|
|
@@ -767,8 +778,8 @@ Patch cut — no breaking changes.
|
|
|
767
778
|
## [0.2.0] - 2026-05-02
|
|
768
779
|
|
|
769
780
|
**Lockstep cut.** All 8 published `@adia-ai/*` packages now share one
|
|
770
|
-
version, governed by [
|
|
771
|
-
(Versioning Policy)](
|
|
781
|
+
version, governed by [`.claude/docs/specs/package-architecture.md` § 15
|
|
782
|
+
(Versioning Policy)](../../../.claude/docs/specs/package-architecture.md#15-versioning-policy).
|
|
772
783
|
|
|
773
784
|
### Changed
|
|
774
785
|
|
|
@@ -800,7 +811,7 @@ consolidation.
|
|
|
800
811
|
- **Semantic validator** (`semantic/`) — optional LLM-judged rubric
|
|
801
812
|
scoring in shadow mode. Disk-cached by content hash; gated behind
|
|
802
813
|
`--semantic` flag in `eval-diff.mjs`. See
|
|
803
|
-
[
|
|
814
|
+
[`.claude/docs/specs/semantic-validator.md`](https://github.com/adiahealth/gen-ui-kit/blob/main/docs/specs/semantic-validator.md).
|
|
804
815
|
|
|
805
816
|
### Dependencies
|
|
806
817
|
|
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`](
|
|
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: [
|
|
100
|
-
- Audit: [
|
|
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.
|
|
3
|
+
"version": "0.7.26",
|
|
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",
|
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:
|
package/semantic/intent-specs.js
CHANGED
|
@@ -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
|
*
|