Skip to content

feat(validation): Support A2UI v1.0 validation and nested reference path checks#1718

Merged
gspencergoog merged 18 commits into
a2ui-project:mainfrom
gspencergoog:express-pr1-validation
Jun 23, 2026
Merged

feat(validation): Support A2UI v1.0 validation and nested reference path checks#1718
gspencergoog merged 18 commits into
a2ui-project:mainfrom
gspencergoog:express-pr1-validation

Conversation

@gspencergoog

@gspencergoog gspencergoog commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR prepares the core library and validation layers for the upcoming A2UI v1.0 and Express compiler outputs. It introduces support for v1.0 schemas and enhances component reference resolution for nested slot structures.

This contains the v1.0 validation portions of #1678, with some additional issues fixed, additional tests, and refinements.

Changes

  • Validation: Added support for VERSION_1_0 to the Python SDK A2uiValidator (controlled via the A2UI_VERSION_1_0 or A2UI_EXPRESS_ENABLED environment variables).
  • Nested References: Updated catalog_schema_validator.py and node_graph.py to support RefFieldsTuple with a nested_refs mapping. This allows validation and graph resolution of component references nested inside list templates or object slots.
  • Integrity Checks: Updated integrity_checker.py to recursively validate nested reference paths without raising false-positive dangling reference errors.

Impact & Risks

None. These changes are fully backward-compatible. Legacy v0.8 and v0.9/v0.9.1 validations remain active and unchanged.

Testing

  • All existing unit tests in a2ui_core and a2ui_agent pass cleanly.
  • Added regression tests for nested component and list reference resolution.

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Greg Spencer <gspencergoog@users.noreply.github.com>
@gspencergoog gspencergoog requested a review from jiahaog June 22, 2026 17:00
@gspencergoog gspencergoog enabled auto-merge (squash) June 22, 2026 17:00
gemini-code-assist[bot]

This comment was marked as resolved.

@gspencergoog gspencergoog force-pushed the express-pr1-validation branch from a3d696e to 93031f4 Compare June 22, 2026 17:46
gemini-code-assist[bot]

This comment was marked as resolved.

@gspencergoog gspencergoog merged commit faf1255 into a2ui-project:main Jun 23, 2026
21 of 22 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in A2UI Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants