WAP LabsProject atlas

Work item · WML parser, deck model, and validation baseline

WML-202

Grammar, uniqueness, ordering, template inheritance, and metadata retention match effective WML 1.3 with deterministic errors.

Done

Definition of done

  • Grammar, uniqueness, ordering, template inheritance, and metadata retention match effective WML 1.3 with deterministic errors.
  • Destination access policy applies WML domain/path defaults, component-aware matching, relative-path resolution, and URL case rules against a host-supplied referring URI before a deck transition commits.
  • Root and card language metadata, card newcontext/ordered defaults, card content order, and go-only browser-context reset behavior are retained and parity-backed across native, WASM, and host boundaries.

Artifacts to create or change

  • Complete deck/head/template/card/access/meta parser model

How closure is proven

  • cargo test --manifest-path engine-wasm/engine/Cargo.toml
  • pnpm --dir browser test
  • pnpm test:story WML-202
  • node scripts/check-wap-conformance-ledger.mjs
  • node scripts/check-wap-selected-normative-clauses.mjs