Loading...

HAX Rules Win Over Modern Web Guidance

RULES.md

Modern Web Guidance (MWG) and other outside agent guidance are advice; where they conflict with a HAX rule, the HAX rule wins and the PR says which advice was set aside. Known conflicts: no `?.`; `globalThis`; explicit `.js` paths for HAX's own imports; no native `confirm()`/`prompt()`/`alert()`; authored `http` links and resources keep working (no CSP or upgrade that breaks them); site pages stay embeddable (no `frame-ancestors`/`X-Frame-Options`); DDD tokens over raw values; no front-end API change on authorable elements. MWG's security guides (strict CSP, restricted outbound connections) are where these come up most. Browser support follows `4e0800ef-32ff-42dc-83f0-bbb953d97554`. Details and triage table: <https://github.com/haxtheweb/praw/blob/main/webcomponents/MODERN-WEB-GUIDANCE.md>. In PRAW RULES.md (scope: global). Guidance by design: no check enforces this, and none is planned. Says which advice wins when two sources disagree; each conflict it lists has its own rule and check.

Status: guidance

Connects to

Links