You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/design-diff/README.md
+91-5Lines changed: 91 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ only the runtime predicate, handler or label does not qualify.
55
55
Media exclusion applies to recognized JSX/HTML/MDX media elements and asset files. Repository
56
56
conventions also identify social-card image generators, landing artwork and the named illustration
57
57
functions inside empty-state components. Their surrounding product controls remain in scope.
58
-
The policy does not treat an arbitrary wrapper around an image as media. A wrapper's custom padding or layout still qualifies.
58
+
A passive `div`, `span` or `figure` containing only native media is also exempt. Mixed control/media layouts, event handlers, roles, spreads and unknown children prevent this exemption.
59
59
CSS asset URL substitutions and generated copy are exempt. Source-only analysis cannot
60
60
reliably identify every project-specific media wrapper.
61
61
@@ -103,10 +103,9 @@ an Icon does not break resolution of Button through the same barrel.
103
103
104
104
## Report contract
105
105
106
-
Schema **3.0.0**, engine **0.5.2**, policy **5.0.0**. The schema remains compatible; the policy
107
-
meaning changes. Readers must inspect versions when comparing historical qualification rates.
106
+
Schema **3.0.0**, engine **0.6.0**, policy **5.0.0**. The schema and notification policy remain compatible. Readers must inspect versions when comparing historical qualification rates.
108
107
All decisions and identifiers are deterministic for the same engine/configuration and commits.
109
-
Execution timing and peak memory are recorded separately by the benchmark, never in engine JSON.
108
+
Execution timing and peak memory are recorded separately with `--metrics`, never in engine JSON.
110
109
111
110
Each top-level finding groups evidence by **changed source file**. A shared Button edit produces
112
111
one group, rather than one notification per use. Fields include:
0 commit comments