Files

99 lines
15 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# V2: initial content review — BLOCKED
Reviewer: `/root/content_manager`. Date: 2026-10-26. Previous V1 acceptance is superseded.
Candidate inspected: commit `7b3f49788d89dbfa6005cd07e75f9d4b5934b455`; `web/data/articles.json` SHA-256 `3d9b3437d7bbaeb02d14bf39a637350f70cbb9b8c835b6ffe85a5d14054f146f`.
## Scope and evidence
Read the complete V2 acceptance contract. Read all fourteen complete published bodies (not only excerpts), source captures for each article through their `entry-content`, full raw outbound-anchor sets including comments/templates, saved CDX HTML URL inventory, manifest/extracted content, current article/about/tools/layout templates. The 14 bodies contain 19 preformatted blocks and five published images. Raw syntax-highlighting spans make raw HTML larger; that alone is not evidence of missing prose. No claim of rendered-DOM or current production review is made here. No source or product changes were made by this review.
## Blocking findings and workable compromise
### CM-V2-1: Editorial work is still mostly an unedited transcription
File: `web/data/articles.json`; article template `web/app/articles/[slug]/page.jsx`. The V1 fix adds warnings outside the body, while incorrect instructions and broken samples remain as ordinary instructional prose.
Concrete critical pages:
- `/articles/bitrix-api-создание-добавление-торгового-пре/` (legacy `/2017/08/14/bitrix-api-создание-добавление-торгового-пре/`): assigns `$offerId` but passes undefined `$offersId` to `CCatalogProduct::Add`. The `if ($catalogProductAddResult && !CPrice::SetBasePrice(...)) ... else throw ...` throws the catalog error even when the price succeeds. This is a real broken success path, not an archival version issue.
- `/articles/пишем-аналог-функции-php-preg_match_all-на-языке-прог/`: `matchAllPatternOrder` indexes `matches[count+1]` by match number instead of capture-group number; its own first sample expects `matches1[1]` to mix `o,n` and `matches1[2]` to mix `t,w`, which is not PREG_PATTERN_ORDER. `matchAllOffsetCapture` reads `.front` before checking `.empty`; zero matches is an unhandled case. The supplied tests only cover one happy string.
- `/articles/использование-jquery-в-webpack/`: says ProvidePlugin makes `$`, `jQuery`, `window.jQuery` global, while the displayed configuration only maps the first two identifiers. Official webpack documentation distinguishes automatically supplied free identifiers from the explicit `window.jQuery` mapping. Examples omit setup imports and mix module-local injection, global assignment, and CDN strategies without explaining the separate contracts.
- `/articles/ошибка-php-ssl-certificate-error-unable-to-get-local-issuer-certificate/`: body still diagnoses an absent server certificate, confuses a CA bundle with installing a server certificate, and provides typographic `»` quotes in php.ini. Existing correction is useful but does not edit the body as V2 requires.
- `/articles/вирус-самопроизвольный-запуск-брауз/`: body still presents the event as nearly harmless and removal as resolution. The pлашка no longer excuses those unsafe conclusions in ordinary body copy.
Compromise: preserve immutable raw captures internally; publish an edited useful article at the same URL. Correct code/prose in place, with a compact historical context sentence only where it changes interpretation. Keep interview quotes clearly attributable. Programmer checks corrected samples and adverse cases; content reviewer rereads final full bodies.
Acceptance: all five pages edited substantively, code has justified behaviour and negative-case verification, no contradictory safety guidance in body/metadata. Per-page ledger records what changed and checked sources. An archival banner alone does not close this block.
### CM-V2-2: Corpus denominator and old navigation remain unresolved
`provenance/cdx-html.json` includes `/контакты/`, `/полезные-ссылки/`, category/tag/author/month archives and `/page/2/`, beyond the fourteen article URLs. No V2 `url-inventory.json` or coverage reconciliation existed at inspection. The current article catchall does not establish what these destinations should mean. The 14-article count is not proof that every useful historic URL has been accounted for.
Compromise: independently discover http/https and www/apex CDX, reconcile meaningful URLs, recover useful links/about information without publishing obsolete contact details. Give category/month/tag views genuinely equivalent destinations, not a blanket homepage redirect. Exclude login/comment endpoints with reasons. Do not invent missing bodies.
Acceptance: complete inventory with denominator, snapshot/fetch/raw hash, disposition for every meaningful discovered URL; unresolved retrieval remains explicitly blocked. Specifically attempt `/полезные-ссылки/` and `/контакты/`. No claim that these are recovered until their bodies are inspected.
### CM-V2-3: Useful embedded media and an original section are missing
Raw article evidence references 13 unavailable embedded images: seven vibe.d examples, two GC diagrams, two scheduler screenshots, one Tilix UI image, one Bitrix editor image. Published captions replace those with process commentary or a different header image. Header/featured imagery is not an equivalent substitute for an in-body example. CTFE ends by promising a progress list/chart ("следующий список") that is not present in the published body; the current terminal image caption does not resolve that missing section.
Compromise: recover exact media from other snapshots/original lawful sources; for technical diagrams, a clearly accurate new diagram can preserve explanatory purpose, documented internally. Reconstruct missing prose only from checked primary sources and distinguish edits in the internal ledger. If a source truly cannot be recovered, retain an honest unresolved recovery item rather than declaring the article complete.
Acceptance: successful recovery or useful editorial replacement for each semantic role, placed beside the corresponding section; CTFE progress-section claim resolved substantively. Final reader copy contains no restoration-process caption or numeric missing-image notice.
### CM-V2-4: Per-link editorial audit is absent; old spam is real in raw evidence
I found no confirmed paid insertion in the fourteen currently extracted article bodies. This is not approval of every outbound link. Raw captured comments/templates contain concrete spam and unrelated links:
- `http://costofcial.com` (cialis), `http://cialissverige.org/`;
- `http://vseotkroem.ru/` (вскрытие замков);
- `http://unipan.ru/katalog-paneley.html` (каталог панели);
- `http://magadan-stroy.ru/produkt/fanera/` (фанера каталог);
- unrelated `russiangadget.com/...everycom-x9...`, `ohrana-ua.com/news/`, `ibra.com.ua/money/161428-kiyosaki-active-investments` in raw anchors.
These were excluded by extracting article entry content, which is good, but each raw occurrence and final removal needs evidence. Current legitimate-looking links still require contextual decisions: `dblog-ext.info/interviews/gerald-interview.html`, `pic.pimg.tw/superhbin/1205243571.png` (Gel screenshot), `arsdnet.net/this-week-in-d/*`, old `msdn.microsoft.com/...bb980924.aspx`, `curl.haxx.se/docs/caextract.html`, yadi.sk translation, and outdated D/GNOME documentation destinations. A broken or decayed source must not be replaced blindly with an unrelated home page.
Compromise: keep justified primary attribution/docs, update destination only when equivalent, remove unrelated insertion plus damaged connective prose. Source attribution has a different purpose from an ad, so no domain-wide allowlist.
Acceptance: complete `outbound-links.json` for href/src/action in source, templates, CSS, scripts, final HTML and rendered DOM, with anchor/context and explicit keep/remove rationale per occurrence. No tracking/ads in final output. Final crawl and manual suspicious-link review required.
### CM-V2-5: Reader copy still describes the production process
Five figure captions say "Иллюстрация из архивного снимка. Источник изображения"; five pages have "Не удалось восстановить встроенные иллюстрации: N..." notices; every article includes a repeated provenance banner. The about/tools copy and footer also foreground rebuilding and 26.10.2026 rather than the reader's task. V2 explicitly moves creation/provenance commentary to internal docs. Meaningful source attribution for translations should remain.
Compromise: make captions describe the actual diagram/UI and keep legally/editorially justified attribution. Put capture timestamps and missing-resource accounting in provenance/ledger, accessible internally. A concise historical scope for a 2017 technical article is useful, but it must explain a real version constraint rather than repeat the production log.
Acceptance: final copy has task-specific captions; no missing-image counts or build-process labels; source and date context remains only where useful to understanding/attribution.
## All fourteen full-body inspection ledger
Every row refers to `web/data/articles.json` and the matching raw filename recorded in `provenance/manifest.json`. Article slug is also the current `/articles/<slug>/` URL.
| Slug | Full-body inspection and action required |
|---|---|
| использование-jquery-в-webpack | All six code blocks present. Correct module/global contract; add runnable imports/config context; review outdated CDN/plugin approach and external URLs. |
| bitrix-api-add-foto-editor | Full parameter list and one PHP block present. Typo/grammar cleanup; explain `$id` and module/form context; validate `FileInput` API and option types. Exact `bitrix-foto-editor-2.jpg` missing; recovered `-1.jpg` is not the in-body screenshot. |
| о-tilix-и-d-интервью-с-геральдом-нанном | Read all Q&A through Delphi comparison and original-source attribution. Preserve interview/history; edit mistranslations (CSD currently says "пользователь" instead of application, "динамический набор текста" for dynamic typing), typos `Tiltx`, "Рапп" for Adam Ruppe. Historical star rankings/future plans must be framed as 2017. UI screenshot missing. Review every cited source; no confirmed paid anchor inside this body. |
| bitrix-api-функция-для-генерации-кода-элемент | Short but complete single-purpose function, not missing article. `"false"` string is truthy in PHP if interpreted as boolean; confirm Bitrix option contract, use correct booleans, document collisions/uniqueness and max length. Do not pad with generic filler. |
| bitrix-api-создание-добавление-торгового-пре | Full single PHP block preserved but materially broken success path and variable typo; see CM-V2-1. Add preconditions and failure handling. |
| firefox-увеличение-ожидания-загрузки-timeout-стр | Full seven-step list preserved. "если я не ошибаюсь" and 5-minute default unverified; increasing a browser timeout does not solve proxy/server limits or make long DB operations reliable. Rewrite scope and validate supported current pref against Mozilla source; keep old context if pref obsolete. |
| ошибка-php-ssl-certificate-error-unable-to-get-local-issuer-certificate | Body complete, not source truncation; incorrect diagnosis and malformed config quotes remain. Edit body; retain safety correction; update CA source equivalently. |
| dconf-2017-под-капотом-мусорщика-ди-дмитрий-ол | Read pools, allocation, all four collection phases, missing features, final redesign list. Prose largely preserved, two diagrams missing. Translation wrongly glosses GC compaction as topological compactification; fix to memory compaction. Correct typos and retain attribution to Olshansky/Kulikov. Historical implementation claims are not current D runtime facts. |
| пишем-аналог-функции-php-preg_match_all-на-языке-прог | All nine code blocks including full module/unittests present. Incorrect grouping and empty-result dereference; clarify UTF-8 byte offsets vs characters and narrowing to int. Fix tests to actual PHP ordering; see CM-V2-1. |
| новый-движок-ctfe | One complete std.uri code block preserved. Last paragraphs promise progress list/chart that is absent. Terminology `JIT интерпретатор`, purity restriction and current/future status require checking against original 2017 article/spec; preserve Koch attribution. Header diagram alone does not resolve missing progress section. |
| особенности-vibe-d | Full sections read: fibers/API/deploy/errors/features/database/raw IO/concurrency/GUI/performance/workers/D features/Diet. Seven images lost. Translation has `ресурсоемкую` where efficiency appears intended, `встроенный компилятор кода` for native compilation, `каждую емкость нитей` and other unreadable machine-like phrases; edit to correct technical Russian. Broad security/performance guarantees and "нет runtime overhead" need scoped wording, not current universal promises. |
| вирус-самопроизвольный-запуск-брауз | Full body present; unsafe conclusions and product recommendation remain in prose despite warning. Two scheduler screenshots missing. Rewrite actionable diagnostic steps and qualify remedy; don't preserve unsupported safety claims as instructions. |
| компиляция-64-x-разрядных-программ-на-dmd-по | Complete instructions but Windows 7/SDK 7.1/VS 2010 specifically; grammatically damaged translation. Explicit version scope, source checks for current installation alternative. `C:\...Visual Studio 10.0\VC` is not universally the SDK location; external SDK links need equivalent repair. |
| привет-мир | Entire short introductory post preserved. Real historical introduction, not an empty recovered body. Correct minor grammar or keep as clearly attributed historical greeting; no generic filler needed. |
## Source checks performed during this audit
- Official webpack ProvidePlugin: https://webpack.js.org/plugins/provide-plugin/ — free-identifier and explicit window mapping distinction.
- PHP boolean manual: https://www.php.net/manual/en/language.types.boolean.php — string/boolean distinction.
- Official D std.regex: https://dlang.org/phobos/std_regex.html — current API reference available for corrected grouping/empty-result work. This audit did not execute the downloaded article code.
## Verdict
BLOCKED for V2. Primary blocking work: substantive body edits, useful corpus reconciliation, missing semantic media/CTFE section, per-occurrence outbound decisions, and removing process copy. This report is an initial audit, not a final sign-off and not an external-domain safety certification. Parent must create/link Beads findings; reviewer has only written this requested report.