Acceptance
Definition of done
- Malformed XML, invalid WML, unsupported optional constructs, and recoverable content errors have spec-shaped deterministic outcomes.
- Every declared WML element has a rejected invalid form, and literal, length, table, task, event, variable, prologue, structural, and case-sensitive constraints fail atomically without intent inference.
- Fetch and destination access-control failures notify the user while preserving the invoking card, context, pending external intent, event/focus state, committed session metadata, and history across the native/WASM host boundary.
Outputs
Artifacts to create or change
WML parse/error taxonomyExhaustive declared-element invalid-WML enforcementAtomic host fetch/access-control failure notification
Evidence
How closure is proven
cargo test --manifest-path engine-wasm/engine/Cargo.toml wml_205pnpm --dir browser/frontend testpnpm test:story WML-205node scripts/check-wap-selected-normative-clauses.mjsnode scripts/check-wap-knowledge-graph.mjs