Manifest Generation Model
Semantic Manifests are generated from AXAG annotations through extraction, normalization, and serialization.
Generation Pipeline
Generation Approaches
Build-Time Extraction (Recommended)
A build plugin scans source files (HTML, JSX, TSX, Vue SFC) for axag-* attributes and generates the manifest during the build process.
Runtime Extraction
A client-side script reads axag-* attributes from the live DOM. Useful for dynamic applications where annotations are computed at runtime.
Static Analysis
An AST-based analyzer processes source files without rendering. Most reliable for CI/CD validation.
Extraction Rules
- Scan all elements with any
axag-*attribute - Group attributes by element
- Resolve context inheritance from parent elements
- Normalize parameter references
- Validate required fields per conformance level
- Serialize to manifest JSON