noecosystem-design 0.1.0 → 0.1.2

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 (173) hide show
  1. package/AGENTS.md +12 -0
  2. package/README.md +78 -35
  3. package/apps/showcase/src/catalog/__screenshots__/catalog-shell.browser.test.tsx/filters-the-component-inventory-and-exposes-the-selected-audit-state-1.png +0 -0
  4. package/apps/showcase/src/catalog/__screenshots__/catalog-shell.browser.test.tsx/opens-a-component-detail-view-and-returns-to-the-grid-1.png +0 -0
  5. package/apps/showcase/src/catalog/__screenshots__/catalog-shell.browser.test.tsx/switching-locale-to-Persian-updates-document-direction-to-rtl-1.png +0 -0
  6. package/docs/design-system/README.md +3 -2
  7. package/docs/design-system/agent-guide.md +49 -9
  8. package/docs/design-system/architecture.md +6 -0
  9. package/docs/design-system/gpt-agent-prompt.md +56 -0
  10. package/docs/design-system/registry.md +4 -0
  11. package/llms.txt +47 -20
  12. package/package.json +79 -1
  13. package/packages/registry/README.md +3 -0
  14. package/packages/ui/src/__screenshots__/button.browser.test.tsx/Button-preserves-native--busy--disabled--and-ref-contracts-1.png +0 -0
  15. package/packages/ui/src/__screenshots__/button.browser.test.tsx/a-disabled-polymorphic-Button-cannot-navigate-or-receive-focus-1.png +0 -0
  16. package/packages/ui/src/__screenshots__/date-picker.browser.test.tsx/DatePicker-Escape-closes-popover-and-returns-focus-to-input-1.png +0 -0
  17. package/packages/ui/src/__screenshots__/date-picker.browser.test.tsx/DatePicker-click-outside-closes-popover-1.png +0 -0
  18. package/packages/ui/src/__screenshots__/dialog.browser.test.tsx/Dialog-propagates-RTL-into-the-portal-and-traps-then-restores-focus-1.png +0 -0
  19. package/.editorconfig +0 -12
  20. package/.github/CODEOWNERS +0 -10
  21. package/.github/dependabot.yml +0 -12
  22. package/.github/pull_request_template.md +0 -17
  23. package/.github/workflows/ci.yml +0 -173
  24. package/.github/workflows/security.yml +0 -40
  25. package/.mcp.json +0 -8
  26. package/.node-version +0 -1
  27. package/CONTRIBUTING.md +0 -9
  28. package/SECURITY.md +0 -7
  29. package/artifacts/original-delivery/NOE-Design-System-Delivery/README-FIRST.txt +0 -20
  30. package/artifacts/original-delivery/NOE-Design-System-Delivery/SHA256SUMS.txt +0 -11
  31. package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-delivery-metadata.json +0 -25
  32. package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-design-system-evidence.zip +0 -0
  33. package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-design-system-execution-report.md +0 -60
  34. package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-design-system-manifest.json +0 -106
  35. package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-design-system-source.tar.gz +0 -0
  36. package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-design-system-source.zip +0 -0
  37. package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-design-system.bundle +0 -0
  38. package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-evidence-index.html +0 -38
  39. package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-verification-status.txt +0 -15
  40. package/artifacts/original-delivery/NOE-Design-System-Delivery/noe-visual-contact-sheet.png +0 -0
  41. package/artifacts/original-delivery/noe-design-system-evidence/README.txt +0 -13
  42. package/artifacts/original-delivery/noe-design-system-evidence/evidence/browser-console.json +0 -4
  43. package/artifacts/original-delivery/noe-design-system-evidence/evidence/layout-audit.json +0 -4
  44. package/artifacts/original-delivery/noe-design-system-evidence/evidence/review/contact-sheet.png +0 -0
  45. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-dark-1024.png +0 -0
  46. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-dark-1280.png +0 -0
  47. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-dark-1440.png +0 -0
  48. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-dark-390.png +0 -0
  49. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-dark-768.png +0 -0
  50. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-light-1024.png +0 -0
  51. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-light-1280.png +0 -0
  52. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-light-1440.png +0 -0
  53. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-light-390.png +0 -0
  54. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-en-light-768.png +0 -0
  55. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-dark-1024.png +0 -0
  56. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-dark-1280.png +0 -0
  57. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-dark-1440.png +0 -0
  58. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-dark-390.png +0 -0
  59. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-dark-768.png +0 -0
  60. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-light-1024.png +0 -0
  61. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-light-1280.png +0 -0
  62. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-light-1440.png +0 -0
  63. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-light-390.png +0 -0
  64. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-fa-light-768.png +0 -0
  65. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-pseudo-ltr-1024.png +0 -0
  66. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/agent-pseudo-rtl-1024.png +0 -0
  67. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/consumer-en-light-1440.png +0 -0
  68. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/consumer-fa-dark-1440.png +0 -0
  69. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/dashboard-en-light-1440.png +0 -0
  70. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/dashboard-fa-dark-1440.png +0 -0
  71. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/workflow-en-light-1440.png +0 -0
  72. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots/workflow-fa-dark-1440.png +0 -0
  73. package/artifacts/original-delivery/noe-design-system-evidence/evidence/screenshots-manifest.json +0 -203
  74. package/artifacts/original-delivery/noe-design-system-evidence/evidence/verification-result.json +0 -165
  75. package/artifacts/original-delivery/noe-design-system-evidence/evidence/verification-result.txt +0 -32
  76. package/artifacts/original-delivery/noe-design-system-evidence/evidence/visual-index.html +0 -1
  77. package/artifacts/original-delivery/noe-design-system-evidence/noe-delivery-metadata.json +0 -25
  78. package/artifacts/original-delivery/noe-design-system-evidence/noe-design-system-execution-report.md +0 -60
  79. package/artifacts/original-delivery/noe-design-system-evidence/noe-design-system-manifest.json +0 -106
  80. package/artifacts/original-delivery/noe-design-system-evidence/noe-verification-status.txt +0 -15
  81. package/artifacts/original-delivery/noe-design-system.bundle +0 -0
  82. package/artifacts/original-delivery/source-evidence/verification-result.json +0 -165
  83. package/artifacts/original-delivery/source-evidence/verification-result.txt +0 -32
  84. package/artifacts/registry-consumer-report.json +0 -153
  85. package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-Black.woff +0 -0
  86. package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-Bold.woff +0 -0
  87. package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-DemiBold.woff +0 -0
  88. package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-ExtraBlack.woff +0 -0
  89. package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-ExtraBold.woff +0 -0
  90. package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-Heavy.woff +0 -0
  91. package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-Light.woff +0 -0
  92. package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-Medium.woff +0 -0
  93. package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-Regular.woff +0 -0
  94. package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-Thin.woff +0 -0
  95. package/artifacts/source-inputs/persian-fonts/Woff/IRANYekanXFaNum-UltraLight.woff +0 -0
  96. package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-Black.woff2 +0 -0
  97. package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-Bold.woff2 +0 -0
  98. package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-DemiBold.woff2 +0 -0
  99. package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-ExtraBlack.woff2 +0 -0
  100. package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-ExtraBold.woff2 +0 -0
  101. package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-Heavy.woff2 +0 -0
  102. package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-Light.woff2 +0 -0
  103. package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-Medium.woff2 +0 -0
  104. package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-Regular.woff2 +0 -0
  105. package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-Thin.woff2 +0 -0
  106. package/artifacts/source-inputs/persian-fonts/Woff2/IRANYekanXFaNum-UltraLight.woff2 +0 -0
  107. package/docs/superpowers/plans/2026-08-25-noe-design-system-development-ready.md +0 -833
  108. package/docs/superpowers/plans/2026-08-26-noe-complete-catalog.md +0 -422
  109. package/docs/superpowers/specs/2026-08-25-noe-design-system-development-ready-design.md +0 -260
  110. package/docs/superpowers/specs/2026-08-26-noe-complete-catalog-design.md +0 -187
  111. package/packages/registry/package.json +0 -10
  112. package/packages/registry/r-planned-backup/about-page.json +0 -14
  113. package/packages/registry/r-planned-backup/activity-gauge.json +0 -14
  114. package/packages/registry/r-planned-backup/avatar.json +0 -14
  115. package/packages/registry/r-planned-backup/badge-group.json +0 -14
  116. package/packages/registry/r-planned-backup/banner.json +0 -14
  117. package/packages/registry/r-planned-backup/blog-index-page.json +0 -14
  118. package/packages/registry/r-planned-backup/blog-post-page.json +0 -14
  119. package/packages/registry/r-planned-backup/blog-section.json +0 -14
  120. package/packages/registry/r-planned-backup/button-group.json +0 -14
  121. package/packages/registry/r-planned-backup/careers-section.json +0 -14
  122. package/packages/registry/r-planned-backup/carousel.json +0 -14
  123. package/packages/registry/r-planned-backup/checkbox.json +0 -14
  124. package/packages/registry/r-planned-backup/color-picker.json +0 -14
  125. package/packages/registry/r-planned-backup/command-menu.json +0 -14
  126. package/packages/registry/r-planned-backup/contact-page.json +0 -14
  127. package/packages/registry/r-planned-backup/contact-section.json +0 -14
  128. package/packages/registry/r-planned-backup/content-divider.json +0 -14
  129. package/packages/registry/r-planned-backup/content-section.json +0 -14
  130. package/packages/registry/r-planned-backup/credit-card.json +0 -14
  131. package/packages/registry/r-planned-backup/cta-section.json +0 -14
  132. package/packages/registry/r-planned-backup/email-template.json +0 -14
  133. package/packages/registry/r-planned-backup/faq-page.json +0 -14
  134. package/packages/registry/r-planned-backup/faq-section.json +0 -14
  135. package/packages/registry/r-planned-backup/feature-section.json +0 -14
  136. package/packages/registry/r-planned-backup/file-uploader.json +0 -14
  137. package/packages/registry/r-planned-backup/footer.json +0 -14
  138. package/packages/registry/r-planned-backup/forgot-password-page.json +0 -14
  139. package/packages/registry/r-planned-backup/illustration.json +0 -14
  140. package/packages/registry/r-planned-backup/informational-page-01.json +0 -14
  141. package/packages/registry/r-planned-backup/informational-page-02.json +0 -14
  142. package/packages/registry/r-planned-backup/legal-page.json +0 -14
  143. package/packages/registry/r-planned-backup/marketing-404-page.json +0 -14
  144. package/packages/registry/r-planned-backup/metrics-section.json +0 -14
  145. package/packages/registry/r-planned-backup/multi-select.json +0 -14
  146. package/packages/registry/r-planned-backup/newsletter.json +0 -14
  147. package/packages/registry/r-planned-backup/notification.json +0 -14
  148. package/packages/registry/r-planned-backup/pie-chart.json +0 -14
  149. package/packages/registry/r-planned-backup/pricing-page.json +0 -14
  150. package/packages/registry/r-planned-backup/pricing-section.json +0 -14
  151. package/packages/registry/r-planned-backup/progress-indicator.json +0 -14
  152. package/packages/registry/r-planned-backup/qr-code.json +0 -14
  153. package/packages/registry/r-planned-backup/radar-chart.json +0 -14
  154. package/packages/registry/r-planned-backup/radio-group.json +0 -14
  155. package/packages/registry/r-planned-backup/rating.json +0 -14
  156. package/packages/registry/r-planned-backup/rich-text-editor.json +0 -14
  157. package/packages/registry/r-planned-backup/section-footer.json +0 -14
  158. package/packages/registry/r-planned-backup/select.json +0 -14
  159. package/packages/registry/r-planned-backup/sign-up-page.json +0 -14
  160. package/packages/registry/r-planned-backup/slider.json +0 -14
  161. package/packages/registry/r-planned-backup/social-button.json +0 -14
  162. package/packages/registry/r-planned-backup/social-proof.json +0 -14
  163. package/packages/registry/r-planned-backup/store-button.json +0 -14
  164. package/packages/registry/r-planned-backup/tags.json +0 -14
  165. package/packages/registry/r-planned-backup/team-page.json +0 -14
  166. package/packages/registry/r-planned-backup/team-section.json +0 -14
  167. package/packages/registry/r-planned-backup/testimonial-section.json +0 -14
  168. package/packages/registry/r-planned-backup/toggle.json +0 -14
  169. package/packages/registry/r-planned-backup/tree-view.json +0 -14
  170. package/packages/registry/r-planned-backup/verification-code.json +0 -14
  171. package/packages/registry/r-planned-backup/verification-page.json +0 -14
  172. package/packages/registry/r-planned-backup/video-player.json +0 -14
  173. package/registry.json +0 -216
package/AGENTS.md CHANGED
@@ -4,6 +4,18 @@
4
4
 
5
5
  Extend NOE as one coherent system: calm, precise, connected, deliberate, technical, human-centered, premium, quiet, and fast.
6
6
 
7
+ ## Agent onboarding
8
+
9
+ 1. Read `README.md`, then this file, before making a change.
10
+ 2. Use `llms.txt` to locate the focused documentation and
11
+ `packages/registry/manifest.json` to discover an existing capability.
12
+ 3. Treat `noecosystem-design` as an agent-readable source snapshot, not as a runtime
13
+ import package. Internal source boundaries remain `@noe/*`.
14
+ 4. The public `@noe` registry endpoint is not deployment-proven. Local registry build
15
+ output and tests must not be represented as a working external installation path.
16
+ 5. Make claims about a check, deployment, or installation only when its evidence was
17
+ executed in the current relevant environment.
18
+
7
19
  ## Source-of-truth order
8
20
 
9
21
  1. Running production behavior.
package/README.md CHANGED
@@ -1,48 +1,91 @@
1
1
  # NOE Design System
2
2
 
3
- A production-grade, agent-friendly design system for NOE: multilingual, fully
4
- bidirectional, theme-aware React components with semantic tokens, a shadcn-compatible
5
- `@noe` registry, Storybook documentation and a multi-layered test suite.
3
+ NOE is a multilingual, bidirectional, theme-aware React design system. This package
4
+ publishes an agent-readable source snapshot: semantic tokens, component source,
5
+ registry metadata, reference apps, documentation, and verification contracts.
6
6
 
7
- ## Commands (pnpm workspace)
7
+ ## Start here
8
8
 
9
9
  ```bash
10
- corepack enable && pnpm install # Node >= 24.19
11
- pnpm check # format + lint + typecheck + tests + builds + verify
10
+ # Give a coding agent the NOE source context.
11
+ npm install noecosystem-design
12
+
13
+ # The agent starts with these files after installation:
14
+ cat node_modules/noecosystem-design/AGENTS.md
15
+ cat node_modules/noecosystem-design/llms.txt
16
+ cat node_modules/noecosystem-design/docs/design-system/gpt-agent-prompt.md
17
+
18
+ # For a writable, verifiable workspace, use a repository checkout.
19
+ git clone https://github.com/NOrchestration/noe-design-system.git
20
+ cd noe-design-system
21
+ corepack enable
22
+ pnpm install --frozen-lockfile
23
+ pnpm check
12
24
  ```
13
25
 
14
- | Command | Purpose |
15
- | --------------------- | ---------------------------------------------------- |
16
- | `pnpm lint` | Biome lint (a11y, correctness, style) |
17
- | `pnpm typecheck` | Strict TypeScript across the workspace |
18
- | `pnpm test` | Offline node tests + Vitest unit project |
19
- | `pnpm test:components`| Vitest browser component tests (Playwright/Chromium) |
20
- | `pnpm test:storybook` | Storybook interaction + accessibility tests |
21
- | `pnpm test:e2e` | Playwright matrix (surfaces × locales × viewports) |
22
- | `pnpm build` | Build all packages, showcase app |
23
- | `pnpm build:storybook`| Production Storybook static build |
24
- | `pnpm verify` | Registry, i18n, RTL, governance and secret audits |
25
- | `pnpm dev` | Showcase application dev server |
26
- | `pnpm storybook` | Storybook dev server |
26
+ Read [`AGENTS.md`](AGENTS.md) before changing code. Use [`llms.txt`](llms.txt) as the
27
+ retrieval map, then read the affected package and component records. The canonical
28
+ catalog is [`packages/registry/manifest.json`](packages/registry/manifest.json).
29
+
30
+ For a GPT coding agent, copy
31
+ [`docs/design-system/gpt-agent-prompt.md`](docs/design-system/gpt-agent-prompt.md),
32
+ replace `<TARGET_REPOSITORY>` and `<DESCRIBE THE REQUESTED OUTCOME...>`, and send it
33
+ as one task prompt. The template carries static NOE context once; put only the
34
+ requested outcome, scope, and non-negotiable constraints in its `Task` section.
35
+
36
+ ## What `noecosystem-design` is and is not
37
+
38
+ - It is a source and metadata distribution for people and coding agents.
39
+ - It is not a compiled runtime library: do not write `import { Button } from
40
+ "noecosystem-design"`.
41
+ - Internal source packages use the `@noe/*` names. They are workspace boundaries,
42
+ not published npm packages at this time.
43
+ - The shadcn-compatible `@noe` registry is locally generated and tested, but its
44
+ external site endpoint is not yet evidenced as deployed. Do not claim or assume
45
+ that `shadcn add @noe/<item>` works against the public domain.
46
+
47
+ ## Agent operating route
48
+
49
+ 1. Read `AGENTS.md`, then `llms.txt`.
50
+ 2. Find the requested capability in `packages/registry/manifest.json`; read its
51
+ `useWhen`, `doNotUseWhen`, accessibility, i18n, and dependency contracts.
52
+ 3. Reuse an existing `@noe` component before considering a foundation or new code.
53
+ 4. Preserve semantic tokens, i18n, RTL/bidi, and portal direction contracts.
54
+ 5. Update source, stories, tests, registry metadata, and documentation together.
55
+ 6. Report only executed verification; planned or locally generated registry output
56
+ is not deployment evidence.
57
+
58
+ ## Workspace commands
59
+
60
+ | Command | Purpose |
61
+ | --- | --- |
62
+ | `pnpm lint` | Biome correctness, style, and accessibility checks |
63
+ | `pnpm typecheck` | Strict TypeScript validation |
64
+ | `pnpm test` | Offline and unit tests |
65
+ | `pnpm test:components` | Browser component tests in Chromium |
66
+ | `pnpm test:storybook` | Storybook interaction and accessibility tests |
67
+ | `pnpm test:e2e` | Playwright locale, theme, viewport, and browser matrix |
68
+ | `pnpm build` | Build workspace packages and the showcase app |
69
+ | `pnpm build:storybook` | Produce static Storybook output |
70
+ | `pnpm verify` | Registry, i18n, RTL, governance, and secret audits |
71
+ | `pnpm check` | Full local release gate |
27
72
 
28
73
  ## Architecture
29
74
 
30
75
  ```text
31
- apps/
32
- showcase/ React + Vite product surface reference
33
- storybook/ Stories, docs, a11y and interaction tests
34
- web/ Dependency-free visual reference and QA target
35
-
36
- packages/
37
- design-tokens/ Semantic tokens and CSS contracts (light/dark)
38
- ui/ Direction-safe UI primitives (@noe/ui)
39
- i18n/ Locale metadata, formatters, pseudo-locales
40
- data-ui/ Data table, metrics, chart framing
41
- ai-ui/ Agent, run, tool, approval, artifact patterns
42
- workflow-ui/ Workflow canvas, nodes, inspector
43
- icons/ First-party icon policy and directional mirroring
44
- registry/ shadcn-compatible @noe registry output
45
- testing/ Reusable test contracts
76
+ apps/ Reference applications and visual QA surfaces
77
+ packages/design-tokens Semantic visual decisions only
78
+ packages/ui Direction-safe interaction primitives
79
+ packages/i18n Locale metadata, messages, formatters, pseudo-locales
80
+ packages/data-ui Data, filter, metric, and chart composition
81
+ packages/ai-ui Agent, tool, approval, run, and artifact states
82
+ packages/workflow-ui Workflow canvas, node, and inspector patterns
83
+ packages/icons Icon policy and directional mirroring
84
+ packages/registry Canonical component catalog and install metadata
46
85
  ```
47
86
 
48
- Read `AGENTS.md` before modifying the system. `llms.txt` is the compact retrieval map.
87
+ See [`docs/design-system/README.md`](docs/design-system/README.md) for the focused
88
+ documentation index and [`docs/design-system/agent-guide.md`](docs/design-system/agent-guide.md)
89
+ for the coding-agent workflow. The ready-to-paste
90
+ [`docs/design-system/gpt-agent-prompt.md`](docs/design-system/gpt-agent-prompt.md)
91
+ is the recommended task wrapper for GPT.
@@ -1,6 +1,6 @@
1
1
  # NOE Design System documentation
2
2
 
3
- The documentation describes the implementation in this repository and marks externally blocked work explicitly. It does not treat a file, workflow definition, or intended deployment as proof that the corresponding system ran.
3
+ The documentation describes the implementation in this repository and marks externally blocked work explicitly. It does not treat a file, workflow definition, npm source snapshot, or intended deployment as proof that the corresponding system ran.
4
4
 
5
5
  ## Navigation
6
6
 
@@ -11,6 +11,7 @@ The documentation describes the implementation in this repository and marks exte
11
11
  - `i18n.md`, `rtl.md`: locale, direction and bidi architecture.
12
12
  - `accessibility.md`: WCAG-oriented requirements.
13
13
  - `testing.md`, `visual-qa.md`: test and evidence strategy.
14
- - `registry.md`, `mcp.md`, `agent-guide.md`: coding-agent discovery.
14
+ - `gpt-agent-prompt.md`: ready-to-paste GPT task wrapper with outcome, autonomy, output, and stop rules.
15
+ - `registry.md`, `mcp.md`, `agent-guide.md`: coding-agent discovery and package/registry boundaries.
15
16
  - `ci-cd.md`, `security.md`: automation and governance.
16
17
  - `contributing.md`: change workflow.
@@ -1,11 +1,51 @@
1
1
  # Coding-agent guide
2
2
 
3
- 1. Read `AGENTS.md` and the affected package documentation.
4
- 2. Search `@noe` before generating code.
5
- 3. Prefer existing product patterns, then approved foundations, then 21st.dev discovery.
6
- 4. Use semantic tokens and logical CSS.
7
- 5. Keep user-facing copy in the message system.
8
- 6. Exercise English, Persian, pseudo-LTR and pseudo-RTL.
9
- 7. Test portal direction, keyboard behavior and technical-value isolation.
10
- 8. Update stories, tests, registry metadata and docs in the same change.
11
- 9. State evidence precisely; never convert intended work into completed work.
3
+ ## Start a GPT task
4
+
5
+ Copy [`gpt-agent-prompt.md`](gpt-agent-prompt.md), replace its target repository and
6
+ `Task` placeholder, and send it as one prompt. Put the requested outcome, scope, and
7
+ non-negotiable constraints in `Task`; do not re-paste this guide or `AGENTS.md`.
8
+ The prompt already defines the agent's success criteria, autonomy boundary, response
9
+ format, and stop rules.
10
+
11
+ ## Scope and distribution
12
+
13
+ `noecosystem-design` is an npm-distributed source snapshot for discovery, review, and
14
+ retrieval. It is not a compiled runtime package, so do not import from it. For an
15
+ implementation change, use a writable checkout of this repository. The workspace's
16
+ internal package boundaries use `@noe/*`.
17
+
18
+ After `npm install noecosystem-design`, the agent entrypoints are
19
+ `node_modules/noecosystem-design/AGENTS.md` and
20
+ `node_modules/noecosystem-design/llms.txt`. The canonical component catalog is
21
+ `node_modules/noecosystem-design/packages/registry/manifest.json`. An agent may read
22
+ these files in place; it must not edit the installed dependency. Clone the repository
23
+ when it needs to implement and verify a design-system change.
24
+
25
+ The first-party `@noe` registry has local generation and consumer-test evidence. Its
26
+ documented external endpoint must be treated as unavailable until deployment and
27
+ official-MCP installation evidence exist; see `registry.md` and ADR 0007.
28
+
29
+ ## Retrieval and implementation
30
+
31
+ Read `README.md`, `AGENTS.md`, and the focused documentation selected by `llms.txt`.
32
+ Search `packages/registry/manifest.json` by capability, alias, and component name.
33
+ For a candidate, read its `useWhen`, `doNotUseWhen`, `alternatives`, dependency,
34
+ accessibility, and internationalization contracts before inspecting its source and
35
+ Storybook story. If nothing fits, use the component lookup order in `AGENTS.md` and
36
+ record the reason reuse was unsuitable.
37
+
38
+ `AGENTS.md` defines the implementation constraints: reuse canonical components;
39
+ preserve semantic tokens, i18n, RTL/bidi, portal direction, and progressive disclosure;
40
+ and update the relevant source, stories, tests, registry metadata, and documentation
41
+ together. Do not duplicate those instructions in a task prompt.
42
+
43
+ ## Evidence before completion
44
+
45
+ Run checks proportional to the change. At minimum, use the applicable commands in
46
+ `testing.md`; component changes normally require lint, typecheck, unit/browser tests,
47
+ storybook accessibility coverage, registry validation, and RTL review. Test English,
48
+ Persian, pseudo-LTR, and pseudo-RTL where the touched behavior is locale-sensitive.
49
+
50
+ Report executed commands and observed outcomes. A plan, generated static registry, or
51
+ unverified production URL is not evidence of deployment or successful installation.
@@ -27,6 +27,12 @@ Product code consumes `@noe/*` components. Capability libraries such as TanStack
27
27
 
28
28
  The static reference app is dependency-free and uses the production token and locale contracts. React packages are source-complete but require a connected environment to install React and Storybook dependencies. The intended integration is React 19+ with a Vite/Tailwind CSS v4 application shell.
29
29
 
30
+ `noecosystem-design` distributes this repository as an agent-readable source snapshot.
31
+ It is not a compiled replacement for the internal `@noe/*` package boundaries and it
32
+ does not provide a root runtime import. Consumers needing implementation access should
33
+ work from a repository checkout; consumers needing a registry item must follow the
34
+ deployment gate in ADR 0007.
35
+
30
36
  ## Decisions
31
37
 
32
38
  - One canonical message architecture and centralized locale metadata.
@@ -0,0 +1,56 @@
1
+ # GPT implementation prompt
2
+
3
+ Use this after `npm install noecosystem-design`. Replace the values in angle
4
+ brackets, then send the complete prompt to the coding agent. Keep the static
5
+ context below intact; put task-specific details only in `Task`.
6
+
7
+ ```text
8
+ Role
9
+ You are the NOE design-system implementation agent working in <TARGET_REPOSITORY>.
10
+ Use the installed noecosystem-design package as a read-only source of design-system
11
+ context.
12
+
13
+ Task
14
+ <DESCRIBE THE REQUESTED OUTCOME, SCOPE, AND ANY NON-NEGOTIABLE CONSTRAINTS>
15
+
16
+ Success criteria
17
+ - The requested outcome works in the target repository.
18
+ - Reuse the relevant NOE capability or established product pattern before creating
19
+ new UI.
20
+ - Preserve every applicable NOE contract, including tokens, i18n, RTL/bidi,
21
+ accessibility, stories, tests, registry metadata, and documentation.
22
+ - Run checks that are proportionate to the change and report only results actually
23
+ observed.
24
+
25
+ Context
26
+ 1. Read node_modules/noecosystem-design/AGENTS.md and llms.txt first.
27
+ 2. Search node_modules/noecosystem-design/packages/registry/manifest.json for the
28
+ requested capability. Read the matching record and focused documentation before
29
+ implementation files.
30
+ 3. AGENTS.md is the authoritative static constraint set. Follow it without restating
31
+ it in the response.
32
+
33
+ Constraints
34
+ - noecosystem-design is a source snapshot, not a runtime dependency. Do not import
35
+ from it; use a writable repository checkout for implementation work.
36
+ - Do not present the public @noe registry as deployed or installable without direct
37
+ deployment evidence.
38
+ - Do safe local investigation, edits, and validation autonomously. Ask before an
39
+ external write, destructive action, purchase, credential change, or material scope
40
+ expansion.
41
+
42
+ Response
43
+ Lead with the outcome. Then give:
44
+ - Changed: only the material files or behavior changed.
45
+ - Evidence: commands run and their observed results.
46
+ - Blockers or risks: only if they materially affect completion.
47
+
48
+ Stop rules
49
+ Ask one focused question only when a material decision cannot be safely inferred.
50
+ Otherwise, finish when the success criteria are met. If evidence is unavailable,
51
+ state the exact gap instead of implying completion.
52
+ ```
53
+
54
+ The prompt intentionally states the goal, constraints, autonomy boundary, expected
55
+ output, and stop conditions once. Do not append a second copy of `AGENTS.md`; direct
56
+ the agent to the installed file instead.
@@ -9,6 +9,10 @@
9
9
 
10
10
  When this output is mounted under the NOE site, its public paths are `https://noecosystem.com/design-system/r/registry.json` and `https://noecosystem.com/design-system/r/{name}.json`. The local publication test starts a static HTTP server against this output and verifies every declared URL. This proves the build layout, not the external deployment.
11
11
 
12
+ The npm package `noecosystem-design` distributes registry source and metadata only. It
13
+ does not host or deploy these URLs, and installing the npm package does not make
14
+ `@noe/<item>` available through the shadcn CLI or MCP.
15
+
12
16
  Run `pnpm test:registry:consumer` to install `@noe/button` into a temporary consumer with the official shadcn CLI against the locally served registry. This is a pre-deployment protocol check; ADR 0007 still requires the same flow through the official MCP against the deployed domain before the registry can be described as agent-installable.
13
17
 
14
18
  Descriptions tell coding agents when to use an item and encode direction, accessibility and progressive-disclosure expectations. CI validates unique names, required metadata, valid referenced files and JSON parsing.
package/llms.txt CHANGED
@@ -1,20 +1,47 @@
1
- # NOE Design System retrieval map
2
-
3
- - Repository overview: README.md
4
- - Agent rules: AGENTS.md
5
- - Architecture: docs/design-system/architecture.md
6
- - Brand audit: docs/design-system/noe-brand-audit.md
7
- - Foundations and tokens: docs/design-system/foundations.md, docs/design-system/tokens.md
8
- - Components: docs/design-system/components.md
9
- - Internationalization: docs/design-system/i18n.md
10
- - RTL and bidi: docs/design-system/rtl.md
11
- - Motion: docs/design-system/motion.md
12
- - Accessibility: docs/design-system/accessibility.md
13
- - Agentic UI: docs/design-system/agentic-ui.md
14
- - Testing and visual QA: docs/design-system/testing.md, docs/design-system/visual-qa.md
15
- - CI/CD and security: docs/design-system/ci-cd.md, docs/design-system/security.md
16
- - Registry and MCP: docs/design-system/registry.md, docs/design-system/mcp.md
17
- - Contribution workflow: docs/design-system/contributing.md
18
- - Decisions: docs/adr/
19
- - Static reference app: apps/web/
20
- - Storybook source: apps/storybook/
1
+ # NOE Design System
2
+
3
+ > Agent-readable source snapshot for the NOE multilingual, RTL-safe React design
4
+ > system. The npm package is `noecosystem-design`; it is source metadata, not a
5
+ > compiled runtime import. Internal workspace packages use `@noe/*`.
6
+
7
+ ## Status and non-assumptions
8
+
9
+ - Read `AGENTS.md` before changing any source.
10
+ - `packages/registry/manifest.json` is the canonical component catalog.
11
+ - The `@noe` registry has local build and consumer-test evidence only. The documented
12
+ noecosystem.com endpoint is not deployment evidence; do not claim it is installable.
13
+ - Do not import from `noecosystem-design`. Work from the source snapshot or clone the
14
+ repository when a writable, verifiable workspace is needed.
15
+
16
+ ## Retrieval order
17
+
18
+ 1. `docs/design-system/gpt-agent-prompt.md` — ready-to-paste task wrapper for GPT;
19
+ replace only its target repository and task fields.
20
+ 2. `README.md` package scope, start path, commands, and distribution boundaries.
21
+ 3. `AGENTS.md` — mandatory design-system constraints and definition of done.
22
+ 4. `packages/registry/manifest.json` — capability search, ownership, use/do-not-use
23
+ rules, accessibility, i18n, dependencies, and story references.
24
+ 5. `packages/registry/r/<item>.json` — installable-item metadata and source closure.
25
+ 6. The owning package source under `packages/` and its Storybook story under
26
+ `apps/storybook/stories/`.
27
+
28
+ ## Focused documentation
29
+
30
+ - Architecture and package boundaries: `docs/design-system/architecture.md`
31
+ - GPT task wrapper: `docs/design-system/gpt-agent-prompt.md`
32
+ - Agent workflow and retrieval: `docs/design-system/agent-guide.md`
33
+ - Components and catalog terms: `docs/design-system/components.md`
34
+ - Tokens and foundations: `docs/design-system/foundations.md`, `docs/design-system/tokens.md`
35
+ - Locale, RTL, and bidi: `docs/design-system/i18n.md`, `docs/design-system/rtl.md`
36
+ - Accessibility: `docs/design-system/accessibility.md`
37
+ - Agent and tool-state UI: `docs/design-system/agentic-ui.md`
38
+ - Registry status and protocol: `docs/design-system/registry.md`
39
+ - Tests and visual evidence: `docs/design-system/testing.md`, `docs/design-system/visual-qa.md`
40
+ - Security and automation: `docs/design-system/security.md`, `docs/design-system/ci-cd.md`
41
+ - Architectural decisions: `docs/adr/`
42
+
43
+ ## Verification
44
+
45
+ Use `pnpm check` for the full local gate. For focused changes, run the relevant
46
+ `pnpm lint`, `pnpm typecheck`, `pnpm test`, browser/Storybook/E2E tests, and
47
+ `pnpm verify` checks described in `docs/design-system/testing.md`.
package/package.json CHANGED
@@ -1,10 +1,88 @@
1
1
  {
2
2
  "name": "noecosystem-design",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "private": false,
5
+ "description": "Agent-readable NOE design-system source, registry metadata, and verification contracts.",
6
+ "keywords": [
7
+ "design-system",
8
+ "react",
9
+ "rtl",
10
+ "i18n",
11
+ "agent",
12
+ "shadcn",
13
+ "registry"
14
+ ],
15
+ "homepage": "https://noecosystem.com/",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/NOrchestration/noe-design-system.git"
19
+ },
20
+ "bugs": {
21
+ "url": "https://github.com/NOrchestration/noe-design-system/issues"
22
+ },
5
23
  "publishConfig": {
6
24
  "access": "public"
7
25
  },
26
+ "files": [
27
+ "AGENTS.md",
28
+ "README.md",
29
+ "apps/showcase/index.html",
30
+ "apps/showcase/package.json",
31
+ "apps/showcase/src",
32
+ "apps/showcase/tsconfig.json",
33
+ "apps/showcase/vite.config.ts",
34
+ "apps/storybook/.storybook",
35
+ "apps/storybook/package.json",
36
+ "apps/storybook/README.md",
37
+ "apps/storybook/stories",
38
+ "apps/storybook/vitest.config.ts",
39
+ "apps/web/app.js",
40
+ "apps/web/favicon.svg",
41
+ "apps/web/index.html",
42
+ "apps/web/README.md",
43
+ "apps/web/styles.css",
44
+ "biome.json",
45
+ "components.json",
46
+ "docs/adr",
47
+ "docs/design-system",
48
+ "llms.txt",
49
+ "packages/ai-ui/package.json",
50
+ "packages/ai-ui/src",
51
+ "packages/data-ui/package.json",
52
+ "packages/data-ui/src",
53
+ "packages/design-tokens/package.json",
54
+ "packages/design-tokens/src",
55
+ "packages/i18n/package.json",
56
+ "packages/i18n/src",
57
+ "packages/icons/package.json",
58
+ "packages/icons/src",
59
+ "packages/testing/package.json",
60
+ "packages/testing/src",
61
+ "packages/ui/package.json",
62
+ "packages/ui/src",
63
+ "packages/workflow-ui/package.json",
64
+ "packages/workflow-ui/src",
65
+ "packages/registry/README.md",
66
+ "packages/registry/catalog-index.json",
67
+ "packages/registry/component-audit.json",
68
+ "packages/registry/coss-adoption.json",
69
+ "packages/registry/docs-index.json",
70
+ "packages/registry/manifest.json",
71
+ "packages/registry/manifest.schema.json",
72
+ "packages/registry/r",
73
+ "packages/registry/registry.json",
74
+ "packages/registry/search-index.json",
75
+ "playwright.config.ts",
76
+ "pnpm-lock.yaml",
77
+ "pnpm-workspace.yaml",
78
+ "scripts",
79
+ "tests",
80
+ "tsconfig.base.json",
81
+ "tsconfig.json",
82
+ "tsconfig.verify.json",
83
+ "types",
84
+ "vitest.config.ts"
85
+ ],
8
86
  "type": "module",
9
87
  "packageManager": "pnpm@11.23.0",
10
88
  "engines": {
@@ -2,6 +2,9 @@
2
2
 
3
3
  This is a shadcn-compatible first-party registry source. Descriptions are written for both engineers and coding agents and encode semantic, accessibility, RTL, and usage expectations.
4
4
 
5
+ `noecosystem-design` ships this directory as source metadata. It does not deploy the
6
+ registry or make `@noe/<item>` remotely installable by itself.
7
+
5
8
  `pnpm build:static` emits this registry to `dist/r/registry.json` and `dist/r/{name}.json`. When mounted under the site, these are served at `https://noecosystem.com/design-system/r/registry.json` and `https://noecosystem.com/design-system/r/{name}.json`, the public URL layout required by the `@noe` registry template in `components.json`. It is not represented as deployed until a hosting workflow produces observable evidence and a consumer installation succeeds through the official shadcn MCP process.
6
9
 
7
10
  `pnpm test:registry:consumer` exercises the same registry protocol locally with the official shadcn CLI and a disposable consumer project before deployment.
package/.editorconfig DELETED
@@ -1,12 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- charset = utf-8
5
- end_of_line = lf
6
- insert_final_newline = true
7
- indent_style = space
8
- indent_size = 2
9
- trim_trailing_whitespace = true
10
-
11
- [*.md]
12
- trim_trailing_whitespace = false
@@ -1,10 +0,0 @@
1
- # Default ownership. Organization teams do not exist yet; replace with
2
- # @NOrchestration/<team> slugs as soon as they are created.
3
- * @AliMohammadiiii
4
-
5
- # Sensitive areas
6
- /packages/design-tokens/ @AliMohammadiiii
7
- /packages/ui/ @AliMohammadiiii
8
- /packages/i18n/ @AliMohammadiiii
9
- /packages/registry/ @AliMohammadiiii
10
- /.github/workflows/ @AliMohammadiiii
@@ -1,12 +0,0 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: npm
4
- directory: /
5
- schedule:
6
- interval: weekly
7
- open-pull-requests-limit: 5
8
- - package-ecosystem: github-actions
9
- directory: /
10
- schedule:
11
- interval: weekly
12
- open-pull-requests-limit: 5
@@ -1,17 +0,0 @@
1
- ## Summary
2
-
3
- ## Design rationale
4
-
5
- ## Brand impact
6
-
7
- ## Internationalization and RTL/LTR impact
8
-
9
- ## Accessibility impact
10
-
11
- ## Testing evidence
12
-
13
- ## Screenshots
14
-
15
- ## Risks and rollback
16
-
17
- ## Migration notes