Record exact V2 role acceptance and remaining release/research gates
This commit is contained in:
1 parent
0524a74976
commit
bbb55afb32
200 files changed
+10506
-346
No files matched your search
@@ -1,8 +1,6 @@
|
||||
# ProgCode.Ru
|
||||
# ProgCode.Ru — V2
|
||||
|
||||
Restored programmer blog: 14 historical posts (2017–2019), topic/search catalog, JSON formatter, legacy WordPress URLs. This clean checkout at `~/tmp/progcode.ru` uses the existing `huncode/progcode` repository; the dirty `~/tmp/progcode` checkout is untouched.
|
||||
|
||||
## Build and preview
|
||||
Редакторский журнал о D, PHP, Bitrix и JavaScript. Источник публикации — `web/data/articles-v2.json`; build детерминированно очищает HTML, добавляет проверенные фигуры и оглавления в `articles.json`. Старые editorial generators не являются источником V2.
|
||||
|
||||
```sh
|
||||
npm ci --prefix web --no-audit --fund=false
|
||||
@@ -10,18 +8,10 @@ npm run build --prefix web
|
||||
python3 deploy/local-server.py
|
||||
```
|
||||
|
||||
The preview binds 127.0.0.1 on a random free port and writes `.local-service.json` (PID, port, URL). Stop only that PID. See DEPLOYMENT_REPORT.md for the running instance.
|
||||
Preview выбирает свободный случайный порт и записывает PID/URL в `.local-service.json`. `PROGCODE_STATIC_ROOT` позволяет показать неизменяемую candidate-копию. Статика не требует Node в production; существующий Gitea workflow публикует immutable image/revision в тот же `progcode` Swarm stack.
|
||||
|
||||
## Archive and editorial policy
|
||||
Для полного audit создать отдельный Python venv, установить `deploy/requirements.txt`, затем выполнить `python deploy/crawl-v2.py URL` и `python deploy/audit-outbound.py`. Hostile fixture входит в `npm run build`. Реальные результаты D/PHP и browser cases сохранены в `docs/rebuild-v2/evidence/`; PHP fixture не является Bitrix DB E2E.
|
||||
|
||||
`provenance/restoration.json` records URLs, capture times, SHA-256, reuse results, image/missing counts. `provenance/cdx-20261026.json` and control HTML were fetched again on 2026-10-26. The historical corpus was recovered from the owner's existing local archive cache; it is not a claim that all historical site URLs were recovered. Raw captures are data and never executed. No original server code, trackers, comments, downloads or remote embeds are published. Future-dated synthetic editorial corpus is retained in Git history but excluded from publication. New UI/tools and dated safety corrections are explicitly separate from historical text.
|
||||
[Актуальный отчёт](DEPLOYMENT_REPORT.md) различает готовый локальный кандидат, разрешение upload, production V2 и незавершённый обязательный Semrush scope. [Inventory](docs/rebuild-v2/url-inventory.json), [coverage](docs/rebuild-v2/coverage.md), [editorial ledger](docs/rebuild-v2/editorial-ledger.json), [outbound review](docs/rebuild-v2/outbound-links.json), [пять reviews](docs/rebuild-v2/reviews/).
|
||||
|
||||
Five unique archive images are displayed in five articles; 13 missing inline illustrations are disclosed. Recovered third-party images have source attribution; no ownership of their copyright is asserted. Unused editorial imagery and wallpaper are excluded from publication. The home illustration is original CSS/text.
|
||||
|
||||
## Production
|
||||
|
||||
Existing `.gitea/workflows/deploy.yml` builds on master, pushes `git.pryanik.synology.me/huncode/progcode:<commit>` and deploys only the existing `progcode` stack via configured manager SSH secrets. It fails if the manager is absent. No global Traefik changes are needed. Static runtime listens on 8080 and has an HTTP healthcheck.
|
||||
|
||||
## Verification and tracking
|
||||
|
||||
Run `python3 deploy/smoke.py http://127.0.0.1:<port>` after build/preview; the same script supports public HTTPS. Browser evidence is under `verification/`. Separate project Beads prefix: `webprogcode`; run `bd prime` and `bd list`. No tracker from pupline is used.
|
||||
Исходная папка `~/tmp/progcode` с чужими незакоммиченными правками не изменялась; используется тот же существующий Gitea huncode/progcode, отдельного дубликата repo нет.
|
||||
Reference in new issue
Block a user