docs: Split unified renderer_guide.md into core_sdk_spec.md, framework_adapter_spec.md, and sdks_spec.md for v0.9.1 and v1.0#1608
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a major restructuring of the A2UI documentation by splitting the architecture into a 'Core SDK Specification' and a 'Framework Adapter Specification'. It updates the documentation to reflect these changes, including updated agent implementation guides and cross-references. The review comments identified several broken path references in the documentation that pointed to the wrong version directory (v0_9 instead of v0_9_1). These have been noted for correction.
| - `specification/v0_9/json/server_to_client.json` (message envelopes) | ||
| - `specification/v0_9/json/catalogs/minimal/minimal_catalog.json` (your initial target) | ||
| - `specification/v0_9/docs/basic_catalog_implementation_guide.md` (for rendering and spacing rules for when you get to the basic catalog) | ||
| - `specification/v0_9/docs/basic_catalog_implementation_guide.md` (for functional specs and spacing rules for when you get to the basic catalog) |
There was a problem hiding this comment.
The path reference uses v0_9 instead of v0_9_1. Since this file is located under the specification/v0_9_1/ directory, all references to the specification paths in this section (including lines 517–520) should be updated to use v0_9_1 to ensure consistency and prevent broken links.
| - `specification/v0_9/docs/basic_catalog_implementation_guide.md` (for functional specs and spacing rules for when you get to the basic catalog) | |
| - specification/v0_9_1/docs/basic_catalog_implementation_guide.md (for functional specs and spacing rules for when you get to the basic catalog) |
| Thoroughly review: | ||
|
|
||
| - [A2UI Core SDK Specification](core_sdk_spec.md) (for state and message structures). | ||
| - `specification/v0_9/docs/basic_catalog_implementation_guide.md` (for rendering, typography, alignment, and spacing rules). |
There was a problem hiding this comment.
The path reference uses v0_9 instead of v0_9_1. Since this specification is for version v0.9.1 and resides in the specification/v0_9_1/ directory, the path should be updated to point to v0_9_1.
| - `specification/v0_9/docs/basic_catalog_implementation_guide.md` (for rendering, typography, alignment, and spacing rules). | |
| - specification/v0_9_1/docs/basic_catalog_implementation_guide.md (for rendering, typography, alignment, and spacing rules). |
|
|
||
| Build the Gallery App following the requirements in **Section 7**. | ||
|
|
||
| - Load JSON samples from `specification/v0_9/json/catalogs/minimal/examples/`. |
There was a problem hiding this comment.
The path reference uses v0_9 instead of v0_9_1. Update the path to use v0_9_1 to match the correct directory structure for this version.
| - Load JSON samples from `specification/v0_9/json/catalogs/minimal/examples/`. | |
| - Load JSON samples from specification/v0_9_1/json/catalogs/minimal/examples/. |
|
|
||
| - **Framework Library**: Implement all remaining UI widgets and traits (such as `Checkable`). | ||
| - **Tests**: Formulate and run comprehensive unit and integration test cases to verify static rendering, layout alignment, two-way bindings, and scoped actions. | ||
| - Update the Gallery App to load samples from `specification/v0_9/json/catalogs/basic/examples/`. |
There was a problem hiding this comment.
The path reference uses v0_9 instead of v0_9_1. Update the path to use v0_9_1 to match the correct directory structure for this version.
| - Update the Gallery App to load samples from `specification/v0_9/json/catalogs/basic/examples/`. | |
| - Update the Gallery App to load samples from specification/v0_9_1/json/catalogs/basic/examples/. |
Description of Changes
This Pull Request restructures and splits the unified, single-file
renderer_guide.mdinto three highly focused, modular specifications across both versionv0.9.1andv1.0folders:sdks_spec.md(Unified SDK Architecture): Focuses on the global ecosystem and layout:core_sdk_spec.md(A2UI Core SDK Specification): Focuses strictly on programmatic, framework-agnostic data and state management:ComponentApi,SurfaceModel,ComponentContext).MessageProcessor.formatString).framework_adapter_spec.md(A2UI Framework Adapter Specification): Focuses on visual presentation, lifecycle mapping, and UI testing:ComponentImplementationfunctional/stateful hooks,ComponentInstance, andSurfaceroot views).Checkabletraits) and visual catalogue overrides.Additionally, the workspace navigation instructions in
.agents/skills/a2ui-sdk-design/SKILL.mdhave been updated to map to the new files.Rationale
By moving from a dual-layered layout to a strict three-tiered layout (Core, Inference, Framework Adapters), A2UI achieves:
sdks_spec.md) from concrete, programmatic state layers (core_sdk_spec.md) and platform-native UI renderers (framework_adapter_spec.md).Testing/Running Instructions
Reviewers can verify the changes by doing the following:
core_sdk_spec.md,framework_adapter_spec.md, andsdks_spec.mdexist under bothspecification/v0_9_1/docs/andspecification/v1_0/docs/, and that the legacyrenderer_guide.mdfiles have been correctly deleted..agents/skills/a2ui-sdk-design/SKILL.mdto confirm the navigation points correctly to the split specs.