WAP LabsProject atlas

docs/knowledge-graph/vault/work-items/wml-202.md

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

Generated from canonical repository manifests. Do not edit this note directly.

Relationships

  • contains ← [[sprints/WML-2|WML-2]]
  • covers-family → [[source-families/wml|wml]]
  • owned-by → [[owner-layers/browser|browser]]
  • owned-by → [[owner-layers/engine-wasm|engine-wasm]]
  • owned-by → [[owner-layers/qa|qa]]
  • planned-by ← [[clauses/WML-CL-ACCESS-ABSENT-ALLOWS|WML-CL-ACCESS-ABSENT-ALLOWS]]
  • planned-by ← [[clauses/WML-CL-ACCESS-COMPONENT-MATCH|WML-CL-ACCESS-COMPONENT-MATCH]]
  • planned-by ← [[clauses/WML-CL-ACCESS-DEFAULTS|WML-CL-ACCESS-DEFAULTS]]
  • planned-by ← [[clauses/WML-CL-ACCESS-REFERRER-MATCH|WML-CL-ACCESS-REFERRER-MATCH]]
  • planned-by ← [[clauses/WML-CL-ACCESS-RELATIVE-PATH|WML-CL-ACCESS-RELATIVE-PATH]]
  • planned-by ← [[clauses/WML-CL-ACCESS-SINGLE-ELEMENT|WML-CL-ACCESS-SINGLE-ELEMENT]]
  • planned-by ← [[clauses/WML-CL-ACCESS-URL-CASE-RULES|WML-CL-ACCESS-URL-CASE-RULES]]
  • planned-by ← [[clauses/WML-CL-CARD-COLLECTION|WML-CL-CARD-COLLECTION]]
  • planned-by ← [[clauses/WML-CL-CARD-CONTENT-ORDER|WML-CL-CARD-CONTENT-ORDER]]
  • planned-by ← [[clauses/WML-CL-CARD-CONTEXT-ATTRIBUTE|WML-CL-CARD-CONTEXT-ATTRIBUTE]]
  • planned-by ← [[clauses/WML-CL-CARD-STRUCTURE|WML-CL-CARD-STRUCTURE]]
  • planned-by ← [[clauses/WML-CL-DO-EFFECTIVE-NAME|WML-CL-DO-EFFECTIVE-NAME]]
  • planned-by ← [[clauses/WML-CL-DO-INACTIVE-HIDDEN|WML-CL-DO-INACTIVE-HIDDEN]]
  • planned-by ← [[clauses/WML-CL-GO-ACCESS-BEFORE-TRANSITION|WML-CL-GO-ACCESS-BEFORE-TRANSITION]]
  • planned-by ← [[clauses/WML-CL-HEAD-DECK-SCOPE|WML-CL-HEAD-DECK-SCOPE]]
  • planned-by ← [[clauses/WML-CL-HEAD-STRUCTURE|WML-CL-HEAD-STRUCTURE]]
  • planned-by ← [[clauses/WML-CL-INTRINSIC-CARD-OVERRIDES-TEMPLATE|WML-CL-INTRINSIC-CARD-OVERRIDES-TEMPLATE]]
  • planned-by ← [[clauses/WML-CL-NEWCONTEXT-CLEAR-HISTORY|WML-CL-NEWCONTEXT-CLEAR-HISTORY]]
  • planned-by ← [[clauses/WML-CL-NEWCONTEXT-GO-ONLY|WML-CL-NEWCONTEXT-GO-ONLY]]
  • planned-by ← [[clauses/WML-CL-NEWCONTEXT-RESET-PRIVATE-STATE|WML-CL-NEWCONTEXT-RESET-PRIVATE-STATE]]
  • planned-by ← [[clauses/WML-CL-NEWCONTEXT-UNSET-VARIABLES|WML-CL-NEWCONTEXT-UNSET-VARIABLES]]
  • planned-by ← [[clauses/WML-CL-SHADOW-ACTIVE-SET|WML-CL-SHADOW-ACTIVE-SET]]
  • planned-by ← [[clauses/WML-CL-SHADOW-CARD-PRECEDENCE|WML-CL-SHADOW-CARD-PRECEDENCE]]
  • planned-by ← [[clauses/WML-CL-SHADOW-MATCHING|WML-CL-SHADOW-MATCHING]]
  • planned-by ← [[clauses/WML-CL-SHADOW-NOOP-MASK|WML-CL-SHADOW-NOOP-MASK]]
  • planned-by ← [[clauses/WML-CL-TEMPLATE-APPLIES-ALL-CARDS|WML-CL-TEMPLATE-APPLIES-ALL-CARDS]]
  • planned-by ← [[clauses/WML-CL-TEMPLATE-STRUCTURE|WML-CL-TEMPLATE-STRUCTURE]]
  • planned-by ← [[clauses/WML-CL-WML-ROOT-DECK-SCOPE|WML-CL-WML-ROOT-DECK-SCOPE]]
  • planned-by ← [[clauses/WML-CL-WML-ROOT-LANGUAGE|WML-CL-WML-ROOT-LANGUAGE]]
  • planned-by ← [[clauses/WML-CL-WML-ROOT-STRUCTURE|WML-CL-WML-ROOT-STRUCTURE]]
  • relates-to → [[legacy-tickets/C5-03|C5-03]]
  • relates-to → [[legacy-tickets/R0-04|R0-04]]
  • relates-to → [[legacy-tickets/R0-12|R0-12]]

Data

{
  "status": "done",
  "ownerLayers": [
    "engine-wasm",
    "browser",
    "qa"
  ],
  "sourceFamilies": [
    "wml"
  ],
  "notes": [
    "R0-12 closes the template and card/deck task-shadowing slice with direct WML-C-47 and WML-C-08 evidence.",
    "R0-04/C5-03 close the root/head/access/meta/card model across the shared native/WASM parser and runtime paths, including the host-supplied referring-URI boundary.",
    "All 30 directly mapped WML-202 clauses have source-derived direct fixtures for access defaults/matching and pre-transition enforcement, root language metadata, card collection/order/structure/context, template shadowing, and go-only newcontext reset effects.",
    "WML-203 retains exhaustive DTD content-model enforcement, WML-C-21 remains parent-partial for the broader sendreferer clause, and WML-205 retains the broader task-failure taxonomy; none is a residual WML-202 acceptance gate."
  ],
  "existingTickets": [
    "R0-04",
    "R0-12",
    "C5-03"
  ],
  "outputs": [
    "Complete deck/head/template/card/access/meta parser model"
  ],
  "acceptance": [
    "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."
  ],
  "evidence": [
    "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"
  ],
  "source": "docs/waves/wap-1.2.1-compliance-program.json"
}