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

+65
View File
@@ -0,0 +1,65 @@
# ProgCode — creative decisions for identity and design-system
Reviewer: `/root/creative_director`. Date: 27.10.2026, Europe/Moscow. Scope: direct human brief in `site-restoration-status/design-system/brief-and-acceptance-contract.json`.
**Stage: designer proposal personally reviewed; all18 decisions accepted for implementation with the explicit specifications and candidate checks below. No acceptance of a future build is granted.** Product code, styles, data and assets were not changed by this reviewer. Existing uncommitted analytics work is independent and preserved. Historical/body/release reviews are baseline evidence only, not a redesign PASS.
## Material personally inspected
Read the full shared contract, current `web/app/globals.css`, layout, catalog, Metrika source and the 14-article corpus structure. Read complete `docs/design-system/content-cases.md` in parts, including code/table/media/search/tool/privacy edge cases. Read the complete `docs/design-system/designer-proposal.md` (all8 sections), native SVG concept source for16px favicon/light/dark logo and `proposals/identity-preview.html`, plus the updated `contrast-proposal.json`. Personally opened `docs/design-system/proposals/evidence/identity-preview-1440.png`: actual native16/32/48px icon rows and both light/dark wordmarks/content previews. This is a concept screenshot, not browser-tab/OS integration or a final page build.
Corpus spans a 307-character greeting, ~21,720-character Tilix interview, ~18,301-character Vibe body, ~13,116-character GC explanation, mixed Russian/English/code headings, PHP namespaces and Windows paths, D regex module/unittests, CTFE's three-column comparison table and 11 existing visuals. Retention should arise from task routes, meaningful sections/related reading and a useful JSON workbench; no popup, forced pagination or fictitious recency.
## Decision register — proposal acceptance for implementation
Status `approve for implementation` approves the exact proposal direction and its explicit requirements, not an unknown implementation. The two initial revisions (panel-muted contrast and false1MB copy) are now resolved by the designer proposal and remain implementation obligations. Designer’s own acceptance and CM real-text verdict remain mandatory for every row.
| ID | Decision | CD decision and reason | Required proof before candidate acceptance |
|---|---|---|---|
| CD-DS01 | Technical-journal identity | **Approve for implementation.** Develop the existing paper/ink/burnt-orange journal and `progcode_` memory; a personal technical blog should not turn into SaaS pricing/CTA chrome. Keep subject matter and concrete reading choices ahead of identity decoration. | New home/article/topic/screens share the identity without delaying access to text. No invented newsroom, popularity or production-process badges. |
| CD-DS02 | Native mark `p` plus cursor | **Approve for implementation, after personally opening concept pixels.** The native P+cursor silhouette is distinguishable at16/32/48 in both preview themes; the closed counter/stem remain readable and the warm underscore stays separate. The initial is tied to ProgCode and develops the existing cursor identity; no trademark uniqueness claim is made. The same dark tile may blend into dark surroundings without weakening the high-contrast silhouette. | Personally open actual 16/32/48px exports on light/dark surrounding browser-like surfaces and touch variant. No emoji/font reliance. `p` silhouette and cursor remain distinct; ICO/PNG/touch files genuinely exist. |
| CD-DS03 | Custom native-path wordmark | **Approve for implementation, after personally opening concept pixels.** The supplied monoline path wordmark reads as `progcode_` and remains coherent with the warmer technical-journal concept. Keep its calm custom rhythm, minimum160px display width and symbol separation; no additional heavy/ornamental treatment requested. Actual narrower masthead rendering remains a candidate check. | Mobile320/390 and desktop1440 masthead/footer render; logo accessible name, no duplicated spoken name, no squeezed nav or logo overflow. |
| CD-DS04 | Light palette | **Approve for implementation with correction.** Proposed body `#242521` on `#f6f4ef` is 14.03:1; link `#a13e20` is 5.92:1. Correct the current muted `#6e7168` on soft `#eae7de`, which is only 4.02:1. Proposed muted `#62665c` gives 4.75:1 on that panel. | All actual small text/caption/metadata/TOC/panel pairs measured ≥4.5:1, focus visible. Do not keep old failing muted token in shared panels. |
| CD-DS05 | Dark palette | **Approve for implementation as a complete theme.** The actual light/dark concept pixels show consistent warm editorial character. Proposed paper/ink reversal retains a warm editorial feel and avoids pure neon terminal styling; new dark body/secondary/link tokens have comfortable measured ratios. | Same real pages and all states in dark mode; semantic focus, visited/hover/error colors checked on surfaces actually used, not only root. No flash/blocked reading; theme choice accessible. |
| CD-DS06 | Prose type and measure | **Approve for implementation as a testable reading specification.** Designer’s explicit19px desktop/18px narrow Georgia,1.72leading,68ch with740px cap is plausible for the long Russian interviews and compiler essays. Do not promote `65ch` as verified Cyrillic character count; current 810px column can be too long for small body text. | Count/inspect real wrapped lines around GC's 749-character paragraph, Tilix's 912-character answer and Diet prose: aim55–80 characters where appropriate, mobile natural shorter lines without shrinking type. 200% zoom remains readable. |
| CD-DS07 | Heading system | **Approve for implementation.** Distinguish article H1, descriptive deck, actual section H2/H3 and small metadata. Keep `preg_match_all` and TLS's long English fragment legible; no line-clamp on titles. Short greeting needs no oversized empty apparatus. | All three long/mixed stress titles at320/390; no arbitrary breaks that obscure identifiers, clipped lines or hidden historical metadata. |
| CD-DS08 | Home and topic hierarchy | **Approve retaining.** CTFE lead + practical recipes + D/Bitrix/TLS task routes + complete index give real readers useful choices. Personalization should improve clarity rather than add decorative cover quotas. | All14 records reachable; topic/query state clear; dates truthful. Designer/CM verify topic relationships and end-of-article related reading rather than `latest` filler. |
| CD-DS09 | Search states | **Approve explicit positive/empty/reset treatment.** Plain query and topic controls suit a14-item corpus; preserve accurate title/description/category scope. Do not claim full-body search without implementation. | Real `jQuery`→1, `Bitrix`→3, `D`+Bitrix query→0; empty/reset keyboard flow and announcement. User input is not added to custom analytics payload. |
| CD-DS10 | Contents/long reading | **Approve current concept with careful density.** Desktop side rail and collapsible mobile disclosure support Tilix/Vibe/GC; use actual section anchors, not invented navigation. No useless TOC for the greeting or sticky marketing over text. | Real section-* contracts preserved; keyboard jump to middle/end, return-to-index and related reading. Disclosure does not occupy the entire first mobile screen with no exit. |
| CD-DS11 | Code and table surfaces | **Approve local horizontal regions; reject hidden overflow or forced code wrapping.** D regex/PHP paths require exact readable punctuation; CTFE table must retain row-column relation. | Full D module including tests, mixed namespaces/INI and CTFE table's rightmost column keyboard-accessible at320/390. No global overflow-x:hidden masking. Copy feedback includes denial, copies exact code without line numbers. |
| CD-DS12 | Existing illustrations in themes | **Approve preservation with neutral media surfaces.** These diagrams explain CTFE/GC/SKU/TLS, not just branding. A theme should not change technical meaning or invert colors indiscriminately. Existing435px JPEG remains restrained. | Light/dark page placement, native image proportions, actual long135-character caption, alt/source semantics, no crop/line-clamp. If diagrams retain light paper in dark pages, use a deliberate quiet frame; do not CSS-invert them. |
| CD-DS13 | JSON workbench/states | **Approve input→action→result composition with designer’s resolved copy revision.** Use “Проверяйте небольшие JSON-фрагменты. Текст обрабатывается в браузере.” rather than the false1MB promise. `maxLength=1000000` does not prove a1MB byte cap; use honest length wording or implement a real tested byte contract. JSON operation stays local while site analytics may still exist. | Real empty/success/error/long-value/copy-failure states, visible labels/status not color-only, complete output accessible; source input never included in custom events. |
| CD-DS14 | About/source/editorial page | **Approve concise useful service content.** Keep author/translator attribution, version context and primary sources; internal SHA/evidence/production metadata do not belong in decorative article labels. Do not claim full restoration while outstanding recovery remains. | Real page linked from shell/footer, clear purpose/source/editing distinction, no invented contact address or inactive submission form. |
| CD-DS15 | Privacy/analytics page | **Approve for implementation of the required truthful page; factual content must match deployed analytics.** Current source uses counter109268613, clickmap/trackLinks/accurateTrackBounce, Webvisor=false, own-HTTPS host guard; useful-reading custom event requires60s active time+75% body. Avoid “no data leaves browser”, “fully anonymous” and invented legal/retention guarantees. | After separate analytics delivery, verify exact deployed settings; describe page-hit/SDK versus local JSON input accurately. Preserve15s bounce and no customPII. Page accessible from shell/UIkit. |
| CD-DS16 | Not-found and recovery states | **Approve branded Russian404 retaining actual404.** Search/resources recovery supports content access; redirecting every missing URL home destroys meaning. | Unknown nested URL yields404, useful links/focus at320/390/1440; known legacy URLs still equivalent. Image failure leaves text usable. |
| CD-DS17 | Personalized UIkit | **Approve only if real pages consume it.** Demo should expose the real greeting/TLS/regex/GC/table/media and states, not loremipsum or a disconnected component graveyard. | Public/preview demo of actual reusable components and real content with focus/disabled/success/error/copy-denial/media-failure; explicitly label unavailable download as N/A rather than fake button. |
| CD-DS18 | FSD and analytics continuity | **Approve architectural purpose, not folder cosmetics.** Shared semantic tokens/primitives reduce drift, entities own article metadata, features own search/theme/analytics, widgets own shell/reading navigation. Keep stack. This is programmer-owned verification, not a visual PASS. | Public APIs/top-down imports; same UIkit in live pages; no shared→features inversion. Maintain section IDs/legacy routes/body/media/date payload; validate changed DOM selectors against actual event behavior. |
## Communication and current blockers
Sent designer the baseline contrast defect and native favicon/wordmark/evidence requirements via agent channel. Independently calculated the proposed new muted pair `#62665c`/`#eae7de` at4.75:1, link/panel5.27:1, dark secondary/panel7.11:1. These calculations support tokens; they do not inspect unknown rendered overlays/states.
The written proposal and actual concept pixels are now personally reviewed. All18 rows are `approve for implementation` (including the resolved token/copy revisions); none is a future-build PASS. I directly notified the designer that P+cursor, custom path wordmark and the19/18px/68ch740px direction are accepted for building a candidate, with no extra logo redesign requested. Root reports the separate analytics release0458 is complete; privacy must still use the actual deployed settings rather than treating this report as a new factual telemetry audit.
## Mapping every designer decision to CD review
- Proposal§1 audience/“Инженерная заметка”: CD-DS01,08,10. **Approve**: task-solving and mechanism-reading are grounded in the actual14articles; no generic SaaS/fictional newsroom treatment.
- Proposal§2 nativeP+cursor/pathwordmark/favicons/accessiblename/export: CD-DS02,03. **Approve** the personally viewed vector concept and specified usage. Actual exportedICO/PNG/touch/browser tab and320px header remain candidate evidence requirements.
- Proposal§3 semanticlight/dark/visitedfocus/panelcontrast/neutralfigurewell/themecontrol: CD-DS04,05,12. **Approve**; measuredmuted correction resolves a real current defect. No diagram inversion, no theme-transition obstruction, no content differences across themes.
- Proposal§4 typography/spacing/measure/grid/mobileTOC/scrollregions/motion: CD-DS06,07,10,11. **Approve for implementation** the explicit sizing and responsive model, subject to real-line count and keyboard/zoom checks. No invented Cyrillic-count equivalence toCSSch.
- Proposal§5 personally consumed components and states: CD-DS09–13,16–18. **Approve** limited primitives/owners, namedregions/statuses and absentunneededcomponents. Download remains N/A rather than a fakeaction. Clipboarddenial/fullcode and liveannouncements must work on candidate.
- Proposal§6 home/catalog/longshort/technical/service/UIkitcompositions/privacy/JSONhint: CD-DS08–17. **Approve** all proposed page purposes and state cases. Inaccurate1MB hint is resolved by the supplied nonnumeric preferred wording; no newbytecontract required. Privacy/source/editorial claims must remain scoped; service pages get actual footer routes and true404.
- Proposal§7 nestedFSD/publicAPIs/topdown/existingstack/analyticsDOMhooks: CD-DS18. **Approve architecture intent**, with PE independently checking consumed components/imports/behavior. Existing folder names alone are not acceptance evidence.
- Proposal§8 exactidentity/actualnewpixels/CM+designer+CD/PE/deploygates: **Approve and retain**. This report supplies the CD proposal decision action, not the later candidate/release action.
## Implementation handoff and remaining acceptance work
The exact proposal may proceed to implementation without another user question. Final decisions about actualfont/measure/themecontrast at320/390/1440 require the new candidate’s realhome/catalog/longshort/code/table/image/about/source/privacy/JSONemptyerror/UIkit pixels and interactions. Recheck actual nativefavicon16/32/48 andICO/touch exports. Check truthful analytics disclosure and stable goals, actualUIkitconsumption and topdownimports, preserved14bodies/media/anchors/dates/legacyroutes. Newly rendered candidate/source/build and the actual role verdicts must precede publishing; baselineV2 or this concept preview is not a substitute. Mandatory historicalrecovery and other existing scope gates remain separate. Product files were not changed by this reviewer.
## Additional personally opened identity pixels and CM agreement
After the first proposal decision I personally opened `proposals/evidence/native-sizes-light.png`, `native-sizes-dark.png` and `identity-preview-320.png`. The native strips are actual16/32/48px rows; P and separate cursor remain identifiable. The narrow concept shows the path wordmark and real prose wrap inside the320px composition. These support implementation adoption of the vector concept, not actualfaviconOS integration or finalheader acceptance. Illustrator's separate asset verdict does not replace these personal actions.
Read the CM decision ledger `content-proposal-review.md`, including D01–D20 and C01. I concur with **C01: revise the mixed concept fixture**: a Tilix heading should not share the Diet paragraph and Vibe date as if they were one article. Approved remedy: either one coherent Vibe/Diet/23May2017 specimen, or separately labeled specimens with each owning article link and metadata. Root/designer have adopted this rule. This is a required correction of the concept/demo content, not a request to edit the original article bodies; do not promote the old mixed preview into finalcontentcoherence evidence. All18 direction decisions remain accepted for implementation subject to this explicit fixture correction and CM's actualnewbuild checks.
Implementation namespace is **`web/fsd/pages`** within root's selected `web/fsd` tree, not Next's `web/pages` nor an accidental PagesRouter root. That choice preserves the proposal's intended routing boundary. Publicbrand/FSD assets must enter source/build identity. PE verifies actuallayerimports/publicAPIs/reuse independently.