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,63 @@
# Programmer — F5 integration and technical review
Reviewer `/root/programmer_expert`. Exact candidate: working source `f5d92794816398171b68a1d374b24bd0cd9ea0f85d005c7be92369b40d314900`, frozen build `ea4fb0dc8934776e4e9d4213f07c27424962789bfadd1ba9ca51ad31d5736851`, `/tmp/progcode-ds-frozen-f5d927948163`, local `http://127.0.0.1:50480`/PID25027.
**Integration/source/invariant verdict: ACCEPTED. No new application-source defect identified. Final technical behavior/SDK evidence and CI/public release remain separate pending gates as detailed below.** No whole-site restoration or visual PASS.
## Authorship and independence
I authored the initial24 shared/entity/feature modules for this implementation, including primitives, date facade owner, analytics relocation, search/theme/JSON/content-access/shortlinks. This is disclosed author review of that portion, not an independent sign-off on my own implementation. Main subsequently added Tag consumption and the explicit archive long-date option in ArticleListItem. I personally reviewed main-authored route adapters, pages/widgets compositions, styles, identity/assets integration and source-hash pipeline, and independently recomputed the full candidate/preservation/import/local-HTTP evidence. Designer/creative/content/illustrator judgments and another acceptance audit remain necessary; my authorship is not hidden by using a reviewer title.
## Material personally read
- Next layout/metadata, all app route adapters and compatibility facades; canonical/legacy article lookup, metadata and static params.
- Main fsd pages: home, article, catalog, JSON, about, resources, not-found, privacy, sources, accessibility, UI-kit. Widgets: shell, article reader, related reading, journal index, JSON workbench. Public entity APIs and current ArticleListItem/Meta/Figure.
- All current owned shared/features source, including ThemeInit/ThemeControl, JSON revision/copy handling, ContentAccess DOM enhancement, analytics runtime/observer, search callbacks and shortlink guard.
- Entire source-identity tail and unchanged publication/sanitization boundary in prepare-publication.mjs; app/global CSS imports and shared tokens/editorial/components CSS, including final3-rule narrow-heading/search-width correction. Build log and exact candidate manifest/preservation/import reports were read as evidence and then checked independently.
## Independent reproducible checks actually completed
Own artifacts: `programmer-check.py`, `programmer-evidence.json`, `programmer-import-graph.json` in this directory. The checker reads current sources/frozen output and local HTTP only; no browser, production JS or metric request was executed.
- Independently enumerated and hashed **all230 working input files** according to the inspected new pipeline boundary (app/lib/fsd/scripts/data/all public except build-identity plus package/lock/config). Hash is exactf5d927; independently hashed **all722 frozen files** by sorted relative path+bytes: exactea4fb0. Current working sources therefore match this frozen identity rather than merely trusting a manifest.
- Independently reconstructed **51 relative FSD imports**, all resolving, with **zero direction/public-API violations** and no route-to-route JS imports. Root app owns framework routing; nested web/fsd/pages avoids a Next Pages Router collision. Cross-widget related composition occurs in page layer and is passed as a node; widgets do not import siblings. Feature search does not import sibling analytics; journal widget composes callbacks. Shared layer imports no features/entities/pages.
- Compared6 article/publication/route/figure JSON owners byte-for-byte against0458a99. All **28 canonical+legacy article body HTML payloads**, **146 printed time/complete ISO pairs** and **11 historical visual files** are identical to the accepted analytics baseline. Archive list uses shortDate=false to preserve its previous visible long labels; home uses existing short form. The original81 HTML route files remain and only4 meaningful service/demo routes are added.
- Local HTTP fetched all **85 HTML files** and matched them exactly to frozenF5; **130 internal targets return200**, **278 fragment references resolve**. The UI-kit intentionally links to `/does-not-exist-uikit/` to demonstrate actual404; verified that one expected target is branded404 rather than misclassifying it as a broken content link. Another unknown nested route is branded404. First harness stopped at the intentional fixture; corrected only its classification and reran all assertions. No product change.
- Verified actual PNG headers16/32/48/180 and genuine ICO directory16/32/48. Brand light/dark intrinsic dimensions224×44 and decorative images inside one named home link match the integration. Pixel quality/tab rendering is not certified by a binary-header check.
- Analytics runtime and explicitUTC date module remain **byte-equal to immutable0458a99**, not only semantically similar. Old lib files are public compatibility reexports; there is a single runtime owner, preserving init/hit/event guards. Stable `main.article-shell .article-content` and `.related` remain in actual product templates; UI-kit/demo/service pages are outside the article template.
## Actual public API consumers (not a demo-only graveyard)
| API | Real product consumer | Same implementation in demo/support |
|---|---|---|
| Brand | SiteHeader/SiteFooter | UI-kit native identity section |
| Button/Field/StatusMessage/Tag/ArticleListItem | JournalSearch + archive catalog | UI-kit embeds actual JournalIndex |
| TextArea/Button/StatusMessage/ScrollRegion | JsonEditor on /tools | UI-kit embeds actual JsonWorkbench |
| Prose | full article/about/privacy/sources/accessibility | real article excerpts/code/figures |
| ActionLink/TextLink | real404 and service/reference links | navigation/state specimens |
| ArticleMeta | actual article header | coherent source-specific Label fixtures |
| ArticleFigure | actual home CTFE lead | article media is actual preserved publication HTML |
| ThemeControl/ThemeInit | shell/head before paint | same shell surrounds UI-kit |
| ContentAccess | ArticleReader | `.demo-prose` snippets/table |
No unused login/modal/carousel/pretend-download product was introduced. Compatibility route facades are intentional adapters, not independently duplicated components. Canonical and old routes call the same fsd article composition; no app-page imports another app-page.
## Integration assessment
Theme bootstrap is constant allowlisted preference-only code in head with html hydration suppression. Theme control stores only system/light/dark and handles blocked storage for current-page use; no analytics/query state is persisted. Native select label and reduced-motion/forced-colors paths are present; actual contrast/native pixels remain visual-role work.
JSON workbench retains correct local parse/compact/error/clipboard success+denial/clear behavior; editing invalidates stale result/copy and async revision prevents obsolete success labels. The million-code-unit guard is internal, with truthful small-fragment hint rather than false1MB copy. Only small status messages are aria-live; the payload pre is a separate named scroll region. No fake download goal.
Prose's html sink still receives build-generated reviewed/sanitized publication HTML. ContentAccess enhances attributes/wrappers on existing nodes without reparsing/replacing body text/IDs. Existing table wrappers are reused; UI-kit inserts the true table directly into ScrollRegion rather than nested scrollers. Full code whitespace and original figure payload are preserved by independent body comparison.
Privacy text distinguishes external SDK standard metadata from locally processed search/JSON and fixed custom-goal payload; it does not claim analytics absence or absolute anonymity. New sources/accessibility pages retain bounded statements and do not pretend unknown restoration scope is complete. The actual intent of every changed template/link was inspected; existing article source-link review is inherited only because the article payload remains byte-identical.
## Exact behavior and remaining gates
Read finalF5 `functional.json`: exact sourcef5d927,8 actual cases pass, no runtime errors/external/statistics requests; search1/3/6/zero/reset, theme+reload, parse/compact/error/actual clipboard permission denial/clear, right-edge code and all CTFE columns via keyboard, measured real Russian line median73 at19px/740px, visible TOC target and actual404. The prior0340 test is not silently promoted: the finalF5 result has its own source pin. I inspected the harness logic but did not personally run a browser in this review.
At the time of this report, F5 analytics-contract JSON has9 passing cases/errors0/statistics0 but lacks an embedded sourceHash; root is supplying exact final harness/identity envelope and real-SDK interception replay. **Do not declare the final technical behavioral gate complete solely from an unpinned copied report.** Corrected article-only negatives must cover all7 service/demo nonarticle pages on this actual build. Real SDK replay must show correctcounter/settings/goal serialization with all stats intercepted and0 delivered. This is evidence completion, not a request for a product change.
CI, exact committed revision and public deployment are not yet accepted for this uncommitted candidate. After code/visual/content reviews, use the authorized existing Gitea/zz path and verify actual OCI revision/digest/sourcef5, healthy convergence, strict apex/www TLS, real content/legacy/404/static paths and analytics-safe intercepted verification. Do not open production JS without interception to create test visits. Mandatory historical/Semrush recovery and coordinator independent acceptance remain open; this FSD/style implementation does not close them.
Reproducibility note: the generic docs-owned verify-preservation.py / verify-fsd-boundaries.py still target the earlierc2b5 output. Their bare command should not be described as an F5 reproduction. The exact F5 checker saved here is independently scoped and reproduces the reported current-source/frozen/local assertions without rewriting product inputs.