stylegallery 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (346) hide show
  1. package/AGENTS.md +156 -0
  2. package/CATALOG.md +69 -0
  3. package/DOMAINS.md +65 -0
  4. package/GOVERNANCE.md +222 -0
  5. package/GUIDE.md +59 -0
  6. package/README.md +313 -0
  7. package/consumer-reference/adapters/style-dictionary.config.mjs +36 -0
  8. package/consumer-reference/agent-native/README.md +157 -0
  9. package/consumer-reference/agent-native/registry.json +640 -0
  10. package/consumer-reference/agent-native/schema/agent-native.schema.json +848 -0
  11. package/consumer-reference/agent-native/schema/epistemic.schema.json +14 -0
  12. package/consumer-reference/agent-native/schema/execution.schema.json +12 -0
  13. package/consumer-reference/agent-native/schema/identity.schema.json +10 -0
  14. package/consumer-reference/agent-native/schema/learning.schema.json +12 -0
  15. package/consumer-reference/agent-native/schema/manifest.schema.json +6 -0
  16. package/consumer-reference/agent-native/schema/operation.schema.json +12 -0
  17. package/consumer-reference/agent-native/schema/protocol-binding.schema.json +9 -0
  18. package/consumer-reference/agent-native/schema/retrieval.schema.json +10 -0
  19. package/consumer-reference/baselines/calibration.json +260 -0
  20. package/consumer-reference/baselines/manifest.json +21 -0
  21. package/consumer-reference/contract.md +83 -0
  22. package/consumer-reference/fixtures/consumer-conformance/e2e-fixture.mjs +282 -0
  23. package/consumer-reference/fixtures/consumer-conformance/manifest.json +102 -0
  24. package/consumer-reference/fixtures/consumer-conformance/runtime-proof.mjs +32 -0
  25. package/consumer-reference/fixtures/consumer-conformance/valid-migration-result.json +18 -0
  26. package/consumer-reference/fixtures/consumer-conformance/valid-migration.json +142 -0
  27. package/consumer-reference/fixtures/invalid-stable-ended-support.json +19 -0
  28. package/consumer-reference/fixtures/promotion/invalid-blocking-evidence.json +26 -0
  29. package/consumer-reference/fixtures/promotion/invalid-count-only.json +29 -0
  30. package/consumer-reference/fixtures/promotion/invalid-missing-owner-migration.json +25 -0
  31. package/consumer-reference/fixtures/promotion/invalid-normative-bypass-no-regression.json +25 -0
  32. package/consumer-reference/fixtures/promotion/invalid-related-counted-independent.json +45 -0
  33. package/consumer-reference/fixtures/promotion/invalid-stable-ended-support.json +26 -0
  34. package/consumer-reference/fixtures/promotion/manifest.json +15 -0
  35. package/consumer-reference/fixtures/promotion/valid-deferred-example.json +67 -0
  36. package/consumer-reference/fixtures/promotion/valid-normative-bypass.json +67 -0
  37. package/consumer-reference/fixtures/token-portability/invalid-cycle.json +7 -0
  38. package/consumer-reference/fixtures/token-portability/invalid-dangling-alias.json +6 -0
  39. package/consumer-reference/fixtures/token-portability/invalid-extends.json +4 -0
  40. package/consumer-reference/fixtures/token-portability/invalid-json-pointer.json +7 -0
  41. package/consumer-reference/fixtures/token-portability/invalid-resolver.json +9 -0
  42. package/consumer-reference/fixtures/token-portability/invalid-type-mismatch.json +10 -0
  43. package/consumer-reference/fixtures/token-portability/invalid-unknown-reserved.json +6 -0
  44. package/consumer-reference/fixtures/token-portability/invalid-untested-type.json +6 -0
  45. package/consumer-reference/fixtures/token-portability/valid-border.json +14 -0
  46. package/consumer-reference/fixtures/token-portability/valid-reference.json +32 -0
  47. package/consumer-reference/fixtures/token-portability/valid-whole-alias.json +7 -0
  48. package/consumer-reference/fixtures/valid-deprecated.json +21 -0
  49. package/consumer-reference/fixtures/valid-experimental.json +19 -0
  50. package/consumer-reference/generated/manifest.json +40 -0
  51. package/consumer-reference/generated/tokens.css +12 -0
  52. package/consumer-reference/index.md +32 -0
  53. package/consumer-reference/policies/shared-experimental.json +37 -0
  54. package/consumer-reference/schema/ax-evidence.schema.json +30 -0
  55. package/consumer-reference/schema/baseline-manifest.schema.json +55 -0
  56. package/consumer-reference/schema/calibration-record.schema.json +190 -0
  57. package/consumer-reference/schema/capture-session.schema.json +161 -0
  58. package/consumer-reference/schema/component-state.schema.json +150 -0
  59. package/consumer-reference/schema/consumer-conformance-record.schema.json +365 -0
  60. package/consumer-reference/schema/dom-evidence.schema.json +38 -0
  61. package/consumer-reference/schema/evidence-record.schema.json +81 -0
  62. package/consumer-reference/schema/fixture-manifest.schema.json +32 -0
  63. package/consumer-reference/schema/item.schema.json +188 -0
  64. package/consumer-reference/schema/page-evidence-manifest.schema.json +216 -0
  65. package/consumer-reference/schema/page-evidence-session.schema.json +119 -0
  66. package/consumer-reference/schema/portable-tokens.schema.json +104 -0
  67. package/consumer-reference/schema/promotion-rfc.schema.json +219 -0
  68. package/consumer-reference/schema/runtime-evidence-manifest.schema.json +33 -0
  69. package/consumer-reference/schema/visual-evidence.schema.json +31 -0
  70. package/design-engineering/consumer-migration-readiness.md +124 -0
  71. package/design-engineering/index.md +28 -0
  72. package/design-engineering/interface-craft.md +107 -0
  73. package/design-engineering/reference-profiles/external-adaptation/index.md +12 -0
  74. package/design-engineering/reference-profiles/governed-local/editorial/components/button.component.json +125 -0
  75. package/design-engineering/reference-profiles/governed-local/editorial/evidence/button.evidence.json +3504 -0
  76. package/design-engineering/reference-profiles/governed-local/editorial/fixtures/button.fixture.json +65 -0
  77. package/design-engineering/reference-profiles/governed-local/editorial/generated/evidence-coverage.md +23 -0
  78. package/design-engineering/reference-profiles/governed-local/editorial/generated/keyboard-matrix.md +19 -0
  79. package/design-engineering/reference-profiles/governed-local/editorial/generated/state-matrix.md +21 -0
  80. package/design-engineering/reference-profiles/governed-local/editorial/local-foundations.json +12 -0
  81. package/design-engineering/reference-profiles/governed-local/editorial/profile.json +43 -0
  82. package/design-engineering/reference-profiles/governed-local/editorial/states/button.states.json +195 -0
  83. package/design-engineering/reference-profiles/governed-local/editorial/tokens.dtcg.json +17 -0
  84. package/design-engineering/reference-profiles/governed-local/index.md +26 -0
  85. package/design-engineering/reference-profiles/governed-local/terminal/components/button.component.json +125 -0
  86. package/design-engineering/reference-profiles/governed-local/terminal/evidence/button.evidence.json +3504 -0
  87. package/design-engineering/reference-profiles/governed-local/terminal/fixtures/button.fixture.json +65 -0
  88. package/design-engineering/reference-profiles/governed-local/terminal/generated/evidence-coverage.md +23 -0
  89. package/design-engineering/reference-profiles/governed-local/terminal/generated/keyboard-matrix.md +19 -0
  90. package/design-engineering/reference-profiles/governed-local/terminal/generated/state-matrix.md +21 -0
  91. package/design-engineering/reference-profiles/governed-local/terminal/local-foundations.json +12 -0
  92. package/design-engineering/reference-profiles/governed-local/terminal/profile.json +43 -0
  93. package/design-engineering/reference-profiles/governed-local/terminal/states/button.states.json +195 -0
  94. package/design-engineering/reference-profiles/governed-local/terminal/tokens.dtcg.json +17 -0
  95. package/design-engineering/reference-profiles/index.md +19 -0
  96. package/game-ui/classification.md +82 -0
  97. package/game-ui/index.md +35 -0
  98. package/game-ui/reference-record.md +62 -0
  99. package/game-ui/screen-hierarchy.md +107 -0
  100. package/game-ui/unity/architecture.md +166 -0
  101. package/game-ui/unity/cli-loop.md +84 -0
  102. package/game-ui/unity/data/unity-technologies-public-repositories.json +26654 -0
  103. package/game-ui/unity/org-wiki.md +146 -0
  104. package/game-ui/unity/repository-map.md +102 -0
  105. package/game-ui/unity/ui-systems.md +85 -0
  106. package/guides/decision-tree.md +149 -0
  107. package/guides/documentation-mode-taxonomy.md +157 -0
  108. package/guides/layout-brief.md +220 -0
  109. package/guides/vocabulary.md +148 -0
  110. package/guides/webpage-generation-workflow.md +185 -0
  111. package/index.md +36 -0
  112. package/layout/index.md +26 -0
  113. package/motion/index.md +24 -0
  114. package/motion/practice-reference.md +145 -0
  115. package/motion/review-workflow.md +86 -0
  116. package/motion/vocabulary.md +82 -0
  117. package/package.json +78 -0
  118. package/patterns/centering/center.md +87 -0
  119. package/patterns/centering/index.md +6 -0
  120. package/patterns/centering/super-center.md +89 -0
  121. package/patterns/containment/box.md +87 -0
  122. package/patterns/containment/clamped-card.md +86 -0
  123. package/patterns/containment/content-limiter.md +87 -0
  124. package/patterns/containment/fluid-styles.md +86 -0
  125. package/patterns/containment/index.md +8 -0
  126. package/patterns/grid-repetition/card-grid.md +88 -0
  127. package/patterns/grid-repetition/columns.md +87 -0
  128. package/patterns/grid-repetition/dense-grid.md +88 -0
  129. package/patterns/grid-repetition/grid-wrapper.md +89 -0
  130. package/patterns/grid-repetition/index.md +12 -0
  131. package/patterns/grid-repetition/masonry-approx.md +87 -0
  132. package/patterns/grid-repetition/page-grid.md +90 -0
  133. package/patterns/grid-repetition/ram-grid.md +88 -0
  134. package/patterns/grid-repetition/twelve-span-grid.md +92 -0
  135. package/patterns/in-line-grouping/badge-list.md +94 -0
  136. package/patterns/in-line-grouping/breadcrumb.md +89 -0
  137. package/patterns/in-line-grouping/cluster.md +89 -0
  138. package/patterns/in-line-grouping/deconstructed-pancake.md +92 -0
  139. package/patterns/in-line-grouping/index.md +13 -0
  140. package/patterns/in-line-grouping/pagination.md +89 -0
  141. package/patterns/in-line-grouping/reel.md +90 -0
  142. package/patterns/in-line-grouping/split-nav.md +97 -0
  143. package/patterns/in-line-grouping/tab-strip.md +88 -0
  144. package/patterns/in-line-grouping/wrap-row.md +89 -0
  145. package/patterns/index.md +13 -0
  146. package/patterns/media-fit/frame.md +95 -0
  147. package/patterns/media-fit/icon-frame.md +87 -0
  148. package/patterns/media-fit/index.md +6 -0
  149. package/patterns/overlay-exception/imposter.md +95 -0
  150. package/patterns/overlay-exception/index.md +6 -0
  151. package/patterns/overlay-exception/overlay-stack.md +89 -0
  152. package/patterns/split-sidebar/index.md +12 -0
  153. package/patterns/split-sidebar/list-detail.md +95 -0
  154. package/patterns/split-sidebar/main-with-rail.md +95 -0
  155. package/patterns/split-sidebar/media-object.md +102 -0
  156. package/patterns/split-sidebar/sidebar.md +101 -0
  157. package/patterns/split-sidebar/split-screen.md +92 -0
  158. package/patterns/split-sidebar/sticky-aside.md +97 -0
  159. package/patterns/split-sidebar/supporting-pane.md +95 -0
  160. package/patterns/split-sidebar/switcher.md +93 -0
  161. package/patterns/stacking/feed.md +88 -0
  162. package/patterns/stacking/index.md +8 -0
  163. package/patterns/stacking/line-up.md +95 -0
  164. package/patterns/stacking/stack.md +87 -0
  165. package/patterns/stacking/step-nav.md +88 -0
  166. package/patterns/viewport-shell/cover.md +90 -0
  167. package/patterns/viewport-shell/fixed-sidenav-shell.md +97 -0
  168. package/patterns/viewport-shell/holy-grail.md +112 -0
  169. package/patterns/viewport-shell/index.md +11 -0
  170. package/patterns/viewport-shell/panel-layout.md +95 -0
  171. package/patterns/viewport-shell/scroll-body-shell.md +93 -0
  172. package/patterns/viewport-shell/sticky-footer.md +92 -0
  173. package/patterns/viewport-shell/sticky-header.md +86 -0
  174. package/platform-guides/apple-interaction.md +89 -0
  175. package/platform-guides/index.md +26 -0
  176. package/quality/claim-records/index.md +3 -0
  177. package/quality/claim-records/samples.md +92 -0
  178. package/quality/claim-records/stylegallery-multidomain-scope.md +42 -0
  179. package/quality/claims.md +77 -0
  180. package/quality/evidence/accessibility.md +58 -0
  181. package/quality/evidence/consumer-migration.md +42 -0
  182. package/quality/evidence/design-rationale.md +34 -0
  183. package/quality/evidence/executable-evidence.md +79 -0
  184. package/quality/evidence/families.md +56 -0
  185. package/quality/evidence/hci-evaluation.md +36 -0
  186. package/quality/evidence/index.md +16 -0
  187. package/quality/evidence/pattern-contract-audit.md +96 -0
  188. package/quality/evidence/search-metadata-polyhierarchy.md +86 -0
  189. package/quality/evidence/sources.md +43 -0
  190. package/quality/evidence/tokens.md +33 -0
  191. package/quality/evidence/visual-qa.md +41 -0
  192. package/quality/gates/accessibility-evidence.md +60 -0
  193. package/quality/gates/consumer-migration-evidence.md +53 -0
  194. package/quality/gates/design-claim.md +56 -0
  195. package/quality/gates/harmony-evaluation.md +78 -0
  196. package/quality/gates/index.md +13 -0
  197. package/quality/gates/layout.md +52 -0
  198. package/quality/gates/rationale.md +53 -0
  199. package/quality/gates/visual-evidence.md +47 -0
  200. package/quality/index.md +55 -0
  201. package/quality/principles.md +58 -0
  202. package/recipes/article-page.md +52 -0
  203. package/recipes/command-surface.md +55 -0
  204. package/recipes/dashboard.md +56 -0
  205. package/recipes/form-flow.md +55 -0
  206. package/recipes/homepage.md +89 -0
  207. package/recipes/index.md +13 -0
  208. package/recipes/list-detail.md +55 -0
  209. package/recipes/primitive-to-recipe-matrix.md +83 -0
  210. package/recipes/saas-settings.md +52 -0
  211. package/scripts/agent-native/a2a-projection.mjs +248 -0
  212. package/scripts/agent-native/agui-projection.mjs +178 -0
  213. package/scripts/agent-native/canonical-json.mjs +109 -0
  214. package/scripts/agent-native/cli-adapter.mjs +68 -0
  215. package/scripts/agent-native/events.mjs +113 -0
  216. package/scripts/agent-native/execution.mjs +227 -0
  217. package/scripts/agent-native/fixture.mjs +159 -0
  218. package/scripts/agent-native/identity.mjs +184 -0
  219. package/scripts/agent-native/immutable-store.mjs +102 -0
  220. package/scripts/agent-native/knowledge.mjs +168 -0
  221. package/scripts/agent-native/learning-records.mjs +244 -0
  222. package/scripts/agent-native/learning.mjs +247 -0
  223. package/scripts/agent-native/mcp-adapter.mjs +173 -0
  224. package/scripts/agent-native/queries.mjs +173 -0
  225. package/scripts/agent-native/registry.mjs +154 -0
  226. package/scripts/agent-native/retrieval.mjs +171 -0
  227. package/scripts/agent-native/self-description.mjs +160 -0
  228. package/scripts/artifact-metadata.mjs +20 -0
  229. package/scripts/audit-evidence-freshness.mjs +308 -0
  230. package/scripts/baseline-contract.mjs +189 -0
  231. package/scripts/baseline-schema-parity.mjs +40 -0
  232. package/scripts/build-reference-artifacts.mjs +127 -0
  233. package/scripts/calibration-raw-contract.mjs +172 -0
  234. package/scripts/capture-session-contract.mjs +187 -0
  235. package/scripts/component-state-artifact-fixture.mjs +44 -0
  236. package/scripts/component-state-contract.mjs +99 -0
  237. package/scripts/component-state-semantics.mjs +128 -0
  238. package/scripts/component-state-workflow-contract.mjs +67 -0
  239. package/scripts/component-state-workflow-negative-cases.mjs +64 -0
  240. package/scripts/consumer-conformance-contract.mjs +198 -0
  241. package/scripts/consumer-evidence-governance-contract.mjs +210 -0
  242. package/scripts/consumer-reference-case-runner.mjs +93 -0
  243. package/scripts/consumer-reference-schema.mjs +155 -0
  244. package/scripts/create-component-state-session.mjs +100 -0
  245. package/scripts/create-page-evidence-session.mjs +139 -0
  246. package/scripts/domain-document-boundaries.mjs +40 -0
  247. package/scripts/domain-validation-checks.mjs +141 -0
  248. package/scripts/evidence-artifact-contract.mjs +191 -0
  249. package/scripts/finalize-component-state-evidence.mjs +165 -0
  250. package/scripts/finalize-page-evidence.mjs +197 -0
  251. package/scripts/generate-consumer-reference-evidence.mjs +154 -0
  252. package/scripts/generate-patterns.mjs +218 -0
  253. package/scripts/governance-matrix-contract.mjs +73 -0
  254. package/scripts/governance-matrix-negative-cases.mjs +114 -0
  255. package/scripts/governance-policy-contract.mjs +49 -0
  256. package/scripts/governance-test-fixture.mjs +321 -0
  257. package/scripts/governance-workflow-negative-cases.mjs +241 -0
  258. package/scripts/governed-profile-registry.mjs +125 -0
  259. package/scripts/json-schema-formats.mjs +31 -0
  260. package/scripts/markdown-structure.mjs +45 -0
  261. package/scripts/page-artifact-metadata.mjs +124 -0
  262. package/scripts/page-evidence-contract.mjs +297 -0
  263. package/scripts/page-evidence-fixture.mjs +271 -0
  264. package/scripts/pattern-data.mjs +325 -0
  265. package/scripts/profile-record-contract.mjs +140 -0
  266. package/scripts/promotion-attestation-contract.mjs +91 -0
  267. package/scripts/promotion-boundary-test-contract.mjs +92 -0
  268. package/scripts/promotion-fixture-inventory.mjs +109 -0
  269. package/scripts/promotion-governance-contract.mjs +28 -0
  270. package/scripts/reference-artifact-path-contract.mjs +28 -0
  271. package/scripts/reference-profile-contract.mjs +114 -0
  272. package/scripts/reference-token-contract.mjs +156 -0
  273. package/scripts/run-consumer-page-evidence-ci.mjs +170 -0
  274. package/scripts/sg-mcp.mjs +16 -0
  275. package/scripts/sg.mjs +27 -0
  276. package/scripts/strict-json.mjs +72 -0
  277. package/scripts/summarize-sentinel-calibration.mjs +98 -0
  278. package/scripts/test-agent-adapter-conformance.mjs +250 -0
  279. package/scripts/test-agent-conformance-receipt.mjs +106 -0
  280. package/scripts/test-agent-events.mjs +81 -0
  281. package/scripts/test-agent-execution-effects.mjs +114 -0
  282. package/scripts/test-agent-execution-fixtures.mjs +140 -0
  283. package/scripts/test-agent-execution-kernel.mjs +39 -0
  284. package/scripts/test-agent-execution-learning.mjs +130 -0
  285. package/scripts/test-agent-execution-lifecycle.mjs +143 -0
  286. package/scripts/test-agent-execution-safety.mjs +158 -0
  287. package/scripts/test-agent-execution-views.mjs +117 -0
  288. package/scripts/test-agent-identity-integrity-cases.mjs +160 -0
  289. package/scripts/test-agent-knowledge-kernel.mjs +183 -0
  290. package/scripts/test-agent-learning.mjs +246 -0
  291. package/scripts/test-agent-mcp.mjs +246 -0
  292. package/scripts/test-agent-native-schemas.mjs +215 -0
  293. package/scripts/test-agent-projections.mjs +249 -0
  294. package/scripts/test-agent-registry-mcp-integrity.mjs +215 -0
  295. package/scripts/test-agent-registry-mutations.mjs +110 -0
  296. package/scripts/test-audit-evidence-freshness.mjs +177 -0
  297. package/scripts/test-component-state-sentinel.mjs +35 -0
  298. package/scripts/test-component-state-source-contract.mjs +83 -0
  299. package/scripts/test-consumer-conformance-sentinel.mjs +165 -0
  300. package/scripts/test-consumer-reference-sentinel.mjs +31 -0
  301. package/scripts/test-generate-consumer-reference-evidence.mjs +124 -0
  302. package/scripts/test-json-cli-output.mjs +151 -0
  303. package/scripts/test-json-schema-formats.mjs +40 -0
  304. package/scripts/test-reference-adapters.mjs +199 -0
  305. package/scripts/test-renderer-purity.mjs +34 -0
  306. package/scripts/test-sg-cli.mjs +129 -0
  307. package/scripts/test-summarize-sentinel-calibration.mjs +226 -0
  308. package/scripts/test-validate-baseline-manifest.mjs +234 -0
  309. package/scripts/test-validate-component-state-artifacts.mjs +243 -0
  310. package/scripts/test-validate-component-state.mjs +106 -0
  311. package/scripts/test-validate-consumer-conformance.mjs +427 -0
  312. package/scripts/test-validate-consumer-reference-cli.mjs +69 -0
  313. package/scripts/test-validate-consumer-reference.mjs +263 -0
  314. package/scripts/test-validate-domains.mjs +357 -0
  315. package/scripts/test-validate-governance.mjs +292 -0
  316. package/scripts/test-validate-ia.mjs +262 -0
  317. package/scripts/test-validate-okf.mjs +73 -0
  318. package/scripts/test-validate-page-evidence.mjs +302 -0
  319. package/scripts/test-validate-patterns.mjs +157 -0
  320. package/scripts/test-validate-promotion-rfc.mjs +250 -0
  321. package/scripts/test-validate-reference-profiles.mjs +170 -0
  322. package/scripts/test-validate-unity-org-wiki.mjs +57 -0
  323. package/scripts/test-validate-unity-source-contracts.mjs +67 -0
  324. package/scripts/test-validate-vocabulary.mjs +174 -0
  325. package/scripts/test-validate-webpage-workflow.mjs +293 -0
  326. package/scripts/validate-baseline-manifest.mjs +44 -0
  327. package/scripts/validate-catalog.mjs +65 -0
  328. package/scripts/validate-component-state.mjs +141 -0
  329. package/scripts/validate-consumer-conformance.mjs +477 -0
  330. package/scripts/validate-consumer-reference.mjs +288 -0
  331. package/scripts/validate-domains.mjs +237 -0
  332. package/scripts/validate-governance.mjs +248 -0
  333. package/scripts/validate-ia.mjs +136 -0
  334. package/scripts/validate-links.mjs +66 -0
  335. package/scripts/validate-okf.mjs +104 -0
  336. package/scripts/validate-page-evidence.mjs +191 -0
  337. package/scripts/validate-patterns.mjs +246 -0
  338. package/scripts/validate-promotion-rfc.mjs +224 -0
  339. package/scripts/validate-reference-artifacts.mjs +125 -0
  340. package/scripts/validate-renderer-purity.mjs +56 -0
  341. package/scripts/validate-unity-org-wiki.mjs +146 -0
  342. package/scripts/validate-unity-source-contracts.mjs +107 -0
  343. package/scripts/validate-vocabulary.mjs +115 -0
  344. package/scripts/validate-webpage-workflow.mjs +254 -0
  345. package/scripts/visual-expectation-contract.mjs +20 -0
  346. package/scripts/workflow-action-contract.mjs +163 -0
@@ -0,0 +1,26 @@
1
+ # Platform Guides
2
+
3
+ Platform Guides own bounded comparison with named platform conventions and their version, authority, adaptation, and freshness limits.
4
+
5
+ ## Scope Boundary
6
+
7
+ In scope: comparative vocabulary, interaction questions, current official-source requirements, and locally verified adaptation notes.
8
+
9
+ Out of scope: affiliation, brand imitation, unsupported platform equivalence, and authority over web standards, accessibility, or Layout contracts.
10
+
11
+ ## Available Guides
12
+
13
+ - [Apple Interaction As A Comparative Reference](apple-interaction.md) turns selected interaction themes into questions for web adaptation without claiming platform equivalence.
14
+
15
+ ## Comparison, Not Imitation
16
+
17
+ A platform guide names the platform, source authority, version or review date, web-adaptation boundary, and local verification protocol. Similar appearance or behavior does not establish affiliation or correctness.
18
+
19
+ ## Domain Contract
20
+
21
+ See [StyleGallery Domains](../DOMAINS.md) for lifecycle, provenance, page membership, and promotion rules.
22
+
23
+ ## IA Navigation
24
+
25
+ Parent: [StyleGallery](../index.md).
26
+ Next: [Apple Interaction As A Comparative Reference](apple-interaction.md).
@@ -0,0 +1,3 @@
1
+ # Claim Records
2
+
3
+ - [Sample claim records](samples.md)
@@ -0,0 +1,92 @@
1
+ ---
2
+ type: Quality Reference
3
+ title: Sample Claim Records
4
+ description: Filled structured quality claims for common review decisions.
5
+ ---
6
+
7
+ # Sample Claim Records
8
+
9
+ These examples show the minimum useful record shape. They are intentionally compact so high-impact claims remain reviewable without becoming heavy documentation work.
10
+
11
+ ## Claim Record 1 - Harmony Before Image Generation
12
+
13
+ Principle: Accessibility precedence and principles before evidence.
14
+
15
+ Claim: A homepage GPT Image reference should be generated only after the content-to-layout match and harmony evaluation approve semantic order, section jobs, pattern stack, scroll owner, and constraints.
16
+
17
+ Context: Webpage generation can otherwise let a visual reference decide layout before source order and task flow are known.
18
+
19
+ Use case: Homepage or ordinary webpage generation from raw content.
20
+
21
+ Warrant: The image can help inspect hierarchy and spacing only after the layout contract names the content jobs and constraints it should express.
22
+
23
+ Evidence family: `rationale`, `source`, `screenshot`.
24
+
25
+ Verification protocol: Check that the layout brief names use case, section jobs, pattern stack, rejected alternatives, harmony notes, GPT Image reference prompt, and implementation handoff before image generation.
26
+
27
+ Implementation handoff: Build semantic HTML and layout patterns first; copy only hierarchy, rhythm, media treatment, and CTA priority into product-level styling after the gate passes.
28
+ Consumer reference: not_applicable
29
+ Consumer reference reason: This sample contains no consumer-specific reference record.
30
+
31
+ Boundary or limitation: The image cannot prove usability, accessibility, brand fit, or final implementation quality.
32
+
33
+ Debt or escalation: If the visual reference conflicts with source order, focus order, accessibility, or content stress behavior, regenerate the prompt or record a blocked decision.
34
+
35
+ Decision: pass when the harmony gate is complete before the image is generated.
36
+
37
+ ## Claim Record 2 - Screenshot Diff Limits
38
+
39
+ Principle: Visual QA evidence precedes visual judgment.
40
+
41
+ Claim: A stable screenshot diff supports a rendered-state claim, but it does not prove usability or accessibility.
42
+
43
+ Context: Visual review often finds regressions, overflow, hidden text, and hierarchy shifts, but user-facing outcomes require stronger evidence.
44
+
45
+ Use case: not applicable.
46
+
47
+ Warrant: Screenshots show a bounded rendered state; usability and accessibility depend on task completion, semantics, keyboard flow, assistive technology, and user context.
48
+
49
+ Evidence family: `screenshot`, `accessibility`, `user`.
50
+
51
+ Verification protocol: Pair screenshots with the visual-evidence gate and route accessibility or usability claims to their dedicated evidence families.
52
+
53
+ Implementation handoff: not applicable.
54
+ Consumer reference: not_applicable
55
+ Consumer reference reason: This screenshot-limits sample contains no consumer-specific reference record.
56
+
57
+ Boundary or limitation: A screenshot can hide focus order, screen-reader output, dynamic states, and untested content stress.
58
+
59
+ Debt or escalation: Escalate to accessibility or user evidence when the claim says readable, usable, accessible, clear, good, better, or harmonious for a person or task.
60
+
61
+ Decision: review_required when screenshots are the only evidence for a human-outcome claim.
62
+
63
+ ## Claim Record 3 - Accessibility Scan Limits
64
+
65
+ Principle: Accessibility is a boundary condition.
66
+
67
+ Claim: An automated accessibility scan can support a scoped accessibility finding, but it cannot certify complete accessibility.
68
+
69
+ Context: Automated checks miss keyboard behavior, assistive-technology behavior, cognitive load, language clarity, and some semantic defects.
70
+
71
+ Use case: not applicable.
72
+
73
+ Warrant: The scan is validator evidence for detectable rules; complete accessibility needs manual and contextual evidence.
74
+
75
+ Evidence family: `validator`, `accessibility`, `user`.
76
+
77
+ Verification protocol: Record the scan tool, ruleset, viewport or state, manual keyboard checks, and any required screen-reader, accessibility-tree, or cognitive review.
78
+
79
+ Implementation handoff: not applicable.
80
+ Consumer reference: not_applicable
81
+ Consumer reference reason: This accessibility-limits sample contains no consumer-specific reference record.
82
+
83
+ Boundary or limitation: The scan cannot prove accessibility for every user, device, browser, or assistive-technology pairing.
84
+
85
+ Debt or escalation: Accessibility debt must name affected users, owner, review trigger, and the evidence gap before it can be accepted.
86
+
87
+ Decision: blocked when a known accessibility failure is treated as a taste tradeoff or ordinary visual debt.
88
+
89
+ ## IA Navigation
90
+
91
+ Parent: [Claim Records](index.md) in [Quality Gates](../index.md).
92
+ Next: [Structured Quality Claims](../claims.md) for the template and high-impact scope rule.
@@ -0,0 +1,42 @@
1
+ ---
2
+ type: Decision Record
3
+ title: StyleGallery Multi-Domain Scope Decision
4
+ description: Decision to supersede the layout-only repository identity with a governed multi-domain umbrella.
5
+ ---
6
+
7
+ # StyleGallery Multi-Domain Scope Decision
8
+
9
+ ## Decision
10
+
11
+ StyleGallery supersedes the repository-wide `layout-gallery` identity with five explicit domains: Layout, Motion, Design Engineering, Game UI, and Platform Guides. The prior layout-only rules remain authoritative inside Layout instead of being deleted or silently weakened.
12
+
13
+ ## Context
14
+
15
+ The repository name and intended collection now exceed a single spatial corpus. Treating motion, interface craft, game-interface knowledge, engine-specific Game UI implementation, or platform comparison as Layout patterns would violate the existing pattern boundary, while leaving them ungoverned would bypass source-of-truth, ownership, lifecycle, and evidence rules.
16
+
17
+ ## Warrant
18
+
19
+ Separate domains let each content family name what it owns, what it excludes, what evidence can support it, and who reviews it. Preserving existing Layout paths avoids a destructive migration and keeps the current generator isolated.
20
+
21
+ ## Consequences
22
+
23
+ - Root navigation selects a domain before domain-local guidance.
24
+ - `layout/index.md` is a facade; it does not replace README, the OKF index, planning guide, or catalog.
25
+ - Motion and visual references cannot authorize decorative CSS in reusable Layout patterns.
26
+ - `quality/**` remains shared evidence and gate infrastructure; Layout-specific gates stay explicitly named.
27
+ - New externally inspired content starts experimental and requires immutable provenance plus an evidence boundary.
28
+
29
+ ## Rejected Alternatives
30
+
31
+ - Keeping a layout-only root and hiding the new material under references would not make it a first-class StyleGallery category.
32
+ - Moving all existing Layout paths under `layout/` would break stable links and generated ownership without adding user value.
33
+ - Installing upstream agent skills would introduce agent authority, mutable acquisition, and document-contract conflicts instead of repository-native guidance.
34
+
35
+ ## Boundary Or Limitation
36
+
37
+ This decision establishes information architecture and governance. It does not prove that any practitioner heuristic, platform behavior, accessibility outcome, or performance claim is correct for a product implementation.
38
+
39
+ ## IA Navigation
40
+
41
+ Parent: [Claim Records](index.md) in [Quality Gates](../index.md).
42
+ Next: [StyleGallery Domains](../../DOMAINS.md) for the active domain manifest.
@@ -0,0 +1,77 @@
1
+ ---
2
+ type: Quality Reference
3
+ title: Structured Quality Claims
4
+ description: Claim-record template and scope rules for high-impact design judgments.
5
+ ---
6
+
7
+ # Structured Quality Claims
8
+
9
+ Use a claim record when a design judgment would otherwise rest on taste, authority, or an unlabeled artifact.
10
+
11
+ The record makes the review chain inspectable:
12
+
13
+ ```txt
14
+ principle -> claim -> context -> warrant -> evidence family -> verification protocol -> boundary/debt
15
+ ```
16
+
17
+ ## High-Impact Claim
18
+
19
+ A high-impact claim is any statement that can block, approve, or redirect layout, accessibility, implementation, or design-review work.
20
+
21
+ Treat the following as high-impact terms when they decide work rather than describe prose:
22
+
23
+ - `good`, `better`, or `best`;
24
+ - `harmonious` or `harmony`;
25
+ - `appropriate`, `proper`, or `fit`;
26
+ - `usable`, `accessible`, `readable`, `credible`, or `clear`;
27
+ - claims that a screenshot, source, generated image, validator, or public design system proves quality.
28
+
29
+ ## When A Claim Record Is Required
30
+
31
+ Create a claim record when:
32
+
33
+ - a quality gate accepts, rejects, blocks, or defers a claim;
34
+ - a harmony evaluation decides whether a GPT Image reference can guide implementation;
35
+ - a screenshot, validator, accessibility scan, source, or rationale artifact is used as evidence;
36
+ - a high-impact term changes the pattern stack, source order, accessibility requirement, implementation handoff, or accepted debt;
37
+ - a claim names user perception, usability, accessibility, or visual quality.
38
+
39
+ ## Low-Risk Prose
40
+
41
+ Do not require a claim record for:
42
+
43
+ - navigation text, index summaries, or cross-reference copy;
44
+ - examples that do not approve or block work;
45
+ - local descriptions of fields already governed by a linked gate;
46
+ - editorial wording that does not create implementation guidance.
47
+
48
+ Low-risk prose can still link to a gate or claim record when the reader needs the review boundary.
49
+
50
+ ## Claim Record Template
51
+
52
+ ```txt
53
+ Principle:
54
+ Claim:
55
+ Context:
56
+ Use case:
57
+ Warrant:
58
+ Evidence family:
59
+ Verification protocol:
60
+ Implementation handoff:
61
+ Consumer reference: not_applicable
62
+ Consumer reference reason: This blank claim template declares no consumer-specific reference record.
63
+ Boundary or limitation:
64
+ Debt or escalation:
65
+ Decision:
66
+ ```
67
+
68
+ `Use case` and `Implementation handoff` are required for harmony claims. For other claim types, write `not applicable` rather than deleting the fields.
69
+
70
+ ## Review Rule
71
+
72
+ A record is complete only when the evidence family names what the artifact can support and the boundary says what it cannot prove. Evidence without a warrant remains a blocking condition.
73
+
74
+ ## IA Navigation
75
+
76
+ Parent: [Quality Gates](index.md).
77
+ Next: [Sample Claim Records](claim-records/samples.md) for compact examples of completed quality decisions.
@@ -0,0 +1,58 @@
1
+ ---
2
+ type: Evidence Reference
3
+ title: Accessibility Evidence
4
+ description: Accessibility evidence sources and limits.
5
+ ---
6
+
7
+ # Accessibility Evidence
8
+
9
+ Accessibility evidence combines standards, automated checks, manual review, and user-context judgment.
10
+
11
+ ## Claim Classification Register
12
+
13
+ Every accessibility claim must name one verification method before it is used in a quality record.
14
+
15
+ | Verification method | Supports | Does not support | Required record |
16
+ | --- | --- | --- | --- |
17
+ | automated | Rule-scoped checks such as axe, ACT, contrast math, lint rules, or validator output. | Keyboard logic, screen-reader comprehension, task success, or cognitive load beyond the tested rule. | Tool name, rule set, scope, date, and unresolved findings. |
18
+ | manual | Expert review of DOM/source order, focus order, keyboard behavior, screen-reader flow, motion comfort, language clarity, or cognitive load. | Representative user comprehension or population-level accessibility. | Reviewer, scenario, viewport/device if relevant, observed pass/fail, and debt. |
19
+ | user | Participant evidence for task completion, comprehension, perceived effort, or assistive-technology fit. | General compliance outside the tested audience and scenario. | Audience, task, method, sample limits, outcome, and follow-up trigger. |
20
+ | debt | A known gap accepted for a bounded reason. | A positive accessibility claim. | Affected users, risk, owner, review trigger, and expiry condition. |
21
+
22
+ ## Quality Claim Linkage
23
+
24
+ Quality claims that mention accessibility must link directly to one register row and one evidence artifact. If the claim depends on multiple facts, split it: for example, contrast may be `automated`, while keyboard order and cognitive load require `manual` or `user` evidence.
25
+
26
+ ## Evidence Types
27
+
28
+ - WCAG-oriented checks;
29
+ - ACT-rule checks;
30
+ - automated scan output;
31
+ - keyboard and focus review;
32
+ - contrast review;
33
+ - accessibility-tree or screen-reader review;
34
+ - cognitive accessibility review.
35
+
36
+ ## Can Support
37
+
38
+ - no issue was detected by a tested rule set;
39
+ - a specific WCAG or ACT-related condition was checked;
40
+ - a manual review found or did not find a stated barrier;
41
+ - an accessibility debt item has affected users and a review trigger.
42
+
43
+ ## Cannot Prove
44
+
45
+ - complete accessibility;
46
+ - universal task completion;
47
+ - cognitive accessibility for every user;
48
+ - assistive technology behavior that was not tested.
49
+ - accessibility from a screenshot, visual diff, generated image, or GPT Image reference.
50
+
51
+ ## Required Phrase
52
+
53
+ Automated accessibility scans assist evaluation, not determine accessibility.
54
+
55
+ ## IA Navigation
56
+
57
+ Parent: [Evidence References](index.md).
58
+ Next: [Quality Gates](../index.md) to decide whether the evidence supports a claim.
@@ -0,0 +1,42 @@
1
+ ---
2
+ type: Evidence Reference
3
+ title: Consumer Migration Evidence
4
+ description: Evidence channels and claim boundaries for consumer migration readiness.
5
+ ---
6
+
7
+ # Consumer Migration Evidence
8
+
9
+ Consumer migration evidence is a linked chain, not a single screenshot or successful validator invocation.
10
+
11
+ ## Evidence Channels
12
+
13
+ | Channel | Supports | Does not support by itself |
14
+ | --- | --- | --- |
15
+ | Conformance schema and validator | The record is closed, all thirteen dimensions are explicit, paths are safe, and references are internally consistent. | The behavior inventory is complete or the product is correct. |
16
+ | Unit and integration scenarios | Named observable behavior passed at the pinned source digest and zero exit. | Browser layout, visual quality, or untested behavior. |
17
+ | Browser matrix | Named viewport, container, content, state, overlay, page-scale, focus, overflow, contrast, and semantic assertions passed in the executed browser. | Complete accessibility, usability, or cross-browser equivalence. |
18
+ | Page-evidence session | Artifacts came from one source-bound session and match the finalized manifest hashes and identities. | Independent provenance, design approval, or truth outside the declared run. |
19
+ | Adoption mapping | A pinned StyleGallery anchor was interpreted as a named local decision for a concrete consumer target. | Universal adoption or permission to import product styling into Layout. |
20
+ | Freshness audit | Evidence is within its declared advisory or blocking review window. | Continued correctness after source or environment changes. |
21
+ | Human review | A named reviewer evaluated the inventory, exclusions, deviations, debt, and claim boundary. | Facts outside the recorded review method and scope. |
22
+
23
+ ## Page Evidence Matrix
24
+
25
+ When page evidence applies, execute widths `320`, `375`, `768`, `1024`, and `1440` pixels. Cover tight, medium, roomy, and full-width containers; empty, short, long, and unbroken content; applicable interactive states and overlays; and declared page-scale changes. Assert logical focus, absence of unusable overflow, sufficient computed contrast, and semantic landmarks in the live page.
26
+
27
+ Raster capture is review material. Deterministic computed and semantic assertions are the blocking evidence. Platform-specific screenshots remain nonblocking unless a separately approved platform baseline contract says otherwise.
28
+
29
+ ## Source And Session Binding
30
+
31
+ Create the page session before capture and finalize only from a clean, unchanged source inventory. A completed manifest must preserve the consumer repository and revision, exact relevant-source paths and digests, intended browser scenario IDs, run ID, session ID, runner exit, artifact paths, byte counts, dimensions where relevant, and SHA-256 hashes. Reject cross-revision, cross-run, cross-session, missing, extra, changed, symlinked, escaped, or replayed artifacts.
32
+
33
+ For unit and integration evidence, the stored result must be structurally equivalent JSON to the result created by the declared Node `argv` in an isolated checkout of the pinned consumer revision. The governed Node permission boundary denies descendant processes, workers, native addons, and WASI; an `argv` cannot weaken those denials. Whitespace and object-key order may differ; parsed values may not. A prewritten receipt, a zero-exit no-op, current-worktree dependencies, and caller CI identity variables are not runtime proof.
34
+
35
+ ## Claim Boundary
36
+
37
+ A passing record supports: “the named migration scenarios and evidence agree with this declared contract at these pinned revisions.” It cannot support: “the product is fully accessible,” “all behavior is preserved,” “the design is correct,” “StyleGallery certifies this consumer,” or “this local decision is a shared standard.”
38
+
39
+ ## IA Navigation
40
+
41
+ Parent: [Evidence References](index.md).
42
+ Next: [Consumer Migration Readiness](../../design-engineering/consumer-migration-readiness.md).
@@ -0,0 +1,34 @@
1
+ ---
2
+ type: Evidence Reference
3
+ title: Design Rationale Evidence
4
+ description: Rationale structures for design-side quality decisions.
5
+ ---
6
+
7
+ # Design Rationale Evidence
8
+
9
+ Design rationale records why a quality claim is admissible.
10
+
11
+ ## Evidence Structures
12
+
13
+ - issue, position, and argument;
14
+ - question, option, and criterion;
15
+ - claim, ground, and warrant;
16
+ - goal, strategy, context, assumption, and evidence.
17
+
18
+ ## Can Support
19
+
20
+ - a design decision considered alternatives;
21
+ - a claim has a warrant;
22
+ - a limitation or counterclaim is visible;
23
+ - design debt is intentional rather than accidental.
24
+
25
+ ## Cannot Prove
26
+
27
+ - the selected option is empirically best;
28
+ - a user-facing outcome without user or task evidence;
29
+ - accessibility, usability, or visual quality by itself.
30
+
31
+ ## IA Navigation
32
+
33
+ Parent: [Evidence References](index.md).
34
+ Next: [Quality Gates](../index.md) to decide whether the evidence supports a claim.
@@ -0,0 +1,79 @@
1
+ ---
2
+ type: Evidence Reference
3
+ title: Executable Evidence Coverage
4
+ description: Claim-to-evidence map for validators, tests, rendered QA, review, and source citations.
5
+ ---
6
+
7
+ # Executable Evidence Coverage
8
+
9
+ Executable evidence identifies which claims are machine-enforced, which are only inspected, and which need rendered or human evidence before they can be stated strongly.
10
+
11
+ ## Evidence Families
12
+
13
+ - Validator: repository scripts that inspect files and fail with a non-zero exit code.
14
+ - Advisory warning: a validator result that reports preferred wording or labels in `warnings` while leaving `ok: true` and the exit code at zero.
15
+ - Fixture test: positive or negative examples that prove a validator rejects or accepts the intended shape.
16
+ - CI command: a workflow command that runs on pull requests or pushes.
17
+ - Rendered evidence: screenshots, viewport captures, browser QA, or visual diffs.
18
+ - Human review: expert, heuristic, accessibility, or task review that records a claim boundary.
19
+ - Source citation: external or local references used only inside a stated claim boundary.
20
+
21
+ ## Validator Coverage Map
22
+
23
+ | Claim | Validator or test | CI command | Positive evidence | Negative evidence | Evidence boundary |
24
+ | --- | --- | --- | --- | --- | --- |
25
+ | OKF files have required structural metadata and valid root index or log shapes. | `scripts/validate-okf.mjs` and `scripts/test-validate-okf.mjs` | `node scripts/validate-okf.mjs --json`; `node scripts/test-validate-okf.mjs --json` | `success_path` fixture returns `ok: true`. | Missing frontmatter, missing type, concept frontmatter on `index.md`, and malformed log date fixtures must fail. | Proves repository structure, not conceptual quality or source truth. |
26
+ | Pattern documents carry the required spatial contract sections and restricted CSS/HTML shape. | `scripts/validate-patterns.mjs` and `scripts/test-validate-patterns.mjs` | `node scripts/validate-patterns.mjs --min-count 46 --json`; `node scripts/test-validate-patterns.mjs --json` | Generated patterns satisfy required fields, sections, CSS ordering, selector, and count rules. | Missing metadata, unsorted CSS, forbidden decorative properties, ID selectors, missing code blocks, missing HTML hooks, and missing contract sections must fail. Preferred accessibility detail labels emit warnings without blocking equivalent prose. | Proves the written pattern contract and static examples, not rendered layout quality. |
27
+ | Webpage-generation workflow references remain present across guides, recipes, and gates. | `scripts/validate-webpage-workflow.mjs` and `scripts/test-validate-webpage-workflow.mjs` | `node scripts/validate-webpage-workflow.mjs --json`; `node scripts/test-validate-webpage-workflow.mjs --json` | The success fixture includes the required workflow references and contract snippets. | Missing route structure, required template fields, link targets, safety boundaries, or route order must fail. Preferred link labels and GUIDE wording emit warnings. | Proves required structure and safety boundaries are present, not that a generated webpage is visually harmonious. |
28
+ | Consumer migration readiness remains discoverable and keeps migration-only handoff semantics. | `scripts/validate-ia.mjs`, `scripts/test-validate-ia.mjs`, `scripts/validate-webpage-workflow.mjs`, and `scripts/test-validate-webpage-workflow.mjs` | Run both validators and fixture harnesses. | Root, domain, consumer-reference, quality gate, evidence, workflow, and taxonomy routes reach the method within two hops; ordinary templates retain reasoned non-applicability while migration guidance declares a separate field. | Missing method routes, missing thirteen-dimension wording, missing migration-only boundary, or replacing the ordinary handoff declaration must fail. | Proves documentation structure and declared handoff semantics, not a consumer migration result. |
29
+ | A consumer-owned migration record links thirteen explicit classifications, executable scenarios, adoption mappings, and applicable source-bound page evidence. | `scripts/validate-consumer-conformance.mjs`, `scripts/test-validate-consumer-conformance.mjs`, page-evidence lifecycle scripts, and their fixture harnesses. | Run the conformance and page-evidence contract suites; execute the browser matrix separately when page evidence applies. | Closed schemas, pinned revisions, safe paths, zero-exit scenario records, adoption mappings, and one finalized matching page session pass. | Missing dimensions, unknown scenarios, unsafe paths, source drift, failed runner, cross-run/session/revision reuse, missing/extra/tampered artifacts, and mismatched source or scenario sets fail with named findings. | Supports agreement at pinned revisions only; it does not certify accessibility, product correctness, usability, adoption, or approval. |
30
+ | Consumer browser semantics hold across the declared viewport, container, content, state, overlay, and Chromium page-scale matrix. | `tests/consumer-conformance.spec.mjs`, `scripts/test-consumer-conformance-sentinel.mjs`, and `scripts/run-consumer-page-evidence-ci.mjs` | The blocking `consumer-conformance` job runs 147 generated browser scenarios and all eight semantic/filesystem negative controls. The nonblocking `consumer-page-evidence` job creates a source-bound synthetic consumer session, verifies that its receipt uses the synthetic Git repository, branch, and revision instead of the parent Actions identity, captures one selected raster with `PAGE_EVIDENCE_*`, finalizes and validates it, then uploads only the completed packet. | Widths 320, 375, 768, 1024, and 1440; tight, medium, roomy, and full containers; empty, long-label, long-paragraph, CJK, and unbroken content; state, overlay, and Chromium page-scale probes exercise focus, overflow, contrast-ratio math, semantics, and runtime errors. | Overflow, clipped focus, low contrast, focus leakage, console-error mutations, or a leaked parent Actions identity fail on their named assertion; symlinked, pre-existing, and cleanup-redirected page-evidence paths fail without outside writes, deletion, or overwritten bytes. | The blocking job proves deterministic browser contracts in the pinned Chromium environment. The optional validated packet supports review but does not prove usability, accessibility, product suitability, or cross-browser behavior. |
31
+ | Explicit evidence deadlines are audited weekly without inventing a repository-wide maximum age. | `scripts/audit-evidence-freshness.mjs`, `scripts/test-audit-evidence-freshness.mjs`, and `scripts/validate-governance.mjs` | `.github/workflows/evidence-freshness.yml` runs Monday at 05:00 UTC and by manual dispatch in advisory mode, emits annotations, and uploads the JSON report for 14 days. | Fresh, expiring, expired, review-due, and no-explicit-expiry records retain their declared semantics. | Malformed records and auditor failures remain blocking even though due-date findings are advisory. | The audit reports only explicit `expires_at` and `review_by` values; it does not infer a TTL, establish evidence quality, or revoke a claim automatically. |
32
+ | Markdown links resolve inside the repository. | `scripts/validate-links.mjs` | `node scripts/validate-links.mjs --json` | All checked Markdown links resolve to local files or are intentionally external or anchors. | A local link that escapes the repository or points at a missing file must fail. | Proves link targets exist, not that the target content supports a claim. |
33
+ | Catalog and generated pattern indexes match the pattern data source. | `scripts/validate-catalog.mjs` | `node scripts/validate-catalog.mjs --json` | `CATALOG.md`, category indexes, and expected pattern files match `scripts/pattern-data.mjs`. | Missing, unexpected, or unlisted pattern files must fail. | Proves catalog consistency, not pattern usefulness. |
34
+ | Governance, lifecycle, generated-file, ownership, and stale-content policy remain discoverable and CI-enforced. | `scripts/validate-governance.mjs` and `scripts/test-validate-governance.mjs` | `node scripts/validate-governance.mjs --json`; `node scripts/test-validate-governance.mjs --json` | `GOVERNANCE.md`, `.github/CODEOWNERS`, generated warnings, generated metadata, root link targets, lifecycle states, `scheduled_stale_audit` metadata, and CI wiring are present. | Missing governance file, generated warning, generated metadata, CODEOWNERS coverage, or stale policy fixtures must fail. Preferred governance prose and link labels emit warnings. | Proves governance policy is present and linked, not that CODEOWNERS users have verified repository write access. |
35
+ | Domain topology, metadata, provenance, scope boundaries, and root routes remain enforced. | `scripts/validate-domains.mjs` and `scripts/test-validate-domains.mjs` | `node scripts/validate-domains.mjs --json`; `node scripts/test-validate-domains.mjs` | Five governed domains and their declared leaves are reachable and attributed. | Domain metadata, immutable provenance, scope boundaries, and root-route fixtures must fail. | A full SHA proves content identity syntax, not publisher authenticity, source ownership, or local quality. |
36
+ | Consumer-reference handoffs, schema/runtime parity, repository-local record paths, lifecycle separation, ownership truth, and dependency direction remain enforced. | `scripts/validate-consumer-reference.mjs` and `scripts/test-validate-consumer-reference.mjs` | `node scripts/validate-consumer-reference.mjs --json`; `node scripts/test-validate-consumer-reference.mjs --json` | Declared and reasoned-not-applicable fixtures exit zero, every shipped schema rule has accepted/rejected parity coverage, all repository handoffs declare applicability, fixtures remain related, and ownership discloses placeholder single-account review. | Unknown top-level or nested properties, invalid schema fields, missing handoff or reason, stable with ended support, boolean independence, unresolved/absolute/scheme/network/parent/item-or-record-symlink/non-JSON paths, scaffold success, sixth-domain classification, literal or supported computed reverse imports, and repository handoff omissions must fail with named finding codes and non-zero child exit. | Proves receiver-contract consistency, bounded static dependency detection, and path containment, not general JavaScript data-flow safety, visual quality, independent adoption, verified owner permissions, or consumer implementation conformance. |
37
+ | Promotion governance remains a closed JSON-only, invariant-scoped, deferred example contract. | `scripts/validate-promotion-rfc.mjs` and `scripts/test-validate-promotion-rfc.mjs` | `node scripts/validate-promotion-rfc.mjs --json`; `node scripts/test-validate-promotion-rfc.mjs --json` | The manifest-declared policy and two canonical examples pass with deferred decisions, zero attestations, exact support commitment, and no promotion claim. | Manifest-declared invalid fixtures plus forged, unregistered, duplicate, path, extension, support, evidence, canonical-drift, and lifecycle mutations exit non-zero with named findings. | Synthetic validation does not authenticate adoption, organizations, owners, support capacity, provenance, or a promotion decision; the current canonical inventory supplies no real independent consumers. |
38
+ | Portable token source and generated CSS agree through the pinned restricted adapter. | `scripts/build-reference-artifacts.mjs`, `scripts/validate-reference-artifacts.mjs`, and `scripts/test-reference-adapters.mjs` | Build with `--fail-on-warning`, validate the generated manifest, then run the adapter fixture harness. | Dimension, color, duration, tested border values, and whole-token curly aliases emit nonzero CSS declarations with matching counts and hashes; output references remain CSS variable references. | `$extends`, JSON Pointer, resolver/modifier/theme documents, unknown reserved fields, non-string descriptions, adapter-unsafe path segments, untested type/unit, partial/dangling/cyclic/type-mismatched aliases, missing output, zero count, warning, scaffold/unknown manifest fields, missing/duplicate declaration, object sentinel, unresolved or forged value, and count drift must fail with named findings and non-zero child exit. | Proves the pinned adapter preserves this tested subset and that committed artifacts independently rebuild from their canonical source, not that tokens are product defaults, portable beyond the tested adapters, visually suitable, or adopted by a consumer. |
39
+ | The proposed Chromium sentinel preserves canonical card-grid geometry and truth-derived calibration evidence. | `tests/consumer-reference-sentinels.spec.mjs`, `scripts/test-consumer-reference-sentinel.mjs`, `scripts/validate-baseline-manifest.mjs`, and strict raw calibration harnesses. | Run the ordinary sentinel and semantic negatives in the digest-pinned nonblocking Chromium job; validate manifest/raw evidence in the contract job. | Computed visibility/cardinality/grid/gap/geometry/overflow checks precede a locator screenshot; raw DOM and AX bytes are recorded and hash-checked across runs; completion and zero diff derive only from a zero child exit, the exact passing Playwright identity, verified raw hashes, and post-assertion comparison proof. | Hidden layout, long-content overflow, fake/malformed Playwright, missing or nonzero exit, absent comparison/artifact, tampered hash, duplicate/unknown metadata, malformed recursive records, and incomplete run sets must fail without writing a completed aggregate. | Local DOM/AX/rendered evidence does not prove semantic DOM/AX conformance, product suitability, accessibility, or owner approval. Completed-CI repository, workflow, run ID and attempt, SHA, and artifact-name fields are workflow-recorded, self-asserted metadata, not an external attestation. The self-asserted repository field names the canonical upstream changeroa/StyleGallery; the self-asserted execution_repository field names the actual GitHub Actions repository and is limited to changeroa/StyleGallery or ark-jo/StyleGallery. The committed calibration's external_verification object records an independently checked GitHub Actions run and artifact API identity; artifact.api_digest is distinct from committed_ci.raw_evidence_sha256. Future CI aggregates remain awaiting_external_verification until their uploaded artifact API identity is independently checked. Linux/amd64 repeatability is externally verified only for committed run 29260372260; it does not establish baseline-owner approval or product suitability. Baseline-owner approval remains unclaimed until the named owner explicitly approves it. Synthetic fixtures validate rejection and acceptance behavior only; they are not authenticated provenance. Both Chromium jobs are nonblocking and CI never updates snapshots. |
40
+ | Governed-local button states retain source-bound visual, DOM, and accessibility-tree evidence across both example profiles. | `scripts/create-component-state-session.mjs`, `scripts/finalize-component-state-evidence.mjs`, `scripts/validate-component-state.mjs`, and the component-state source, contract, artifact, generator, and sentinel harnesses. | `npm run test:component-state`; `npm run validate:component-state`; run the digest-pinned component-state browser capture and `npm run test:component-state:runtime-negative`. | Editorial and terminal each declare the five compound scenarios `action-disabled-busy`, `action-focused`, `action-loading-busy`, `disclosure-expanded-loading`, and `toggle-focused-pressed`; their environment-scoped approved PNG hashes and dimensions are canonical pre-capture inputs; the generated state, keyboard, and evidence matrices match their records; one clean capture session binds the browser artifacts to the governed source inventory. | Missing or altered source bindings, missing executable source manifests, invalid state/profile records, scenario drift, coordinated PNG/manifest/sidecar substitution, unapproved environment-specific raster identity, malformed or replayed runtime artifacts, hash/count mismatch, insufficient focus clearance, and sentinel mutations must exit non-zero with named findings. | Proves the declared examples and captured channels agree for an explicitly approved browser environment. Legacy source-less receipts are intentionally rejected by the capture receipt, `session_link`, and `completed_session` schemas and by executable finalization and validation. Environment-scoped PNG identity does not imply cross-platform pixel equivalence. It does not prove product suitability, independent adoption, full accessibility, cross-browser behavior, or owner approval; synthetic negative fixtures are not authenticated provenance. |
41
+
42
+ ## Validator Severity Contract
43
+
44
+ - `failures` contains structural, schema, safety-boundary, link-target, ordering, or generated-drift violations. Any failure sets `ok: false` and exits non-zero.
45
+ - `warnings` contains preferred natural-language wording, link labels, or scannability guidance. Warnings leave `ok: true` and exit zero.
46
+ - A fixture that moves a check from blocking to advisory must prove both sides: an equivalent paraphrase produces a warning, while the corresponding missing structure or machine-readable field still fails.
47
+
48
+ ## Claim Boundaries
49
+
50
+ - Validator evidence can support "the repository enforces this structural rule."
51
+ - Fixture evidence can support "the validator rejects this known-bad shape."
52
+ - CI evidence can support "this command runs in the workflow."
53
+ - Rendered evidence can support "this viewport or state was captured for review."
54
+ - Human review can support "a reviewer evaluated this claim under a named method."
55
+ - Source citation can support "this claim has an admissible reference boundary."
56
+
57
+ ## Rendered Evidence Backlog
58
+
59
+ | Rendered claim | Required evidence |
60
+ | --- | --- |
61
+ | A pattern produces the intended layout behavior across breakpoints. | Browser screenshot matrix for narrow, medium, and wide viewports, plus the relevant state if the pattern has interaction or overflow. |
62
+ | A generated webpage is harmonious. | Browser screenshots of the page, a completed harmony evaluation gate, and a human review note. |
63
+ | A visual change is stable. | Before and after screenshots or a visual diff for the named viewport and state. |
64
+ | Accessibility is acceptable. | Automated checks, keyboard/focus review, and manual accessibility review scoped to the claim. |
65
+
66
+ ## Rejection Rules
67
+
68
+ Reject a claim when:
69
+
70
+ - it says or implies that visual quality is proven by validator output;
71
+ - it treats screenshot evidence as proof of usability, accessibility, or task completion;
72
+ - it treats source citations as proof of local rendered behavior;
73
+ - it claims CI coverage for a script that is not run by `.github/workflows/validate.yml`;
74
+ - it omits the negative fixture or failure mode for an enforced validator rule.
75
+
76
+ ## IA Navigation
77
+
78
+ Parent: [Evidence References](index.md).
79
+ Next: [Quality Gates](../index.md) to decide whether the evidence supports a claim.
@@ -0,0 +1,56 @@
1
+ ---
2
+ type: Evidence Reference
3
+ title: Evidence Family Glossary
4
+ description: Normalized evidence families for structured quality claims.
5
+ ---
6
+
7
+ # Evidence Family Glossary
8
+
9
+ Use these evidence-family names in claim records. A claim can cite more than one family when the warrant needs multiple kinds of support.
10
+
11
+ ## `validator`
12
+
13
+ Executable checks, fixtures, schema validation, link checks, and CI output.
14
+
15
+ - Can support: file shape, required fields, link integrity, route order, repeatable mechanical constraints.
16
+ - Cannot prove: usability, accessibility, visual quality, brand fit, or user comprehension.
17
+
18
+ ## `screenshot`
19
+
20
+ Screenshots, visual diffs, viewport captures, state captures, and rendered DOM artifacts.
21
+
22
+ - Can support: what rendered at a specific viewport, state, density, or interaction point.
23
+ - Cannot prove: task success, accessibility, user preference, or complete responsive behavior by itself.
24
+
25
+ ## `accessibility`
26
+
27
+ Automated scans, keyboard checks, contrast checks, semantic review, screen-reader or accessibility-tree review, reduced-motion checks, and cognitive accessibility review.
28
+
29
+ - Can support: named accessibility risks, pass/fail observations, and review scope.
30
+ - Cannot prove: complete accessibility for every user or every assistive-technology pairing.
31
+
32
+ ## `user`
33
+
34
+ Participant evidence, task review, persona review, cognitive walkthrough, heuristic evaluation, or validated perception instruments.
35
+
36
+ - Can support: task success, perceived clarity, user comprehension, or human-judgment claims inside the observed population and method.
37
+ - Cannot prove: universal preference, brand quality, or outcomes outside the tested task.
38
+
39
+ ## `source`
40
+
41
+ Academic, standards, official tooling, methodology, vendor, practice, or public design-system references.
42
+
43
+ - Can support: vocabulary, methods, constraints, standards, and implementation examples.
44
+ - Cannot prove: local quality unless connected to repository context, rendered evidence, and a warrant.
45
+
46
+ ## `rationale`
47
+
48
+ ADR-style or Toulmin-style records, options considered, criteria, counterclaims, limitations, debt, owner, and review trigger.
49
+
50
+ - Can support: why a decision is admissible, what alternatives were rejected, and what boundary controls the claim.
51
+ - Cannot prove: the selected option is empirically best without `user` or other outcome evidence.
52
+
53
+ ## IA Navigation
54
+
55
+ Parent: [Evidence References](index.md).
56
+ Next: [Executable evidence](executable-evidence.md) for validator, fixture, CI, rendered, review, and citation boundaries.
@@ -0,0 +1,36 @@
1
+ ---
2
+ type: Evidence Reference
3
+ title: HCI Evaluation Evidence
4
+ description: Usability, walkthrough, heuristic, and perception evidence boundaries.
5
+ ---
6
+
7
+ # HCI Evaluation Evidence
8
+
9
+ HCI evidence helps separate task success, perceived usability, aesthetics, and cognitive load.
10
+
11
+ ## Evidence Types
12
+
13
+ - heuristic evaluation;
14
+ - cognitive walkthrough;
15
+ - persona or task review;
16
+ - first-impression or perceived-aesthetics evidence;
17
+ - user testing or validated instruments when required.
18
+
19
+ ## Can Support
20
+
21
+ - a task path has been reviewed;
22
+ - a usability heuristic has an observed issue or pass condition;
23
+ - a design claim needs human review rather than static validation;
24
+ - empirical evidence is required before making a strong user-perception claim.
25
+
26
+ ## Cannot Prove
27
+
28
+ - universal user preference;
29
+ - aesthetic quality from a single expert opinion;
30
+ - task success without a task scenario;
31
+ - user perception without user or validated-instrument evidence.
32
+
33
+ ## IA Navigation
34
+
35
+ Parent: [Evidence References](index.md).
36
+ Next: [Quality Gates](../index.md) to decide whether the evidence supports a claim.
@@ -0,0 +1,16 @@
1
+ # Evidence References
2
+
3
+ Evidence references describe what sources and artifacts can support. They do not decide quality by themselves.
4
+
5
+ ## References
6
+
7
+ - [Sources](sources.md) - Source admissibility and source families.
8
+ - [Evidence family glossary](families.md) - Normalized `validator`, `screenshot`, `accessibility`, `user`, `source`, and `rationale` families for claim records.
9
+ - [Executable evidence](executable-evidence.md) - Validator, fixture, CI, rendered, review, and citation boundaries.
10
+ - [Consumer migration evidence](consumer-migration.md) - Runtime, page-session, adoption, freshness, and human-review boundaries for migration readiness.
11
+ - [Visual QA](visual-qa.md) - Rendered evidence references and limits.
12
+ - [Accessibility](accessibility.md) - Accessibility evidence references and limits.
13
+ - [HCI evaluation](hci-evaluation.md) - Heuristic, walkthrough, and user-evidence references.
14
+ - [Design rationale](design-rationale.md) - Rationale and argument-structure references.
15
+ - [Tokens](tokens.md) - Design token evidence and limits.
16
+ - [Search, metadata, and polyhierarchy](search-metadata-polyhierarchy.md) - Retrieval benchmark, metadata dictionary, and search adoption decision.