stylegallery 0.1.3 → 0.1.6

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 (59) hide show
  1. package/AGENTS.md +2 -1
  2. package/DOMAINS.md +13 -9
  3. package/GOVERNANCE.md +9 -1
  4. package/README.md +26 -5
  5. package/consumer-reference/agent-native/README.md +12 -1
  6. package/consumer-reference/agent-native/v2/admission-policy.json +176 -1
  7. package/consumer-reference/agent-native/v2/material-registry.json +1 -1
  8. package/consumer-reference/agent-native/v2/schema/admission-policy.schema.json +3 -3
  9. package/consumer-reference/agent-native/v2/schema/material-record.schema.json +1 -1
  10. package/design-engineering/component-contract.md +98 -0
  11. package/design-engineering/consumer-migration-readiness.md +124 -0
  12. package/design-engineering/decision-tree.md +69 -0
  13. package/design-engineering/index.md +12 -2
  14. package/design-engineering/interface-craft.md +107 -0
  15. package/design-engineering/worked-examples.md +127 -0
  16. package/design-terminology/comparison-workflow.md +98 -0
  17. package/design-terminology/concept-families.md +78 -0
  18. package/design-terminology/conflict-cases.md +109 -0
  19. package/design-terminology/index.md +73 -0
  20. package/design-terminology/relation-types.md +109 -0
  21. package/design-terminology/source-kinds.md +77 -0
  22. package/design-terminology/source-vocabularies.md +93 -0
  23. package/game-ui/classification.md +82 -0
  24. package/game-ui/decision-tree.md +81 -0
  25. package/game-ui/index.md +11 -1
  26. package/game-ui/reference-record.md +62 -0
  27. package/game-ui/screen-hierarchy.md +107 -0
  28. package/game-ui/screen-recipes.md +101 -0
  29. package/game-ui/unity/architecture.md +166 -0
  30. package/game-ui/unity/cli-loop.md +84 -0
  31. package/game-ui/unity/org-wiki.md +146 -0
  32. package/game-ui/unity/repository-map.md +102 -0
  33. package/game-ui/unity/ui-systems.md +85 -0
  34. package/game-ui/verification-workflow.md +100 -0
  35. package/guides/vocabulary.md +1 -1
  36. package/index.md +10 -1
  37. package/log.md +43 -0
  38. package/motion/decision-tree.md +70 -0
  39. package/motion/index.md +14 -2
  40. package/motion/interaction-recipes.md +164 -0
  41. package/motion/motion-brief.md +125 -0
  42. package/motion/practice-reference.md +145 -0
  43. package/motion/review-workflow.md +94 -0
  44. package/motion/vocabulary.md +82 -0
  45. package/package.json +36 -1
  46. package/platform-guides/adaptation-workflow.md +76 -0
  47. package/platform-guides/android-interaction.md +74 -0
  48. package/platform-guides/apple-interaction.md +97 -0
  49. package/platform-guides/compatibility-matrix.md +97 -0
  50. package/platform-guides/index.md +13 -2
  51. package/platform-guides/windows-interaction.md +75 -0
  52. package/quality/claim-records/design-terminology-domain-scope.md +57 -0
  53. package/quality/evidence/executable-evidence.md +1 -1
  54. package/quality/index.md +2 -2
  55. package/recipes/homepage.md +8 -0
  56. package/scripts/agent-native/v2/material-admission.mjs +1 -1
  57. package/scripts/agent-native/v2/material-identity.mjs +2 -2
  58. package/scripts/agent-native/v2/material-mcp-adapter.mjs +1 -1
  59. package/scripts/agent-native/v2/material-queries.mjs +60 -12
package/AGENTS.md CHANGED
@@ -6,7 +6,7 @@ description: Rules coding agents must follow when editing this governed multi-do
6
6
 
7
7
  # Agent Instructions
8
8
 
9
- This repository is StyleGallery: a governed gallery with Layout, Motion, Design Engineering, Game UI, and Platform Guides domains. Read [StyleGallery Domains](DOMAINS.md) before adding a domain, changing a domain boundary, or adapting an external source.
9
+ This repository is StyleGallery: a governed gallery with Layout, Motion, Design Engineering, Game UI, Platform Guides, and Design Terminology domains. Read [StyleGallery Domains](DOMAINS.md) before adding a domain, changing a domain boundary, or adapting an external source.
10
10
 
11
11
  Before editing generated artifacts, validators, lifecycle state, or ownership policy, read [Governance, Lifecycle, And Docs-As-Code](GOVERNANCE.md).
12
12
 
@@ -18,6 +18,7 @@ Before editing generated artifacts, validators, lifecycle state, or ownership po
18
18
  - Treat `consumer-reference/` as shared non-domain schema, provenance, routing, and evidence infrastructure; it owns no profile values, visual defaults, component implementation, or product CSS.
19
19
  - Keep dependency direction consumer/profile -> Layout. Do not import consumer-reference records, profile data, tokens, or decorative values into `layout/**`, `patterns/**`, `scripts/pattern-data.mjs`, or `CATALOG.md`.
20
20
  - Include the consumer-reference handoff field in implementation handoffs. For this repository-wide agent surface use `consumer_reference: consumer-reference/agent-native/registry.json`; otherwise use one normalized repository-relative JSON record or `not_applicable` with a sentence reason.
21
+ - When an implementation handoff relies on design-terminology records, declare the term identifiers and relation types used and whether the named sources were re-checked in the session; unverified reliance must be marked as such.
21
22
  - Keep material v2, v1 trust/conformance, CLI/MCP transport, and A2A/AG-UI extension planes separate. Material admission never imports profiles, source code, fixtures, schemas, tests, `.omo`, or visual defaults.
22
23
  - Validate canonical evidence v2 against its recorded immutable Git revision. Use current-authoring source checks only when creating or finalizing new capture evidence; do not recapture merely because later repository changes differ.
23
24
  - Treat `consumer-reference/policies/lifecycle-dispositions.json` as the lifecycle index. Preserve named owners, caller status `unknown`, deadlines, extension dispositions, and immutable archive bindings until their machine gate authorizes a transition.
package/DOMAINS.md CHANGED
@@ -19,20 +19,22 @@ This manifest is the source of truth for top-level StyleGallery domains. A domai
19
19
  | Design Engineering | [Design Engineering](design-engineering/index.md) | `experimental` | Product-layer craft questions and evidence-bearing decisions. | A second shared principle system or taste as proof. | Design Engineering domain owner |
20
20
  | Game UI | [Game UI](game-ui/index.md) | `experimental` | Game-interface classification, hierarchy, reference records, and implementation guides nested by engine. | Reusable Layout CSS or claims that one engine structure is universal. | Game UI domain owner |
21
21
  | Platform Guides | [Platform Guides](platform-guides/index.md) | `experimental` | Comparative references for a named platform and version context. | Affiliation, brand imitation, or authority over web standards. | Platform Guides domain owner |
22
+ | Design Terminology | [Design Terminology](design-terminology/index.md) | `experimental` | Source-kind classification, concept-family classification, typed term relations, and cross-system conflict cases for named vocabulary sources. | StyleGallery's own controlled vocabulary, motion terminology, visual token values, universal naming prescriptions, or authority over external vocabularies. | Design Terminology domain owner |
22
23
 
23
24
  ## Page Manifest
24
25
 
25
26
  | Domain | Manual hub | Governed leaves |
26
27
  | --- | --- | --- |
27
28
  | Layout | `layout/index.md` | Existing `GUIDE.md`, Layout-specific `guides/*.md`, and `recipes/*.md`; generated `patterns/**/*.md` and `CATALOG.md` remain at current paths. Shared `quality/**/*.md` infrastructure governs every domain without becoming a Layout leaf. |
28
- | Motion | `motion/index.md` | `motion/vocabulary.md`, `motion/review-workflow.md`, `motion/practice-reference.md` |
29
- | Design Engineering | `design-engineering/index.md` | `design-engineering/interface-craft.md`, `design-engineering/consumer-migration-readiness.md`, `design-engineering/reference-profiles/index.md`, `design-engineering/reference-profiles/governed-local/index.md`, `design-engineering/reference-profiles/external-adaptation/index.md` |
30
- | Game UI | `game-ui/index.md` | `game-ui/classification.md`, `game-ui/screen-hierarchy.md`, `game-ui/reference-record.md`, `game-ui/unity/architecture.md`, `game-ui/unity/ui-systems.md`, `game-ui/unity/cli-loop.md`, `game-ui/unity/repository-map.md`, `game-ui/unity/org-wiki.md` |
31
- | Platform Guides | `platform-guides/index.md` | `platform-guides/apple-interaction.md` |
29
+ | Motion | `motion/index.md` | `motion/vocabulary.md`, `motion/review-workflow.md`, `motion/practice-reference.md`, `motion/decision-tree.md`, `motion/motion-brief.md`, `motion/interaction-recipes.md` |
30
+ | Design Engineering | `design-engineering/index.md` | `design-engineering/interface-craft.md`, `design-engineering/consumer-migration-readiness.md`, `design-engineering/reference-profiles/index.md`, `design-engineering/reference-profiles/governed-local/index.md`, `design-engineering/reference-profiles/external-adaptation/index.md`, `design-engineering/decision-tree.md`, `design-engineering/component-contract.md`, `design-engineering/worked-examples.md` |
31
+ | Game UI | `game-ui/index.md` | `game-ui/classification.md`, `game-ui/screen-hierarchy.md`, `game-ui/reference-record.md`, `game-ui/unity/architecture.md`, `game-ui/unity/ui-systems.md`, `game-ui/unity/cli-loop.md`, `game-ui/unity/repository-map.md`, `game-ui/unity/org-wiki.md`, `game-ui/decision-tree.md`, `game-ui/screen-recipes.md`, `game-ui/verification-workflow.md` |
32
+ | Platform Guides | `platform-guides/index.md` | `platform-guides/apple-interaction.md`, `platform-guides/adaptation-workflow.md`, `platform-guides/android-interaction.md`, `platform-guides/windows-interaction.md`, `platform-guides/compatibility-matrix.md` |
33
+ | Design Terminology | `design-terminology/index.md` | `design-terminology/source-kinds.md`, `design-terminology/source-vocabularies.md`, `design-terminology/concept-families.md`, `design-terminology/relation-types.md`, `design-terminology/conflict-cases.md`, `design-terminology/comparison-workflow.md` |
32
34
 
33
35
  ## Shared Non-Domain Infrastructure
34
36
 
35
- [Consumer Reference](consumer-reference/index.md) is shared schema, provenance, routing, evidence, lifecycle, and machine-retrieval infrastructure outside the five-domain contract. Its source-bound material v2 index classifies admitted pages by these five domains but does not own their prose. It owns no profile implementation, visual values, or product CSS and cannot add a sixth domain row. Consumer or profile records may depend on Layout; Layout and its generated corpus cannot import consumer-reference, profile, material-registry, or transport records.
37
+ [Consumer Reference](consumer-reference/index.md) is shared schema, provenance, routing, evidence, lifecycle, and machine-retrieval infrastructure outside the six-domain contract. Its source-bound material v2 index classifies admitted pages by these six domains but does not own their prose. It owns no profile implementation, visual values, or product CSS and cannot add a seventh domain row. Consumer or profile records may depend on Layout; Layout and its generated corpus cannot import consumer-reference, profile, material-registry, or transport records.
36
38
 
37
39
  ## External Adaptation Contract
38
40
 
@@ -45,15 +47,17 @@ The initial five domain leaves are independent method rewrites inspired by [emil
45
47
  - If recognizable upstream expression is added later, preserve the full upstream MIT notice and record the copied material separately before merge.
46
48
  - Tracked repository documents must not depend on `.omo/`; stable upstream blob links and tracked repository contracts carry contributor-facing provenance.
47
49
 
48
- `design-engineering/consumer-migration-readiness.md` is the separately declared StyleGallery-local leaf. It uses `provenance_kind: local`, carries no external source fields, and remains experimental. Its presence does not change the external-adaptation inventory or make its consumer-local method universal policy.
50
+ The workflow, brief, contract, recipe, and comparison leaves added under the five non-Layout domains are StyleGallery-local synthesis with `provenance_kind: local`; their worked scenarios are proposals, not captured product evidence. The domain indexes route selection, authoring, application, and verification.
49
51
 
50
- ## Promotion And Staleness
52
+ `design-engineering/consumer-migration-readiness.md` is a separately declared StyleGallery-local leaf. It uses `provenance_kind: local`, carries no external source fields, and remains experimental. Its presence does not change the external-adaptation inventory or make its consumer-local method universal policy.
51
53
 
52
- External adaptations begin `experimental`. Promotion to `stable` requires a demonstrated reader or review task, evidence that the document improves that task, a named review owner, and no unresolved provenance or platform-version debt. Remove or revise a page when its source revision changes materially, a platform claim becomes stale, a local quality gate contradicts it, or a reader test shows the route is misleading.
54
+ ## Lifecycle And Staleness
55
+
56
+ External adaptations begin `experimental`. Domain lifecycle changes are repository-owner decisions based on whether the bounded scope remains coherent, provenance and platform-version obligations are current, and machine-checkable contracts have relevant validator coverage. User studies, reader tasks, adoption counts, and attestations are neither required nor sufficient for a domain lifecycle change. Remove or revise a page when its source revision changes materially, a platform claim becomes stale, a local quality gate contradicts it, or its route or boundary no longer matches the domain contract.
53
57
 
54
58
  ### Consumer Reference Promotion
55
59
 
56
- Consumer-reference promotion does not add a domain. The [canonical promotion contract](consumer-reference/contract.md#promotion-boundary) owns the full human-readable boundary, and the [canonical JSON promotion policy](consumer-reference/policies/shared-experimental.json) owns machine policy. As a boundary summary: the `>=2` gateway applies only to consumer-local → shared-experimental invariant eligibility; Editorial and terminal are related examples in one fixture set; Shared stable has no numeric adoption threshold; and Normative correctness may waive adoption count only. A failed stable contract is never silently relabeled experimental. Promotion records are JSON-only, and the committed examples remain synthetic with zero adopter attestations.
60
+ This separate contract governs consumer-reference invariant sharing only; it does not govern domain or page lifecycle. Consumer-reference promotion does not add a domain. The [canonical promotion contract](consumer-reference/contract.md#promotion-boundary) owns the full human-readable boundary, and the [canonical JSON promotion policy](consumer-reference/policies/shared-experimental.json) owns machine policy. As a boundary summary: the `>=2` gateway applies only to consumer-local → shared-experimental invariant eligibility; Editorial and terminal are related examples in one fixture set; Shared stable has no numeric adoption threshold; and Normative correctness may waive adoption count only. A failed stable contract is never silently relabeled experimental. Promotion records are JSON-only, and the committed examples remain synthetic with zero adopter attestations.
57
61
 
58
62
  ## IA Navigation
59
63
 
package/GOVERNANCE.md CHANGED
@@ -42,11 +42,18 @@ Use this file before editing repository documentation. It names which file is au
42
42
  | Design Engineering domain guidance | `design-engineering/*.md` | Manual | None | `experimental` | Upstream revision, evidence boundary, or guidance changes. | `scripts/validate-domains.mjs` | Design Engineering domain owner |
43
43
  | Game UI domain guidance | `game-ui/**/*.md` | Manual | None | `experimental` | Classification, hierarchy, engine implementation, evidence boundary, or route changes. | `scripts/validate-domains.mjs` | Game UI domain owner |
44
44
  | Platform Guides domain guidance | `platform-guides/*.md` | Manual | None | `experimental` | Platform version, upstream revision, evidence boundary, or guidance changes. | `scripts/validate-domains.mjs` | Platform Guides domain owner |
45
+ | Design Terminology domain guidance | `design-terminology/*.md` | Manual; term and relation tables remain authoring sources | None | `experimental` | Source-kind, source-vocabulary, concept-family, relation-model, or conflict-case changes. | `scripts/validate-domains.mjs`, `scripts/validate-design-terminology.mjs` | Design Terminology domain owner |
45
46
  | Pattern data and examples | `scripts/pattern-data.mjs` | Manual data source | `patterns/**/*.md`, `patterns/**/index.md`, `patterns/index.md`, `CATALOG.md` | `generated` output from `stable` source | Source-lineage URL changes, generated drift, category changes, or pattern count changes. | `scripts/validate-patterns.mjs`, `scripts/validate-catalog.mjs`, `scripts/validate-governance.mjs` | Pattern-data owner |
46
47
  | Pattern generator | `scripts/generate-patterns.mjs` | Manual code source | `patterns/**/*.md`, `patterns/**/index.md`, `patterns/index.md`, `CATALOG.md` | `stable` generator, `generated` output | Generated structure changes, generated-warning changes, or generated metadata changes. | `node -c scripts/generate-patterns.mjs`, generated drift check, `scripts/validate-governance.mjs` | Pattern-data owner |
47
48
  | Validation scripts | `scripts/validate-*.mjs`, `scripts/test-validate-*.mjs` | Manual code source | CI validation output | `stable` | Validator scope changes, fixture changes, or CI parity changes. | `node -c`, matching fixture tests, `.github/workflows/validate.yml` | Validation owner |
48
49
  | CI workflows | `.github/workflows/validate.yml`, `.github/workflows/evidence-freshness.yml` | Manual | GitHub Actions runs and audit artifacts | `stable` | Validation step, explicit-deadline schedule, generated drift policy, or owner changes. | GitHub Actions, `scripts/validate-governance.mjs` | Repository governance owner |
49
50
 
51
+ ## Domain Workflow Verification Boundary
52
+
53
+ The non-Layout hubs route selection, briefs/contracts, applied recipes or cases, and verification. Their local leaves declare `provenance_kind: local` and remain `experimental`. Worked examples contain expected outcomes, not captured product or engine evidence. `scripts/validate-domains.mjs` checks declared membership, provenance, sections, and routes; it does not execute those examples.
54
+
55
+ The Design Terminology Markdown tables additionally require directly located sources, labels, valid dates, explicit comparison scope and direction, and consistent relation graphs. `scripts/validate-design-terminology.mjs` and its negative fixtures check those record invariants; semantic accuracy and independent promotion review remain human judgments. Material v2 indexes only the admitted Markdown bytes. Changing the allowed document set requires updating its closed inventory, digest, package exposure, and generated registry together, without admitting code, schemas, profiles, or fixtures as material.
56
+
50
57
  ## Generated Artifact Policy
51
58
 
52
59
  Generated files are not source of truth. Do not hand-edit generated artifacts to change pattern content or catalog structure.
@@ -98,7 +105,7 @@ Use these states in reviews and governance notes. Do not invent new lifecycle la
98
105
  Default lifecycle:
99
106
 
100
107
  - Root docs, guides, recipes, quality docs, validators, and CI are `stable` unless a page explicitly says otherwise.
101
- - `DOMAINS.md`, the scope decision, and `layout/index.md` are `stable`; domain leaves under `motion/`, `design-engineering/`, `game-ui/`, and `platform-guides/` begin `experimental`.
108
+ - `DOMAINS.md`, the scope decision, and `layout/index.md` are `stable`; domain leaves under `motion/`, `design-engineering/`, `game-ui/`, `platform-guides/`, and `design-terminology/` begin `experimental`.
102
109
  - Generated pattern docs, generated pattern indexes, and `CATALOG.md` are `generated`.
103
110
  - Draft research artifacts under `.omo/` are `draft` or `experimental` and are not contributor-facing source of truth.
104
111
 
@@ -125,6 +132,7 @@ Consumer-reference ownership records the current truth as `owner.enforcement: "p
125
132
  | `tests/**`, `playwright.config.mjs`, `consumer-reference/baselines/**`, `scripts/*baseline*.mjs`, `scripts/*sentinel*.mjs`, `scripts/*renderer-purity.mjs` | Repository governance owner with Validation owner | Pure rendering, computed semantics before screenshots, immutable browser pins, required consumer-conformance semantics, optional raster capture, calibration cardinality, and pending owner approval. |
126
133
  | `game-ui/**` | Game UI domain owner | Player-task classification, hierarchy responsibility, reference records, engine-specific subtrees, and cross-engine boundaries. |
127
134
  | `platform-guides/**` | Platform Guides domain owner | Platform/source/version limits, comparison boundaries, and stale review. |
135
+ | `design-terminology/**` | Design Terminology domain owner | Term-family classification, comparative system definitions, conflict-case boundaries, and external vocabulary citations. |
128
136
  | `scripts/validate-*.mjs`, `scripts/test-validate-*.mjs`, `.github/workflows/validate.yml`, `.github/workflows/evidence-freshness.yml` | Validation owner | Validator scope, negative fixtures, blocking/advisory boundaries, CI parity. |
129
137
 
130
138
  ## Shared Promotion Governance
package/README.md CHANGED
@@ -7,18 +7,18 @@ description: Governed gallery of portable interface knowledge organized by domai
7
7
  # StyleGallery
8
8
 
9
9
  <p align="center">
10
- <img src="https://cdn.jsdelivr.net/gh/changeroa/StyleGallery@c18bc87/assets/stylegallery-hero-infographic.webp" alt="StyleGallery infographic connecting five governed interface-knowledge domains to shared consumer and agent infrastructure" width="100%">
10
+ <img src="https://cdn.jsdelivr.net/gh/changeroa/StyleGallery@c18bc87/assets/stylegallery-hero-infographic.webp" alt="StyleGallery infographic connecting six governed interface-knowledge domains to shared consumer and agent infrastructure" width="100%">
11
11
  </p>
12
12
 
13
- StyleGallery is a governed gallery of portable interface knowledge. It separates reusable spatial patterns, product-layer motion guidance, design-engineering practice, and platform-specific references into explicit domains with different evidence and ownership boundaries.
13
+ StyleGallery is a governed gallery of portable interface knowledge. It separates reusable spatial patterns, product-layer motion guidance, design-engineering practice, platform-specific references, and comparative design terminology into explicit domains with different evidence and ownership boundaries.
14
14
 
15
15
  Primary role: repository guide.
16
16
 
17
17
  The existing Layout corpus remains a gallery of minimal, portable CSS layout patterns at its current paths. Each pattern documents one primary spatial problem and the smallest robust HTML/CSS structure that solves it. Motion, visual treatment, and platform guidance do not expand reusable Layout pattern CSS; they live in their own domains and carry explicit evidence boundaries.
18
18
 
19
- [Consumer Reference](consumer-reference/index.md) is shared non-domain infrastructure for optional consumer-owned reference handoffs. It carries schema, routing, provenance, and evidence metadata without owning profiles, visual values, components, or a sixth domain.
19
+ [Consumer Reference](consumer-reference/index.md) is shared non-domain infrastructure for optional consumer-owned reference handoffs. It carries schema, routing, provenance, and evidence metadata without owning profiles, visual values, components, or a seventh domain.
20
20
 
21
- [Agent-Native StyleGallery](consumer-reference/agent-native/README.md) is the machine-facing entry point over that governed knowledge. Frozen v1 provides claim/evidence/governance records through `sg` and its MCP; isolated material v2 indexes admitted Markdown and exposes `sg-material` plus a separate read-only MCP. Lifecycle records own extension and archive dispositions. These material, trust/conformance, transport, and extension planes do not create a sixth domain, replace the Markdown corpus, permit mutation, or feed visual defaults back into Layout.
21
+ [Agent-Native StyleGallery](consumer-reference/agent-native/README.md) is the machine-facing entry point over that governed knowledge. Frozen v1 provides claim/evidence/governance records through `sg` and its MCP; isolated material v2 indexes admitted Markdown and exposes `sg-material` plus a separate read-only MCP. Lifecycle records own extension and archive dispositions. These material, trust/conformance, transport, and extension planes do not create a seventh domain, replace the Markdown corpus, permit mutation, or feed visual defaults back into Layout.
22
22
 
23
23
  ## Quick Start
24
24
 
@@ -62,6 +62,10 @@ For a coding agent with repository filesystem access, local guided traversal is
62
62
 
63
63
  The [StyleGallery homepage example](examples/stylegallery-homepage/README.md) was planned from a clean install of the published npm package. It demonstrates the Homepage recipe, selected layout patterns, agent-native CLI access, responsive behavior, and Chrome CDP verification in a standalone product-layer implementation.
64
64
 
65
+ The [Toss-inspired homepage clone](examples/toss-homepage-clone/README.md) applies the same workflow to an observed external homepage: it maps the source into section jobs, composes existing Layout patterns, keeps brand styling in the example layer, and records desktop, mobile, keyboard, overflow, and reduced-motion checks.
66
+
67
+ The [Scroll Story Lab](examples/scroll-story/README.md) adds runnable scroll-controlled product chapters, an image sequence with bounded decoding, native CSS scrubbing, and a static reading path. Start from [Motion’s scroll-driven story](motion/interaction-recipes.md#scroll-driven-story) for ownership and failure cases. The [Scene Navigation example](examples/scene-navigation/README.md) keeps the entire page fixed while wheel, keys, chapter links, and art-surface swipes select scenes; its [separate contract](motion/interaction-recipes.md#full-viewport-scene-navigation) covers input ownership, history, focus, and reading escape.
68
+
65
69
  ### Read-only MCP server
66
70
 
67
71
  Launch the packaged stdio server with:
@@ -115,9 +119,24 @@ CLI와 MCP의 상세 사용법은 [Agent-Native StyleGallery 가이드](consumer
115
119
  | [Design Engineering](design-engineering/index.md) | Product-layer craft decisions and verification questions. | A second universal principle set or taste as evidence. |
116
120
  | [Game UI](game-ui/index.md) | Game-interface classification, hierarchy, reference records, and engine-specific implementation guides. | Reusable Layout CSS or claims that one engine structure is universal. |
117
121
  | [Platform Guides](platform-guides/index.md) | Bounded comparison with named platform conventions. | Affiliation, imitation, or authority over web and accessibility contracts. |
122
+ | [Design Terminology](design-terminology/index.md) | Comparative design-term definitions, term families, and cross-system conflict cases for named systems. | StyleGallery's own vocabulary, motion terminology, visual token values, or authority over external vocabularies. |
118
123
 
119
124
  The canonical domain manifest and provenance policy are in [StyleGallery Domains](DOMAINS.md).
120
125
 
126
+ ## Practical Domain Workflows
127
+
128
+ | Task | Start | Apply and verify |
129
+ | --- | --- | --- |
130
+ | Design a transition | [Motion Decision Tree](motion/decision-tree.md) | [Brief](motion/motion-brief.md), [interaction recipes](motion/interaction-recipes.md), and [review](motion/review-workflow.md) |
131
+ | Build a product interaction | [Design Engineering Decision Tree](design-engineering/decision-tree.md) | [Component contract](design-engineering/component-contract.md) and [worked examples](design-engineering/worked-examples.md) |
132
+ | Compose a game screen | [Game UI Decision Tree](game-ui/decision-tree.md) | [Screen recipes](game-ui/screen-recipes.md) and [verification workflow](game-ui/verification-workflow.md) |
133
+ | Adapt a platform convention | [Platform Adaptation Workflow](platform-guides/adaptation-workflow.md) | [Apple](platform-guides/apple-interaction.md), [Android](platform-guides/android-interaction.md), [Windows](platform-guides/windows-interaction.md), and [compatibility matrix](platform-guides/compatibility-matrix.md) |
134
+ | Resolve a terminology conflict | [Design Term Comparison Workflow](design-terminology/comparison-workflow.md) | [Directly sourced term cases](design-terminology/conflict-cases.md) and [relation rules](design-terminology/relation-types.md) |
135
+
136
+ Layout 외 도메인도 선택 절차, 작성 양식, 적용 사례, 검증 경로를 제공합니다. 예제의 기대 결과는 실제 실행 증거와 구분하며, 공식 출처를 확인한 날짜와 적용 범위는 각 문서에 기록합니다. 문서 확충만으로 `experimental` 상태가 자동 승격되지는 않습니다.
137
+
138
+ [Interaction Lab](examples/domain-interactions/README.md)은 저장·검색·중첩 팝업·보상·입력 사례를 실행할 수 있는 브라우저 예제입니다. [검증 기록](examples/domain-interactions/verification.md)은 실제 Mac 브라우저에서 관찰한 결과와 모바일·네이티브 엔진 미검증 범위를 구분합니다.
139
+
121
140
  ## Repository Entry Roles
122
141
 
123
142
  Use each root hub for one primary job.
@@ -137,6 +156,7 @@ Use each root hub for one primary job.
137
156
  | [Design Engineering](design-engineering/index.md) | Design Engineering domain hub | You need product-level interface-craft decision guidance. |
138
157
  | [Game UI](game-ui/index.md) | Game UI domain hub | You need to classify a game interface or understand its screen hierarchy. |
139
158
  | [Platform Guides](platform-guides/index.md) | Platform Guides domain hub | You need a bounded platform comparison. |
159
+ | [Design Terminology](design-terminology/index.md) | Design Terminology domain hub | You need to compare how named design systems define or classify design terms. |
140
160
 
141
161
  ## Task Routes
142
162
 
@@ -151,6 +171,7 @@ Each common task has one primary route. Use secondary links only after the prima
151
171
  | `compare adversarial consumer identities` | [Reference Profiles](design-engineering/reference-profiles/index.md) | It keeps non-default product values in related Design Engineering examples over one pinned Layout source. |
152
172
  | `classify a game interface or map it to an engine` | [Game UI](game-ui/index.md) | It separates engine-neutral roles from implementation-specific guidance. |
153
173
  | `compare a named platform convention` | [Platform Guides](platform-guides/index.md) | It requires platform and evidence boundaries before adaptation. |
174
+ | `compare how design systems define a term` | [Design Terminology](design-terminology/index.md) | It separates external terminology comparison from StyleGallery's own controlled vocabulary. |
154
175
  | `turn raw content into a homepage or ordinary webpage` | [Webpage Generation Workflow](guides/webpage-generation-workflow.md) | It starts with use case, content-to-layout fit, harmony, and handoff. |
155
176
  | `plan a screen before the layout problem is obvious` | [Layout Planning Guide](GUIDE.md) | It sequences task, content, scroll, recipe, and verification choices. |
156
177
  | `choose a pattern when the name is unknown` | [Decision Tree](guides/decision-tree.md) | It routes from constraints to pattern categories. |
@@ -177,7 +198,7 @@ Each common task has one primary route. Use secondary links only after the prima
177
198
  ## How To Use This Repository
178
199
 
179
200
  - Start with [StyleGallery Domains](DOMAINS.md) when the owning domain is not already clear.
180
- - Use [Layout](layout/index.md), [Motion](motion/index.md), [Design Engineering](design-engineering/index.md), [Game UI](game-ui/index.md), or [Platform Guides](platform-guides/index.md) as the domain-local entry point.
201
+ - Use [Layout](layout/index.md), [Motion](motion/index.md), [Design Engineering](design-engineering/index.md), [Game UI](game-ui/index.md), [Platform Guides](platform-guides/index.md), or [Design Terminology](design-terminology/index.md) as the domain-local entry point.
181
202
  - Start with [Layout Planning Guide](GUIDE.md) when you are designing a screen before a layout problem is obvious.
182
203
  - Use the [Webpage Generation Workflow](guides/webpage-generation-workflow.md) when raw content needs to become a homepage or ordinary webpage before a layout recipe is obvious.
183
204
  - Use the [Documentation Mode Taxonomy](guides/documentation-mode-taxonomy.md) when adding or reviewing docs so each page has a clear primary reading mode.
@@ -10,7 +10,7 @@ Primary role: machine interface guide.
10
10
 
11
11
  Agent-Native StyleGallery lets a person, script, or agent inspect the governed StyleGallery knowledge graph without learning repository paths first. The Markdown corpus remains the human-readable source material; the agent-native layer gives its governed fixture records stable identities, closed schemas, deterministic operations, and protocol-specific projections.
12
12
 
13
- This is shared non-domain infrastructure. It does not add a sixth StyleGallery domain, make example profiles canonical, or allow an MCP client to mutate repository knowledge.
13
+ This is shared non-domain infrastructure. It does not add a seventh StyleGallery domain, make example profiles canonical, or allow an MCP client to mutate repository knowledge.
14
14
 
15
15
  ## Mental Model
16
16
 
@@ -56,6 +56,17 @@ All machine-mode results are deterministic JSON on stdout. A failed request retu
56
56
  | `context <StableRef>` | Build a deterministic, bounded context package with a snapshot, member manifest, policy, and cache key. |
57
57
  | `ops` | List all operation specifications, including internal governed mutations and their exposure metadata. |
58
58
 
59
+ ## Governed Material v2
60
+
61
+ Material v2 is an isolated, read-only interface over admitted Markdown. Use `sg-material discover`, `search`, `get`, and `context`, or the equivalent `material-*` tools exposed by `stylegallery-material-mcp`. It does not merge material with v1 trust records or expand the admission policy.
62
+
63
+ Search keeps the fixed field weights `title: 16`, `path: 8`, and `body: 1`. For a multi-token query, each field contribution is multiplied by `ceil(material_count / max(1, token_document_frequency))` so a specific, uncommon term such as `sticky` is not outranked by a corpus-wide term such as `layout`. Results expose the document frequency and multiplier for every normalized query token; ties remain ordered by projected StableRef. `--paths-only` preserves the same ranking while returning repository-relative paths.
64
+
65
+ ```sh
66
+ sg-material search --query "sticky layout" --paths-only --limit 5
67
+ stylegallery-material search --query "design terminology source kinds" --paths-only --limit 5
68
+ ```
69
+
59
70
  ## MCP
60
71
 
61
72
  Start the stdio MCP server with:
@@ -49,16 +49,131 @@
49
49
  "domain": "shared",
50
50
  "lifecycle": "stable"
51
51
  },
52
+ {
53
+ "repository_path": "design-engineering/component-contract.md",
54
+ "domain": "design-engineering",
55
+ "lifecycle": "experimental"
56
+ },
57
+ {
58
+ "repository_path": "design-engineering/consumer-migration-readiness.md",
59
+ "domain": "design-engineering",
60
+ "lifecycle": "experimental"
61
+ },
62
+ {
63
+ "repository_path": "design-engineering/decision-tree.md",
64
+ "domain": "design-engineering",
65
+ "lifecycle": "experimental"
66
+ },
52
67
  {
53
68
  "repository_path": "design-engineering/index.md",
54
69
  "domain": "design-engineering",
55
70
  "lifecycle": "experimental"
56
71
  },
72
+ {
73
+ "repository_path": "design-engineering/interface-craft.md",
74
+ "domain": "design-engineering",
75
+ "lifecycle": "experimental"
76
+ },
77
+ {
78
+ "repository_path": "design-engineering/worked-examples.md",
79
+ "domain": "design-engineering",
80
+ "lifecycle": "experimental"
81
+ },
82
+ {
83
+ "repository_path": "design-terminology/comparison-workflow.md",
84
+ "domain": "design-terminology",
85
+ "lifecycle": "experimental"
86
+ },
87
+ {
88
+ "repository_path": "design-terminology/concept-families.md",
89
+ "domain": "design-terminology",
90
+ "lifecycle": "experimental"
91
+ },
92
+ {
93
+ "repository_path": "design-terminology/conflict-cases.md",
94
+ "domain": "design-terminology",
95
+ "lifecycle": "experimental"
96
+ },
97
+ {
98
+ "repository_path": "design-terminology/index.md",
99
+ "domain": "design-terminology",
100
+ "lifecycle": "experimental"
101
+ },
102
+ {
103
+ "repository_path": "design-terminology/relation-types.md",
104
+ "domain": "design-terminology",
105
+ "lifecycle": "experimental"
106
+ },
107
+ {
108
+ "repository_path": "design-terminology/source-kinds.md",
109
+ "domain": "design-terminology",
110
+ "lifecycle": "experimental"
111
+ },
112
+ {
113
+ "repository_path": "design-terminology/source-vocabularies.md",
114
+ "domain": "design-terminology",
115
+ "lifecycle": "experimental"
116
+ },
117
+ {
118
+ "repository_path": "game-ui/classification.md",
119
+ "domain": "game-ui",
120
+ "lifecycle": "experimental"
121
+ },
122
+ {
123
+ "repository_path": "game-ui/decision-tree.md",
124
+ "domain": "game-ui",
125
+ "lifecycle": "experimental"
126
+ },
57
127
  {
58
128
  "repository_path": "game-ui/index.md",
59
129
  "domain": "game-ui",
60
130
  "lifecycle": "experimental"
61
131
  },
132
+ {
133
+ "repository_path": "game-ui/reference-record.md",
134
+ "domain": "game-ui",
135
+ "lifecycle": "experimental"
136
+ },
137
+ {
138
+ "repository_path": "game-ui/screen-hierarchy.md",
139
+ "domain": "game-ui",
140
+ "lifecycle": "experimental"
141
+ },
142
+ {
143
+ "repository_path": "game-ui/screen-recipes.md",
144
+ "domain": "game-ui",
145
+ "lifecycle": "experimental"
146
+ },
147
+ {
148
+ "repository_path": "game-ui/unity/architecture.md",
149
+ "domain": "game-ui",
150
+ "lifecycle": "experimental"
151
+ },
152
+ {
153
+ "repository_path": "game-ui/unity/cli-loop.md",
154
+ "domain": "game-ui",
155
+ "lifecycle": "experimental"
156
+ },
157
+ {
158
+ "repository_path": "game-ui/unity/org-wiki.md",
159
+ "domain": "game-ui",
160
+ "lifecycle": "experimental"
161
+ },
162
+ {
163
+ "repository_path": "game-ui/unity/repository-map.md",
164
+ "domain": "game-ui",
165
+ "lifecycle": "experimental"
166
+ },
167
+ {
168
+ "repository_path": "game-ui/unity/ui-systems.md",
169
+ "domain": "game-ui",
170
+ "lifecycle": "experimental"
171
+ },
172
+ {
173
+ "repository_path": "game-ui/verification-workflow.md",
174
+ "domain": "game-ui",
175
+ "lifecycle": "experimental"
176
+ },
62
177
  {
63
178
  "repository_path": "guides/decision-tree.md",
64
179
  "domain": "layout",
@@ -99,11 +214,41 @@
99
214
  "domain": "shared",
100
215
  "lifecycle": "stable"
101
216
  },
217
+ {
218
+ "repository_path": "motion/decision-tree.md",
219
+ "domain": "motion",
220
+ "lifecycle": "experimental"
221
+ },
102
222
  {
103
223
  "repository_path": "motion/index.md",
104
224
  "domain": "motion",
105
225
  "lifecycle": "experimental"
106
226
  },
227
+ {
228
+ "repository_path": "motion/interaction-recipes.md",
229
+ "domain": "motion",
230
+ "lifecycle": "experimental"
231
+ },
232
+ {
233
+ "repository_path": "motion/motion-brief.md",
234
+ "domain": "motion",
235
+ "lifecycle": "experimental"
236
+ },
237
+ {
238
+ "repository_path": "motion/practice-reference.md",
239
+ "domain": "motion",
240
+ "lifecycle": "experimental"
241
+ },
242
+ {
243
+ "repository_path": "motion/review-workflow.md",
244
+ "domain": "motion",
245
+ "lifecycle": "experimental"
246
+ },
247
+ {
248
+ "repository_path": "motion/vocabulary.md",
249
+ "domain": "motion",
250
+ "lifecycle": "experimental"
251
+ },
107
252
  {
108
253
  "repository_path": "patterns/centering/center.md",
109
254
  "domain": "layout",
@@ -384,11 +529,41 @@
384
529
  "domain": "layout",
385
530
  "lifecycle": "generated"
386
531
  },
532
+ {
533
+ "repository_path": "platform-guides/adaptation-workflow.md",
534
+ "domain": "platform-guides",
535
+ "lifecycle": "experimental"
536
+ },
537
+ {
538
+ "repository_path": "platform-guides/android-interaction.md",
539
+ "domain": "platform-guides",
540
+ "lifecycle": "experimental"
541
+ },
542
+ {
543
+ "repository_path": "platform-guides/apple-interaction.md",
544
+ "domain": "platform-guides",
545
+ "lifecycle": "experimental"
546
+ },
547
+ {
548
+ "repository_path": "platform-guides/compatibility-matrix.md",
549
+ "domain": "platform-guides",
550
+ "lifecycle": "experimental"
551
+ },
387
552
  {
388
553
  "repository_path": "platform-guides/index.md",
389
554
  "domain": "platform-guides",
390
555
  "lifecycle": "experimental"
391
556
  },
557
+ {
558
+ "repository_path": "platform-guides/windows-interaction.md",
559
+ "domain": "platform-guides",
560
+ "lifecycle": "experimental"
561
+ },
562
+ {
563
+ "repository_path": "quality/claim-records/design-terminology-domain-scope.md",
564
+ "domain": "shared",
565
+ "lifecycle": "stable"
566
+ },
392
567
  {
393
568
  "repository_path": "quality/claim-records/index.md",
394
569
  "domain": "shared",
@@ -642,5 +817,5 @@
642
817
  "code": "material_path_internal_excluded"
643
818
  }
644
819
  ],
645
- "version_id": "sg:policy/material-admission-v2@sha256:c866cf112525130508252d2303207da9057c0f3a239f0e056cce9ef2d5a96f1d"
820
+ "version_id": "sg:policy/material-admission-v2@sha256:3bc645aa9b84393a404612ebc4d757aada288ef88f57bb2d2fca03022b4d201d"
646
821
  }