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,157 @@
1
+ ---
2
+ type: Documentation Guide
3
+ title: Documentation Mode Taxonomy
4
+ description: Primary documentation modes, hybrid decisions, and task routing for StyleGallery.
5
+ ---
6
+
7
+ # Documentation Mode Taxonomy
8
+
9
+ Use this guide when adding, moving, or reviewing documentation. Each page should have one primary documentation mode so readers know whether to learn, follow steps, look up a contract, understand a rationale, or apply a policy gate.
10
+
11
+ ## Modes
12
+
13
+ | Mode | Reader posture | Page should contain |
14
+ | --- | --- | --- |
15
+ | Tutorial | Learn by completing a first small task. | Ordered path, concrete starting state, completion marker. |
16
+ | How-to | Follow steps to finish a known task. | Action sequence, decision points, expected handoff. |
17
+ | Reference | Look up stable facts or contracts. | Names, fields, sections, generated indexes, boundaries. |
18
+ | Explanation | Understand principles and rationale. | Why the repo works this way, scope, tradeoffs. |
19
+ | Policy/procedure | Decide whether work is admissible. | Required contract, evidence, blocking conditions, boundary. |
20
+
21
+ Do not use `mixed` as a mode. If a page has more than one reading posture, keep one primary mode and record the secondary mode plus the reason.
22
+
23
+ ## Page-Mode Matrix
24
+
25
+ | Page or family | Primary mode | Secondary mode | Routing note |
26
+ | --- | --- | --- | --- |
27
+ | `README.md` | Explanation | How-to | Start here for repository purpose and top-level route selection. |
28
+ | `GUIDE.md` | How-to | Explanation | Start here before the layout problem is obvious. |
29
+ | `CATALOG.md` | Reference | None | Use when the pattern name or spatial problem is already known. |
30
+ | `DOMAINS.md` | Reference | Policy/procedure | Use for top-level domain scope, membership, lifecycle, ownership, and provenance. |
31
+ | `GOVERNANCE.md` | Reference | Policy/procedure | Look up source-of-truth, lifecycle, generated artifact, and review-owner rules. |
32
+ | `AGENTS.md` | Policy/procedure | Reference | Use when editing the repository as an agent. |
33
+ | `index.md` | Reference | None | OKF bundle index and link map. |
34
+ | `log.md` | Reference | None | Chronological update record. |
35
+ | `layout/index.md` | Reference | How-to | Enter the existing Layout planning, pattern, recipe, and quality routes without moving them. |
36
+ | `motion/index.md` | Reference | Explanation | Enter Motion terminology, review, and practice references. |
37
+ | `motion/*.md` | Reference or How-to | Explanation | Apply experimental motion terminology and review guidance inside its evidence boundary. |
38
+ | `design-engineering/index.md` | Reference | Explanation | Enter Design Engineering product-level decision guidance. |
39
+ | `design-engineering/*.md` | Explanation | How-to | Apply experimental practitioner methods without treating taste as proof. |
40
+ | `design-engineering/consumer-migration-readiness.md` | How-to | Policy/procedure | Build a consumer-owned migration evidence chain without claiming universal authority. |
41
+ | `platform-guides/index.md` | Reference | Explanation | Enter bounded comparative platform references. |
42
+ | `platform-guides/*.md` | Explanation | Reference | Compare a named platform with explicit source, version, adaptation, and evidence limits. |
43
+ | `guides/decision-tree.md` | How-to | Reference | Route from constraints to pattern families and recipes. |
44
+ | `guides/layout-brief.md` | How-to | Reference | Fill before selecting a pattern stack. |
45
+ | `guides/vocabulary.md` | Reference | Policy/procedure | Look up canonical terms, aliases, deprecated terms, and scannability rules. |
46
+ | `guides/webpage-generation-workflow.md` | How-to | Policy/procedure | Convert raw content into a webpage handoff while preserving gate order. |
47
+ | `guides/documentation-mode-taxonomy.md` | Reference | Policy/procedure | Audit documentation modes and routing. |
48
+ | `recipes/index.md` | Reference | How-to | Look up screen-level recipes. |
49
+ | `recipes/primitive-to-recipe-matrix.md` | Reference | How-to | Compare recipe primitive slots, substitution risks, and structural responsibilities. |
50
+ | `recipes/homepage.md` | How-to | Reference | Compose a homepage or ordinary webpage from raw content. |
51
+ | `recipes/article-page.md` | How-to | Reference | Compose readable prose with supporting aside content. |
52
+ | `recipes/command-surface.md` | How-to | Reference | Compose a command-heavy shell. |
53
+ | `recipes/dashboard.md` | How-to | Reference | Compose repeated panels and action clusters. |
54
+ | `recipes/form-flow.md` | How-to | Reference | Compose a sequential form path. |
55
+ | `recipes/list-detail.md` | How-to | Reference | Compose explorable list and detail regions. |
56
+ | `recipes/saas-settings.md` | How-to | Reference | Compose fixed navigation with settings content. |
57
+ | `patterns/index.md` | Reference | None | Pattern category index. |
58
+ | `patterns/*/index.md` | Reference | None | Category-level pattern index. |
59
+ | `patterns/centering/*.md` | Reference | None | Stable centering pattern contracts. |
60
+ | `patterns/containment/*.md` | Reference | None | Stable containment pattern contracts. |
61
+ | `patterns/grid-repetition/*.md` | Reference | None | Stable grid and repetition pattern contracts. |
62
+ | `patterns/in-line-grouping/*.md` | Reference | None | Stable in-line grouping pattern contracts. |
63
+ | `patterns/media-fit/*.md` | Reference | None | Stable media fitting pattern contracts. |
64
+ | `patterns/overlay-exception/*.md` | Reference | None | Stable overlay and exception pattern contracts. |
65
+ | `patterns/split-sidebar/*.md` | Reference | None | Stable split and sidebar pattern contracts. |
66
+ | `patterns/stacking/*.md` | Reference | None | Stable stacking pattern contracts. |
67
+ | `patterns/viewport-shell/*.md` | Reference | None | Stable viewport and shell pattern contracts. |
68
+ | `quality/index.md` | Explanation | Policy/procedure | Understand the quality layer and route to gates. |
69
+ | `quality/principles.md` | Explanation | Policy/procedure | Understand shared quality principles before using gates. |
70
+ | `quality/claims.md` | Reference | Policy/procedure | Look up structured claim-record requirements and scope rules. |
71
+ | `quality/claim-records/index.md` | Reference | None | Look up claim-record examples. |
72
+ | `quality/claim-records/samples.md` | Reference | Explanation | Inspect compact examples of high-impact quality claim records. |
73
+ | `quality/gates/index.md` | Reference | Policy/procedure | Look up available gate contracts. |
74
+ | `quality/gates/accessibility-evidence.md` | Policy/procedure | Reference | Decide whether accessibility evidence supports a claim. |
75
+ | `quality/gates/design-claim.md` | Policy/procedure | Reference | Decide whether a non-layout design claim is admissible. |
76
+ | `quality/gates/harmony-evaluation.md` | Policy/procedure | Reference | Decide whether a webpage composition can guide implementation. |
77
+ | `quality/gates/consumer-migration-evidence.md` | Policy/procedure | Reference | Decide whether declared consumer migration evidence is sufficient. |
78
+ | `quality/gates/layout.md` | Policy/procedure | Reference | Decide whether a layout claim satisfies the pattern contract. |
79
+ | `quality/gates/rationale.md` | Policy/procedure | Reference | Decide whether a rationale exposes options, warrant, and debt. |
80
+ | `quality/gates/visual-evidence.md` | Policy/procedure | Reference | Decide whether rendered evidence supports a visual claim. |
81
+ | `quality/evidence/index.md` | Reference | None | Look up evidence reference families. |
82
+ | `quality/evidence/accessibility.md` | Reference | Explanation | Understand accessibility evidence boundaries. |
83
+ | `quality/evidence/consumer-migration.md` | Reference | Explanation | Understand runtime, browser, session, adoption, freshness, and review boundaries for a migration. |
84
+ | `quality/evidence/design-rationale.md` | Reference | Explanation | Understand design-rationale evidence boundaries. |
85
+ | `quality/evidence/executable-evidence.md` | Reference | Policy/procedure | Map validators, tests, rendered QA, review, and source citations to claim boundaries. |
86
+ | `quality/evidence/families.md` | Reference | Explanation | Look up normalized evidence-family names and boundaries. |
87
+ | `quality/evidence/hci-evaluation.md` | Reference | Explanation | Understand HCI evidence boundaries. |
88
+ | `quality/evidence/pattern-contract-audit.md` | Reference | Explanation | Map generated pattern contracts to validator and human-review responsibilities. |
89
+ | `quality/evidence/search-metadata-polyhierarchy.md` | Reference | Explanation | Document retrieval metadata, facet drift, and search-adoption evidence. |
90
+ | `quality/evidence/sources.md` | Reference | Policy/procedure | Look up source admissibility boundaries. |
91
+ | `quality/evidence/tokens.md` | Reference | Explanation | Understand token evidence boundaries. |
92
+ | `quality/evidence/visual-qa.md` | Reference | Explanation | Understand visual QA evidence boundaries. |
93
+
94
+ The wildcard rows are intentional. Generated pattern pages share one stable reference contract, and generated category indexes share one stable reference posture.
95
+
96
+ ## Hybrid Decisions
97
+
98
+ | Page or family | Decision | Reason |
99
+ | --- | --- | --- |
100
+ | `README.md` | Keep and label | The page primarily explains repository purpose, but it must also route readers to the correct next document. |
101
+ | `GUIDE.md` | Keep and label | The page is a how-to entry point, but it needs explanation to separate before-problem and after-problem use. |
102
+ | `DOMAINS.md` | Keep and label | The manifest is a domain reference whose scope, lifecycle, and provenance rules also govern edits. |
103
+ | `GOVERNANCE.md` | Keep and label | The page is a governance reference whose rules also operate as edit procedure. |
104
+ | `AGENTS.md` | Keep as policy/procedure | The page governs agent edits and doubles as a reference for recurring repository rules. |
105
+ | `guides/decision-tree.md` | Keep and label | The page is navigational how-to; reference links are necessary outputs, not a competing mode. |
106
+ | `guides/layout-brief.md` | Keep and label | The page is a fill-in how-to whose prompts also act as a stable brief reference. |
107
+ | `guides/vocabulary.md` | Keep and label | The page is a term reference with policy rules for canonical and deprecated language. |
108
+ | `guides/webpage-generation-workflow.md` | Keep and label | The page is a how-to workflow with policy checkpoints around harmony, image reference, and handoff order. |
109
+ | `guides/documentation-mode-taxonomy.md` | Keep and label | The page is a reference matrix with policy rules for avoiding unlabeled mixed modes. |
110
+ | `recipes/index.md` | Keep and label | The page is a recipe lookup index, with enough how-to routing to choose the next recipe. |
111
+ | `recipes/primitive-to-recipe-matrix.md` | Keep and label | The page is a reference matrix that supports how-to substitution decisions. |
112
+ | `recipes/*.md` | Intentional hybrid | Recipes teach composition steps while preserving reusable reference contracts for pattern stacks, constraints, and scroll ownership. |
113
+ | `quality/index.md` | Keep and label | The page explains why the quality layer exists and routes readers into policy/procedure gates. |
114
+ | `quality/principles.md` | Keep and label | The page explains shared principles that later become gate policy. |
115
+ | `quality/claims.md` | Keep and label | The page is a claim-record reference with procedure for when a record is required. |
116
+ | `quality/claim-records/samples.md` | Keep and label | The page is a reference example set that explains why each claim shape is acceptable. |
117
+ | `quality/gates/index.md` | Keep and label | The page is a gate lookup index, with policy/procedure routing to the correct contract. |
118
+ | `quality/gates/*.md` | Keep as policy/procedure | Gate pages must remain checkable procedures with required contracts, evidence families, blocking conditions, and boundaries. |
119
+ | `quality/evidence/*.md` | Keep as reference | Evidence pages define what a source or artifact can support; they do not decide pass/fail by themselves. |
120
+
121
+ ## Task Routing
122
+
123
+ | User task | Read first | Then read |
124
+ | --- | --- | --- |
125
+ | Understand what the repository is for. | `README.md` | `DOMAINS.md` |
126
+ | Choose the owning StyleGallery domain. | `DOMAINS.md` | The selected domain `index.md` |
127
+ | Name or review product motion. | `motion/index.md` | The matching Motion reference or workflow |
128
+ | Review a product-level craft decision. | `design-engineering/index.md` | `design-engineering/interface-craft.md`, then the relevant quality gate |
129
+ | Prove an existing consumer migration. | `design-engineering/consumer-migration-readiness.md` | `quality/gates/consumer-migration-evidence.md`, then the consumer-owned conformance record |
130
+ | Compare an Apple interaction convention. | `platform-guides/index.md` | `platform-guides/apple-interaction.md` and current official sources |
131
+ | Choose a layout when the pattern name is unknown. | `GUIDE.md` | `guides/decision-tree.md` |
132
+ | Turn raw content into a homepage or webpage. | `guides/webpage-generation-workflow.md` | `recipes/homepage.md`, `quality/gates/harmony-evaluation.md` |
133
+ | Look up a known layout primitive. | `CATALOG.md` | The relevant `patterns/*/*.md` page |
134
+ | Compose a screen from reusable patterns. | `recipes/index.md` | The matching recipe page and linked pattern contracts |
135
+ | Review whether a quality claim is admissible. | `quality/index.md` | The relevant `quality/gates/*.md` and `quality/evidence/*.md` pages |
136
+ | Edit repository docs or patterns as an agent. | `AGENTS.md` | This taxonomy and the changed page family |
137
+
138
+ ## First-Run Tutorial Outline
139
+
140
+ The webpage-generation path needs a tutorial only when a reader has raw content and has not yet produced a layout handoff before. Keep the full workflow in `guides/webpage-generation-workflow.md`; add a separate tutorial only if repeated users need a smaller first success path.
141
+
142
+ Suggested tutorial outline:
143
+
144
+ 1. Start with one short homepage brief and supplied content blocks.
145
+ 2. Name the use case and primary task.
146
+ 3. Map content blocks to section jobs.
147
+ 4. Choose `recipes/homepage.md` or reject it with one reason.
148
+ 5. Run the harmony gate checklist.
149
+ 6. Produce the implementation handoff.
150
+
151
+ Completion marker:
152
+
153
+ ```txt
154
+ First-run complete when the reader has a use case, section-job map, selected recipe, harmony-gate decision, and implementation handoff.
155
+ ```
156
+
157
+ Do not treat generated imagery, screenshots, or decorative choices as the tutorial completion marker. The first success is a handoff that can be implemented without weakening semantic order, scroll ownership, or quality-gate boundaries.
@@ -0,0 +1,220 @@
1
+ ---
2
+ type: Planning Guide
3
+ title: Layout Brief Template
4
+ description: Questions to answer before selecting a layout pattern stack.
5
+ ---
6
+
7
+ # Layout Brief Template
8
+
9
+ Use this template before choosing patterns. The answer should describe spatial responsibility, not visual style.
10
+
11
+ ## Screen
12
+
13
+ - What is the screen type?
14
+ - What is the primary user task?
15
+ - What is the primary content?
16
+ - What is the supporting content?
17
+
18
+ ## Source Order
19
+
20
+ - Does DOM order match reading order?
21
+ - Does visual order match focus order?
22
+ - Which landmarks, headings, lists, links, buttons, or form controls are required before layout classes?
23
+
24
+ ## Scroll Ownership
25
+
26
+ - What owns scrolling?
27
+ - Is there one scroll container or more than one?
28
+ - Which regions stay fixed, sticky, or static?
29
+ - Where is height determined?
30
+
31
+ ## Constraints
32
+
33
+ - What are the minimum and maximum inline sizes?
34
+ - Which gaps are stable across the screen?
35
+ - Which regions may shrink, wrap, or overflow?
36
+ - Which values are product tokens, and which are browser mechanics?
37
+
38
+ ## Responsiveness
39
+
40
+ - Is this a viewport-level problem or a component-local problem?
41
+ - Can the layout adapt through intrinsic sizing before adding breakpoints?
42
+ - Should container queries be used instead of viewport breakpoints?
43
+ - What changes at narrow, medium, and roomy container sizes?
44
+
45
+ ## Content Stress
46
+
47
+ - What happens when content is empty?
48
+ - What happens with long labels?
49
+ - What happens with long paragraphs?
50
+ - What happens with an unbroken string?
51
+ - Does the layout survive `ltr` and `rtl` direction?
52
+
53
+ ## Webpage Generation Intake
54
+
55
+ Use these fields when raw content must become a homepage or ordinary webpage before a pattern stack is obvious.
56
+
57
+ Content-to-layout match:
58
+
59
+ - What type of webpage is being made: homepage, campaign page, product page, article, documentation, portfolio, or support page?
60
+ - Which content blocks are mandatory, optional, repeated, or disposable?
61
+ - Which section job does each block serve: hook, explain, prove, compare, convert, navigate, or retain?
62
+ - Which layout recipe is the closest spatial model, and which recipes were rejected?
63
+
64
+ Harmony evaluation:
65
+
66
+ - Does the section order match the visitor's decision path?
67
+ - Does the visual weight match content priority before decoration is considered?
68
+ - Do repeated regions share a rhythm without hiding unique content jobs?
69
+ - Do accessibility, source order, and task completion override visual novelty where they conflict?
70
+
71
+ GPT Image reference:
72
+
73
+ - Required preconditions before prompt: use case, content blocks, section jobs, selected recipe, approved pattern stack, constraints, and harmony notes.
74
+ - What image prompt will be generated from the approved content hierarchy and pattern stack?
75
+ - Which details must the image clarify: hero composition, section rhythm, hierarchy, spacing, media treatment, or CTA priority?
76
+ - Image review extract-vs-ignore: implementable hierarchy, spacing, media treatment, and CTA priority go into the handoff; decorative styling and proof-like claims stay out of reusable pattern CSS.
77
+ - Which generated-image details are decorative and must not be copied into reusable pattern CSS?
78
+ - Accepted image debt: record unclear areas that need another image, a written decision, or product-owner follow-up.
79
+ - Which unclear generated-image details need a written decision, another reference, or explicit exclusion before implementation?
80
+
81
+ Implementation handoff:
82
+
83
+ - Which semantic HTML skeleton, layout patterns, constraints, and scroll owners are approved?
84
+ - Which image-reference observations become product-level visual styling outside the pattern library?
85
+ - Which viewport, content-stress, accessibility, and visual-evidence checks must pass before shipping?
86
+ - Consumer reference: `not_applicable`.
87
+ - Consumer reference reason: This blank planning template declares no consumer-specific reference record.
88
+ - Consumer migration conformance: omit for ordinary work; for an elected migration method, use `declared` plus one normalized consumer-local JSON record path.
89
+
90
+ ## Minimum Required Fields By Use Case
91
+
92
+ Use the smallest field set that can keep source order, scroll ownership, and constraints from being overridden by visual taste or generated imagery.
93
+
94
+ Homepage:
95
+
96
+ - Content blocks, section jobs, closest recipe, pattern stack, scroll owner, constraints, harmony evaluation, GPT Image reference, implementation handoff.
97
+
98
+ Dashboard:
99
+
100
+ - Repeated panel inventory, scan or comparison task, closest recipe, pattern stack, scroll owner, constraints, harmony evaluation, GPT Image reference, implementation handoff.
101
+
102
+ Article:
103
+
104
+ - Reading path, supplemental content, closest recipe, pattern stack, scroll owner, constraints, harmony evaluation, GPT Image reference, implementation handoff.
105
+
106
+ Form:
107
+
108
+ - Input groups, validation and action placement, closest recipe, pattern stack, scroll owner, constraints, harmony evaluation, GPT Image reference, implementation handoff.
109
+
110
+ Command surface:
111
+
112
+ - Command regions, controlled content regions, closest recipe, pattern stack, scroll owner, constraints, harmony evaluation, GPT Image reference, implementation handoff.
113
+
114
+ ## Rejected Alternatives
115
+
116
+ Record alternatives at the point they are rejected so the implementation handoff does not reopen them accidentally.
117
+
118
+ ```txt
119
+ Rejected pattern or recipe:
120
+ Reason rejected:
121
+ Which requirement it weakened:
122
+ Replacement:
123
+ Accepted tradeoff:
124
+ ```
125
+
126
+ ## Candidate Pattern Stack
127
+
128
+ Record the initial pattern stack and why each pattern is responsible for a specific spatial problem.
129
+
130
+ ```txt
131
+ Screen type:
132
+ Primary task:
133
+ Primary content:
134
+ Supporting content:
135
+ Scroll owner:
136
+ Pattern boundary:
137
+ Pattern stack:
138
+ Layout owner:
139
+ Core layout declarations:
140
+ Demo or product styling excluded:
141
+ Constraints:
142
+ Change points:
143
+ Likely breaking content case:
144
+ Patterns rejected:
145
+ Webpage use case:
146
+ Section jobs:
147
+ Harmony notes:
148
+ GPT Image reference prompt:
149
+ Implementation handoff:
150
+ Consumer reference: not_applicable
151
+ Consumer reference reason: This blank layout brief declares no consumer-specific reference record.
152
+ ```
153
+
154
+ Short examples:
155
+
156
+ - New pattern: `Pattern boundary: repeated layout failure`, `Layout owner: tab_strip owns inline overflow`, `Demo or product styling excluded: active tab color`.
157
+ - Recipe composition: `Pattern boundary: recipe composition`, `Pattern stack: fixed-sidenav-shell, content-limiter, stack`, `Patterns rejected: new settings-page pattern`.
158
+ - Product styling: `Pattern boundary: product styling`, `Core layout declarations: card-grid placement only`, `Demo or product styling excluded: shadows, radius, color accents`.
159
+
160
+ Minimal code example:
161
+
162
+ ```html
163
+ <section class="settings_shell" aria-label="Settings">
164
+ <nav class="settings_shell_nav" aria-label="Settings sections"></nav>
165
+ <main class="settings_shell_scroll_area"></main>
166
+ </section>
167
+ ```
168
+
169
+ ```css
170
+ .settings_shell {
171
+ block-size: 100dvb;
172
+ display: grid;
173
+ grid-template-columns: auto minmax(0, 1fr);
174
+ }
175
+
176
+ .settings_shell_scroll_area {
177
+ min-block-size: 0;
178
+ overflow: auto;
179
+ }
180
+ ```
181
+
182
+ In this example, `settings_shell` owns viewport sizing and columns, `settings_shell_scroll_area` owns scrolling, and visual treatment such as active nav color, borders, shadows, and typography stays outside the reusable layout CSS.
183
+
184
+ Failure example:
185
+
186
+ ```css
187
+ /* Avoid: overflow is named, but the grid child may refuse to shrink. */
188
+ .settings_shell_scroll_area {
189
+ overflow: auto;
190
+ }
191
+ ```
192
+
193
+ ```css
194
+ /* Prefer: the scroll owner can shrink inside the shell track. */
195
+ .settings_shell_scroll_area {
196
+ min-block-size: 0;
197
+ overflow: auto;
198
+ }
199
+ ```
200
+
201
+ Styling boundary example:
202
+
203
+ ```css
204
+ /* Avoid in reusable pattern CSS: layout and product styling are mixed. */
205
+ .settings_shell_scroll_area {
206
+ background: var(--panel-background);
207
+ border-radius: var(--radius-lg);
208
+ box-shadow: var(--shadow-lg);
209
+ min-block-size: 0;
210
+ overflow: auto;
211
+ }
212
+ ```
213
+
214
+ ```css
215
+ /* Prefer in reusable pattern CSS: only the scroll responsibility remains. */
216
+ .settings_shell_scroll_area {
217
+ min-block-size: 0;
218
+ overflow: auto;
219
+ }
220
+ ```
@@ -0,0 +1,148 @@
1
+ ---
2
+ type: Planning Guide
3
+ title: Controlled Vocabulary
4
+ description: Canonical terminology, aliases, deprecated terms, and scannability rules for StyleGallery.
5
+ ---
6
+
7
+ # Controlled Vocabulary
8
+
9
+ Use this page when a term affects routing, metadata, search, claim records, workflow handoff, or review decisions. Prefer the canonical term in headings, frontmatter, validator output, and route labels. Use aliases only when explaining reader-facing alternatives.
10
+
11
+ Primary role: vocabulary and scannability contract.
12
+
13
+ ## Canonical Terms
14
+
15
+ - Canonical: `domain`
16
+ - Concept: top-level knowledge ownership
17
+ - Definition: A governed StyleGallery decision surface with a named scope, exclusions, lifecycle, source-of-truth, validator, and review owner.
18
+ - Use for: Layout, Motion, Design Engineering, Game UI, Platform Guides, root routing, and `domain` frontmatter on governed leaves.
19
+ - Canonical: `category`
20
+ - Concept: domain-local browse placement
21
+ - Definition: A canonical grouping inside one domain; it cannot change the owning domain or its evidence boundary.
22
+ - Use for: Layout pattern families and future domain-local indexes after a governed need is established.
23
+ - Canonical: `pattern`
24
+ - Concept: reusable spatial primitive
25
+ - Definition: A minimal HTML/CSS layout contract that solves one primary spatial problem.
26
+ - Use for: Individual files under `patterns/`, generated catalog entries, pattern stacks, and primitive references.
27
+ - Canonical: `recipe`
28
+ - Concept: screen composition
29
+ - Definition: A screen-level composition that maps a common use case to a pattern stack.
30
+ - Use for: Files under `recipes/`, planning flow, and primitive-to-recipe dependency records.
31
+ - Canonical: `gate`
32
+ - Concept: quality decision contract
33
+ - Definition: A named quality contract that decides whether a claim is admissible and which evidence can support it.
34
+ - Use for: Files under `quality/gates/` and review decisions.
35
+ - Canonical: `claim`
36
+ - Concept: review assertion
37
+ - Definition: A statement about layout, design, accessibility, evidence, rationale, or harmony that needs a warrant and boundary.
38
+ - Use for: Quality records, design rationale, and implementation handoff.
39
+ - Canonical: `evidence family`
40
+ - Concept: evidence class
41
+ - Definition: A class of support for a claim, such as mechanical, rendered, accessibility, interpretive, empirical, source, or debt evidence.
42
+ - Use for: Gate records and evidence index entries.
43
+ - Canonical: `scroll ownership`
44
+ - Concept: scroll responsibility
45
+ - Definition: The named element or region that owns scrolling, fixed behavior, sticky behavior, and height determination.
46
+ - Use for: Pattern frontmatter, layout briefs, recipes, and handoffs.
47
+ - Canonical: `harmony`
48
+ - Concept: content layout fit
49
+ - Definition: The fit between content hierarchy, spatial rhythm, visual weight, constraints, accessibility precedence, and pattern boundaries.
50
+ - Use for: Webpage generation workflow and the harmony evaluation gate.
51
+ - Canonical: `debt`
52
+ - Concept: accepted unresolved risk
53
+ - Definition: A known limitation that is accepted with a boundary, owner, and verification or follow-up path.
54
+ - Use for: Evidence records, implementation handoff, and quality-gate decisions.
55
+ - Canonical: `consumer reference`
56
+ - Concept: optional consumer record handoff
57
+ - Definition: A required handoff field that either declares one repository-local JSON record or gives a sentence reason for non-applicability.
58
+ - Use for: Consumer-owned visual or component guidance without moving values into Layout.
59
+ - Canonical: `maturity`
60
+ - Concept: consumer reference lifecycle
61
+ - Definition: The lifecycle state of a consumer reference item: experimental, stable, or deprecated.
62
+ - Use for: Lifecycle and support decisions; never as a synonym for artifact mode.
63
+ - Canonical: `artifact mode`
64
+ - Concept: consumer reference storage role
65
+ - Definition: How a consumer reference artifact is held, independently of its maturity.
66
+ - Use for: Schema-only, consumer-local, governed-local, or external-consumer records.
67
+ - Canonical: `warrant`
68
+ - Concept: claim reasoning
69
+ - Definition: The reason an evidence family can support a claim in a specific context.
70
+ - Use for: Quality gates and design rationale.
71
+ - Canonical: `boundary`
72
+ - Concept: claim limitation
73
+ - Definition: The explicit limit of what a page, pattern, gate, source, image, test, or screenshot proves.
74
+ - Use for: Gate records, evidence pages, and implementation handoff.
75
+
76
+ ## Aliases
77
+
78
+ - Alias: `area` -> `domain`
79
+ - Use only in reader-facing explanation; policy and metadata use `domain`.
80
+ - Alias: `section` -> `category`
81
+ - Use only for document structure or explanatory prose, not canonical placement metadata.
82
+ - Alias: `primitive` -> `pattern`
83
+ - Use `primitive` only when contrasting individual patterns with recipes.
84
+ - Alias: `layout primitive` -> `pattern`
85
+ - Use in explanatory prose only; canonical records should use `pattern`.
86
+ - Alias: `screen recipe` -> `recipe`
87
+ - Use when a reader might confuse recipes with CSS snippets.
88
+ - Alias: `quality gate` -> `gate`
89
+ - Use in navigation labels; canonical records may use `gate`.
90
+ - Alias: `visual reference` -> `GPT Image reference`
91
+ - Use `GPT Image reference` when the generated-image workflow is specifically involved.
92
+
93
+ ## Deprecated Terms
94
+
95
+ - Deprecated: `component` -> `pattern`
96
+ - Reason: In Layout, component implies visual or framework ownership; Layout owns spatial pattern contracts.
97
+ - Deprecated: `template` -> `recipe`
98
+ - Reason: Template implies copy-paste completeness; recipes are starting compositions.
99
+ - Deprecated: `proof` -> `evidence`
100
+ - Reason: Proof overstates what screenshots, tests, generated images, or sources can establish unless the gate names the boundary.
101
+ - Deprecated: `style guide` -> `controlled vocabulary`
102
+ - Reason: The vocabulary stabilizes decision language; it does not define brand voice.
103
+ - Deprecated: `library` -> `domain`
104
+ - Reason: Library does not name ownership, exclusions, lifecycle, or review responsibility.
105
+
106
+ ## Local-Only Terms
107
+
108
+ - Local-only: `OKF`
109
+ - Meaning: The repository's knowledge-bundle structure.
110
+ - Boundary: Use only for bundle maps, indexes, and repository organization.
111
+ - Local-only: `pattern stack`
112
+ - Meaning: The ordered set of patterns selected for a screen or section.
113
+ - Boundary: Do not use it as a synonym for final product styling.
114
+ - Local-only: `section job`
115
+ - Meaning: A content block's role in a webpage decision path, such as hook, explain, prove, compare, convert, navigate, or retain.
116
+ - Boundary: Use in webpage generation, not in every pattern file.
117
+ - Local-only: `consumer component`
118
+ - Meaning: A component owned by an opted-in consuming product or Design Engineering reference.
119
+ - Boundary: Never use it to rename a Layout pattern or move component authority into shared infrastructure.
120
+
121
+ ## Scannability Checklist
122
+
123
+ - Use headings for decision boundaries, not decorative grouping.
124
+ - Keep lists short enough to scan; split a long list by task or concept when it carries more than one decision.
125
+ - Put the canonical term first, then aliases or boundaries.
126
+ - Prefer descriptive link text that names the destination decision, not generic text such as "here" or "more."
127
+ - Keep each paragraph to one idea when it explains policy or routing.
128
+ - Use tables only when comparison across columns is the reader's task; use lists for simple sequences.
129
+ - Put boundaries near the claim they limit so a reader does not have to infer them from another page.
130
+
131
+ ## Vale Proposal
132
+
133
+ Prose linting should wait until the vocabulary is stable.
134
+
135
+ When the terms above stop changing, add Vale as a proposal first:
136
+
137
+ - Add accepted terms to a Vale vocabulary `accept.txt`.
138
+ - Add deprecated terms to `reject.txt` only after each replacement is documented here.
139
+ - Start with report-only checks for `Vale.Terms` and `Vale.Avoid`.
140
+ - Promote lint failures only after README, GUIDE, recipes, gates, and pattern frontmatter are aligned.
141
+
142
+ ## Source Notes
143
+
144
+ - [Google paragraph structure guidance](https://developers.google.com/style/paragraph-structure) supports short, single-idea paragraphs for scannability.
145
+ - [Google cross-reference guidance](https://developers.google.com/style/cross-references) supports descriptive link text.
146
+ - [Microsoft scannable content guidance](https://learn.microsoft.com/en-us/style-guide/scannable-content/) supports headings, lists, sidebars, and tables as scan aids.
147
+ - [Microsoft headings guidance](https://learn.microsoft.com/en-us/style-guide/scannable-content/headings) treats headings as structure and scan entry points.
148
+ - [Vale vocabulary guidance](https://vale.sh/docs/keys/vocab) distinguishes accepted and rejected vocabulary terms.