Implement ProgCode identity and real shared reading UI kit
Build and deploy / deploy (push) Successful in 2m39s

This commit is contained in:
huncode committed 2026-10-27 15:19:49 +03:00
1 parent 99c848189e
commit 12562baeb5
2040 files changed
+184656 -181

No files matched your search

@@ -0,0 +1,68 @@
# Current source API and consumer audit
Source: `web/fsd/shared/config/design-system.json`. Audit reads current FSD/app imports, used symbols and barrel exports. No embedded source hash: this JSON itself participates in the next build identity.
This is an implementation-author source audit, not independent visual acceptance. I authored shared styles, mark assets and ComponentGallery. No new build/browser/CI/runtime acceptance is asserted. Existing b53 frozen evidence remains separate.
## Route ownership
`web/app/[...path]/page.jsx` dispatches actual archive type; it does not make every imported page a consumer of every archive URL. Canonical article routes use `web/app/articles/[slug]/page.jsx`. Unknown URLs use not-found.
- about: 2 actual route paths (canonical plus applicable legacy paths).
- resources: 2 actual route paths (canonical plus applicable legacy paths).
- article: 28 actual route paths (canonical plus applicable legacy paths).
- catalog: 44 actual route paths (canonical plus applicable legacy paths).
## Direct consumer summary
| Entry | Source | Actual direct used consumers |
|---|---|---|
| brand | `web/fsd/shared/ui/primitives.jsx` | `web/fsd/widgets/site-shell/index.jsx` (83 reachable routes); `web/fsd/widgets/component-gallery/index.jsx` (1 reachable routes); `web/fsd/pages/ui-kit/index.jsx` (1 reachable routes) |
| button | `web/fsd/shared/ui/primitives.jsx` | `web/fsd/widgets/page-preview/index.jsx` (1 reachable routes); `web/fsd/widgets/component-gallery/index.jsx` (1 reachable routes); `web/fsd/features/journal-search/ui/JournalSearch.jsx` (2 reachable routes); `web/fsd/features/json-editor/ui/JsonEditor.jsx` (2 reachable routes) |
| action-link | `web/fsd/shared/ui/primitives.jsx` | `web/fsd/widgets/component-gallery/index.jsx` (1 reachable routes); `web/fsd/pages/home/index.jsx` (1 reachable routes); `web/fsd/pages/ui-kit/index.jsx` (1 reachable routes); `web/fsd/pages/not-found/index.jsx` (1 reachable routes) |
| text-link | `web/fsd/shared/ui/primitives.jsx` | `web/fsd/widgets/page-preview/index.jsx` (1 reachable routes); `web/fsd/widgets/mechanism-map/index.jsx` (2 reachable routes); `web/fsd/widgets/component-gallery/index.jsx` (1 reachable routes); `web/fsd/pages/privacy/index.jsx` (1 reachable routes); `web/fsd/pages/not-found/index.jsx` (1 reachable routes); `web/fsd/pages/sources/index.jsx` (1 reachable routes); `web/fsd/pages/accessibility/index.jsx` (1 reachable routes) |
| field | `web/fsd/shared/ui/primitives.jsx` | `web/fsd/widgets/component-gallery/index.jsx` (1 reachable routes); `web/fsd/features/journal-search/ui/JournalSearch.jsx` (2 reachable routes) |
| textarea | `web/fsd/shared/ui/primitives.jsx` | `web/fsd/widgets/component-gallery/index.jsx` (1 reachable routes); `web/fsd/features/json-editor/ui/JsonEditor.jsx` (2 reachable routes) |
| status | `web/fsd/shared/ui/primitives.jsx` | `web/fsd/widgets/page-preview/index.jsx` (1 reachable routes); `web/fsd/widgets/component-gallery/index.jsx` (1 reachable routes); `web/fsd/features/journal-search/ui/JournalSearch.jsx` (2 reachable routes); `web/fsd/features/json-editor/ui/JsonEditor.jsx` (2 reachable routes) |
| scroll-region | `web/fsd/shared/ui/primitives.jsx` | `web/fsd/widgets/component-gallery/index.jsx` (1 reachable routes); `web/fsd/pages/ui-kit/index.jsx` (1 reachable routes); `web/fsd/features/json-editor/ui/JsonEditor.jsx` (2 reachable routes) |
| prose | `web/fsd/shared/ui/primitives.jsx` | `web/fsd/widgets/article-reader/index.jsx` (28 reachable routes); `web/fsd/pages/ui-kit/index.jsx` (1 reachable routes); `web/fsd/pages/privacy/index.jsx` (1 reachable routes); `web/fsd/pages/about/index.jsx` (2 reachable routes); `web/fsd/pages/sources/index.jsx` (1 reachable routes); `web/fsd/pages/accessibility/index.jsx` (1 reachable routes) |
| tag | `web/fsd/shared/ui/primitives.jsx` | `web/fsd/entities/article/ui/ArticleListItem.jsx` (46 reachable routes); `web/fsd/widgets/component-gallery/index.jsx` (1 reachable routes); `web/fsd/pages/ui-kit/index.jsx` (1 reachable routes) |
| article-meta | `web/fsd/entities/article/ui/ArticleMeta.jsx` | `web/fsd/pages/home/index.jsx` (1 reachable routes); `web/fsd/pages/ui-kit/index.jsx` (1 reachable routes); `web/fsd/pages/article/index.jsx` (28 reachable routes) |
| article-list-item | `web/fsd/entities/article/ui/ArticleListItem.jsx` | `web/fsd/pages/ui-kit/index.jsx` (1 reachable routes); `web/fsd/pages/catalog/index.jsx` (44 reachable routes); `web/fsd/features/journal-search/ui/JournalSearch.jsx` (2 reachable routes) |
| article-figure | `web/fsd/entities/article/ui/ArticleFigure.jsx` | `web/fsd/pages/ui-kit/index.jsx` (1 reachable routes) |
| journal-search | `web/fsd/features/journal-search/ui/JournalSearch.jsx` | `web/fsd/widgets/journal-index/index.jsx` (2 reachable routes) |
| theme | `web/fsd/features/theme-selection/ui/ThemeControl.jsx` | `web/fsd/widgets/site-shell/index.jsx` (83 reachable routes); `web/fsd/widgets/component-gallery/index.jsx` (1 reachable routes) |
| theme-init | `web/fsd/features/theme-selection/ui/ThemeInit.jsx` | `web/app/layout.jsx` (83 reachable routes) |
| json-editor | `web/fsd/features/json-editor/ui/JsonEditor.jsx` | `web/fsd/widgets/json-workbench/index.jsx` (2 reachable routes) |
| content-access | `web/fsd/features/content-access/ui/ContentAccess.jsx` | `web/fsd/widgets/article-reader/index.jsx` (28 reachable routes); `web/fsd/pages/ui-kit/index.jsx` (1 reachable routes) |
| shortlinks | `web/fsd/features/shortlinks/ui/Shortlinks.jsx` | `web/fsd/pages/home/index.jsx` (1 reachable routes) |
| analytics | `web/fsd/features/analytics/model/metrika.mjs` | `web/fsd/widgets/journal-index/index.jsx` (2 reachable routes); `web/fsd/features/analytics/ui/Metrika.jsx` (83 reachable routes) |
| metrika-observer | `web/fsd/features/analytics/ui/Metrika.jsx` | `web/app/layout.jsx` (83 reachable routes) |
| site-header | `web/fsd/widgets/site-shell/index.jsx` | `web/app/layout.jsx` (83 reachable routes) |
| site-footer | `web/fsd/widgets/site-shell/index.jsx` | `web/app/layout.jsx` (83 reachable routes) |
| article-reader | `web/fsd/widgets/article-reader/index.jsx` | `web/fsd/pages/article/index.jsx` (28 reachable routes) |
| journal-index | `web/fsd/widgets/journal-index/index.jsx` | `web/fsd/pages/home/index.jsx` (1 reachable routes); `web/fsd/pages/ui-kit/index.jsx` (1 reachable routes) |
| json-workbench | `web/fsd/widgets/json-workbench/index.jsx` | `web/fsd/pages/ui-kit/index.jsx` (1 reachable routes); `web/fsd/pages/json-tool/index.jsx` (1 reachable routes) |
| related | `web/fsd/widgets/related-reading/index.jsx` | `web/fsd/pages/article/index.jsx` (28 reachable routes) |
| toc | `web/fsd/widgets/article-reader/index.jsx` | `web/fsd/widgets/article-reader/index.jsx` (28 reachable routes) |
| code | `web/fsd/shared/styles/editorial.css` | `web/fsd/widgets/article-reader/index.jsx` (28 reachable routes); `web/fsd/pages/ui-kit/index.jsx` (1 reachable routes); `web/fsd/widgets/component-gallery/index.jsx` (1 reachable routes); `web/fsd/features/json-editor/ui/JsonEditor.jsx` (2 reachable routes) |
| table | `web/fsd/features/content-access/ui/ContentAccess.jsx` | `web/fsd/widgets/article-reader/index.jsx` (28 reachable routes); `web/fsd/pages/ui-kit/index.jsx` (1 reachable routes) |
| historical-figure | `web/fsd/shared/styles/components.css` | `web/fsd/widgets/article-reader/index.jsx` (28 reachable routes); `web/fsd/pages/ui-kit/index.jsx` (1 reachable routes) |
| article-heading | `web/fsd/pages/article/index.jsx` | `web/fsd/pages/article/index.jsx` (28 reachable routes) |
| home-composition | `web/fsd/pages/home/index.jsx` | `web/fsd/pages/home/index.jsx` (1 reachable routes) |
| resource-groups | `web/fsd/pages/resources/index.jsx` | `web/fsd/pages/resources/index.jsx` (2 reachable routes) |
| skip-link | `web/app/layout.jsx` | `web/app/layout.jsx` (83 reachable routes) |
| not-found-block | `web/fsd/pages/not-found/index.jsx` | `web/fsd/pages/not-found/index.jsx` (1 reachable routes) |
| mechanism-map | `web/fsd/widgets/mechanism-map/index.jsx` | `web/fsd/pages/home/index.jsx` (1 reachable routes); `web/fsd/pages/ui-kit/index.jsx` (1 reachable routes) |
| component-gallery | `web/fsd/widgets/component-gallery/index.jsx` | `web/fsd/pages/ui-kit/index.jsx` (1 reachable routes) |
| page-preview | `web/fsd/widgets/page-preview/index.jsx` | `web/fsd/pages/ui-kit/index.jsx` (1 reachable routes) |
## Corrections and verification limits
- ArticleFigure is a direct UI-kit JSX specimen; Home uses MechanismMap. Reviewed article HTML figures are rendered by Prose and are not JSX ArticleFigure calls.
- ActionLink includes Home, ComponentGallery, UI-kit and 404 when actually referenced; unused named imports are excluded. RelatedReading takes `{article,articles}` and uses contextual connections.
- Generated code/table/figure records identify their renderer/enhancer. A route can reach a renderer without containing that block; TOC additionally requires more than one section.
- Brand points to new v3 assets; prose uses sans at19/18px with a720px measure. Field validation/readOnly/disabled specimens come from the live ComponentGallery; no server/contact submission is implied.
- ThemeInit, analytics observer/model, Shortlinks and ContentAccess are nonvisual APIs: an independent visible screen is N/A. Effects still require runtime checks.
- Import reachability is static source evidence. It does not prove rendered pixels, keyboard behavior, media coverage, loading states, accessibility, production analytics, release or deployment. PagePreview iframe destinations are navigation cases, not direct imports.
- All39 IDs, names and public JSON keys retained. Raw publication bodies/data, analytics code, pages, styles and assets were not changed by this audit.