Author SHA1 Message Date
huncode 8d3f59daee Record verified own-registry base remedy and refresh exact R3 delivery manifest
Rebuild V2 candidate verification / candidate (push) Failing after 4m57s
Production container deploy / production (push) Successful in 6m51s
2026-10-26 20:07:53 +03:00
huncode f3c197d76f Use known own-registry immutable nginx base after Docker Hub TLS timeout 2026-10-26 20:06:36 +03:00
huncode 419520e44f Record five exact R3 limited approvals and independently reviewed frozen delivery packet
Rebuild V2 candidate verification / candidate (push) Failing after 2m22s
Production container deploy / production (push) Failing after 2m43s
2026-10-26 19:59:30 +03:00
huncode f2494e8d1f Gate site-specific limited release on five exact approvals and verified frozen export bytes 2026-10-26 19:50:48 +03:00
huncode 2676e474a1 Fail closed on incomplete frozen-release source sets and mismatched role attestations 2026-10-26 19:43:57 +03:00
huncode 0ff688d142 Prepare exact frozen R3 and real bounded-release reviews without changing production workflow
Rebuild V2 candidate verification / candidate (push) Failing after 1m56s
2026-10-26 19:39:54 +03:00
huncode 38f223e5af Verify frozen export using canonical Path ordering and separate delivery source identity 2026-10-26 19:34:55 +03:00
huncode 78274fbe09 Clarify limited corpus gaps at point of use and prepare non-deploying frozen export verifier 2026-10-26 19:31:22 +03:00
huncode e8cef39175 Reconcile all83 observed Semrush URLs and make complete CI verification independent of PyPI
Rebuild V2 candidate verification / candidate (push) Failing after 1m27s
2026-10-26 19:08:48 +03:00
huncode 44c5797144 Record V2 R2 complete crawl, archive evidence and five scoped reviews; retain mandatory recovery blocks
Rebuild V2 candidate verification / candidate (push) Failing after 3m55s
2026-10-26 18:50:23 +03:00
huncode 4a0d828ef0 Clarify homepage arithmetic and include code and link labels in full-text search 2026-10-26 18:34:55 +03:00
huncode d0fd7068bb Rebuild videoreg as source-backed SVK technical library V2 candidate 2026-10-26 18:20:54 +03:00
huncode 056f1a6462 Document verified videoreg release and public DNS TLS blocker 2026-10-26 14:39:00 +03:00
huncode 4c1bd03d5c bd: update sync.remote 2026-10-26 14:38:14 +03:00
huncode 9b5b080e60 Stamp release health and align preview security smoke checks
Production container deploy / production (push) Successful in 34s
2026-10-26 14:34:32 +03:00
huncode d8be62669a Target videoreg deployment at authorized zz host
Production container deploy / production (push) Successful in 45s
2026-10-26 14:32:03 +03:00
huncode d2bf3bbcb1 Resolve source and mobile review findings; record smoke evidence
Production container deploy / production (push) Canceled after 2m42s
2026-10-26 14:29:29 +03:00
huncode 53e4f06486 Restore videoreg public guide site with static isolated deployment
Production container deploy / production (push) Failing after 2m34s
2026-10-26 14:26:13 +03:00
huncode 2ce58fcbc0 feat: complete dashcam catalog ingestion demo
Master Production Deploy / production (push) Failing after 49s
2026-07-31 02:01:58 +03:00
huncode ae6c35145f bd init: initialize beads issue tracking 2026-06-07 17:16:46 +03:00
huncode 9e53a7b4fc move next to web-front 2026-05-17 01:08:19 +03:00
huncode cc219cdb26 design system 2026-05-17 00:25:53 +03:00
2970 changed files with 434786 additions and 758 deletions

No files matched your search

+70
View File
@@ -0,0 +1,70 @@
# Dolt database (managed by Dolt, not git)
dolt/
embeddeddolt/
# Runtime files
bd.sock
bd.sock.startlock
sync-state.json
last-touched
.exclusive-lock
# Daemon runtime (lock, log, pid)
daemon.*
# Push state (runtime, per-machine)
push-state.json
# Lock files (various runtime locks)
*.lock
# Credential key (encryption key for federation peer auth — never commit)
.beads-credential-key
# Local version tracking (prevents upgrade notification spam after git ops)
.local_version
# Worktree redirect file (contains relative path to main repo's .beads/)
# Must not be committed as paths would be wrong in other clones
redirect
# Sync state (local-only, per-machine)
# These files are machine-specific and should not be shared across clones
.sync.lock
export-state/
export-state.json
# Ephemeral store (SQLite - wisps/molecules, intentionally not versioned)
ephemeral.sqlite3
ephemeral.sqlite3-journal
ephemeral.sqlite3-wal
ephemeral.sqlite3-shm
# Dolt server management (auto-started by bd)
dolt-server.pid
dolt-server.log
dolt-server.lock
dolt-server.port
dolt-server.activity
# Corrupt backup directories (created by bd doctor --fix recovery)
*.corrupt.backup/
# Backup data (auto-exported JSONL, local-only)
backup/
# Per-project environment file (Dolt connection config, GH#2520)
.env
# Legacy files (from pre-Dolt versions)
*.db
*.db?*
*.db-journal
*.db-wal
*.db-shm
db.sqlite
bd.db
# NOTE: Do NOT add negation patterns here.
# They would override fork protection in .git/info/exclude.
# Config files (metadata.json, config.yaml) are tracked by git by default
# since no pattern above ignores them.
+81
View File
@@ -0,0 +1,81 @@
# Beads - AI-Native Issue Tracking
Welcome to Beads! This repository uses **Beads** for issue tracking - a modern, AI-native tool designed to live directly in your codebase alongside your code.
## What is Beads?
Beads is issue tracking that lives in your repo, making it perfect for AI coding agents and developers who want their issues close to their code. No web UI required - everything works through the CLI and integrates seamlessly with git.
**Learn more:** [github.com/steveyegge/beads](https://github.com/steveyegge/beads)
## Quick Start
### Essential Commands
```bash
# Create new issues
bd create "Add user authentication"
# View all issues
bd list
# View issue details
bd show <issue-id>
# Update issue status
bd update <issue-id> --claim
bd update <issue-id> --status done
# Sync with Dolt remote
bd dolt push
```
### Working with Issues
Issues in Beads are:
- **Git-native**: Stored in Dolt database with version control and branching
- **AI-friendly**: CLI-first design works perfectly with AI coding agents
- **Branch-aware**: Issues can follow your branch workflow
- **Always in sync**: Auto-syncs with your commits
## Why Beads?
✨ **AI-Native Design**
- Built specifically for AI-assisted development workflows
- CLI-first interface works seamlessly with AI coding agents
- No context switching to web UIs
🚀 **Developer Focused**
- Issues live in your repo, right next to your code
- Works offline, syncs when you push
- Fast, lightweight, and stays out of your way
🔧 **Git Integration**
- Automatic sync with git commits
- Branch-aware issue tracking
- Dolt-native three-way merge resolution
## Get Started with Beads
Try Beads in your own projects:
```bash
# Install Beads
curl -sSL https://raw.githubusercontent.com/steveyegge/beads/main/scripts/install.sh | bash
# Initialize in your repo
bd init
# Create your first issue
bd create "Try out Beads"
```
## Learn More
- **Documentation**: [github.com/steveyegge/beads/docs](https://github.com/steveyegge/beads/tree/main/docs)
- **Quick Start Guide**: Run `bd quickstart`
- **Examples**: [github.com/steveyegge/beads/examples](https://github.com/steveyegge/beads/tree/main/examples)
---
*Beads: Issue tracking that moves at the speed of thought* ⚡
+57
View File
@@ -0,0 +1,57 @@
# Beads Configuration File
# This file configures default behavior for all bd commands in this repository
# All settings can also be set via environment variables (BD_* prefix)
# or overridden with command-line flags
# Issue prefix for this repository (used by bd init)
# If not set, bd init will auto-detect from directory name
# Example: issue-prefix: "myproject" creates issues like "myproject-1", "myproject-2", etc.
# issue-prefix: ""
# Use no-db mode: JSONL-only, no Dolt database
# When true, bd will use .beads/issues.jsonl as the source of truth
# no-db: false
# Enable JSON output by default
# json: false
# Feedback title formatting for mutating commands (create/update/close/dep/edit)
# 0 = hide titles, N > 0 = truncate to N characters
# output:
# title-length: 255
# Default actor for audit trails (overridden by BEADS_ACTOR or --actor)
# actor: ""
# Export events (audit trail) to .beads/events.jsonl on each flush/sync
# When enabled, new events are appended incrementally using a high-water mark.
# Use 'bd export --events' to trigger manually regardless of this setting.
# events-export: false
# Multi-repo configuration (experimental - bd-307)
# Allows hydrating from multiple repositories and routing writes to the correct database
# repos:
# primary: "." # Primary repo (where this database lives)
# additional: # Additional repos to hydrate from (read-only)
# - ~/beads-planning # Personal planning repo
# - ~/work-planning # Work planning repo
# JSONL backup (periodic export for off-machine recovery)
# Auto-enabled when a git remote exists. Override explicitly:
# backup:
# enabled: false # Disable auto-backup entirely
# interval: 15m # Minimum time between auto-exports
# git-push: false # Disable git push (export locally only)
# git-repo: "" # Separate git repo for backups (default: project repo)
# Integration settings (access with 'bd config get/set')
# Non-secret keys (stored in the database):
# - jira.url, jira.project
# - linear.team_id
# - github.org, github.repo
#
# Secret keys (stored in this file but prefer env vars to avoid git exposure):
# - linear.api_key → use LINEAR_API_KEY env var instead
# - github.token → use GITHUB_TOKEN env var instead
sync.remote: "git+ssh://git@git.pryanik.synology.me:2222/huncode/videoreg.ru.git"
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/env sh
# --- BEGIN BEADS INTEGRATION v1.0.4 ---
# This section is managed by beads. Do not remove these markers.
if command -v bd >/dev/null 2>&1; then
export BD_GIT_HOOK=1
_bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
if command -v timeout >/dev/null 2>&1; then
timeout "$_bd_timeout" bd hooks run post-checkout "$@"
_bd_exit=$?
if [ $_bd_exit -eq 124 ]; then
echo >&2 "beads: hook 'post-checkout' timed out after ${_bd_timeout}s — continuing without beads"
_bd_exit=0
fi
else
bd hooks run post-checkout "$@"
_bd_exit=$?
fi
if [ $_bd_exit -eq 3 ]; then
echo >&2 "beads: database not initialized — skipping hook 'post-checkout'"
_bd_exit=0
fi
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
fi
# --- END BEADS INTEGRATION v1.0.4 ---
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/env sh
# --- BEGIN BEADS INTEGRATION v1.0.4 ---
# This section is managed by beads. Do not remove these markers.
if command -v bd >/dev/null 2>&1; then
export BD_GIT_HOOK=1
_bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
if command -v timeout >/dev/null 2>&1; then
timeout "$_bd_timeout" bd hooks run post-merge "$@"
_bd_exit=$?
if [ $_bd_exit -eq 124 ]; then
echo >&2 "beads: hook 'post-merge' timed out after ${_bd_timeout}s — continuing without beads"
_bd_exit=0
fi
else
bd hooks run post-merge "$@"
_bd_exit=$?
fi
if [ $_bd_exit -eq 3 ]; then
echo >&2 "beads: database not initialized — skipping hook 'post-merge'"
_bd_exit=0
fi
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
fi
# --- END BEADS INTEGRATION v1.0.4 ---
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/env sh
# --- BEGIN BEADS INTEGRATION v1.0.4 ---
# This section is managed by beads. Do not remove these markers.
if command -v bd >/dev/null 2>&1; then
export BD_GIT_HOOK=1
_bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
if command -v timeout >/dev/null 2>&1; then
timeout "$_bd_timeout" bd hooks run pre-commit "$@"
_bd_exit=$?
if [ $_bd_exit -eq 124 ]; then
echo >&2 "beads: hook 'pre-commit' timed out after ${_bd_timeout}s — continuing without beads"
_bd_exit=0
fi
else
bd hooks run pre-commit "$@"
_bd_exit=$?
fi
if [ $_bd_exit -eq 3 ]; then
echo >&2 "beads: database not initialized — skipping hook 'pre-commit'"
_bd_exit=0
fi
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
fi
# --- END BEADS INTEGRATION v1.0.4 ---
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/env sh
# --- BEGIN BEADS INTEGRATION v1.0.4 ---
# This section is managed by beads. Do not remove these markers.
if command -v bd >/dev/null 2>&1; then
export BD_GIT_HOOK=1
_bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
if command -v timeout >/dev/null 2>&1; then
timeout "$_bd_timeout" bd hooks run pre-push "$@"
_bd_exit=$?
if [ $_bd_exit -eq 124 ]; then
echo >&2 "beads: hook 'pre-push' timed out after ${_bd_timeout}s — continuing without beads"
_bd_exit=0
fi
else
bd hooks run pre-push "$@"
_bd_exit=$?
fi
if [ $_bd_exit -eq 3 ]; then
echo >&2 "beads: database not initialized — skipping hook 'pre-push'"
_bd_exit=0
fi
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
fi
# --- END BEADS INTEGRATION v1.0.4 ---
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/env sh
# --- BEGIN BEADS INTEGRATION v1.0.4 ---
# This section is managed by beads. Do not remove these markers.
if command -v bd >/dev/null 2>&1; then
export BD_GIT_HOOK=1
_bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
if command -v timeout >/dev/null 2>&1; then
timeout "$_bd_timeout" bd hooks run prepare-commit-msg "$@"
_bd_exit=$?
if [ $_bd_exit -eq 124 ]; then
echo >&2 "beads: hook 'prepare-commit-msg' timed out after ${_bd_timeout}s — continuing without beads"
_bd_exit=0
fi
else
bd hooks run prepare-commit-msg "$@"
_bd_exit=$?
fi
if [ $_bd_exit -eq 3 ]; then
echo >&2 "beads: database not initialized — skipping hook 'prepare-commit-msg'"
_bd_exit=0
fi
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
fi
# --- END BEADS INTEGRATION v1.0.4 ---
+46
View File
@@ -0,0 +1,46 @@
{"id":"int-bb1dc104","kind":"field_change","created_at":"2026-06-07T14:24:33.025471Z","actor":"E.Gavrilov","issue_id":"videoreg-kbh.2","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented and verified in codebase (typecheck + 18 vitest tests pass)"}}
{"id":"int-c9ddede0","kind":"field_change","created_at":"2026-06-07T14:24:33.344014Z","actor":"E.Gavrilov","issue_id":"videoreg-kbh.3","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented and verified in codebase (typecheck + 18 vitest tests pass)"}}
{"id":"int-2da54fc8","kind":"field_change","created_at":"2026-06-07T14:24:33.664844Z","actor":"E.Gavrilov","issue_id":"videoreg-kbh.4","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented and verified in codebase (typecheck + 18 vitest tests pass)"}}
{"id":"int-f2a63413","kind":"field_change","created_at":"2026-06-07T14:24:33.992823Z","actor":"E.Gavrilov","issue_id":"videoreg-kbh.5","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented and verified in codebase (typecheck + 18 vitest tests pass)"}}
{"id":"int-278657e9","kind":"field_change","created_at":"2026-06-07T14:24:34.319098Z","actor":"E.Gavrilov","issue_id":"videoreg-kbh.6","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented and verified in codebase (typecheck + 18 vitest tests pass)"}}
{"id":"int-f99f838f","kind":"field_change","created_at":"2026-06-07T14:24:34.647874Z","actor":"E.Gavrilov","issue_id":"videoreg-kbh.8","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented and verified in codebase (typecheck + 18 vitest tests pass)"}}
{"id":"int-2182f889","kind":"field_change","created_at":"2026-06-07T14:24:34.951525Z","actor":"E.Gavrilov","issue_id":"videoreg-seu.1","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented and verified in codebase (typecheck + 18 vitest tests pass)"}}
{"id":"int-6a49828d","kind":"field_change","created_at":"2026-06-07T14:24:35.263154Z","actor":"E.Gavrilov","issue_id":"videoreg-nnv.1","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Implemented and verified in codebase (typecheck + 18 vitest tests pass)"}}
{"id":"int-8f64b7af","kind":"field_change","created_at":"2026-06-07T14:24:36.039743Z","actor":"E.Gavrilov","issue_id":"videoreg-kbh.1","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-9330a6c3","kind":"field_change","created_at":"2026-06-07T14:24:36.602138Z","actor":"E.Gavrilov","issue_id":"videoreg-kbh.7","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-d6554c75","kind":"field_change","created_at":"2026-06-07T14:24:37.165445Z","actor":"E.Gavrilov","issue_id":"videoreg-st9.1","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-66d79f75","kind":"field_change","created_at":"2026-07-30T23:00:42.663159Z","actor":"E.Gavrilov","issue_id":"videoreg-nnv.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Shared-volume bridge is implemented, documented, locally exercised, and validated by the Swarm config."}}
{"id":"int-2599ce31","kind":"field_change","created_at":"2026-07-30T23:00:43.499008Z","actor":"E.Gavrilov","issue_id":"videoreg-nnv.4","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"The combined web, PostgreSQL, worker, and admin Swarm stack shares catalog_exports and routes /admin through Traefik."}}
{"id":"int-c3a31f13","kind":"field_change","created_at":"2026-07-30T23:00:44.306067Z","actor":"E.Gavrilov","issue_id":"videoreg-kbh.14","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"The HTTP export server and token bridge are removed; versioned export artifacts are written atomically to the shared volume."}}
{"id":"int-a20ed6d4","kind":"field_change","created_at":"2026-07-30T23:00:45.148032Z","actor":"E.Gavrilov","issue_id":"videoreg-kbh.15","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"The app validates manifest/artifact files from the shared export directory with SHA-256 and Zod, then updates its read model atomically."}}
{"id":"int-b5112040","kind":"field_change","created_at":"2026-07-30T23:00:45.976151Z","actor":"E.Gavrilov","issue_id":"videoreg-kbh.9","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"MVideo discovery and product parsing are wired into the worker with smoke coverage; live source CAPTCHA is paused without bypass."}}
{"id":"int-3528fa0c","kind":"field_change","created_at":"2026-07-30T23:00:46.850374Z","actor":"E.Gavrilov","issue_id":"videoreg-kbh.16","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Canonical model cleanup has fixtures for the SPAWNSON and iBOX cases, and canonical name/model edits are preserved in admin moderation."}}
{"id":"int-3bda336d","kind":"field_change","created_at":"2026-07-30T23:00:47.750226Z","actor":"E.Gavrilov","issue_id":"videoreg-1v0","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Local Yandex crawl produced five real approved cards, export/import and desktop/mobile catalog rendering were verified, and quality/deploy checks pass."}}
{"id":"int-abc62651","kind":"field_change","created_at":"2026-10-26T11:17:20.344333Z","actor":"E.Gavrilov","issue_id":"videoreg-7wi.2","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-a61b093d","kind":"field_change","created_at":"2026-10-26T11:17:25.540512Z","actor":"E.Gavrilov","issue_id":"videoreg-7wi.3","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-046cf2af","kind":"field_change","created_at":"2026-10-26T11:18:15.172502Z","actor":"E.Gavrilov","issue_id":"videoreg-7wi.4","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-ed73c368","kind":"field_change","created_at":"2026-10-26T11:18:33.579134Z","actor":"E.Gavrilov","issue_id":"videoreg-7wi.5","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-efcdba8b","kind":"field_change","created_at":"2026-10-26T11:27:22.188042Z","actor":"E.Gavrilov","issue_id":"videoreg-7wi.2","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Contextual four-step journey verified on all four actual rendered guides; calculator secondary; creative acceptance approved."}}
{"id":"int-f16f1c2f","kind":"field_change","created_at":"2026-10-26T11:29:28.445877Z","actor":"E.Gavrilov","issue_id":"videoreg-7wi.4","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Illustrator repeat review PASS 2026-10-26: visually inspected real 360px full mobile and 1440px desktop screenshots in docs/review-evidence. Camera, lens and caption remain deliberately composed; no clipping obscures content. CSS artwork is decorative aria-hidden, original provenance documented in docs/CONTENT_POLICY.md; browser-checks.json records heroExternalResources=[] and mobile document width 360. Chosen compromise implemented: retain zero-request original CSS illustration instead of raster replacement."}}
{"id":"int-24b548f3","kind":"field_change","created_at":"2026-10-26T11:29:32.060958Z","actor":"E.Gavrilov","issue_id":"videoreg-7wi.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Content reviewer accepted truthful provenance, dated catalog snapshot and current primary installation sources after actual file/HTTP verification."}}
{"id":"int-ea29533a","kind":"field_change","created_at":"2026-10-26T11:29:56.342263Z","actor":"E.Gavrilov","issue_id":"videoreg-7wi.1","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Designer accepted final 360px guide screenshot and responsive CSS; heading wrap fixed, previously reviewed mobile and keyboard criteria pass."}}
{"id":"int-f23cba71","kind":"field_change","created_at":"2026-10-26T11:35:36.127303Z","actor":"E.Gavrilov","issue_id":"videoreg-7wi.5","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Static nginx runtime and isolated deploy accepted; independent origin24/24, local25/25, API POST404 and redirect308 passed. Public acceptance remains blocked separately by videoreg-7wi.6."}}
{"id":"int-814dfc97","kind":"field_change","created_at":"2026-10-26T11:37:23.173469Z","actor":"E.Gavrilov","issue_id":"videoreg-7wi","extra":{"field":"status","new_value":"blocked","old_value":"in_progress"}}
{"id":"int-1798d3bb","kind":"field_change","created_at":"2026-10-26T13:13:00.821194Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-5bf1f625","kind":"field_change","created_at":"2026-10-26T13:15:32.706793Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy.1","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-58f587ab","kind":"field_change","created_at":"2026-10-26T13:16:37.652252Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy.2","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-fb78a8f5","kind":"field_change","created_at":"2026-10-26T13:16:54.575909Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy.3","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-28e31f16","kind":"field_change","created_at":"2026-10-26T13:21:27.578907Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy.5","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-da343fe2","kind":"field_change","created_at":"2026-10-26T13:22:19.753089Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy.6","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-d1acaae5","kind":"field_change","created_at":"2026-10-26T13:27:18.801835Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy.4","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-3da62f34","kind":"field_change","created_at":"2026-10-26T14:35:25.449934Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy.7","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-0306d67f","kind":"field_change","created_at":"2026-10-26T15:25:45.086798Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy.2","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Exact-candidate review d0fd706: inspected final resolve_public selected-file containment, safe temporary-fixture check-preview2/2 independently passed (ordinary path/root, raw+encoded dot segments and direct/extensionless outside symlink fixture). Normal live HTTP full crawl130 checks passed, HEAD200/API GET+POST404/unknown404. Candidate export containment scan rejected no outside-root files. Initial disclosure fixed for reviewed candidate; full V2 acceptance remains blocked by .4 corpus99 unresolved."}}
{"id":"int-7390dbb6","kind":"field_change","created_at":"2026-10-26T15:25:46.295977Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy.4","extra":{"field":"status","new_value":"blocked","old_value":"in_progress"}}
{"id":"int-8831a663","kind":"field_change","created_at":"2026-10-26T15:28:44.894322Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy.9","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Recovered full exact872857byte3page SVK002 MobileNewsJan2008 test; root+contentmanager read100–102pixels, authorattribution andusefulcompanionpublishedlocally. PDFnoJSvalid, HTTP200matchesfullsourceSHA; evidence/svk002-review/manifest.json + downloads-http.json. Earliercorrupt/truncatedcopiesnotpublic."}}
{"id":"int-ddca2ecc","kind":"field_change","created_at":"2026-10-26T15:32:33.567049Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy.3","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Scoped V2 design criteria resolved on exact d0fd706 candidate after independent36-image review and live search/table/keyboard/gallery checks. Whole-site V2 remains blocked by99 unresolved recovery entries and mandatory content/runtime gates."}}
{"id":"int-43be62bd","kind":"field_change","created_at":"2026-10-26T15:33:29.573218Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy.6","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Same illustrator verified exactcandidate integrated diagrams/photos at360/1440, alt/ratios/load and gallery6→30 actualframes. Subject-specific illustration finding resolved; whole-site/corpus acceptance remains blocked separately."}}
{"id":"int-8b41874f","kind":"field_change","created_at":"2026-10-26T15:39:33.990293Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy.5","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"Same creative reviewer verified exact R2 library direction, meaningful imagery, scoped models/JPEGtool and corrected homepage formula; role-specific veto resolved. Mandatory unresolved corpus/Semrush and overall publication remain blocked separately."}}
{"id":"int-a0861176","kind":"field_change","created_at":"2026-10-26T16:14:30.517047Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy.11","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"ActualGiteaUI run1324/job1523 sourcee8cef39 observed:offlinevendor36hashes+damagedPNGregression+preview2+mock4291+FULLcrawl executed131HTTP168rawrasters0technicalerrors119unresolved. PyPIremoved. OverallFailure intentionalrestorationgate119, no whole-sitePASS/deploy. Evidenceci/run1324.json."}}
{"id":"int-b67535da","kind":"field_change","created_at":"2026-10-26T16:21:29.037724Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy.12","extra":{"field":"status","new_value":"in_progress","old_value":"open"}}
{"id":"int-4715fd8c","kind":"field_change","created_at":"2026-10-26T16:36:07.972348Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy.13","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Independent content reviewer verified exact R3 78274fbe09c0fd7d0b8d94830db1f31fa76b1db9/export4d998c25dd09d5b6d08e011e235fb7212568dcc60dd37da24a3194655de02e01: eight availability bodies and nine full-page pixels/HTTP pages read; five partial-series counts match source inventory; GPS partial ZIP, unavailable AVI and software explicit. ALLOW LIMITED PUBLICATION ONLY. Full historical recovery .1 remains mandatory open. Evidence docs/rebuild-v2/evidence/content-limited-release-r3.json."}}
{"id":"int-1bbcccdc","kind":"field_change","created_at":"2026-10-26T16:47:47.398753Z","actor":"E.Gavrilov","issue_id":"videoreg-7oy.14","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Same-reviewer final guard inspection after2676e47 and independent24/24temporaryfixturetests passed; initial6attestationgaps fixed. RealPENDINGpacketstillrefusesnormalpublicationverify. No workflow/production action; R3limitedpayloadapprovalseparate, deliverycodereviewstillrequired."}}
+54
View File
@@ -0,0 +1,54 @@
{"_type":"issue","id":"videoreg-7oy.14","title":"Limited release verifier: reject incomplete source, delivery and role attestations","description":"Independent review of deploy/release-artifact.py with24 synthetic temporary-fixture tests found6 accepted invalid attestations: empty agent string, wrong role appSourceManifestSha256, empty appSourceFiles with hash([]), and empty/omitted/duplicated deploymentFiles. Existing tar safety, hash checks and PENDING publication refusal pass. No app/production/workflow mutations were performed; Git reads in tests are explicit fixture stubs.","design":"Keep the nondeploying verifier and existing separate app/delivery commits. Narrow compromise: require nonempty unique app source rows; exact unique DEPLOY_FILES coverage; bind every role app manifest to the candidate app hash; require nonempty string agent IDs. Preserve prepare-only for preparation, never publication. Do not edit rejected master workflow or deploy as a workaround.","acceptance_criteria":"All24 temporary-fixture tests pass, including six newly rejected cases. Actual pending release still refuses normal publication verification until five real same-artifact scoped decisions exist. Same reviewer reads the narrow helper diff and records exact fixture evidence. R3 payload and deployment remain unchanged by tests.","status":"closed","priority":1,"issue_type":"bug","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T16:44:10Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T16:47:47Z","closed_at":"2026-10-26T16:47:47Z","close_reason":"Same-reviewer final guard inspection after2676e47 and independent24/24temporaryfixturetests passed; initial6attestationgaps fixed. RealPENDINGpacketstillrefusesnormalpublicationverify. No workflow/production action; R3limitedpayloadapprovalseparate, deliverycodereviewstillrequired.","labels":["blocking","limited-release","role-programmer-expert"],"dependencies":[{"issue_id":"videoreg-7oy.14","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T19:44:10Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7oy.13","title":"Limited release content veto: disclose missing series frames and unavailable ZIP/AVI/software at point of use","description":"Independent content manager identifies concrete boundedrelease harm: fivepartialseries expose showallavailablecounts without originalseries gaps; GPS4salvagedJPEG/unavailablefullZIP notexplicit; oldfront/rearAVI andEXE/USB.BIN availabilityunclear. This is separatefromfullhistory119unresolved; fixreadercopywithactualcounts/evidence, nofabricatedfiles.","acceptance_criteria":"Fivepartialgallerypages discloseavailableX/originalY andnoncontinuity; GPS4completeJPEGs fromcorruptZIP/fullZIPunavailable; samples explicitmissingfrontrearAVI; downexplicitnoverifiedEXE/USB.BINdownloads. Samecontentreviewer verifiesexactnewbuild andapprovesonlyboundedpublication; fullrecoveryissuesstayopen.","status":"closed","priority":1,"issue_type":"bug","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T16:19:28Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T16:36:08Z","closed_at":"2026-10-26T16:36:08Z","close_reason":"Independent content reviewer verified exact R3 78274fbe09c0fd7d0b8d94830db1f31fa76b1db9/export4d998c25dd09d5b6d08e011e235fb7212568dcc60dd37da24a3194655de02e01: eight availability bodies and nine full-page pixels/HTTP pages read; five partial-series counts match source inventory; GPS partial ZIP, unavailable AVI and software explicit. ALLOW LIMITED PUBLICATION ONLY. Full historical recovery .1 remains mandatory open. Evidence docs/rebuild-v2/evidence/content-limited-release-r3.json.","dependencies":[{"issue_id":"videoreg-7oy.13","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T19:19:28Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7oy.12","title":"Decide and verify bounded publication of the reviewed useful corpus, retaining full recovery blocks","description":"Coordinator explicitly requests separatefive-roledecision onboundedrelease ofexactreviewedR2corpus; fullhistoricalcompleteness cannotbeclaimed andmandatoryrecoveryissuesstayopen. Needconcretecandidate/reader-facingmissingfileclarity/true404s/no misleadingcurrentclaims. No forcePASS or globalinfrachange.","acceptance_criteria":"Allfivepreviousrolesnewlyassessactualartifactlimitedboundary; concreteharm/ambiguityfixedandsamereviewerverified; agreedreleaseinventory/hashrecorded. Fullrecovery.1/.4/.7/.8remainopen, exactsite-specificdeploy/local/publicidentity/TLScheckedifpublished, no existingpendingapprovalbypassed.","notes":"AllfiveexactR3ALLOW+deliveryprogrammerALLOW; production1333actualRestore5andpublishedgatePASS but imagebuildDockerHubauthTLS timeout, Push/DeploySKIPPED. No servicechange. SeparatebasefixprogrammerALLOW: knownownregistry9b5immutablebase actualamd64nginx1.28.3, noONBUILD/Volumes, oldwebrootremoved; strictE3/amd64/nginx/digestgatesretained. Deliverysourcef3c197d usesownregistry only. Retryingexistingworkflowonce; full119/.1/.4/.7/.8OPEN.","status":"in_progress","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T16:17:00Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T17:07:53Z","started_at":"2026-10-26T16:21:29Z","dependencies":[{"issue_id":"videoreg-7oy.12","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T19:16:59Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7oy.11","title":"V2 CI verification: remove PyPI runtime dependency and reach complete crawl","description":"Actual publicGiteaUI run1321 job1519:types21testsbuild passed; pinnedPythondependencyinstall failed PyPIreadtimeout, completecrawl skipped. This is separate from intentional unresolvedinventoryfailure. ExistingpinnednpmSharpavailable; exactpurePythonparserlicenses canbevendored offline. No app/production changes.","acceptance_criteria":"Real CI reaches completecrawl with0technicalerrors, outputs actualbuildsource identity and expanded258inventory/119unresolved. Do not claim overallPASS or mask restorationblock. Offline parser andfullrasterdecode tested; source unchangedR2.","notes":"\nOfflineCI tooling implemented and locally verified: vendored36purePythonfiles withupstreamlicenses/SHAmanifest; Python-S/noPillow Sharp0.34.5 fullraw168rasters andpositive+corruptfixture pass; defaultPillow full168crosscheck pass;35HTML131HTTP0technicalerrors. sourceCommit derivedactualhealth4a0d828, repositoryHead separate44c5797, builtGit appmanifest==current72adae..., exportadb919... unchanged. Inventory258/119unresolved remainsBLOCKED. programmer-candidate.md offlineCIappendix and programmer-offline-deps.json. ActualGitearunnerrerun stillrequired; nofakeCIpass.","status":"closed","priority":1,"issue_type":"bug","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T16:03:29Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T16:14:30Z","closed_at":"2026-10-26T16:14:30Z","close_reason":"ActualGiteaUI run1324/job1523 sourcee8cef39 observed:offlinevendor36hashes+damagedPNGregression+preview2+mock4291+FULLcrawl executed131HTTP168rawrasters0technicalerrors119unresolved. PyPIremoved. OverallFailure intentionalrestorationgate119, no whole-sitePASS/deploy. Evidenceci/run1324.json.","dependencies":[{"issue_id":"videoreg-7oy.11","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T19:03:28Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7oy.10","title":"V2 public runtime: verify apex and www exact accepted build and trusted TLS","description":"Apex currently resolves77.91.88.137 with trustedTLS HTTP200 but still rejectedV1commit9b5b080. www resolves sameIP but curl60 certificate validation failure. V2 stack apex+www host rule prepared locally, notdeployed before mandatory review/recovery gates. Scope only videoreg service; no globalTraefik/DNS orACME massretry.","acceptance_criteria":"After acceptedV2publish viaexistingGitea/zz path, verify exactimmutableimage and healthcommit, complete representativeHTTPchecks, trustedTLSbothapex/www. Record evidence and keepopenotherwise.","status":"open","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T15:30:38Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T15:30:38Z","dependencies":[{"issue_id":"videoreg-7oy.10","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T18:30:38Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7oy.9","title":"V2 exact Semrush PDF lead: recover complete svk-002-mn.pdf and identify actual document type","description":"Actual Semrush anchor lead1backlink/1domain. OriginalURL http://videoreg.ru/download/svk-002-mn.pdf; CDX20090205154916. HTTP200download473313bytes is malformed:pdfinfo top-levelpagesnull/xref failure, no valid page count. Do not advertise as recovered or relabel anonymousUVR2CH manual. Try other exact original/www/apex dates or legitimate manufacturer duplicate; verify title/model/allpages, PDFstructure/noJavaScript andsourcehash. Keep exact lead unresolved if no complete verified file; fullrelatedmanuals4areseparate.","notes":"Recovered exact full PDF via short-date2009 replay:872857bytes curl0, pdfinfo3pages JSno, scanned pages100–102 read visually by root. Denis Kirin, Mobile News January2008 test, not manual. Immutable raw+render manifest evidence/svk002-review. Validated public copy queued; companion/content-manager review and HTTPsamehash pending before closure.","status":"closed","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T14:47:06Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T15:28:45Z","closed_at":"2026-10-26T15:28:45Z","close_reason":"Recovered full exact872857byte3page SVK002 MobileNewsJan2008 test; root+contentmanager read100–102pixels, authorattribution andusefulcompanionpublishedlocally. PDFnoJSvalid, HTTP200matchesfullsourceSHA; evidence/svk002-review/manifest.json + downloads-http.json. Earliercorrupt/truncatedcopiesnotpublic.","labels":["blocking","pdf","recovery","semrush"],"dependencies":[{"issue_id":"videoreg-7oy.9","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T17:47:05Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7oy.8","title":"V2 restoration blocker: recover unresolved historic bodies and important media","description":"Full CDX yielded883HTMLcaptures,121HTML URLkeys,259resource URLkeys;25realHTMLbodies fetched after all distinct pre/post2015 snapshots and www/apexvariants. Known inventory170normalizedURLs includes59unresolved content leads plus1partial listing, and important installation/examplevideo media remain unavailable. Keep explicit unresolved coverage rather than modern substitutes. Some HTTP200media invalid: directSVK002PDF structurally corrupt; only2ZIP-contained manuals valid. Continue linked-source/alternatearchive and mandatorySemrush work. Acceptance: each meaningful URL reconciled to real edited body, evidenced equivalent, genuine spam/commercial exclusion, or concrete external blocker; missing mandatory recovery not optional followup or PASS.","notes":"Expandedknowninventory258/nonexcluded158:119unresolved =99baseline +20newSemrush epoch/fragment/encoded/malformedleads. ActualR2app/exportunchanged,5rolesapprovedscopedsubsetonly. Primaryresources63missing/invalid,25sampleframesmissing,1partialZIPremain. Nextprioritybatch3actualtargets tried,0newvalidatedbodies; no bulkretry/no429. Notoptional/complete.","status":"open","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T13:59:42Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T16:05:13Z","labels":["archive","blocking","restoration"],"dependencies":[{"issue_id":"videoreg-7oy.8","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T16:59:41Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7oy.7","title":"V2 required: reconcile Noxtools Semrush backlink targets with complete videoreg inventory","description":"Direct user requirement: root coordinator inspects Semrush in shared in-app Noxtools session sequentially. Prepare lost URL/title/questions under docs/rebuild-v2/semrush. Consume actual root exports site-restoration-status/semrush-recovery/videoreg.ru, individually assess target URLs/anchors/referring contexts, add legitimate new paths to inventory and fetch real bodies/snapshots. Backlinks are leads only, not recovered text or source truth. No invented Semrush results; no takeover of shared browser. Acceptance: actual provided export scope documented, each legitimate new target reconciled/restored or explicit unresolved blocker, full editorial/outbound gate repeated.","notes":"All83actualobservedIndexedPageURLs now reconciled inexactorder;17metadataonly,89reported/6unseen. Inventory238→258 adds20unresolvedtargets;32exactURLvariants epochunknown notassumedBloxspam. Per83 dispositions/sha andbounded3target7requestrecoverybatch saved. topic196CDX[], product138archive404wrappers,ZIPtransportfailure;0newbodies,0HTTP429. Anchors3/52 LostVital6/18stillpartial. FullSemrush/recoverymandatoryopen.","status":"in_progress","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T13:49:39Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T16:05:12Z","started_at":"2026-10-26T14:35:25Z","labels":["blocking","recovery","semrush"],"dependencies":[{"issue_id":"videoreg-7oy.7","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T16:49:39Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7oy.6","title":"V2 illustrator veto: replace generic hero with inspected technical diagrams in recovered SVK pages","description":"Actual V1 pixels inspected: home-1440.png, home-360.png, guides-choose-360.png under docs/rebuild-v2/evidence/designer-initial. Hero depicts a generic camera and provides no explanation of recovered original SVK design. Recovered auto20070228153116 full cp1251 body describes one/two USB cameras, SVK recorder, FLASH media and Windows viewing; distinct road/guard modes. Existing article has no explanatory visuals or actual integrated V2 candidate proof. This blocks V2 illustration acceptance.","design":"Options: retain decorative camera; use only low-resolution archived photographs; add precise mobile-first explanatory diagrams alongside selected recovered photographs. Chosen compromise: two original SVG diagrams for signal chain and relative road/guard capture cadence, with model-specific context and no invented wiring instructions or rate claims. Root integrates these only where the body discusses them; metadata remains internal.","acceptance_criteria":"Open both actual SVG renderings and inspect their exact integrated candidate pages at narrow and wide widths; verify legible labels, crop/layout, alt text, intrinsic size/load, no external references, subject consistency with auto snapshot; record URL, screenshot paths and candidate source/build hash. No final PASS before integrated pixels are viewed.","notes":"R2 same-reviewer verification completed for exactsource4a0d828ef070d305bea57d6a5d16d612fc16a0e2 app72adaeab317c83069c2ca92599940955372768776367da42b26ed0a7d521e822 exportadb919f431cb965359d7297194dbec7115c19dc8f0ddbe8340f303a2f1531603. Opened all7changed actual R2 screenshots plus5nativegallery crops. Rehashed68ss+18appsourcefiles;61R1pixel-identical,182publicassetblobs unchanged, all3SVG/CSS/articleJSON/figuregallerysourceunchanged. No new illustration defect; .6 stays scopedclosed. FinalR2evidence illustrator-final-r2/verdict.json +delta-manifest.json and appended illustrator-candidate.md. Whole-site/corpus acceptance explicitly NOT granted; mandatory unresolved99corpus remains separate.","status":"closed","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T13:20:47Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T15:45:58Z","started_at":"2026-10-26T13:22:20Z","closed_at":"2026-10-26T15:33:30Z","close_reason":"Same illustrator verified exactcandidate integrated diagrams/photos at360/1440, alt/ratios/load and gallery6→30 actualframes. Subject-specific illustration finding resolved; whole-site/corpus acceptance remains blocked separately.","labels":["blocking","role-illustrator","v2"],"dependencies":[{"issue_id":"videoreg-7oy.6","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T16:20:47Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7oy.5","title":"V2 creative veto: replace generic shopping journey with coherent SVK technical library","description":"Independent V2 audit opened all six baseline layouts at narrow and wide widths using actual captured pixels in docs/rebuild-v2/evidence/designer-initial and fetched live baseline pages at50541. Homepage still leads with generic dashcam buying slogan, four modern paragraph guides, unrelated 2026 seller catalog and decorative camera; recovered auto20070228153116 is specifically SVK/VR-001 ≤5fps USB-camera+FLASH hardware with operating modes and installation examples. Thus subject, visual language and user journey do not match recovered corpus. Process/date/provenance badges and the seller-catalog block compete with reader needs. No substantive library/article/media templates exist for actual historical content; old auto redirect is semantically wrong.","design":"Options: keep modern generic landing and append archive links; mimic obsolete commercial brochure; or use a technical-library editorial direction. Chosen compromise: technical library with a compact factual hardware visual, distinct paths for identifying the recorder, modes/FAQ, installation examples and reading recorded files; recovered product facts remain historically scoped, modern practice/tool pages subordinate and clearly applicable. Retain useful material, remove sales CTAs/process decoration. Typography and diagram/photo use must serve long technical articles rather than repeated empty cover cards.","acceptance_criteria":"Review exact V2 candidate homepage, listings/search, long/short recovered pages, table/image-heavy templates, tool and404 at360 and1440 with independently opened screenshots bound to build hash. Homepage/navigation and related links must expose recovered SVK corpus with coherent journeys; images clarify actual subject; no misleading current shop posture or repetitive production-process badges. Calculator must state applicability to stream bitrate and not imply that SVK JPEG/frame recording has the same input model unless actual frame-size mode is implemented. No final PASS until corpus/editorial/visual gaps are actually resolved.","notes":"R2 exactsource4a0d828, appSHA72adaeab, exportadb919f. Independent view28R1pixels,7newR2pixels; actual-byte comparison25/28reviewedviewsidentical,3changedreviewedviewsallreopened.14liveHTTPpageschecked. Historical technical-library direction/modelscoping/subjectvisuals/JPEGvsstream journey resolved. Genuine R1home formula ambiguity fixed with explicit full denominator+reserve and actually viewed360/1440+source/liveHTML. Report docs/rebuild-v2/reviews/creative-candidate.md and creative-r1/r2evidence. Close onlycreative-direction veto; overall corpus99+Semrush mandatoryblocks remain open, no site/publication PASS.","status":"closed","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T13:20:14Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T15:39:34Z","started_at":"2026-10-26T13:21:28Z","closed_at":"2026-10-26T15:39:34Z","close_reason":"Same creative reviewer verified exact R2 library direction, meaningful imagery, scoped models/JPEGtool and corrected homepage formula; role-specific veto resolved. Mandatory unresolved corpus/Semrush and overall publication remain blocked separately.","labels":["blocking","role-creative-director","v2"],"dependencies":[{"issue_id":"videoreg-7oy.5","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T16:20:13Z","created_by":"E.Gavrilov","metadata":"{}"}],"comments":[{"id":"01a17904-98d3-7138-b7f9-88e224c36378","issue_id":"videoreg-7oy.5","author":"E.Gavrilov","text":"New bounded-publication decision (not full-restoration PASS): ALLOW exact reviewed28-material library source4a0d828/app72adae/exportadb919, after independent18/18active-sourcehash match and live point-of-use body/link checks on home/library/about/documents/demo/samples/GPS/catalog/manuals/journal/tool plus3real404 paths. Actual doc actions checked PDF200; no fabricated lost-software/AVI/ZIP offer or full-history/current-sale guarantee found. New report docs/rebuild-v2/reviews/creative-limited-release.md; evidence creative-limited-release/point-of-use.json. Prior full visual review remains only hash-proven unchanged evidence. Full .1/.4/.7/.8 recovery and .10 runtime/TLS blocks remain mandatory; other role decisions and real pending conditions not waived.","created_at":"2026-10-26T16:21:47Z"},{"id":"01a17919-fb34-7b90-8c0d-41d8a2d8a4bb","issue_id":"videoreg-7oy.5","author":"E.Gavrilov","text":"Final R3 bounded creative decision: ALLOW_LIMITED_PUBLICATION only source 78274fbe09c0fd7d0b8d94830db1f31fa76b1db9 / export 4d998c25dd09d5b6d08e011e235fb7212568dcc60dd37da24a3194655de02e01. Independently opened24fullpage R3 views, fetched12actual bodies and matched18/18source hashes. Five partial series, GPS4/corruptZIP, unavailableAVI/EXE/USB.BIN and selectedscope now explicit at use. RepLine truncated
{"_type":"issue","id":"videoreg-7oy.4","title":"V2 programmer veto: replace sampled smoke with complete corpus and outbound verification","description":"Baseline056f1a6 deploy/smoke-static.py15 hardcodes ten URLs;27-34 parses only this seed set and fetches extra links without recursive parsing;12-14 ignores external and absolute same-origin URLs, srcset/action/CSS/script contexts. No archive URL inventory is consumed, no body/hash/duplicate or outbound-ledger gate exists. nginx.conf11 and serve-local.py14-15 redirect historic /auto.shtml to new generic choose although docs/provenance.json12-21 explicitly records no recovered body. Thus prior25/25 cannot substantiate corpus restoration or equivalent legacy routing.","design":"Options: keep sampled smoke as endpoint health only; or introduce complete exported-site+inventory reconciliation with a distinct evaluated outbound ledger and clear known failure reports. Chosen compromise proposed: retain useful small health smoke but name it narrowly; add deterministic complete crawler driven by output manifest and discovered URLs, reconcile every historical URL and audit each external occurrence. Publish no equivalence redirect without source evidence; unresolved bodies remain mandatory blockers.","acceptance_criteria":"For exact V2 source/build hash, enumerate complete generated HTML set and discovered meaningful archive URLs; recursively check all internal links/fragments/assets including new pages; reconcile every inventory item to restored/equivalent/explicit-exclusion/unresolved, never count unresolved as recovered. Extract href/src/srcset/action, CSS url and script destinations from source/build/DOM and match each external occurrence to reviewed keep/remove reason. Report missing/thin/duplicate/error bodies and real404. Test legacy destination substantive equivalence or keep unresolved without false redirect. Independent programmer review reads code/diff and re-runs resulting checks; unresolved archive corpus blocks full V2 acceptance.","notes":"Exact independent review source d0fd706, app manifest bd8027c94de4dd943fcbd5f42dd2f907746b2ac63d3d9174401859180b3aff24 and export4c1c42a4465165e33e947fdf595804d63d4735aefb5f6aba2f419118d143d1dd matched owner. Complete checker now implemented and independently repeated:35HTML33content130HTTP1116refs168raster15external occurrences,0technicalerrors,all28typedarticlesexported.238inventoryitems still99unresolved: restoration remains mandatoryBLOCKED; not relabelled follow-up. Exactreport docs/rebuild-v2/reviews/programmer-candidate.md and independent evidence programmer-built-crawl.json. No final V2PASS.\nR2 same-reviewer delta audit: actualdiff d0fd706..4a0d828 read; formula includesreserve+cams, fullbodysearch includescode+linklabels. Independent R2crawl exactappSHA72adaeab... andexportadb919f4... matched:35HTML130HTTP1116refs168rasters0errors99unresolved. See programmer-candidate.md R2appendix and programmer-built-crawl-r2.json. .4 remainsBLOCKED mandatorycorpus; noV2PASS.\nOfflineCI tooling implemented and locally verified: vendored36purePythonfiles withupstreamlicenses/SHAmanifest; Python-S/noPillow Sharp0.34.5 fullraw168rasters andpositive+corruptfixture pass; defaultPillow full168crosscheck pass;35HTML131HTTP0technicalerrors. sourceCommit derivedactualhealth4a0d828, repositoryHead separate44c5797, builtGit appmanifest==current72adae..., exportadb919... unchanged. Inventory258/119unresolved remainsBLOCKED. programmer-candidate.md offlineCIappendix and programmer-offline-deps.json. ActualGitearunnerrerun stillrequired; nofakeCIpass.\nNEW programmer limited-release boundary decision: ALLOW exactreviewedR2source4a0d828/app72adae/exportadb919 useful33routes; nofullrecoveryPASS. Actualunknown138/topic196/malformed/account andmissingGPSZIP/AVI404; all9PDFZIPexactbytes/ZIPCRCcleanPDFonly. See programmer-limited-release.md and programmer-limited-release.json. Content.13andruntime.10 stillpending; R3notimplicitlycovered. Preferredconcretepipeline frozenreviewedexporttar+strictmanifest inGit, existingGitea nativeamd64 image withbasehtmlcleanup+exactimagepublictree+sameDigestSwarm; oldARMimage andCIexportfd1notinterchangeable. Fullcorpus119unresolved .1/.4/.7/.8remainmandatoryOPEN/BLOCKED.","status":"blocked","priority":1,"issue_type":"bug","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T13:15:48Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T16:28:51Z","started_at":"2026-10-26T13:27:19Z","labels":["blocking","role-programmer-expert","v2"],"dependencies":[{"issue_id":"videoreg-7oy.4","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T16:15:47Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7oy.3","title":"V2 designer veto: usable reference layouts and recoverable missing-page state","description":"Independent live V1 review at 127.0.0.1:65390, base056f1a6, build tree f8c9d6ff616f4e56abf5485fc6beec334011a58b9605b6e81aeb9e30c64d9f60. Opened12 actual pixels across home, choose/save articles, catalog,calculator,404 at360/1440. On catalog360 five cards repeat the same narrow dark generic image rail and consume3125px without a useful comparison view; values are buried behind per-card details and titles break into many lines. Local404 is an unstyled English Python error with no route back into content. V1 articles have only paragraph sections, no actual long/list/table/diagram template evidence; landing four-card list has no library/search result or zero-results state. Process badges NEW MATERIAL and repeated2026 provenance boilerplate occupy article/footer UI. V1 sign-offs superseded; V2 design acceptance remains blocked.","design":"Chosen compromise updated after independently reading recovered auto-20070228153116.html Windows1251 introduction/installation sections: historical technical СВК/VR-001 library, structured device/application/FAQ/documentation index, source-specific camera-recorder-storage and mode diagrams, full article layouts, useful search and Russian recoverable404. Avoid modern marketplace/tall repeated placeholder rails and process boilerplate. Unknown restored corpus not accepted. Old manufacturer sales/support must not imply current active service.","acceptance_criteria":"Provide exact V2 candidate source/build identity. Same reviewer inspects actual home, library/search positive+negative, every distinct long/short/table/image article template, tool and localized404 at360and1440; opens pixels, verifies no clipping or horizontal body overflow, keyboard focus/skip link, data table/diagram handling and article/findability journeys. Catalog if retained must expose useful comparable facts without decorative repeated tall rails;400/404 states must preserve HTTP semantics and provide navigation. No production-process badges or repetitive archival disclaimer copy in ordinary article UI. Review source/body inventory; corpus unknown/unrecovered cannot be accepted as restored. Report actual URLs/screenshots opened and verdict.","notes":"Initial V2 designer audit is docs/rebuild-v2/reviews/designer-initial.md. Opened all12 narrow/wide pixels plus calculator recheck; exact build manifest saved. Blocking layout/findability/404/process-copy findings; no V2 PASS.\nFresh V2 candidate designer audit: docs/rebuild-v2/reviews/designer-candidate.md. Exact source d0fd7068bbdf6f810f3ff39c649a0464177a8642, source manifest bd8027c94de4dd943fcbd5f42dd2f907746b2ac63d3d9174401859180b3aff24, export4c1c42a4465165e33e947fdf595804d63d4735aefb5f6aba2f419118d143d1dd. Actually opened36 pixels:30 candidate images of15 distinct routes at360/1440 plus6 independent search/table/gallery states. Read CSS, actual article/table/code/gallery/search source. Independently tested GPS15/zero0/reset28 both widths, skip focus/target, keyboard table scroll0to40 and gallery6to30. Concrete layout/findability/404/process-copy veto resolved. Scope explicitly excludes whole-site PASS:99 corpus entries unresolved; .8/.1/.7 and production parity remain mandatory blockers, not optional follow-up.\nR2 same-role designer delta re-review appended to designer-candidate.md. Exactsource4a0d828ef070d305bea57d6a5d16d612fc16a0e2 appSHA72adaeab317c83069c2ca92599940955372768776367da42b26ed0a7d521e822 exportadb919f431cb965359d7297194dbec7115c19dc8f0ddbe8340f303a2f1531603. Opened all7 changed R2 pixels: home360/1440, stx/evening/day/rain/roundabout360. Formula with reserve and camera count readable both widths, galleries fit. Actual2-file diff read, allsource/screenshot hashes match; R2 functional report15pass reviewed as owner evidence. No material design regression; scoped issue remains closed;99 unresolved recovery entries still block whole-site V2.\nOriginal veto author /root/v2_designer independently completed R2 same-reviewer verification; docs/rebuild-v2/reviews/designer-original-reviewer-final.md. Exact source4a0d828ef070d305bea57d6a5d16d612fc16a0e2 sourceManifest72adaeab317c83069c2ca92599940955372768776367da42b26ed0a7d521e822 exportadb919f431cb965359d7297194dbec7115c19dc8f0ddbe8340f303a2f1531603. Actually opened30 R2 full-page screenshots15URLs×360/1440 plus5 independently captured search/empty/table-right images; verified18 source files and68 screenshot hashes, independently recomputed both manifest hashes. Own live checks: GPS15/empty0/reset28 both widths, keyboard reset, focused table ArrowRight scroll, code322px/body360, gallery30, skip-link, true Russian404. All four original concrete design findings resolved for recovered subset, .3 may remain scoped closed. Whole-site restoration remains BLOCKED by99 unresolved inventory entries and mandatory Semrush/content/runtime gates; no broadPASS or deploymeLine truncated
{"_type":"issue","id":"videoreg-7oy.2","title":"V2 programmer veto: prevent local preview traversal outside exported site","description":"At baseline056f1a6, deploy/serve-local.py18-20 builds target=OUT/path then reads arbitrary is_file under /health/ without resolve containment. Independently reproduced curl --path-as-is /health/../../../AGENTS.md on127.0.0.1:65390: HTTP200 application/json,3793bytes exactly equal project AGENTS.md; no secret files requested. This is real local file disclosure from preview and must block candidate acceptance.","design":"Options: remove direct health branch and serve through a safe rooted handler; or normalize URL/decode once, reject traversal and require resolved paths remain inside OUT including symlink resolution. Chosen compromise proposed: explicit rooted static handler, fail closed for traversal and unknown health routes; preserve normal generated health JSON behavior and GET/POST404 parity.","acceptance_criteria":"Independent repeat confirms raw dot-segment, percent-encoded dot/slash, absolute-path and symlink traversal cannot read outside OUT; normal /health/live and /health/ready200JSON; known content/assets200; unknown/API GET+POST404. Add meaningful regression checks against safe sentinel outside export, not sensitive files. Reinspect exact V2 code/build and live PID.","notes":"Initial report saved docs/rebuild-v2/reviews/programmer-initial.md. Owner added containment after actual .html selection; ordinary current source inspection confirms final-selection check now present at27-33, directory listing disabled. Safe earlier evidence retained; per owner no further sensitive probes or exploit exploration. Exact V2 candidate, regression evidence and normal HTTP/source review still required; do not treat current V1 output as V2PASS.","status":"closed","priority":1,"issue_type":"bug","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T13:14:44Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T15:25:45Z","started_at":"2026-10-26T13:16:38Z","closed_at":"2026-10-26T15:25:45Z","close_reason":"Exact-candidate review d0fd706: inspected final resolve_public selected-file containment, safe temporary-fixture check-preview2/2 independently passed (ordinary path/root, raw+encoded dot segments and direct/extensionless outside symlink fixture). Normal live HTTP full crawl130 checks passed, HEAD200/API GET+POST404/unknown404. Candidate export containment scan rejected no outside-root files. Initial disclosure fixed for reviewed candidate; full V2 acceptance remains blocked by .4 corpus99 unresolved.","labels":["blocking","role-programmer-expert","v2"],"dependencies":[{"issue_id":"videoreg-7oy.2","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T16:14:44Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7oy.1","title":"V2 content veto: recover and reconcile historical bodies; review every outbound link and remove process boilerplate","description":"Initial V2 audit of 056f1a6 read all four guides.ts bodies, catalog.json and rendered template source. V1 contains zero historical page bodies, a non-equivalent auto.shtml redirect to a generic buying guide, five direct seller URLs without per-link editorial decisions, and production-process copy in guide eyebrow/editor-note/footer/About. New CDX access reported by root means actual historical bodies must now be recovered and compared, not replaced by these four generic guides. No V1 PASS counts for V2.","design":"Options: keep V1 with disclaimers (rejected by V2 contract); publish raw archived HTML (unsafe/spam risk); choose actual useful historical snapshots, reconstruct their distinct bodies and useful diagrams, remove ads per link/context, keep accurate current notes internally or where editorially essential. Chosen compromise: real corpus-led restoration with per-URL inventory/editorial ledger, independently reviewed external links, and ordinary pages free of production-process boilerplate. Missing bodies remain explicit mandatory blockers.","acceptance_criteria":"Every meaningful URL from complete CDX/search/local inventory reconciles to a substantive restored page, genuinely equivalent redirect, evidenced spam exclusion or unresolved blocker. Reviewer reads every published body from candidate files and live DOM; per-page ledger names snapshot/body actions and source checks. Every external href/src/action in source/templates/build/DOM has individual keep/remove reason, no seller/ad links without demonstrated editorial purpose. /auto.shtml preserves its actual purpose/body. No generic provenance badge or 2026 creation boilerplate in ordinary article/template copy. Final report names exact commit/build and files/URLs inspected; unavailable/missing bodies cannot be passed.","notes":"Initial report docs/rebuild-v2/reviews/content-initial.md complete. Read full recovered auto20070228153116 cp1251 plus actual V1 DOM on port50541; source/body/hash evidence retained. Found real mismatch auto-\u003egenericchoose, marketing/obsolete contacts and unsafe universalization risks in raw auto, unreviewed catalog seller links and process boilerplate. Additional legacy predpr/support/shop category URLs cross-checked. Veto remains until complete recovered-corpus/page/outbound ledgers and substantive V2 bodies independently read.","status":"in_progress","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T13:14:22Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T13:17:41Z","started_at":"2026-10-26T13:15:33Z","labels":["blocking","role-content-manager","v2"],"dependencies":[{"issue_id":"videoreg-7oy.1","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T16:14:22Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7oy","title":"V2 rebuild: recover videoreg corpus and independently review complete site","description":"User rejected V1 and superseded all PASS. Execute REBUILD_ACCEPTANCE_V2 contract: real corpus inventory and recovery; per-page editing and every outbound URL audit; new useful visuals and design; five actual artifact reviews with blocking authority; complete crawl, persistent local, reviewed production through existing Gitea/zz. Archive unavailability remains mandatory blocker, never a pass.","status":"in_progress","priority":1,"issue_type":"epic","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T13:11:52Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T13:13:01Z","started_at":"2026-10-26T13:13:01Z","dependencies":[{"issue_id":"videoreg-7oy","depends_on_id":"videoreg-7wi","type":"related","created_at":"2026-10-26T16:13:02Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7wi.6","title":"External blocker: repair videoreg.ru DNS delegation and validate public TLS","description":"Google DoH A and NS return SERVFAIL, authoritative Cloudflare nameservers REFUSED. Origin zz 77.91.88.137 responds via Host/SNI, but certificate verification fails. DNS/global Traefik changes excluded from scope. Acceptance: authorized DNS owner fixes delegation and A/AAAA toward zz, then valid HTTPS main, content and static without -k.","status":"open","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T11:30:26Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T11:30:26Z","labels":["blocking","dns","external"],"dependencies":[{"issue_id":"videoreg-7wi.6","depends_on_id":"videoreg-7wi","type":"parent-child","created_at":"2026-10-26T14:30:25Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"videoreg-7wi.5","title":"Programmer veto: executable isolated deployment and correct standalone runtime","description":"Confirmed build output is web-front/.next/standalone/web-front/server.js, but existing deploy/docker/Dockerfile.web copies standalone to /app and executes /app/server.js; static/public are also copied to root rather than /app/web-front. Production runtime is therefore not accepted. Existing legacy deploy script also exposes optional global image/builder prune, forbidden during concurrent domain restoration. No live deployment proof exists yet.","design":"Options: fix standalone Docker paths and restrict deployment to isolated videoreg stack; alternatively static export with lightweight runtime after preserving required health and redirect semantics. Chosen compromise: owner may choose either implementation, but deploy path must contain no global cleanup and must retain route security and health.","acceptance_criteria":"Reproducible build and actual container starts; /, /catalog, guide, calculator, static asset and health return correct responses; /api/videos GET/POST and /_dev/showcase return 404; /auto.shtml redirects to guide; only videoreg stack mutated, no global prune; origin Host/SNI and health evidence recorded. Public DNS/TLS failure remains explicit blocker, never reported as success.","notes":"Repeat review 2026-10-26: accepted static nginx alternative structurally: root Dockerfile uses web-front/out, unique videoreg stack and deploy/deploy-static.sh contain no global prune. Live zz container f257c5a6cfe8 healthy, image d8be62669a86@sha256:297a16a51627589b2955d17107fe4591dd5451f1a33604470ae42aa841e6c227. Independent origin smoke repeated all 24 checks passed; POST /api/videos 404; /auto.shtml 308 Location /guides/choose. Verified curl without -k fails certificate validation (exit60), separately tracked .6. Local PID35689 reachable; GET health200 and redirect308; POST /api/videos501 differs from explicit404 criterion. Owner notified for parity fix or documented criterion adjustment. Final closure pending that small check; public completion remains blocked .6.\nFinal re-review 2026-10-26 at commit9b5b080: independent local POST http://127.0.0.1:65390/api/videos returned404; ready health200; extended local smoke independently repeated25/25 passed. Preview PID50453 supersedes prior PID35689. Static alternative accepted, original Docker/runtime/isolation veto resolved. Origin24/24 and POST404 already independently verified on healthy d8be626 image; final CI9b5b080 remains owner verification in progress. Public DNS/TLS is explicitly unresolved in blocking sibling videoreg-7wi.6, not waived by this closure.","status":"closed","priority":1,"issue_type":"bug","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T11:18:25Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T11:35:36Z","started_at":"2026-10-26T11:18:34Z","closed_at":"2026-10-26T11:35:36Z","close_reason":"Static nginx runtime and isolated deploy accepted; independent origin24/24, local25/25, API POST404 and redirect308 passed. Public acceptance remains blocked separately by videoreg-7wi.6.","labels":["blocking","role-programmer-expert"],"dependencies":[{"issue_id":"videoreg-7wi.5","depends_on_id":"videoreg-7wi","type":"parent-child","created_at":"2026-10-26T14:18:24Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"videoreg-7wi.4","title":"Illustrator veto: validate original road/camera illustration in browser","description":"CSS road-art/camera/lens is authored in repository with no imported visual asset, but no actual desktop/mobile render has been supplied. Illustration acceptance is blocked until rendered inspection: pseudo-elements, transform and overflow crop may miscompose camera and caption at small widths. This is a missing acceptance artifact, not an asserted rendering defect.","design":"Options: replace with licensed raster asset; remove art; retain original CSS illustration with documented provenance and responsive evidence. Chosen compromise: retain CSS artwork because it communicates dashcam theme with zero external image requests; document it as original decorative illustration, inspect at 360px and desktop, fix clipping if observed.","acceptance_criteria":"Provide browser screenshots of homepage at 360px and desktop; illustrator visually confirms camera/lens/caption composition remains intentional and no content is obscured; report CSS illustration provenance and verify no external image requests for hero. Decorative artwork remains aria-hidden.","status":"closed","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T11:18:07Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T11:29:28Z","started_at":"2026-10-26T11:18:15Z","closed_at":"2026-10-26T11:29:28Z","close_reason":"Illustrator repeat review PASS 2026-10-26: visually inspected real 360px full mobile and 1440px desktop screenshots in docs/review-evidence. Camera, lens and caption remain deliberately composed; no clipping obscures content. CSS artwork is decorative aria-hidden, original provenance documented in docs/CONTENT_POLICY.md; browser-checks.json records heroExternalResources=[] and mobile document width 360. Chosen compromise implemented: retain zero-request original CSS illustration instead of raster replacement.","labels":["blocking","role-illustrator"],"dependencies":[{"issue_id":"videoreg-7wi.4","depends_on_id":"videoreg-7wi","type":"parent-child","created_at":"2026-10-26T14:18:06Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"videoreg-7wi.3","title":"Content veto: record verifiable provenance and source installation guidance","description":"Role content_manager. Acceptance of content is blocked: about states archive outcomes but no committed request-level provenance exists, and installation guide contains electrical/airbag guidance with no primary source. Catalog is a local project snapshot, not demonstrated archive recovery. Options: remove installation guidance; delay publication pending old archive; retain honest new editorial guide and attach verified manufacturer installation instructions plus exact archive attempt log. Chosen compromise: preserve useful new guide, source safety points, record failed attempts honestly without guessed timestamps or copied content.","design":"Compromise retains existing project catalog as dated unverified seller snapshot, four new editorial guides clearly separated from recovered content; archive retry can be follow-up only after truthful provenance acceptance.","acceptance_criteria":"Committed provenance manifest records original/request URL, UTC attempt date, result/status, any archive timestamp as null when none retrieved, snapshot origin/hash and restored count zero. Installation page links verified primary manufacturer instructions covering cable/airbag safety or removes unsupported specifics. Public about/catalog wording matches manifest. Same content_manager agent re-reviews actual files and resolves veto only after checks.","notes":"First review complete. Blocking acceptance until parent implements provenance manifest and primary source support for installation guide; no product code changed by reviewer.\nRe-review: docs/provenance.json and docs/CONTENT_POLICY.md accurately declare 0 recovered archive pages, null timestamps, local snapshot origin; SHA256 e5ac701d06029f87e174be5f4ddcb56034608d5a393e9627a64a19d06a42e27c matches. Local installation HTTP200. Old Thinkware cable source opens 404 despite cached search text; veto remains pending replacement by current manufacturer front-install and professional-install pages. Public about should say existing project rather than repository because source data was ignored.\nFinal re-review passed 2026-10-26: both current Thinkware manufacturer pages independently opened successfully; front-install page explicitly covers airbag path, professional-install page recommends technician. Actual served installation HTML includes IDs 56452415836051 and 360017927253, excludes obsolete 360046325994. About now says existing local project. Provenance zero recovery/null timestamps/source origin and catalog SHA256/count independently verified. Content compromise accepted.","status":"closed","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T11:17:13Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T11:29:32Z","started_at":"2026-10-26T11:17:25Z","closed_at":"2026-10-26T11:29:32Z","close_reason":"Content reviewer accepted truthful provenance, dated catalog snapshot and current primary installation sources after actual file/HTTP verification.","labels":["blocking","role:content_manager"],"dependencies":[{"issue_id":"videoreg-7wi.3","depends_on_id":"videoreg-7wi","type":"parent-child","created_at":"2026-10-26T14:17:13Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"videoreg-7wi.2","title":"[creative_director] Block acceptance until the four-step editorial journey has relevant next actions","description":"The homepage promises four steps from choosing a camera to preserving a file, but every guide ends with the same recording-time calculator CTA. In installation and save-video this interrupts the intended motorist journey and obscures the most useful next action. This blocks creative acceptance, not independent implementation.","design":"Options: keep generic calculator everywhere; add broad unrelated related-links; use one explicit next step for choose -\u003e memory-card -\u003e installation -\u003e save-video with a final review/checklist/home action. Selected compromise: keep calculator as a secondary resource where relevant and provide a short contextual next-step block matching the promised four-step sequence.","acceptance_criteria":"Inspect all four rendered guides: each has a contextually relevant continuation; first three point to next guide; final points to a useful review/home action. No invented ratings, product endorsements or archival restoration claims. Homepage and guide navigation tell the same four-step story.","notes":"Role: creative_director. Agent: /root/creative_director. Initial verdict: BLOCKED pending contextual continuation and rendered review.\nRepeat review 2026-10-26 by /root/creative_director: inspected source, browser-checks.json and fetched all four actual rendered pages from http://127.0.0.1:56310. Each page returns its own contextual primary continuation: choose -\u003e memory-card -\u003e installation -\u003e save-video -\u003e /#guides. Calculator is a secondary resource. Editorial/archival separation remains explicit. All stated acceptance criteria pass. Verdict: APPROVED.","status":"closed","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T11:17:10Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T11:27:22Z","started_at":"2026-10-26T11:17:20Z","closed_at":"2026-10-26T11:27:22Z","close_reason":"Contextual four-step journey verified on all four actual rendered guides; calculator secondary; creative acceptance approved.","labels":["blocking","creative-director"],"dependencies":[{"issue_id":"videoreg-7wi.2","depends_on_id":"videoreg-7wi","type":"parent-child","created_at":"2026-10-26T14:17:09Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"videoreg-7wi.1","title":"Designer veto: mobile navigation and keyboard acceptance remain unverified","description":"Designer review: layout imports restoration.css but that file does not yet exist. New site-nav, article-columns and calculator have no complete responsive rules or browser evidence. Navigation contains four links and the calculator uses long labels; adoption is blocked until a 360px viewport and keyboard flow are demonstrated. Options: collapse navigation into a JS menu or wrap visible links; choose visible wrapping links to avoid hidden navigation complexity. Provide visible focus states, skip-to-main navigation, comfortable targets and no horizontal overflow.","design":"Compromise: preserve direct navigation; wrap it on narrow screens. One-column articles/calculator on mobile. Use a visible-on-focus skip link. Do not require an elaborate menu or animation.","acceptance_criteria":"At 360px and desktop all primary links remain reachable, document scrollWidth \u003c= innerWidth, guide body readable, calculator labels and inputs fit. Keyboard focus is visible and skip link reaches main content. Browser evidence includes homepage, guide and calculator.","notes":"Repeat designer review 2026-10-26: inspected mobile home, guide and calculator screenshots plus CSS/browser-checks.json. Navigation wraps visibly, focus ring is visible on calculator, calculator fits, overflow measurements pass. Remaining concrete blocker: guide title Как выбрать видеорегистратор at 360px breaks the final р onto its own third line (videoreg-guide-mobile.png). Global overflow-wrap:anywhere plus article h1 font-size:38px causes an isolated-letter heading. Adjust mobile article h1 font size using a smaller fluid scale (for example clamp(28px,8.5vw,38px)); keep long-word overflow protection. Re-capture guide at 360px and ensure title uses readable whole words or proper hyphenation without an isolated final letter. Other reviewed mobile criteria accepted.\nAdditional keyboard criterion: catalog route still uses DashcamCatalog main without id=main-content, while global skip link targets that id. Add the matching id on catalog main too, then verify skip target exists on each public page.\nCorrection: concurrent latest widget inspection confirms catalog main already has id=main-content; no catalog skip-link defect remains. Only the isolated-letter mobile heading issue remains open.\nFinal designer re-review 2026-10-26: inspected videoreg-guide-mobile-final.png at original 360x800 and final mobile CSS clamp(28px,8.5vw,38px), letter-spacing:-.6px. Heading now occupies two readable lines with complete word видеорегистратор; isolated final р removed. Previous accepted checks remain: 360px no horizontal overflow on 7 pages, wrapped visible navigation, readable guide/calculator, visible calculator keyboard focus, first-Tab skip link and public main-content targets. Compromise implemented and accepted. Designer veto lifted.","status":"closed","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T11:17:00Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T11:29:56Z","closed_at":"2026-10-26T11:29:56Z","close_reason":"Designer accepted final 360px guide screenshot and responsive CSS; heading wrap fixed, previously reviewed mobile and keyboard criteria pass.","labels":["blocking","role-designer"],"dependencies":[{"issue_id":"videoreg-7wi.1","depends_on_id":"videoreg-7wi","type":"parent-child","created_at":"2026-10-26T14:16:59Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-1v0","title":"Demo readiness: local crawl, catalog handoff, UI verification","description":"Prepare a reproducible demo flow: co-located ingestion and web share a validated catalog export, local PostgreSQL receives real source cards, approved catalog is visible in the frontend, and the runbook plus verification artifacts are present.","acceptance_criteria":"A local documented command sequence starts the stack, crawls at least five valid cards from enabled sources within configured budgets, approves and exports catalog data, renders it in the web UI, and passes test/typecheck/build/browser checks.","status":"closed","priority":1,"issue_type":"task","assignee":"E.Gavrilov","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-07-30T21:51:59Z","created_by":"E.Gavrilov","updated_at":"2026-07-30T23:00:48Z","started_at":"2026-07-30T21:52:14Z","closed_at":"2026-07-30T23:00:48Z","close_reason":"Local Yandex crawl produced five real approved cards, export/import and desktop/mobile catalog rendering were verified, and quality/deploy checks pass.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-nnv.4","title":"Single co-located deploy stack with shared exports volume","description":"Merge deploy so web + ingestion (postgres, worker, admin) run in one Swarm/Portainer env. Add a shared volume carrying ingestion-data/exports that the web build/runtime can read. Remove export-server from ingestion/docker-compose.yml. Deprecate deploy/portainer/ingestion-stack.standalone.yml (separate-host). Keep ingestion Postgres/admin bound internally; only Traefik fronts web (+ optionally /admin).","status":"closed","priority":1,"issue_type":"task","assignee":"E.Gavrilov","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:53:49Z","created_by":"E.Gavrilov","updated_at":"2026-07-30T23:00:43Z","started_at":"2026-07-30T23:00:28Z","closed_at":"2026-07-30T23:00:43Z","close_reason":"The combined web, PostgreSQL, worker, and admin Swarm stack shares catalog_exports and routes /admin through Traefik.","dependencies":[{"issue_id":"videoreg-nnv.4","depends_on_id":"videoreg-nnv","type":"parent-child","created_at":"2026-06-07T17:53:49Z","created_by":"E.Gavrilov","metadata":"{}"},{"issue_id":"videoreg-nnv.4","depends_on_id":"videoreg-nnv.3","type":"blocks","created_at":"2026-06-07T17:54:02Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-kbh.15","title":"Rewrite app catalog import to read shared-volume catalog.json (drop HTTP/token)","description":"web-front/src/entities/dashcam-catalog/api/importCatalogExport.ts currently fetches manifest+artifact over HTTP with a Bearer token. Switch to reading manifest.json + catalog.json from the shared exports volume (a mounted path). Keep SHA-256 verification + exportId/createdAt/itemCount checks + Zod validation. Remove DASHCAM_CATALOG_MANIFEST_URL/EXPORT_TOKEN; add a path env. Under static-export this runs at build time.","status":"closed","priority":1,"issue_type":"task","assignee":"E.Gavrilov","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:53:48Z","created_by":"E.Gavrilov","updated_at":"2026-07-30T23:00:45Z","started_at":"2026-07-30T23:00:28Z","closed_at":"2026-07-30T23:00:45Z","close_reason":"The app validates manifest/artifact files from the shared export directory with SHA-256 and Zod, then updates its read model atomically.","dependencies":[{"issue_id":"videoreg-kbh.15","depends_on_id":"videoreg-kbh","type":"parent-child","created_at":"2026-06-07T17:53:48Z","created_by":"E.Gavrilov","metadata":"{}"},{"issue_id":"videoreg-kbh.15","depends_on_id":"videoreg-kbh.14","type":"blocks","created_at":"2026-06-07T17:54:03Z","created_by":"E.Gavrilov","metadata":"{}"},{"issue_id":"videoreg-kbh.15","depends_on_id":"videoreg-nnv.3","type":"blocks","created_at":"2026-06-07T17:54:02Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":2,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-kbh.14","title":"Drop export-server + token; write catalog export to shared volume","description":"Remove the export-server HTTP service (ingestion/src/exportServer.ts, ingestion:export script, port 4100, INGESTION_EXPORT_TOKEN/PUBLIC_BASE_URL). The ingestion-worker/export-catalog job already writes catalog.json + manifest.json to INGESTION_EXPORT_DIR (/app/ingestion/data/exports) — expose that as a shared volume instead of serving over HTTP. exportCatalog logic and Zod validation stay.","status":"closed","priority":1,"issue_type":"task","assignee":"E.Gavrilov","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:53:47Z","created_by":"E.Gavrilov","updated_at":"2026-07-30T23:00:44Z","started_at":"2026-07-30T23:00:28Z","closed_at":"2026-07-30T23:00:44Z","close_reason":"The HTTP export server and token bridge are removed; versioned export artifacts are written atomically to the shared volume.","dependencies":[{"issue_id":"videoreg-kbh.14","depends_on_id":"videoreg-kbh","type":"parent-child","created_at":"2026-06-07T17:53:47Z","created_by":"E.Gavrilov","metadata":"{}"},{"issue_id":"videoreg-kbh.14","depends_on_id":"videoreg-nnv.3","type":"blocks","created_at":"2026-06-07T17:54:01Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":1,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"videoreg-nnv.3","title":"Co-locate ingestion with web; collapse catalog bridge to a shared volume","design":"Supersedes the original 'ingestion runs on a separate server/cloud' model (tasks/002-crawler.md §4, README, ingestion/README). New model: ingestion + web run in ONE cloud env (same Swarm/Portainer). The ingestion-worker writes the validated catalog.json + manifest.json to a shared exports volume; the web build reads catalog.json DIRECTLY from that volume. No export-server, no HTTP, no Bearer token. Zod + SHA-256 validation are kept at read/build time. The app still never connects to ingestion Postgres. Rationale: two separate clouds were too complex to manage.","acceptance_criteria":"export-server service removed; catalog consumed via shared volume; single co-located deploy stack; docs + memories corrected.","status":"closed","priority":1,"issue_type":"decision","assignee":"E.Gavrilov","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:53:46Z","created_by":"E.Gavrilov","updated_at":"2026-07-30T23:00:43Z","started_at":"2026-07-30T21:52:01Z","closed_at":"2026-07-30T23:00:43Z","close_reason":"Shared-volume bridge is implemented, documented, locally exercised, and validated by the Swarm config.","dependencies":[{"issue_id":"videoreg-nnv.3","depends_on_id":"videoreg-nnv","type":"parent-child","created_at":"2026-06-07T17:53:45Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":3,"comment_count":0}
{"_type":"issue","id":"videoreg-nnv.2","title":"Commit untracked ingestion/, deploy/portainer/, ingestion CI to git","description":"The entire ingestion/ engine, deploy/portainer/, and .gitea/workflows/ingestion.yml are UNTRACKED in git (plus modified README/package.json/layout.tsx/docker-stack.yml/.dockerignore). All this project knowledge lives only on local disk. Stage, commit, and push so the work isn't stranded.","status":"in_progress","priority":1,"issue_type":"task","assignee":"E.Gavrilov","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:24:12Z","created_by":"E.Gavrilov","updated_at":"2026-07-30T21:52:02Z","started_at":"2026-07-30T21:52:02Z","dependencies":[{"issue_id":"videoreg-nnv.2","depends_on_id":"videoreg-nnv","type":"parent-child","created_at":"2026-06-07T17:24:12Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-kbh.11","title":"Deep deduplication matching (fuzzy/alias/perceptual)","description":"Implement spec §14 matching: brand + normalized model + aliases + sourceProductId + image perceptual hash + specs similarity + URL history; classify same_product/possible_duplicate/variant/oem_clone so non-trivial groups require manual moderation before export. Currently only new_product is recorded.","status":"open","priority":1,"issue_type":"feature","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:23:36Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:23:36Z","dependencies":[{"issue_id":"videoreg-kbh.11","depends_on_id":"videoreg-kbh","type":"parent-child","created_at":"2026-06-07T17:23:36Z","created_by":"E.Gavrilov","metadata":"{}"},{"issue_id":"videoreg-kbh.11","depends_on_id":"videoreg-kbh.16","type":"blocks","created_at":"2026-06-07T18:02:57Z","created_by":"E.Gavrilov","metadata":"{}"},{"issue_id":"videoreg-kbh.11","depends_on_id":"videoreg-kbh.7","type":"blocks","created_at":"2026-06-07T17:24:37Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":2,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-kbh.7","title":"Phase 7: Deduplication + moderation","description":"Canonical product grouping, moderation queue, bulk approve, conflict tracking. PARTIAL: moderation_queue + moderation_conflicts tables, products default moderation_status='needs_review', admin moderation UI/API exist. Deep dedup matching (fuzzy/alias/perceptual image hash, possible_duplicate/variant/oem_clone classification) is NOT implemented — only new_product entries are created.","notes":"Moderation queue/conflicts tables + admin UI done; deep dedup matching (kbh.11) outstanding.","status":"in_progress","priority":1,"issue_type":"feature","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:23:14Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:24:37Z","started_at":"2026-06-07T14:24:37Z","dependencies":[{"issue_id":"videoreg-kbh.7","depends_on_id":"videoreg-kbh","type":"parent-child","created_at":"2026-06-07T17:23:14Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"videoreg-kbh","title":"Dashcam Catalog Ingestion Engine","description":"Maintainable catalog ingestion engine for car dashcams (источник: Yandex Market). HTTP-only crawler, PostgreSQL source of truth, normalization, dedup, moderation, and a token-protected versioned export consumed by the Next.js app. Full spec: tasks/002-crawler.md.","status":"open","priority":1,"issue_type":"epic","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:22:41Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:22:41Z","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7wi.7","title":"Retry historical archive capture when providers become reachable","description":"Current verified restoration coverage is zero archive pages/resources. CDX and replay unreachable, availability API429, Arquivo.pt no results. Preserve exact evidence in docs/provenance.json. Follow-up: retry bounded historical CDX/replay requests, download only legitimate relevant content/resources, record timestamp/hash/status, review spam and rights, distinguish original pages from new guides and validate old URLs. Do not claim archived restoration without successful captures.","status":"open","priority":2,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T11:35:49Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T11:35:49Z","labels":["archive","follow-up"],"dependencies":[{"issue_id":"videoreg-7wi.7","depends_on_id":"videoreg-7wi","type":"parent-child","created_at":"2026-10-26T14:35:48Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7wi","title":"Restore videoreg.ru archive context and verify production deployment","description":"Investigate archived coverage, preserve existing catalog, add useful verified guides, deploy isolated site on zz and verify local and public health.","notes":"V1 rejected by user. All V1 role PASS are superseded, not evidence for V2. New epic videoreg-7oy executes REBUILD_ACCEPTANCE_V2; preserve prior release only for rollback.","status":"blocked","priority":2,"issue_type":"task","assignee":"E.Gavrilov","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T11:11:46Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T13:13:03Z","started_at":"2026-10-26T11:13:36Z","dependencies":[{"issue_id":"videoreg-7wi","depends_on_id":"videoreg-7wi.2","type":"blocks","created_at":"2026-10-26T14:17:18Z","created_by":"E.Gavrilov","metadata":"{}"},{"issue_id":"videoreg-7wi","depends_on_id":"videoreg-7wi.3","type":"blocks","created_at":"2026-10-26T14:17:24Z","created_by":"E.Gavrilov","metadata":"{}"},{"issue_id":"videoreg-7wi","depends_on_id":"videoreg-7wi.4","type":"blocks","created_at":"2026-10-26T14:18:14Z","created_by":"E.Gavrilov","metadata":"{}"},{"issue_id":"videoreg-7wi","depends_on_id":"videoreg-7wi.5","type":"blocks","created_at":"2026-10-26T14:18:34Z","created_by":"E.Gavrilov","metadata":"{}"},{"issue_id":"videoreg-7wi","depends_on_id":"videoreg-7wi.6","type":"blocks","created_at":"2026-10-26T14:35:07Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":5,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-kbh.16","title":"Model/canonicalName cleaning leaks form-factor \u0026 descriptor words","description":"Verified on a live smoke run (2026 Yandex Market data). normalizer.cleanModelFromTitle/buildCanonicalModel leave non-model words in the canonical name, which will corrupt dedup/canonical grouping (kbh.7/kbh.11). Examples: title 'Видеорегистратор-зеркало iBOX Rover 2 автомобильный с базой камер' -\u003e canonicalName 'iBOX зеркало Rover 2 автомобильный' (should be ~'iBOX Rover 2'); 'iBOX F5 + WiFi с радар-детектором' -\u003e model retains 'с радар-детектором'. genericWords list lacks 'зеркало', standalone 'автомобильный', form-factor and feature tails. Fix: expand stopword/form-factor stripping and feature-tail removal; add fixtures from real titles.","status":"closed","priority":2,"issue_type":"bug","assignee":"E.Gavrilov","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T15:02:57Z","created_by":"E.Gavrilov","updated_at":"2026-07-30T23:00:47Z","started_at":"2026-07-30T21:52:03Z","closed_at":"2026-07-30T23:00:47Z","close_reason":"Canonical model cleanup has fixtures for the SPAWNSON and iBOX cases, and canonical name/model edits are preserved in admin moderation.","dependencies":[{"issue_id":"videoreg-kbh.16","depends_on_id":"videoreg-kbh","type":"parent-child","created_at":"2026-06-07T18:02:56Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"videoreg-nnv.1","title":"CI/CD pipelines + Swarm + Portainer + deploy scripts","description":"DONE: .gitea/workflows/{pr,master,ingestion}.yml, deploy/docker/Dockerfile.web, deploy/swarm/docker-stack.yml, deploy/portainer/{standalone,swarm} templates, deploy/scripts + deploy/remote ssh deploy/rollback + predeploy/smoke/release-manifest scripts.","status":"closed","priority":2,"issue_type":"feature","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:24:11Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:24:35Z","closed_at":"2026-06-07T14:24:35Z","close_reason":"Implemented and verified in codebase (typecheck + 18 vitest tests pass)","dependencies":[{"issue_id":"videoreg-nnv.1","depends_on_id":"videoreg-nnv","type":"parent-child","created_at":"2026-06-07T17:24:11Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-seu.1","title":"Video registry app: primitive JSON DB, caching, health probes","description":"Working Next.js app: dashboard + register-video flow, primitive file-backed JSON DB (shared/db/primitiveJsonDb.ts → data/videoreg.json), process+tag+HTTP read caching with revalidateTag on writes, /health/live + /health/ready, /api/videos. Tested (vitest).","status":"closed","priority":2,"issue_type":"feature","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:24:10Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:24:35Z","closed_at":"2026-06-07T14:24:35Z","close_reason":"Implemented and verified in codebase (typecheck + 18 vitest tests pass)","dependencies":[{"issue_id":"videoreg-seu.1","depends_on_id":"videoreg-seu","type":"parent-child","created_at":"2026-06-07T17:24:09Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-seu.2","title":"Replace primitive JSON DB before scaling beyond 1 replica","description":"The file-backed JSON DB forces the Swarm stack to a single replica on a manager node. Move to a real database before raising replicas or spreading across nodes. Read-model can keep being fed by the catalog import bridge.","status":"open","priority":2,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:24:10Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:24:10Z","dependencies":[{"issue_id":"videoreg-seu.2","depends_on_id":"videoreg-seu","type":"parent-child","created_at":"2026-06-07T17:24:10Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-st9.1","title":"Phase 1: Tokens + core atomic components + 'Best Dashcams 2026' brief","description":"Typography/color/spacing tokens, light-first + dark parity, and core components for the comparison-first page. PARTIAL/mostly done in code: web-front/src/shared/ui atoms (Badge,Button,EvidenceChip,Icon,ScoreMeter), molecules (ProductCard,WinnerRail), organisms (PageHero,ProductComparisonTable), template BestDashcamsPage; globals.css tokens; dev showcase route. Trust states verified/claimed/unknown via EvidenceChip.","notes":"Core atomic components + tokens + BestDashcamsPage built; Storybook + Figma parity (st9.2) outstanding.","status":"in_progress","priority":2,"issue_type":"feature","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:24:06Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:24:37Z","started_at":"2026-06-07T14:24:37Z","dependencies":[{"issue_id":"videoreg-st9.1","depends_on_id":"videoreg-st9","type":"parent-child","created_at":"2026-06-07T17:24:05Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"videoreg-kbh.12","title":"Image storage legal/policy decision + versioned image artifacts","description":"Spec §7: legal decision on caching/serving source images must be made before production. Then cache approved images and publish versioned image artifact URLs (original URL + source metadata + optional checksum/dimensions); app must not hotlink source images. Currently product_images stores original URLs only.","status":"open","priority":2,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:23:37Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:23:37Z","dependencies":[{"issue_id":"videoreg-kbh.12","depends_on_id":"videoreg-kbh","type":"parent-child","created_at":"2026-06-07T17:23:37Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-kbh.10","title":"Bounded sitemap-first discovery + robots.txt compliance","description":"Discovery currently parses product URLs from category HTML only (discoverYandexMarketProductsFromCategory). Spec §9 wants sitemap-first bounded discovery (diff known URLs, refresh candidates, detect near known boundaries) plus robots.txt checks. Not implemented.","status":"open","priority":2,"issue_type":"feature","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:23:35Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:23:35Z","dependencies":[{"issue_id":"videoreg-kbh.10","depends_on_id":"videoreg-kbh","type":"parent-child","created_at":"2026-06-07T17:23:35Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-kbh.9","title":"Activate MVideo source in the worker","description":"MVideo parser (ingestion/src/sources/mvideo.ts +tests) and ingestion:smoke-mvideo exist, and config.ts builds an MVIDEO seed, but worker.ts skips any seed where source!=='yandex_market' (seed.implemented guard). Wire MVideo discovery+parse into the worker crawl path.","status":"closed","priority":2,"issue_type":"feature","assignee":"E.Gavrilov","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:23:34Z","created_by":"E.Gavrilov","updated_at":"2026-07-30T23:00:46Z","started_at":"2026-07-30T21:52:03Z","closed_at":"2026-07-30T23:00:46Z","close_reason":"MVideo discovery and product parsing are wired into the worker with smoke coverage; live source CAPTCHA is paused without bypass.","dependencies":[{"issue_id":"videoreg-kbh.9","depends_on_id":"videoreg-kbh","type":"parent-child","created_at":"2026-06-07T17:23:34Z","created_by":"E.Gavrilov","metadata":"{}"},{"issue_id":"videoreg-kbh.9","depends_on_id":"videoreg-kbh.5","type":"blocks","created_at":"2026-06-07T17:24:38Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-kbh.8","title":"Phase 8: Versioned export + token-protected serving","description":"Versioned manifest + catalog artifact, Bearer-token export server, checksum verified on app import, atomic replace. DONE: ingestion/src/{exporter,exportCatalog,exportServer}.ts; excludes prices/sellers/availability/reviews/rating per spec.","notes":"Export ARTIFACT generation (exporter.ts/exportCatalog) stays valid. The token-protected HTTP SERVING is superseded by the shared-volume bridge — see the co-location decision under videoreg-nnv.","status":"closed","priority":2,"issue_type":"feature","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:23:15Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:53:50Z","closed_at":"2026-06-07T14:24:35Z","close_reason":"Implemented and verified in codebase (typecheck + 18 vitest tests pass)","dependencies":[{"issue_id":"videoreg-kbh.8","depends_on_id":"videoreg-kbh","type":"parent-child","created_at":"2026-06-07T17:23:15Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-kbh.6","title":"Phase 6: Normalizer (brand/model/specs/units/booleans)","description":"Brand dictionary, model cleaner, spec mapper, unit converter, boolean detector, alias dictionary. DONE: ingestion/src/normalizer.ts.","status":"closed","priority":2,"issue_type":"feature","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:23:13Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:24:34Z","closed_at":"2026-06-07T14:24:34Z","close_reason":"Implemented and verified in codebase (typecheck + 18 vitest tests pass)","dependencies":[{"issue_id":"videoreg-kbh.6","depends_on_id":"videoreg-kbh","type":"parent-child","created_at":"2026-06-07T17:23:13Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-kbh.5","title":"Phase 5: Parser + stableContentHash (Yandex Market)","description":"Category discovery, product/specs/image parsing, internal-only aggregate rating, source-specific stableContentHash. DONE for Yandex Market: ingestion/src/sources/yandexMarket.ts (+tests), html.ts, stableHash.ts. NOTE: bounded sitemap discovery not yet implemented (see discovery task).","status":"closed","priority":2,"issue_type":"feature","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:23:12Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:24:34Z","closed_at":"2026-06-07T14:24:34Z","close_reason":"Implemented and verified in codebase (typecheck + 18 vitest tests pass)","dependencies":[{"issue_id":"videoreg-kbh.5","depends_on_id":"videoreg-kbh","type":"parent-child","created_at":"2026-06-07T17:23:12Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"videoreg-kbh.4","title":"Phase 4: PostgreSQL-backed queue + HTTP-only fetcher","description":"Postgres queue (state machine), HTTP-only fetcher with rate limits/retry/backoff, stop on captcha/403/429, raw snapshot storage, rawSnapshotHash. DONE: ingestion/src/{queue,fetcher,worker}.ts.","status":"closed","priority":2,"issue_type":"feature","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:23:11Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:24:34Z","closed_at":"2026-06-07T14:24:34Z","close_reason":"Implemented and verified in codebase (typecheck + 18 vitest tests pass)","dependencies":[{"issue_id":"videoreg-kbh.4","depends_on_id":"videoreg-kbh","type":"parent-child","created_at":"2026-06-07T17:23:11Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-kbh.3","title":"Phase 3: Ingestion stack skeleton (Docker + Postgres + migrations)","description":"Separate docker-compose stack: postgres, ingestion-worker, ingestion-admin, export-server; migrations + schema_migrations; mounted volume for snapshots/images; healthchecks. DONE: ingestion/docker-compose.yml, migrations/001-003, ingestion/src/{db,migrate}.ts.","status":"closed","priority":2,"issue_type":"feature","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:23:10Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:24:33Z","closed_at":"2026-06-07T14:24:33Z","close_reason":"Implemented and verified in codebase (typecheck + 18 vitest tests pass)","dependencies":[{"issue_id":"videoreg-kbh.3","depends_on_id":"videoreg-kbh","type":"parent-child","created_at":"2026-06-07T17:23:10Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-kbh.2","title":"Phase 2: Shared export contract (Zod) + app import","description":"Shared Zod schema for manifest/catalog export, derived TS types, schemaVersion, operator import command, atomic replace of data/videoreg.json. DONE: web-front/src/entities/dashcam-catalog/{model/schema.ts,api/importCatalogExport.ts} + tests; package.json catalog:import.","status":"closed","priority":2,"issue_type":"feature","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:23:09Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:24:33Z","closed_at":"2026-06-07T14:24:33Z","close_reason":"Implemented and verified in codebase (typecheck + 18 vitest tests pass)","dependencies":[{"issue_id":"videoreg-kbh.2","depends_on_id":"videoreg-kbh","type":"parent-child","created_at":"2026-06-07T17:23:09Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-kbh.1","title":"Phase 1: Legal discovery \u0026 crawl policy","description":"robots.txt/sitemap/API-feed legality checks, crawl budget, allowed URL patterns, image storage policy. Crawl budget + conservative policy (1 req / 5-15s, jitter, exponential backoff, stop on captcha/403/429, daily budgets, no headless/stealth) is IMPLEMENTED in config/queue/fetcher. Still open: robots.txt + sitemap legality checks and image storage policy decision.","notes":"Crawl budget/backoff/stop-on-block implemented; robots.txt + sitemap legality checks and image storage policy still open.","status":"in_progress","priority":2,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:23:08Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:24:36Z","started_at":"2026-06-07T14:24:36Z","dependencies":[{"issue_id":"videoreg-kbh.1","depends_on_id":"videoreg-kbh","type":"parent-child","created_at":"2026-06-07T17:23:08Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-nnv","title":"Deployment \u0026 CI/CD","description":"Gitea Actions pipelines, Docker image build/push, Swarm stack, Portainer stack templates, and SSH deploy/rollback scripts for both web and ingestion.","status":"open","priority":2,"issue_type":"epic","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:22:44Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:22:44Z","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-seu","title":"Frontend Web App (web-front)","description":"Next.js 16 App Router frontend with FSD layering, primitive file-backed JSON DB as a replaceable read-model cache, aggressive read caching, health probes, and the operator catalog import bridge.","status":"open","priority":2,"issue_type":"epic","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:22:43Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:22:43Z","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-st9","title":"Design System (Atomic + Tokens)","description":"Premium automotive editorial design system: tokens, atomic components, light-first + dark parity, comparison-first UX for 'Best Dashcams 2026'. Full spec: tasks/001-design-system.md.","status":"open","priority":2,"issue_type":"epic","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:22:42Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:22:42Z","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-st9.3","title":"Phase 2: Article / review / ecommerce / filtering modules","description":"Spec Phase 2: article system, review system (pros/cons, verdict, sample footage, firmware history, heat/night tests), ecommerce modules (seller comparison, price history, CTA hierarchy), filtering system. Not implemented.","status":"open","priority":3,"issue_type":"feature","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:24:08Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:24:08Z","dependencies":[{"issue_id":"videoreg-st9.3","depends_on_id":"videoreg-st9","type":"parent-child","created_at":"2026-06-07T17:24:07Z","created_by":"E.Gavrilov","metadata":"{}"},{"issue_id":"videoreg-st9.3","depends_on_id":"videoreg-st9.1","type":"blocks","created_at":"2026-06-07T17:24:39Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":1,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"videoreg-st9.2","title":"Storybook + typed component API docs + Figma parity","description":"Spec deliverables not yet present: no .storybook setup, no component API docs, no Figma↔React parity artifacts. Add Storybook, document variant/responsive/theming APIs.","status":"open","priority":3,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:24:07Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:24:07Z","dependencies":[{"issue_id":"videoreg-st9.2","depends_on_id":"videoreg-st9","type":"parent-child","created_at":"2026-06-07T17:24:06Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-kbh.13","title":"Sync schedules: frequent light / deep / new-product detection","description":"Spec §17: frequent light sync (6-12h: first category page, bounded sitemap diff, new URLs), deep sync (7-14d: all known cards/specs/images), daily new-product detection. No scheduler implemented; worker runs an inline loop. MVP import is manual.","status":"open","priority":3,"issue_type":"feature","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:23:38Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:23:38Z","dependencies":[{"issue_id":"videoreg-kbh.13","depends_on_id":"videoreg-kbh","type":"parent-child","created_at":"2026-06-07T17:23:38Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-st9.4","title":"Phase 3: Motion, advanced comparison UX, personalization","description":"Spec Phase 3: mechanical motion system, advanced comparison UX (column pinning, snap scroll, spec highlighting), personalization, saved comparisons, dashboard-like features. Not implemented.","status":"open","priority":4,"issue_type":"feature","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-06-07T14:24:09Z","created_by":"E.Gavrilov","updated_at":"2026-06-07T14:24:09Z","dependencies":[{"issue_id":"videoreg-st9.4","depends_on_id":"videoreg-st9","type":"parent-child","created_at":"2026-06-07T17:24:08Z","created_by":"E.Gavrilov","metadata":"{}"},{"issue_id":"videoreg-st9.4","depends_on_id":"videoreg-st9.3","type":"blocks","created_at":"2026-06-07T17:24:39Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
+7
View File
@@ -0,0 +1,7 @@
{
"database": "dolt",
"backend": "dolt",
"dolt_mode": "embedded",
"dolt_database": "videoreg",
"project_id": "3e9efadc-32e2-40ac-9833-15f223c3351d"
}
+26
View File
@@ -0,0 +1,26 @@
{
"hooks": {
"PreCompact": [
{
"hooks": [
{
"command": "bd prime",
"type": "command"
}
],
"matcher": ""
}
],
"SessionStart": [
{
"hooks": [
{
"command": "bd prime",
"type": "command"
}
],
"matcher": ""
}
]
}
}
+7
View File
@@ -1,11 +1,18 @@
.git
.gitea
.next
web-front/.next
node_modules
data
ingestion/data
coverage
.env
.env.local
npm-debug.log*
*.tsbuildinfo
tasks
docs
.beads
.local-run
web-front/legacy
+153 -113
View File
@@ -1,144 +1,184 @@
name: Master Production Deploy
name: Production container deploy
on:
push:
branches:
- master
paths-ignore:
- "docs/**"
- "**/*.md"
- ".beads/**"
workflow_dispatch:
concurrency:
group: deploy-production
cancel-in-progress: false
group: production-${{ github.repository }}
cancel-in-progress: true
env:
REGISTRY: ${{ vars.CONTAINER_REGISTRY }}
WEB_IMAGE_REPO: ${{ vars.CONTAINER_REGISTRY }}/${{ github.repository_owner }}/${{ github.event.repository.name }}-web
RELEASE_ID: ${{ github.sha }}-${{ github.run_number }}
NPM_CONFIG_AUDIT: "false"
NPM_CONFIG_FUND: "false"
NPM_CONFIG_UPDATE_NOTIFIER: "false"
NODE_VERSION: "22"
DOMAIN: videoreg.ru
STACK_NAME: videoreg
CONTAINER_REGISTRY: ${{ vars.CONTAINER_REGISTRY }}
REGISTRY: ${{ vars.REGISTRY }}
PRODUCTION_TRAEFIK_NETWORK: ${{ vars.PRODUCTION_TRAEFIK_NETWORK }}
TRAEFIK_NETWORK: ${{ vars.TRAEFIK_NETWORK }}
TRAEFIK_ENTRYPOINTS: ${{ vars.TRAEFIK_ENTRYPOINTS }}
TRAEFIK_ENTRYPOINT: ${{ vars.TRAEFIK_ENTRYPOINT }}
TRAEFIK_TLS: ${{ vars.TRAEFIK_TLS }}
TRAEFIK_CERTRESOLVER: le
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
SWARM_MANAGER_HOST: ${{ vars.VIDEOREG_DEPLOY_HOST || '77.91.88.137' }}
SWARM_SSH_USER: ${{ vars.VIDEOREG_DEPLOY_USER || 'shire' }}
SWARM_SSH_PORT: ${{ vars.VIDEOREG_DEPLOY_PORT || '22' }}
jobs:
production:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
- name: Setup Node for build
uses: actions/setup-node@v4
with:
node-version: 22
node-version: ${{ env.NODE_VERSION }}
- name: Setup npm
run: npm install -g npm@11.6.4
- name: Prepare deployment metadata
shell: bash
run: |
set -euo pipefail
REGISTRY="${CONTAINER_REGISTRY:-${REGISTRY:-git.pryanik.synology.me}}"
: "${REGISTRY:?Set Gitea variable CONTAINER_REGISTRY or REGISTRY}"
: "${SWARM_MANAGER_HOST:?Set Gitea secret SWARM_MANAGER_HOST}"
: "${SWARM_SSH_USER:?Set Gitea secret SWARM_SSH_USER}"
short_sha="${GITHUB_SHA:-${GITEA_SHA:-manual}}"
short_sha="${short_sha:0:12}"
image_repo="${REGISTRY}/${GITHUB_REPOSITORY}"
{
echo "REGISTRY=${REGISTRY}"
echo "IMAGE_REPO=${image_repo}"
echo "IMAGE=${image_repo}:${short_sha}"
echo "SWARM_SSH_PORT=${SWARM_SSH_PORT:-22}"
network="${PRODUCTION_TRAEFIK_NETWORK:-${TRAEFIK_NETWORK:-traefik-public}}"
entrypoints="${TRAEFIK_ENTRYPOINTS:-${TRAEFIK_ENTRYPOINT:-websecure}}"
tls="${TRAEFIK_TLS:-true}"
echo "TRAEFIK_NETWORK=${network}"
echo "TRAEFIK_ENTRYPOINTS=${entrypoints}"
echo "TRAEFIK_TLS=${tls}"
echo "TRAEFIK_CERTRESOLVER=${TRAEFIK_CERTRESOLVER:-le}"
} >> "${GITHUB_ENV}"
- name: Install dependencies
run: npm ci --prefer-offline --no-audit --no-fund
run: npm ci --no-audit --no-fund
- name: Quality gate
- name: Build static site
env:
NEXT_TELEMETRY_DISABLED: "1"
COMMIT_SHA: ${{ github.sha }}
run: npm run ci:quality
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Restore exact five-role reviewed limited export
shell: bash
run: |
set -euo pipefail
manifest=docs/rebuild-v2/releases/current.json
test -f "$manifest"
python3 deploy/release-artifact.py verify --manifest "$manifest" --restore --tree web-front/out
python3 - <<'PYIDENTITY' >> "$GITHUB_ENV"
import json
data = json.load(open('docs/rebuild-v2/releases/current.json'))
print('REVIEWED_SOURCE_COMMIT=' + data['sourceCommit'])
print('REVIEWED_EXPORT_SHA=' + data['exportManifestSha256'])
PYIDENTITY
- name: Verify published corpus without claiming complete history
shell: bash
run: |
set -euo pipefail
python3 -S scripts/rebuild-v2/verify-vendor.py
node scripts/rebuild-v2/check-raster-sharp.mjs
python3 deploy/serve-local.py > "${RUNNER_TEMP}/videoreg-limited-preview.log" 2>&1 &
preview_pid=$!
trap 'kill "$preview_pid" 2>/dev/null || true' EXIT
base=$(python3 - "$preview_pid" <<'PYREADY'
import json, pathlib, sys, time, urllib.request
for attempt in range(50):
try:
state = json.loads(pathlib.Path('.local-run/server.json').read_text())
if state['pid'] == int(sys.argv[1]):
with urllib.request.urlopen(state['url'] + '/health/ready', timeout=1) as response:
if response.status == 200:
print(state['url']); break
except (OSError, ValueError, KeyError):
pass
time.sleep(0.1)
else:
raise SystemExit('Reviewed preview did not become ready')
PYREADY
)
python3 deploy/verify-published-corpus.py --manifest docs/rebuild-v2/releases/current.json --base "$base" --report "${RUNNER_TEMP}/videoreg-limited-fresh-crawl.json"
- name: Login to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Verify static output
shell: bash
run: |
set -euo pipefail
test -f web-front/out/index.html
test ! -e web-front/out/server.js
test ! -e web-front/out/.next
printf 'Static files: '
find web-front/out -type f | wc -l
- name: Build and push web image
id: build-web
uses: docker/build-push-action@v6
with:
context: .
file: deploy/docker/Dockerfile.web
push: true
tags: ${{ env.WEB_IMAGE_REPO }}:${{ github.sha }}
labels: |
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.version=${{ env.RELEASE_ID }}
- name: Login to container registry
shell: bash
run: |
set -euo pipefail
: "${REGISTRY_USERNAME:?Set Gitea secret REGISTRY_USERNAME}"
: "${REGISTRY_PASSWORD:?Set Gitea secret REGISTRY_PASSWORD}"
printf '%s' "${REGISTRY_PASSWORD}" | docker login "${REGISTRY}" \
--username "${REGISTRY_USERNAME}" \
--password-stdin
- name: Production pre-deploy checks
env:
ENVIRONMENT: production
STACK_NAME: ${{ vars.PRODUCTION_STACK_NAME }}
RELEASE_ID: ${{ env.RELEASE_ID }}
COMMIT_SHA: ${{ github.sha }}
WEB_IMAGE: ${{ env.WEB_IMAGE_REPO }}@${{ steps.build-web.outputs.digest }}
PUBLIC_HOST: ${{ vars.PRODUCTION_PUBLIC_HOST }}
TRAEFIK_NETWORK: ${{ vars.PRODUCTION_TRAEFIK_NETWORK }}
SWARM_MANAGER_HOST: ${{ secrets.PRODUCTION_SWARM_MANAGER_HOST }}
SWARM_SSH_USER: ${{ secrets.PRODUCTION_SWARM_SSH_USER }}
run: node deploy/scripts/predeploy-check.mjs
- name: Build static image
shell: bash
run: |
set -euo pipefail
docker build --pull --platform linux/amd64 --build-arg BASE_IMAGE=git.pryanik.synology.me/huncode/videoreg.ru:9b5b080e6019@sha256:2fb63f2666d7c57643328aae1e76cdc5c3e498f704e007a7c57f2fecb033053e --label "org.opencontainers.image.revision=${REVIEWED_SOURCE_COMMIT}" --label "me.videoreg.export-sha256=${REVIEWED_EXPORT_SHA}" --label "me.videoreg.delivery-commit=${GITHUB_SHA}" --label "me.videoreg.scope=reviewed-corpus-only" --tag "${IMAGE}" .
test "$(docker image inspect "$IMAGE" --format '{{.Architecture}}')" = amd64
docker run --rm --entrypoint nginx "$IMAGE" -t
cid=$(docker create "$IMAGE")
trap 'docker rm -f "$cid" >/dev/null 2>&1 || true' EXIT
docker cp "$cid:/usr/share/nginx/html/." - | python3 deploy/release-artifact.py image-tar --manifest docs/rebuild-v2/releases/current.json
- name: Deploy production
env:
ENVIRONMENT: production
STACK_NAME: ${{ vars.PRODUCTION_STACK_NAME }}
RELEASE_ID: ${{ env.RELEASE_ID }}
COMMIT_SHA: ${{ github.sha }}
WEB_IMAGE: ${{ env.WEB_IMAGE_REPO }}@${{ steps.build-web.outputs.digest }}
PUBLIC_HOST: ${{ vars.PRODUCTION_PUBLIC_HOST }}
TRAEFIK_NETWORK: ${{ vars.PRODUCTION_TRAEFIK_NETWORK }}
SWARM_MANAGER_HOST: ${{ secrets.PRODUCTION_SWARM_MANAGER_HOST }}
SWARM_SSH_USER: ${{ secrets.PRODUCTION_SWARM_SSH_USER }}
SWARM_SSH_PORT: ${{ secrets.PRODUCTION_SWARM_SSH_PORT }}
REGISTRY: ${{ env.REGISTRY }}
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
WEB_REPLICAS: ${{ vars.PRODUCTION_WEB_REPLICAS }}
WEB_PLACEMENT_CONSTRAINT: ${{ vars.PRODUCTION_WEB_PLACEMENT_CONSTRAINT }}
TRAEFIK_ENTRYPOINTS: ${{ vars.TRAEFIK_ENTRYPOINTS }}
TRAEFIK_TLS: ${{ vars.TRAEFIK_TLS }}
REGION: ${{ vars.REGION }}
TEAM_ID: ${{ vars.TEAM_ID }}
DEPLOY_MIN_FREE_MB: ${{ vars.DEPLOY_MIN_FREE_MB }}
DEPLOY_PRUNE_BEFORE_PULL: ${{ vars.DEPLOY_PRUNE_BEFORE_PULL }}
DEPLOY_PRUNE_UNTIL: ${{ vars.DEPLOY_PRUNE_UNTIL }}
DEPLOY_CLEANUP_FAILED_IMAGES: ${{ vars.DEPLOY_CLEANUP_FAILED_IMAGES }}
VIDEOREG_DB_MEMORY_TTL_MS: ${{ vars.VIDEOREG_DB_MEMORY_TTL_MS }}
VIDEOREG_NEXT_CACHE_REVALIDATE_SECONDS: ${{ vars.VIDEOREG_NEXT_CACHE_REVALIDATE_SECONDS }}
run: deploy/scripts/deploy-over-ssh.sh
- name: Push static image
shell: bash
run: |
set -euo pipefail
docker push "${IMAGE}"
docker tag "${IMAGE}" "${IMAGE_REPO}:latest"
docker push "${IMAGE_REPO}:latest"
digest=$(docker image inspect "$IMAGE" --format '{{index .RepoDigests 0}}')
[[ "$digest" =~ @sha256:[a-f0-9]{64}$ ]]
echo "IMAGE=$digest" >> "$GITHUB_ENV"
- name: Production smoke checks
id: smoke
continue-on-error: true
env:
BASE_URL: https://${{ vars.PRODUCTION_PUBLIC_HOST }}
EXPECTED_RELEASE_ID: ${{ env.RELEASE_ID }}
SMOKE_RESULT_PATH: smoke-result.json
run: node deploy/scripts/smoke-check.mjs
- name: Configure remote Docker
shell: bash
run: |
set -euo pipefail
docker_host="ssh://${SWARM_SSH_USER}@${SWARM_MANAGER_HOST}:${SWARM_SSH_PORT}"
DOCKER_SSH_COMMAND="ssh -o BatchMode=yes -o ConnectTimeout=10" docker --host "${docker_host}" info >/dev/null
echo "DOCKER_HOST=${docker_host}" >> "${GITHUB_ENV}"
- name: Roll back production after failed smoke checks
if: steps.smoke.outcome == 'failure'
env:
ENVIRONMENT: production
STACK_NAME: ${{ vars.PRODUCTION_STACK_NAME }}
SWARM_MANAGER_HOST: ${{ secrets.PRODUCTION_SWARM_MANAGER_HOST }}
SWARM_SSH_USER: ${{ secrets.PRODUCTION_SWARM_SSH_USER }}
SWARM_SSH_PORT: ${{ secrets.PRODUCTION_SWARM_SSH_PORT }}
run: deploy/scripts/rollback-over-ssh.sh
- name: Fail after production smoke rollback
if: steps.smoke.outcome == 'failure'
run: exit 1
- name: Write release manifest
env:
COMMIT_SHA: ${{ github.sha }}
RELEASE_ID: ${{ env.RELEASE_ID }}
WEB_IMAGE_DIGEST: ${{ env.WEB_IMAGE_REPO }}@${{ steps.build-web.outputs.digest }}
SMOKE_RESULT_PATH: smoke-result.json
WORKFLOW_RUN_ID: ${{ github.run_id }}
run: node deploy/scripts/write-release-manifest.mjs > release-manifest.json
- name: Upload release manifest
uses: actions/upload-artifact@v4
with:
name: release-manifest-${{ env.RELEASE_ID }}
path: release-manifest.json
- name: Deploy production stack
shell: bash
run: |
set -euo pipefail
docker stack deploy \
--with-registry-auth \
--compose-file deploy/stack.yml \
"${STACK_NAME}"
docker stack services "${STACK_NAME}"
+67
View File
@@ -0,0 +1,67 @@
name: Rebuild V2 candidate verification
on:
push:
branches: [codex/videoreg-rebuild-v2]
workflow_dispatch:
jobs:
candidate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- run: npm ci --no-audit --no-fund
- name: Types, tests and complete static build
env:
COMMIT_SHA: ${{ github.sha }}
NEXT_TELEMETRY_DISABLED: "1"
run: npm run ci:quality
- name: Verify offline pinned checker dependencies and raster failure behavior
run: |
python3 -S scripts/rebuild-v2/verify-vendor.py
node scripts/rebuild-v2/check-raster-sharp.mjs
- name: Validate complete export and safe preview
shell: bash
run: |
set -euo pipefail
export PYTHONPATH="$PWD/scripts/rebuild-v2/vendor"
export PYTHONDONTWRITEBYTECODE=1
export VIDEOREG_RASTER_DECODER=sharp
py=python3
"$py" -S scripts/rebuild-v2/check-preview.py
"$py" -S scripts/rebuild-v2/check-fetch-rate-limit.py
"$py" -S deploy/serve-local.py > "${RUNNER_TEMP}/videoreg-v2-preview.log" 2>&1 &
preview_pid=$!
trap 'kill "$preview_pid" 2>/dev/null || true' EXIT
base=$("$py" -S - "$preview_pid" <<'PYREADY'
import json, pathlib, sys, time, urllib.request
expected_pid = int(sys.argv[1])
for attempt in range(50):
try:
state = json.loads(pathlib.Path('.local-run/server.json').read_text())
if state['pid'] == expected_pid:
with urllib.request.urlopen(state['url'] + '/health/ready', timeout=1) as response:
if response.status == 200:
print(state['url'])
break
except (OSError, ValueError, KeyError):
pass
time.sleep(0.1)
else:
raise SystemExit('Candidate preview did not become ready')
PYREADY
)
"$py" -S scripts/rebuild-v2/check-built.py --base "$base"
- name: Record verification identity and failures in job log
if: always()
run: |
python3 - <<'PYREPORT'
import json, pathlib
path = pathlib.Path('docs/rebuild-v2/evidence/built-crawl.json')
if path.is_file():
data = json.loads(path.read_text())
print(json.dumps({key: data.get(key) for key in ('sourceCommit', 'repositoryHead', 'builtSourceManifestSha256', 'sourceManifestSha256', 'exportManifestSha256', 'rasterDecoder', 'summary', 'errors')}, ensure_ascii=False, indent=2))
else:
print('No complete crawl report: inspect earlier setup/build failure')
PYREPORT
+13
View File
@@ -1,8 +1,21 @@
.next/
node_modules/
data/
ingestion/data/
coverage/
.env
.env.local
npm-debug.log*
*.tsbuildinfo
# Beads / Dolt files (added by bd init)
.dolt/
*.db
.beads-credential-key
web-front/out/
.playwright-cli/
.local-run/
__pycache__/
*.pyc
+1
View File
@@ -1,3 +1,4 @@
registry=https://registry.npmjs.org/
audit=false
fund=false
update-notifier=false
+96
View File
@@ -0,0 +1,96 @@
# Agent Instructions
This project uses **bd** (beads) for issue tracking. Run `bd prime` for full workflow context.
> **Architecture in one line:** Issues live in a local Dolt database
> (`.beads/dolt/`); cross-machine sync uses `bd dolt push/pull` (a
> git-compatible protocol), stored under `refs/dolt/data` on your git
> remote — separate from `refs/heads/*` where your code lives.
> `.beads/issues.jsonl` is a passive export, not the wire protocol.
>
> See [SYNC_CONCEPTS.md](https://github.com/gastownhall/beads/blob/main/docs/SYNC_CONCEPTS.md)
> for the one-screen overview and anti-patterns (don't treat JSONL as the
> source of truth; don't `bd import` during normal operation; don't
> reach for third-party Dolt hosting before trying the default).
## Quick Reference
```bash
bd ready # Find available work
bd show <id> # View issue details
bd update <id> --claim # Claim work atomically
bd close <id> # Complete work
bd dolt push # Push beads data to remote
```
## Non-Interactive Shell Commands
**ALWAYS use non-interactive flags** with file operations to avoid hanging on confirmation prompts.
Shell commands like `cp`, `mv`, and `rm` may be aliased to include `-i` (interactive) mode on some systems, causing the agent to hang indefinitely waiting for y/n input.
**Use these forms instead:**
```bash
# Force overwrite without prompting
cp -f source dest # NOT: cp source dest
mv -f source dest # NOT: mv source dest
rm -f file # NOT: rm file
# For recursive operations
rm -rf directory # NOT: rm -r directory
cp -rf source dest # NOT: cp -r source dest
```
**Other commands that may prompt:**
- `scp` - use `-o BatchMode=yes` for non-interactive
- `ssh` - use `-o BatchMode=yes` to fail instead of prompting
- `apt-get` - use `-y` flag
- `brew` - use `HOMEBREW_NO_AUTO_UPDATE=1` env var
<!-- BEGIN BEADS INTEGRATION v:1 profile:minimal hash:7510c1e2 -->
## Beads Issue Tracker
This project uses **bd (beads)** for issue tracking. Run `bd prime` to see full workflow context and commands.
### Quick Reference
```bash
bd ready # Find available work
bd show <id> # View issue details
bd update <id> --claim # Claim work
bd close <id> # Complete work
```
### Rules
- Use `bd` for ALL task tracking — do NOT use TodoWrite, TaskCreate, or markdown TODO lists
- Run `bd prime` for detailed command reference and session close protocol
- Use `bd remember` for persistent knowledge — do NOT use MEMORY.md files
**Architecture in one line:** issues live in a local Dolt DB; sync uses `refs/dolt/data` on your git remote; `.beads/issues.jsonl` is a passive export. See https://github.com/gastownhall/beads/blob/main/docs/SYNC_CONCEPTS.md for details and anti-patterns.
## Session Completion
**When ending a work session**, you MUST complete ALL steps below. Work is NOT complete until `git push` succeeds.
**MANDATORY WORKFLOW:**
1. **File issues for remaining work** - Create issues for anything that needs follow-up
2. **Run quality gates** (if code changed) - Tests, linters, builds
3. **Update issue status** - Close finished work, update in-progress items
4. **PUSH TO REMOTE** - This is MANDATORY:
```bash
git pull --rebase
git push
git status # MUST show "up to date with origin"
```
5. **Clean up** - Clear stashes, prune remote branches
6. **Verify** - All changes committed AND pushed
7. **Hand off** - Provide context for next session
**CRITICAL RULES:**
- Work is NOT complete until `git push` succeeds
- NEVER stop before pushing - that leaves work stranded locally
- NEVER say "ready to push when you are" - YOU must push
- If push fails, resolve and retry until it succeeds
<!-- END BEADS INTEGRATION -->
+70
View File
@@ -0,0 +1,70 @@
# Project Instructions for AI Agents
This file provides instructions and context for AI coding agents working on this project.
<!-- BEGIN BEADS INTEGRATION v:1 profile:minimal hash:7510c1e2 -->
## Beads Issue Tracker
This project uses **bd (beads)** for issue tracking. Run `bd prime` to see full workflow context and commands.
### Quick Reference
```bash
bd ready # Find available work
bd show <id> # View issue details
bd update <id> --claim # Claim work
bd close <id> # Complete work
```
### Rules
- Use `bd` for ALL task tracking — do NOT use TodoWrite, TaskCreate, or markdown TODO lists
- Run `bd prime` for detailed command reference and session close protocol
- Use `bd remember` for persistent knowledge — do NOT use MEMORY.md files
**Architecture in one line:** issues live in a local Dolt DB; sync uses `refs/dolt/data` on your git remote; `.beads/issues.jsonl` is a passive export. See https://github.com/gastownhall/beads/blob/main/docs/SYNC_CONCEPTS.md for details and anti-patterns.
## Session Completion
**When ending a work session**, you MUST complete ALL steps below. Work is NOT complete until `git push` succeeds.
**MANDATORY WORKFLOW:**
1. **File issues for remaining work** - Create issues for anything that needs follow-up
2. **Run quality gates** (if code changed) - Tests, linters, builds
3. **Update issue status** - Close finished work, update in-progress items
4. **PUSH TO REMOTE** - This is MANDATORY:
```bash
git pull --rebase
git push
git status # MUST show "up to date with origin"
```
5. **Clean up** - Clear stashes, prune remote branches
6. **Verify** - All changes committed AND pushed
7. **Hand off** - Provide context for next session
**CRITICAL RULES:**
- Work is NOT complete until `git push` succeeds
- NEVER stop before pushing - that leaves work stranded locally
- NEVER say "ready to push when you are" - YOU must push
- If push fails, resolve and retry until it succeeds
<!-- END BEADS INTEGRATION -->
## Build & Test
_Add your build and test commands here_
```bash
# Example:
# npm install
# npm test
```
## Architecture Overview
_Add a brief overview of your project architecture_
## Conventions & Patterns
_Add your project-specific conventions here_
+71
View File
@@ -0,0 +1,71 @@
# Demo runbook
The demo uses local PostgreSQL plus the same shared export contract as
production. It never writes source prices, sellers, availability, or reviews to
the public catalog.
## 1. Start local ingestion
```bash
cp ingestion/.env.example ingestion/.env
```
Set real local passwords in `ingestion/.env`, then use five product requests per
source for the demonstration:
```bash
INGESTION_PRODUCT_DAILY_BUDGET=5 \
INGESTION_FETCH_DELAY_MIN_MS=5000 \
INGESTION_FETCH_DELAY_MAX_MS=5000 \
docker compose --env-file ingestion/.env -f ingestion/docker-compose.yml up -d --build
```
Follow the worker until the category and product jobs settle:
```bash
docker compose --env-file ingestion/.env -f ingestion/docker-compose.yml logs -f ingestion-worker
```
For a five-card demo, the worker fetches five product cards and marks the rest
of the discovered category candidates as `rate_limited` for that budget day.
If MVideo is configured and replies with a CAPTCHA/403/429, it remains paused
and visible in the queue; do not retry it through a browser or proxy.
## 2. Moderate and export
Open `http://127.0.0.1:4101/admin`, authenticate with the values from
`ingestion/.env`, choose **Products**, inspect the source URLs, raw technical
characteristics, normalized values, and any conflicts. Edit the canonical model
or canonical name where needed, approve the cards intended for the demo, then
publish the approved export:
```bash
docker compose --env-file ingestion/.env -f ingestion/docker-compose.yml run --rm ingestion-worker \
npm run ingestion:export-catalog
```
The artifacts appear under `data/catalog-exports/`:
- `manifest.json`
- `artifacts/<exportId>/catalog.json`
## 3. Start the web catalog
```bash
DASHCAM_CATALOG_EXPORT_DIR="$PWD/data/catalog-exports" npm run dev
```
Open `http://localhost:3000`. The root page reads and validates the shared
catalog at request time, displays approved cards, normalized specs, and links
back to every source card.
## 4. Final checks
```bash
npm test
npm run typecheck
npm run build
curl -fsS http://localhost:3000/health/ready
curl -u "$INGESTION_ADMIN_USERNAME:$INGESTION_ADMIN_PASSWORD" \
http://127.0.0.1:4101/admin/api/queue
```
+105
View File
@@ -0,0 +1,105 @@
# Current R3: five-role approved limited release, delivery prepared
The latest coordinator instruction separates a bounded useful publication from full historical completeness. All five SAME V2 roles issued actual `ALLOW_LIMITED_PUBLICATION` for source `78274fbe09c0fd7d0b8d94830db1f31fa76b1db9`, app manifest `fbd0d8316c235eda0819afc2f4f69a87dff29138208a3c13ed0016ade74f541d`, frozen export `4d998c25dd09d5b6d08e011e235fb7212568dcc60dd37da24a3194655de02e01`. Full restoration is explicitly false;119unresolved/.1/.4/.7/.8 remain mandatoryOPEN.
[Agreed concrete boundary](docs/rebuild-v2/LIMITED_RELEASE_DECISION.md), [strict release packet](docs/rebuild-v2/releases/current.json), [independent delivery code ALLOW](docs/rebuild-v2/reviews/limited-delivery-pipeline.md). R3 fixes point-of-use missing-frame/file clarity; both actual content/design vetoes resolved. Health names edition rebuild-v2-limited and restorationComplete:false.
The frozen archive contains472files/12361918bytes. Actual local restore and post-restore fulltechnicalgate pass with fiveapprovals/131HTTP/168rawdecodedrasters/0technicalerrors while fullhistory staysblocked119. Nativeamd64 image must preserve this exact tree. Delivery code source `f2494e8d1fb6c60380f78fdf40d56910d7d01b6c` independently reviewed. Initial automatic rejection occurred before frozenR3/fiveALLOW; no rejected mutation was executed or bypassed. Retry after actual fiveapprovals was accepted for preparation; production rollout/TLS evidence is recorded after the authorised workflow runs.
The following R2 sections preserve prior discovery/review/CI evidence and are historical context, not a claim that the current R3 has the old source/export.
---
# Videoreg.ru — V2 R2 candidate, restoration BLOCKED
Дата проверки: 26 октября 2026. Пользователь отклонил V1; прежние PASS не применяются к V2. Кандидат R2 технически проверен и прошёл пять независимых ролевых проверок в пределах опубликованного поднабора. **Восстановление и общая приёмка не завершены; V2 не опубликован в production.**
## Точная идентичность
- Исходный кандидат R2: `4a0d828ef070d305bea57d6a5d16d612fc16a0e2`.
- SHA-256 manifest 18 активных файлов приложения: `72adaeab317c83069c2ca92599940955372768776367da42b26ed0a7d521e822`.
- SHA-256 полного export manifest: `adb919f431cb965359d7297194dbec7115c19dc8f0ddbe8340f303a2f1531603`.
- Ветка: `codex/videoreg-rebuild-v2`; Gitea: https://git.pryanik.synology.me/huncode/videoreg.ru . Состояние доставки/CI отдельно записано в `docs/rebuild-v2/evidence/delivery.json`; локальный коммит не приравнивается к remote delivery.
- Восстановимая V1-ссылка: tag `videoreg-v1-rejected-20261026` на `056f1a6462d62b28ed693ee4829a5e5a00903202`.
- Постоянный preview: http://127.0.0.1:50541 ; PID/HTTP подтверждаются в `docs/rebuild-v2/evidence/local-runtime-final.json` и `.local-run/server.json`. Runtime обслуживает только `web-front/out`.
Последующие коммиты evidence/README/Beads не объявляются новым просмотренным build. `/health/ready` локального кандидата содержит точный R2 source commit выше.
## Фактический корпус
[URL inventory](docs/rebuild-v2/url-inventory.json), [coverage](docs/rebuild-v2/coverage.md), [media inventory](docs/rebuild-v2/media-inventory.json), [sample inventory](docs/rebuild-v2/sample-gallery-inventory.json).
CDX вернул 883 HTML captures, 121 collapsed HTML URL key и 259 resource URL keys; нормализация и найденные ссылки расширили inventory до **238 URL**, включая **138 не исключённых**. Это известная нижняя граница, а не доказательство полного исторического сайта. Полные исходные тела реально получены для **30 HTML** (включая коммерческие/навигационные страницы); 20 source URL имеют статус edited-recovered, эквиваленты и навигационные замены учитываются отдельно.
Опубликованы 28 typed материалов, в том числе сопроводительные страницы документов и галерей; это не 28 восстановленных исторических HTML-статей. Есть четыре полных исходных инструкции (37 страниц), полный тест Дениса Кирина «СВК-002», «Мобильные новости», январь 2008, страницы 100–102, и 162 исходных JPEG (158 из шести альбомов + четыре полностью спасённых члена повреждённого ZIP). Все три страницы журнального теста действительно прочитаны по пикселям; ранние обрезанные копии не публикуются. Документ `svk-002-mn.pdf` — **журнальный тест, не инструкция**.
Обязательные пробелы: **119 unresolved targets** (99 прежних HTML/linked entries плюс20 новых Semrush epoch/fragment/query/path leads), один частично восстановленный ZIP, 63 отсутствующих/невалидных ресурса основного домена и 25 JPEG внешнего исходного sample-host. Повреждённый ZIP не предлагается как полный: опубликованы только четыре члена с проверенными размером/CRC и декодированием. Нестандартные EXIF GPS tags не объявлены валидными координатами.
## Редактура и ссылки
[Per-page ledger](docs/rebuild-v2/editorial-ledger.json): 28 материалов независимо прочитаны контент-менеджером против полных raw sources; шесть новых UI/tool/404 entries отдельно прочитаны root и не выдаются за архивные статьи. У каждого исходника есть SHA, фактическая дата/ограничение и решение редактора. Неизвестные темы не заменены универсальными статьями; forum next-alias не подменяет исходный неизвестный topic.
[Полный outbound ledger](docs/rebuild-v2/outbound-links.json): 562 source occurrences, 15 generated occurrences и десять DOM occurrences двух viewport. Учтены HTML attributes, inline literals, активные исходники, CSS/SVG/JS и реальный DOM. Удалены реальные casino/PSP/Thai-hotel/pool/real-estate вставки, старые рекламные sidebar/footer widgets, counters и scripts. Оставлены пять конкретных исходных демонстрационных YouTube-ссылок по точному сочетанию page/anchor/destination, а не по белому списку доменов. Проверены исходные IDs и official oEmbed metadata/автор; воспроизведение видео не просмотрено и не заявлено восстановленным. Сайт не загружает внешние плееры/счётчики. Оригинальные PDF и видимый copyright исходной карты сохранены целиком.
## Реальные независимые reviews
| Роль | Агент и Beads | Точный финальный отчёт |
|---|---|---|
| Дизайнер, исходный автор V2 veto | `/root/v2_designer`, `.3` scoped CLOSED | [designer-original-reviewer-final.md](docs/rebuild-v2/reviews/designer-original-reviewer-final.md) |
| Креативный директор | `/root/v2_creative_director`, `.5` scoped CLOSED | [creative-candidate.md](docs/rebuild-v2/reviews/creative-candidate.md) |
| Контент-менеджер | `/root/v2_content_manager`, `.1` remains BLOCKED | [content-candidate.md](docs/rebuild-v2/reviews/content-candidate.md) |
| Иллюстратор | `/root/v2_illustrator`, `.6` scoped CLOSED | [illustrator-candidate.md](docs/rebuild-v2/reviews/illustrator-candidate.md), [R2 verdict](docs/rebuild-v2/evidence/illustrator-final-r2/verdict.json) |
| Программист | `/root/v2_programmer`, `.2` CLOSED, `.4` remains BLOCKED | [programmer-candidate.md](docs/rebuild-v2/reviews/programmer-candidate.md) |
Дополнительно `/root/designer` независимо открыл 36 R1 pixels и семь изменённых R2 pixels: [designer-candidate.md](docs/rebuild-v2/reviews/designer-candidate.md). Это не замена проверки исходного автора вето. Initial V2 отчёты и реальные блокеры сохранены в `reviews/*-initial.md`.
R1 нашёл два последующих дефекта: неоднозначный знаменатель формулы на главной и пропуск кода/подписей ссылок в индексе поиска. Они исправлены в R2. Все роли перепроверили итоговую идентичность, изменённые изображения/исходники и неизменность остальных материалов. Ни один scoped verdict не отменяет обязательные пробелы корпуса/Semrush.
## Проверки R2
- `npm run ci:quality`: types, 21 существующий тест, static build — PASS. Это не проверка старого ingestion/БД в production. [Quality log](docs/rebuild-v2/evidence/quality-r2.log), [final SHA build](docs/rebuild-v2/evidence/build-r2-final-sha.log).
- Полный crawler: **35 HTML / 33 content pages, 131 HTTP, 1116 local references, 168 fully decoded raster assets, 0 technical errors**. [Python preview](docs/rebuild-v2/evidence/built-crawl.json), [nginx R2](docs/rebuild-v2/evidence/nginx-crawl-r2.json). Exit status намеренно nonzero из-за незавершённого восстановления; технический PASS не объявляется приёмкой сайта.
- [68 реальных снимков](docs/rebuild-v2/evidence/candidate-r2/browser-pages.json), 34 URL × 360/1440 px: 0 document overflow, 0 broken images, 0 runtime errors. 61/68 screenshot hashes совпадают с R1; все семь изменённых представлений действительно пересмотрены.
- [15 browser checks](docs/rebuild-v2/evidence/candidate-r2/browser-functional.json): full text/code/link-label/category search, empty/reset, keyboard, JPEG=1000 seconds, stream=23040 seconds, invalid inputs, gallery 6→30 и настоящий 404. Дизайнер дополнительно независимо проверил skip-link и горизонтальную прокрутку таблицы клавиатурой.
- Все [девять PDF/ZIP](docs/rebuild-v2/evidence/downloads-http.json) получены через настоящий nginx с HTTP200 и побайтовым совпадением export. Невалидные архивы не публикуются.
- Rooted preview regression: две meaningful temporary-fixture проверки path/symlink containment, без чтения пользовательских секретов. Python/nginx используют общий exact legacy-query matcher; неизвестные параметры/пагинация не получают ложный redirect.
- Локально собран site-specific nginx image; `nginx -t` и полный runtime crawl пройдены. Временный проверочный контейнер удалён после evidence; production/registry этим не менялись.
## Semrush: фактически частичная выгрузка
[Reconciliation](docs/rebuild-v2/semrush/reconciliation.json), [scope](docs/rebuild-v2/semrush/scope.md), [actual referrers](docs/rebuild-v2/semrush/referrer-verification.json).
Noxtools browser контролирует coordinator. Получены реальные транскрипции: Indexed Pages — 17 из 89 reported (83 DOM); Anchors — 3 из 52; Lost and Vital — 6 из 18. Самостоятельно запрошены пять конкретных referring URLs: три HTTP200, два недоступны. Метрики/first-last seen не выдаются за оригинальные тела или даты публикации. Поздние похожие на Blox/domain-expiry URL без actual body не считаются доказанным спамом; они сохранены unresolved-epoch. Получен exactURL transcript всех83наблюдённыхURL, сверенный в indexed83-reconciliation.json; metadata остаются только17, шесть заявленных URL не наблюдались. Полные metadata, оставшиеся contexts и обязательные recovery followups не завершены: **`videoreg-7oy.7` OPEN**.
## Публичный runtime: V1, не V2
[Read-only проверка](docs/rebuild-v2/evidence/production-refresh.json): apex и www резолвятся в `77.91.88.137`; `https://videoreg.ru/health/ready` отвечает 200 с проверенным TLS, но commit всё ещё `9b5b080e6019770438dc04af4eaf67d1f8035617` и пять V1 products. `www` даёт curl60 при проверке сертификата.
Текущий isolated service image: `git.pryanik.synology.me/huncode/videoreg.ru:9b5b080e6019@sha256:2fb63f2666d7c57643328aae1e76cdc5c3e498f704e007a7c57f2fecb033053e`. Последний известный V1 deploy workflow: https://git.pryanik.synology.me/huncode/videoreg.ru/actions/runs/1281 . Это не доказательство CI/deployment V2.
В V2 подготовлен только собственный apex/www Host rule в stack `videoreg`; глобальные Traefik/DNS и чужие stacks не менялись. V2 нельзя публиковать при открытых обязательных quality/recovery blocks. Публикация уже авторизована пользователем, нового разрешения не требуется; препятствие — невыполненные условия приёмки, а не запрос дополнительного согласования. `videoreg-7oy.10` остаётся OPEN до принятого V2 deploy с точной identity и trusted TLS обоих имён.
## Воспроизведение
```sh
COMMIT_SHA=4a0d828ef070d305bea57d6a5d16d612fc16a0e2 npm run ci:quality
.local-run/recovery-env/bin/python scripts/rebuild-v2/check-preview.py
.local-run/recovery-env/bin/python scripts/rebuild-v2/check-built.py --base http://127.0.0.1:50541
playwright-cli -s=videoreg-v2 --raw run-code --filename=scripts/rebuild-v2/browser-functional.js
```
Новый build необходимо снова идентифицировать и проверить; случайные build IDs могут менять export hash. Не используйте отклонённый V1 smoke с фиксированными guide URLs как V2 acceptance.
## Дополнение:83URL и первый remote CI
После пяти scoped reviews coordinator передал полный URL-only transcript83, без новых metadata. Inventory расширен238→258; исходные18appfiles и R2export не менялись. Новые20целей остаются unresolved, в том числе неизвестная эпоха17путей, fragmentS1, encodedcamera path и malformedcategory79%29. Изначальные role reports указывают99baseline gaps на момент просмотра; текущих unresolved уже119.
Ограниченный recovery-пакет: topic196 «Применение доказательств» (контекст реального forumf2 listing), product138 «СВК-005» (реальная category79) и отдельная hyphenZIPинструкция. Два CDXзапроса и максимумпятьreplays, без massretry: новыевалидные тела0, HTTP429не наблюдалось. [Фактические попытки](docs/rebuild-v2/semrush/priority83-recovery-batch.json).
Remote CI run1321 для44c5797 фактически наблюдён через публичныйGiteaUI: types/21tests/build прошли, fullcrawl не запускался из-заPyPIreadtimeouts при pinneddependencies. Это самостоятельная CIпроблема, не ожидаемый inventoryexit1. Offlineverificationfix и его повторный CI отслеживаются отдельно, без изменения приложения.
## Повторный remote CI1324: фактический полный gate
[Run1324](https://git.pryanik.synology.me/huncode/videoreg.ru/actions/runs/1324/jobs/1523) проверен через реальный публичныйGiteaUI: types/21tests/build,36vendorhashes, damagedPNG rejection, preview2tests и simulated4291test прошли. **Полный crawler действительно выполнен:35HTML/131HTTP/1116localrefs/168fullrasters/258inventory/119unresolved/0technicalerrors.** Общий job — Failure из-за намеренного gateexit1 на119unresolved, не из-за setup/network. [Свежая identity и UI evidence](docs/rebuild-v2/evidence/ci/run1324.json).
CI source/repository commit — `e8cef39175f293b36e3f7a89484b39c66552b7ef`, app manifest тот же `72adaeab317c83069c2ca92599940955372768776367da42b26ed0a7d521e822`, CI export — `fd1ca9499c8ad1291dbd5240877ae2b4a868a5ebbacf7456696d57cbca7716df`. Это отдельный CI build; его export не выдаётся за локальный просмотренный R2 export `adb919…`. Кандидатный локальный preview по-прежнему source4a0d828/exportadb919. Ни CI, ни локальные scoped reviews не означают V2 deployment или общую приёмку. `.11` закрыт как выполненное исправление CI-инструмента; `.1/.4/.7/.8/.10` остаются обязательными.
+8
View File
@@ -0,0 +1,8 @@
ARG BASE_IMAGE=nginx:1.28-alpine
FROM ${BASE_IMAGE}
RUN rm -rf /usr/share/nginx/html
COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf
COPY deploy/legacy-map.conf /etc/nginx/conf.d/00-videoreg-legacy.conf
COPY web-front/out/ /usr/share/nginx/html/
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 CMD wget -qO- http://127.0.0.1:8080/health/ready >/dev/null || exit 1
+18 -25
View File
@@ -1,37 +1,30 @@
## videoreg.ru
# Videoreg — техническая библиотека СВК
Small Next.js video registry using TypeScript, App Router, FSD-oriented folders, and a primitive file-backed JSON database.
V2 восстанавливает материалы videoreg.ru по фактическим архивным текстам, оригинальным документам и кадрам. Это **не принятый релиз**: обязательные пробелы корпуса и частичная выгрузка Semrush отслеживаются в Beads `videoreg-7oy`. V1 отклонён пользователем; его rollback tag — `videoreg-v1-rejected-20261026`.
### Local development
Постоянный локальный кандидат: http://127.0.0.1:50541. Точная идентичность и результаты — в [DEPLOYMENT_REPORT.md](DEPLOYMENT_REPORT.md) и [STATUS.json](docs/rebuild-v2/STATUS.json).
```bash
npm install
npm run dev
## Локальная проверка
```sh
npm ci --no-audit --no-fund
COMMIT_SHA=$(git rev-parse HEAD) npm run ci:quality
python3 deploy/serve-local.py
```
The app runs on [http://localhost:3000](http://localhost:3000).
Preview по умолчанию выбирает свободный случайный порт и записывает URL/PID в `.local-run/server.json`. Для воспроизведения crawl нужны зависимости `scripts/rebuild-v2/requirements.txt` в отдельном Python venv:
### Data storage
By default records are stored in `data/videoreg.json`. Override the path with:
```bash
VIDEOREG_DB_FILE=/absolute/path/videoreg.json npm run dev
```sh
.local-run/recovery-env/bin/python scripts/rebuild-v2/check-preview.py
.local-run/recovery-env/bin/python scripts/rebuild-v2/check-built.py --base http://127.0.0.1:50541
```
Reads are intentionally cached aggressively:
Полный crawler возвращает ненулевой код, пока архивное восстановление не завершено, даже при нулевых технических ошибках. В отчёте эти результаты разделены. Браузерные сценарии и все снимки точного кандидата находятся в `docs/rebuild-v2/evidence/candidate-r2/`.
- process memory cache for the primitive JSON database;
- Next.js cache tag for dashboard/API reads;
- long HTTP cache headers on the read API.
## Публикация
Writes call `revalidateTag` and update the process cache.
Публичный runtime — статический export в nginx; Node.js и старый ingestion в нём не запускаются. Gitea-ветка `codex/videoreg-rebuild-v2` проверяет кандидат без deployment. `master` использует существующий изолированный stack `videoreg` на `zz`. Публикация V2 выполняется после обязательной приёмки, которая сейчас заблокирована. Текущий production всё ещё V1.
### Deployment
Не используйте старый `deploy/smoke-static.py` как V2 gate: он относится к отклонённому V1. Актуальная полная проверка — `scripts/rebuild-v2/check-built.py`. Исторические исходники и их попытки восстановления сохранены вне публикуемого дерева; архивный HTML/JavaScript не исполняется и не вставляется в страницы.
Gitea Actions runs:
- `.gitea/workflows/pr.yml`: quality gate for pull requests into `master`;
- `.gitea/workflows/master.yml`: quality gate, image build, push, and direct Swarm deploy from `master`.
The Swarm stack defaults to one replica on a manager node because the primitive database is a mounted JSON file. Use a real database before raising replicas above one or spreading the service across nodes.
CI-проверка работает без PyPI: `PYTHONPATH=scripts/rebuild-v2/vendor VIDEOREG_RASTER_DECODER=sharp python3 -S scripts/rebuild-v2/check-built.py --base http://127.0.0.1:50541`. Vendored pure Python sources имеют исходные лицензии и SHA manifest; raster decoder использует существующий pinned sharp из npm lockfile и действительно декодирует пиксели. Проверки нельзя отключить.
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -euo pipefail
: "${IMAGE:?Provide immutable registry image tag or digest}"
DEPLOY_HOST="${DEPLOY_HOST:-zz}"
REMOTE_RELEASE="/tmp/videoreg-static-deploy"
ssh -o BatchMode=yes "$DEPLOY_HOST" "mkdir -p '$REMOTE_RELEASE'"
scp -o BatchMode=yes deploy/stack.yml "$DEPLOY_HOST:$REMOTE_RELEASE/stack.yml"
# IMAGE is validated to avoid injecting shell commands in the remote environment.
[[ "$IMAGE" =~ ^[a-zA-Z0-9._/:@-]+$ ]] || exit 2
ssh -o BatchMode=yes "$DEPLOY_HOST" "cd '$REMOTE_RELEASE' && IMAGE='$IMAGE' DOMAIN=videoreg.ru STACK_NAME=videoreg TRAEFIK_NETWORK=traefik-public docker stack deploy --with-registry-auth -c stack.yml videoreg && docker stack services videoreg"
+15 -36
View File
@@ -1,37 +1,16 @@
# syntax=docker/dockerfile:1
FROM node:22-alpine AS deps
# Legacy dynamic application image; public production uses root Dockerfile (static).
FROM node:22-alpine AS build
WORKDIR /app
COPY .npmrc package.json package-lock.json ./
RUN npm install -g npm@11.6.4 \
&& npm ci --prefer-offline --no-audit --no-fund
FROM deps AS build
WORKDIR /app
ENV NEXT_TELEMETRY_DISABLED=1
COPY next-env.d.ts next.config.ts tsconfig.json vitest.config.ts ./
COPY src src
COPY public public
RUN npm run ci:quality
FROM node:22-alpine AS runtime
ENV NODE_ENV=production \
APP_ENV=production \
NEXT_TELEMETRY_DISABLED=1 \
VIDEOREG_DB_FILE=/data/videoreg.json \
PORT=3000
WORKDIR /app
RUN addgroup -S nodeapp && adduser -S nodeapp -G nodeapp && mkdir -p /data && chown nodeapp:nodeapp /data
COPY --from=build /app/.next/standalone ./
COPY --from=build /app/.next/static ./.next/static
COPY --from=build /app/public ./public
USER nodeapp
EXPOSE 3000
HEALTHCHECK --interval=10s --timeout=3s --start-period=20s --retries=3 \
CMD wget -qO- http://127.0.0.1:3000/health/ready >/dev/null || exit 1
CMD ["node", "server.js"]
COPY package.json package-lock.json .npmrc ./
RUN npm ci --no-audit --no-fund
COPY tsconfig.json vitest.config.ts ./
COPY web-front web-front
COPY ingestion ingestion
RUN npm run build
FROM nginx:1.28-alpine
RUN rm -rf /usr/share/nginx/html
COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf
COPY deploy/legacy-map.conf /etc/nginx/conf.d/00-videoreg-legacy.conf
COPY --from=build /app/web-front/out/ /usr/share/nginx/html/
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=3s CMD wget -qO- http://127.0.0.1:8080/health/ready >/dev/null || exit 1
+23
View File
@@ -0,0 +1,23 @@
# Generated by scripts/rebuild-v2/legacy-routes.py; exact query meaning only.
map "$uri|$args" $videoreg_legacy {
default "";
"~^/index\\.shtml\\|$" "/system";
"~^/moves\\.htm\\|$" "/demo.shtml#section-3";
"~^/shop/index\\.php\\|(?=(?:[^&]*&)*categoryID=78(?:&|$))(?:categoryID=78)(?:&(?:categoryID=78))*$" "/catalog#section-1";
"~^/shop/index\\.php\\|(?=(?:[^&]*&)*categoryID=79(?:&|$))(?:categoryID=79)(?:&(?:categoryID=79))*$" "/catalog#section-0";
"~^/shop/index\\.php\\|(?=(?:[^&]*&)*categoryID=80(?:&|$))(?:categoryID=80)(?:&(?:categoryID=80))*$" "/catalog#section-3";
"~^/shop/index\\.php\\|(?=(?:[^&]*&)*productID=132(?:&|$))(?:productID=132)(?:&(?:productID=132))*$" "/equipment/svk002-lqcd";
"~^/shop/index\\.php\\|(?=(?:[^&]*&)*productID=133(?:&|$))(?:productID=133)(?:&(?:productID=133))*$" "/equipment/svk002-gps";
"~^/shop/index\\.php\\|(?=(?:[^&]*&)*productID=137(?:&|$))(?:productID=137)(?:&(?:productID=137))*$" "/equipment/svk004";
"~^/forum/index\\.php\\|(?:(?:sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*)?$" "/community";
"~^/forum/index\\.php\\|(?=(?:[^&]*&)*c=2(?:&|$))(?:c=2|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:c=2|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$" "/community";
"~^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*t=184(?:&|$))(?:t=184|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:t=184|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$" "/community/flash-start";
"~^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*t=188(?:&|$))(?:t=188|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:t=188|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$" "/community/usb-extension";
"~^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*t=183(?:&|$))(?=(?:[^&]*&)*view=next(?:&|$))(?:t=183|view=next|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:t=183|view=next|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$" "/community/flash-start";
"~^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*t=8(?:&|$))(?=(?:[^&]*&)*view=next(?:&|$))(?:t=8|view=next|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:t=8|view=next|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$" "/community/usb-extension";
"~^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*p=220(?:&|$))(?:p=220|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:p=220|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$" "/community/flash-start#section-0";
"~^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*p=221(?:&|$))(?:p=221|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:p=221|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$" "/community/flash-start#section-1";
"~^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*p=223(?:&|$))(?:p=223|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:p=223|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$" "/community/flash-start#section-2";
"~^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*p=226(?:&|$))(?:p=226|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:p=226|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$" "/community/usb-extension#section-0";
"~^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*p=227(?:&|$))(?:p=227|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:p=227|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$" "/community/usb-extension#section-1";
}
+97
View File
@@ -0,0 +1,97 @@
[
{
"original": "/index.shtml",
"destination": "/system",
"pattern": "^/index\\.shtml\\|$"
},
{
"original": "/moves.htm",
"destination": "/demo.shtml#section-3",
"pattern": "^/moves\\.htm\\|$"
},
{
"original": "/shop/index.php?categoryID=78",
"destination": "/catalog#section-1",
"pattern": "^/shop/index\\.php\\|(?=(?:[^&]*&)*categoryID=78(?:&|$))(?:categoryID=78)(?:&(?:categoryID=78))*$"
},
{
"original": "/shop/index.php?categoryID=79",
"destination": "/catalog#section-0",
"pattern": "^/shop/index\\.php\\|(?=(?:[^&]*&)*categoryID=79(?:&|$))(?:categoryID=79)(?:&(?:categoryID=79))*$"
},
{
"original": "/shop/index.php?categoryID=80",
"destination": "/catalog#section-3",
"pattern": "^/shop/index\\.php\\|(?=(?:[^&]*&)*categoryID=80(?:&|$))(?:categoryID=80)(?:&(?:categoryID=80))*$"
},
{
"original": "/shop/index.php?productID=132",
"destination": "/equipment/svk002-lqcd",
"pattern": "^/shop/index\\.php\\|(?=(?:[^&]*&)*productID=132(?:&|$))(?:productID=132)(?:&(?:productID=132))*$"
},
{
"original": "/shop/index.php?productID=133",
"destination": "/equipment/svk002-gps",
"pattern": "^/shop/index\\.php\\|(?=(?:[^&]*&)*productID=133(?:&|$))(?:productID=133)(?:&(?:productID=133))*$"
},
{
"original": "/shop/index.php?productID=137",
"destination": "/equipment/svk004",
"pattern": "^/shop/index\\.php\\|(?=(?:[^&]*&)*productID=137(?:&|$))(?:productID=137)(?:&(?:productID=137))*$"
},
{
"original": "/forum/index.php",
"destination": "/community",
"pattern": "^/forum/index\\.php\\|(?:(?:sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*)?$"
},
{
"original": "/forum/index.php?c=2",
"destination": "/community",
"pattern": "^/forum/index\\.php\\|(?=(?:[^&]*&)*c=2(?:&|$))(?:c=2|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:c=2|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$"
},
{
"original": "/forum/viewtopic.php?t=184",
"destination": "/community/flash-start",
"pattern": "^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*t=184(?:&|$))(?:t=184|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:t=184|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$"
},
{
"original": "/forum/viewtopic.php?t=188",
"destination": "/community/usb-extension",
"pattern": "^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*t=188(?:&|$))(?:t=188|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:t=188|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$"
},
{
"original": "/forum/viewtopic.php?t=183&view=next",
"destination": "/community/flash-start",
"pattern": "^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*t=183(?:&|$))(?=(?:[^&]*&)*view=next(?:&|$))(?:t=183|view=next|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:t=183|view=next|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$"
},
{
"original": "/forum/viewtopic.php?t=8&view=next",
"destination": "/community/usb-extension",
"pattern": "^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*t=8(?:&|$))(?=(?:[^&]*&)*view=next(?:&|$))(?:t=8|view=next|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:t=8|view=next|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$"
},
{
"original": "/forum/viewtopic.php?p=220",
"destination": "/community/flash-start#section-0",
"pattern": "^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*p=220(?:&|$))(?:p=220|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:p=220|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$"
},
{
"original": "/forum/viewtopic.php?p=221",
"destination": "/community/flash-start#section-1",
"pattern": "^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*p=221(?:&|$))(?:p=221|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:p=221|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$"
},
{
"original": "/forum/viewtopic.php?p=223",
"destination": "/community/flash-start#section-2",
"pattern": "^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*p=223(?:&|$))(?:p=223|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:p=223|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$"
},
{
"original": "/forum/viewtopic.php?p=226",
"destination": "/community/usb-extension#section-0",
"pattern": "^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*p=226(?:&|$))(?:p=226|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:p=226|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$"
},
{
"original": "/forum/viewtopic.php?p=227",
"destination": "/community/usb-extension#section-1",
"pattern": "^/forum/viewtopic\\.php\\|(?=(?:[^&]*&)*p=227(?:&|$))(?:p=227|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=)(?:&(?:p=227|sid=[^&]*|start=0|postdays=0|postorder=asc|highlight=))*$"
}
]
+21
View File
@@ -0,0 +1,21 @@
{
"/index.shtml": "/system",
"/moves.htm": "/demo.shtml#section-3",
"/shop/index.php?categoryID=78": "/catalog#section-1",
"/shop/index.php?categoryID=79": "/catalog#section-0",
"/shop/index.php?categoryID=80": "/catalog#section-3",
"/shop/index.php?productID=132": "/equipment/svk002-lqcd",
"/shop/index.php?productID=133": "/equipment/svk002-gps",
"/shop/index.php?productID=137": "/equipment/svk004",
"/forum/index.php": "/community",
"/forum/index.php?c=2": "/community",
"/forum/viewtopic.php?t=184": "/community/flash-start",
"/forum/viewtopic.php?t=188": "/community/usb-extension",
"/forum/viewtopic.php?t=183&view=next": "/community/flash-start",
"/forum/viewtopic.php?t=8&view=next": "/community/usb-extension",
"/forum/viewtopic.php?p=220": "/community/flash-start#section-0",
"/forum/viewtopic.php?p=221": "/community/flash-start#section-1",
"/forum/viewtopic.php?p=223": "/community/flash-start#section-2",
"/forum/viewtopic.php?p=226": "/community/usb-extension#section-0",
"/forum/viewtopic.php?p=227": "/community/usb-extension#section-1"
}
+19
View File
@@ -0,0 +1,19 @@
server {
listen 8080;
server_name _;
root /usr/share/nginx/html;
charset utf-8;
server_tokens off;
absolute_redirect off;
if ($videoreg_legacy != "") { return 308 $videoreg_legacy; }
add_header X-Content-Type-Options nosniff always;
add_header Referrer-Policy strict-origin-when-cross-origin always;
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; connect-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'" always;
location /api/ { return 404; }
location ~ /showcase/?$ { return 404; }
location /_next/static/ { expires 1y; add_header Cache-Control "public, immutable"; }
location /health/ { default_type application/json; try_files $uri =503; }
location / { try_files $uri $uri.html $uri/ =404; }
error_page 404 /404.html;
location = /404.html { internal; }
}
+36
View File
@@ -0,0 +1,36 @@
# Portainer / Swarm deployment
`web`, PostgreSQL, `ingestion-worker`, and `ingestion-admin` are one stack. Do
not deploy ingestion as a separate endpoint: the approved catalog is exchanged
through the `catalog_exports` volume mounted read-only by web and read-write by
the worker.
In Portainer, create a Swarm stack from `deploy/swarm/docker-stack.yml`.
Configure these values as stack environment variables:
- `WEB_IMAGE` - digest-pinned web image.
- `INGESTION_IMAGE` - digest-pinned ingestion image.
- `POSTGRES_PASSWORD` - database secret.
- `INGESTION_ADMIN_PASSWORD` - Basic Auth password for `/admin`.
- `PUBLIC_HOST=videoreg.ru` and `TRAEFIK_NETWORK`.
- Optional source/crawl settings: `MVIDEO_DASHCAM_CATEGORY_URL`, daily budgets,
and delay bounds.
Keep every service on the same manager/placement constraint. The database,
snapshots, read model, and shared catalog volume are local Docker volumes and
must be backed up from that node.
Gitea Actions uses `.gitea/workflows/master.yml`: it tests the repository,
builds both images, pushes immutable digests, and deploys this one stack. The
workflow connects to the Swarm manager, pulls those digests, and runs `docker
stack deploy --with-registry-auth`; Portainer then shows and manages the same
updated stack. Portainer does not need registry credentials or a separate
webhook-based image build.
Verification after deploy:
```bash
curl -fsS https://videoreg.ru/health/ready
curl -u "$INGESTION_ADMIN_USERNAME:$INGESTION_ADMIN_PASSWORD" \
https://videoreg.ru/admin/api/queue
```
+112
View File
@@ -0,0 +1,112 @@
#!/usr/bin/env python3
"""Preserve a reviewed static payload across CI; never assert full restoration."""
from pathlib import Path,PurePosixPath
import argparse,gzip,hashlib,json,os,re,shutil,subprocess,sys,tarfile,tempfile
ROOT=Path(__file__).resolve().parents[1]
ROLES={'designer','creative_director','content_manager','illustrator','programmer_expert'}
DEPLOY_FILES=['Dockerfile','deploy/nginx.conf','deploy/legacy-map.conf','deploy/legacy-matchers.json','deploy/legacy-routes.json','deploy/serve-local.py','deploy/stack.yml','deploy/release-artifact.py','deploy/verify-published-corpus.py','.gitea/workflows/master.yml']
def sha(b):return hashlib.sha256(b).hexdigest()
def hash_manifest(rows):return sha(json.dumps(rows,ensure_ascii=False,sort_keys=True,separators=(',',':')).encode())
def require(ok,message):
if not ok:raise ValueError(message)
def relative(name):
require(isinstance(name,str) and '\\' not in name,'Invalid path')
path=PurePosixPath(name)
require(not path.is_absolute() and '..' not in path.parts and str(path) not in ('','.'),'Unsafe path: '+name)
return path.as_posix()
def rooted(name):
path=ROOT/relative(name);require(not path.is_symlink(),'Symlink not allowed')
path.resolve().relative_to(ROOT.resolve());return path
def files(root):
rows=[]
for file in sorted(root.rglob('*')):
require(not file.is_symlink(),'Export symlink is forbidden')
if file.is_file():rows.append(dict(path=file.relative_to(root).as_posix(),sha256=sha(file.read_bytes()),bytes=file.stat().st_size))
require(rows and len(rows)<=10000,'Invalid export size/count');return rows
def checked_manifest(path,approvals):
m=json.loads(rooted(path).read_text());require(m.get('scope')=='reviewed-corpus-only' and m.get('historicalRestorationComplete') is False,'Incorrect release scope')
for field in ['sourceCommit','appSourceManifestSha256','exportManifestSha256','archiveSha256']:
require(bool(re.fullmatch('[0-9a-f]{'+('40' if field=='sourceCommit' else '64')+'}',m.get(field,''))),'Invalid '+field)
require(hash_manifest(m['files'])==m['exportManifestSha256'],'Export manifest mismatch')
app_rows=m.get('appSourceFiles',[])
require(isinstance(app_rows,list) and app_rows and len({r['path'] for r in app_rows})==len(app_rows),'Nonempty unique app source set required')
deploy_rows=m.get('deploymentFiles',[])
require(isinstance(deploy_rows,list) and len(deploy_rows)==len(DEPLOY_FILES) and {r['path'] for r in deploy_rows}==set(DEPLOY_FILES),'Exact unique deployment source set required')
require(bool(re.fullmatch('[0-9a-f]{40}',m.get('deploymentSourceCommit',m['sourceCommit']))),'Invalid deployment revision')
require(hash_manifest(app_rows)==m['appSourceManifestSha256'],'App manifest mismatch')
for field in ['appSourceFiles','deploymentFiles']:
for row in m[field]:
f=rooted(row['path']);require(f.is_file() and sha(f.read_bytes())==row['sha256'],'Working source changed: '+row['path'])
revision=m['sourceCommit'] if field=='appSourceFiles' else m.get('deploymentSourceCommit',m['sourceCommit'])
r=subprocess.run(['git','show',revision+':'+row['path']],cwd=ROOT,capture_output=True)
require(r.returncode==0 and sha(r.stdout)==row['sha256'],'Built source unavailable/different: '+row['path'])
if approvals:
require(m.get('publicationDecision')=='ALLOW_LIMITED_PUBLICATION','Limited publication not approved')
found=set();agents=set()
for ref in m.get('roleApprovals',[]):
f=rooted(ref['path']);require(sha(f.read_bytes())==ref['sha256'],'Changed role approval');a=json.loads(f.read_text());role=a.get('role')
require(role in ROLES and role not in found,'Missing/duplicate/unknown role');found.add(role)
agent=a.get('agent');require(isinstance(agent,str) and bool(agent.strip()),'Actual nonempty agent required');agents.add(agent)
role_sources=[a[k] for k in ['sourceManifestSha256','appSourceManifestSha256'] if k in a]
require(role_sources and all(v==m['appSourceManifestSha256'] for v in role_sources),'Role app source manifest mismatch')
require(a.get('decision')=='ALLOW_LIMITED_PUBLICATION' and a.get('fullHistoricalRestorationAccepted') is False,'Role veto or wrong scope: '+str(role))
require(a.get('candidateSourceCommit')==m['sourceCommit'] and a.get('exportManifestSha256')==m['exportManifestSha256'],'Role reviewed another artifact')
report=rooted(a['reportPath']);require(sha(report.read_bytes())==a['reportSha256'],'Changed role report')
require(found==ROLES and len(agents)==5 and None not in agents,'Five distinct actual role decisions required')
return m
def tar_rows(stream,expected,extract=None):
result=[];seen=set();total=0
with tarfile.open(fileobj=stream,mode='r|*') as archive:
for member in archive:
name=member.name
while name.startswith('./'):name=name[2:]
if member.isdir():
if name not in ('','.'):relative(name)
continue
require(member.isfile(),'Only regular export files allowed')
name=relative(name);require(name not in seen,'Duplicate file');seen.add(name)
require(name in expected,'Unexpected file: '+name)
total+=member.size;require(len(seen)<=10000 and 0<=member.size<=25*1024*1024 and total<=100*1024*1024,'Oversized export')
data=archive.extractfile(member).read();row=dict(path=name,sha256=sha(data),bytes=len(data));require(row==expected[name],'File mismatch: '+name);result.append(row)
if extract:
dest=extract/name;dest.parent.mkdir(parents=True,exist_ok=True);dest.write_bytes(data)
require(seen==set(expected),'Missing export files');return sorted(result,key=lambda r:PurePosixPath(r['path']))
def pack(args):
report=json.loads(rooted(args.report).read_text());require(report['summary']['errors']==0 and report['summary']['technicalStatus']=='passed','Technical verification required')
out=ROOT/'web-front/out';rows=files(out);require(hash_manifest(rows)==report['exportManifestSha256'],'Export differs from checked candidate')
revision=report['sourceCommit'];archive=rooted(args.archive);archive.parent.mkdir(parents=True,exist_ok=True)
with archive.open('wb') as raw,gzip.GzipFile(filename='',mode='wb',fileobj=raw,mtime=0) as zipped,tarfile.open(fileobj=zipped,mode='w|',format=tarfile.PAX_FORMAT) as tar:
for row in rows:
file=out/row['path'];info=tarfile.TarInfo(row['path']);info.size=row['bytes'];info.mode=0o644;info.mtime=0
with file.open('rb') as stream:tar.addfile(info,stream)
m=dict(schemaVersion=1,scope='reviewed-corpus-only',historicalRestorationComplete=False,publicationDecision='PENDING_FIVE_SCOPED_DECISIONS',sourceCommit=revision,appSourceManifestSha256=report['sourceManifestSha256'],appSourceFiles=report['sourceFiles'],deploymentSourceCommit=subprocess.check_output(['git','rev-parse','HEAD'],cwd=ROOT,text=True).strip(),deploymentFiles=[dict(path=f,sha256=sha(rooted(f).read_bytes())) for f in DEPLOY_FILES],exportManifestSha256=report['exportManifestSha256'],files=rows,archivePath=archive.relative_to(ROOT).as_posix(),archiveSha256=sha(archive.read_bytes()),roleApprovals=[],inventoryAtPack=report['summary']['inventoryItems'],unresolvedAtPack=report['summary']['unresolvedInventoryItems'])
rooted(args.manifest).parent.mkdir(parents=True,exist_ok=True);rooted(args.manifest).write_text(json.dumps(m,ensure_ascii=False,indent=2)+'\n');print(json.dumps(dict(source=revision,export=m['exportManifestSha256'],archiveBytes=archive.stat().st_size,files=len(rows),publicationDecision=m['publicationDecision'])))
def verify(args):
m=checked_manifest(args.manifest,not args.prepare_only);archive=rooted(m['archivePath']);require(sha(archive.read_bytes())==m['archiveSha256'],'Archive SHA mismatch');expected={r['path']:r for r in m['files']};require(len(expected)==len(m['files']),'Duplicate manifest path')
for path in expected:relative(path)
if args.restore:
out=ROOT/'web-front/out';out.parent.mkdir(exist_ok=True)
with tempfile.TemporaryDirectory(prefix='.reviewed-export-',dir=out.parent) as d:
dest=Path(d)
with archive.open('rb') as stream:rows=tar_rows(stream,expected,dest)
require(hash_manifest(rows)==m['exportManifestSha256'],'Payload hash mismatch');require(not out.is_symlink(),'Refuse symlink output')
if out.exists():shutil.rmtree(out)
shutil.copytree(dest,out)
else:
with archive.open('rb') as stream:rows=tar_rows(stream,expected)
require(hash_manifest(rows)==m['exportManifestSha256'],'Payload differs')
if args.tree:require(files(rooted(args.tree))==m['files'],'Public tree contains missing/extra/changed files')
print(json.dumps(dict(status='verified',scope=m['scope'],sourceCommit=m['sourceCommit'],exportManifestSha256=m['exportManifestSha256'],fullHistoricalRestorationAccepted=False,roleApprovals=len(m['roleApprovals']))))
def image_tar(args):
m=checked_manifest(args.manifest,not args.prepare_only);rows=tar_rows(sys.stdin.buffer,{r['path']:r for r in m['files']});require(hash_manifest(rows)==m['exportManifestSha256'],'Image public tree mismatch');print(json.dumps(dict(status='image-public-tree-identical',exportManifestSha256=m['exportManifestSha256'],files=len(rows))))
def main():
p=argparse.ArgumentParser();sub=p.add_subparsers(dest='action',required=True)
s=sub.add_parser('pack');s.add_argument('--report',required=True);s.add_argument('--manifest',required=True);s.add_argument('--archive',required=True)
for action in ['verify','image-tar']:
s=sub.add_parser(action);s.add_argument('--manifest',required=True);s.add_argument('--prepare-only',action='store_true',help='Candidate preparation only, forbidden for publication');
if action=='verify':s.add_argument('--restore',action='store_true');s.add_argument('--tree')
args=p.parse_args()
try:{'pack':pack,'verify':verify,'image-tar':image_tar}[args.action](args)
except (ValueError,OSError,KeyError,tarfile.TarError) as e:print(str(e),file=sys.stderr);return 1
return 0
if __name__=='__main__':sys.exit(main())
+20 -2
View File
@@ -19,6 +19,7 @@ require_var STACK_NAME
require_var RELEASE_ID
require_var COMMIT_SHA
require_var WEB_IMAGE
require_var INGESTION_IMAGE
require_var PUBLIC_HOST
require_var TRAEFIK_NETWORK
@@ -37,7 +38,7 @@ cleanup_release_images() {
fi
echo "Cleaning up unused release image after failed deploy." >&2
docker image rm "$WEB_IMAGE" >/dev/null 2>&1 || true
docker image rm "$WEB_IMAGE" "$INGESTION_IMAGE" >/dev/null 2>&1 || true
if [ -n "${COMMIT_SHA:-}" ]; then
docker image prune -af --filter "label=org.opencontainers.image.revision=${COMMIT_SHA}" >&2 || true
@@ -160,15 +161,32 @@ prune_docker_before_pull
check_docker_disk_space
docker image pull "$WEB_IMAGE"
docker image pull "$INGESTION_IMAGE"
export ENVIRONMENT STACK_NAME RELEASE_ID COMMIT_SHA WEB_IMAGE PUBLIC_HOST TRAEFIK_NETWORK
export ENVIRONMENT STACK_NAME RELEASE_ID COMMIT_SHA WEB_IMAGE INGESTION_IMAGE PUBLIC_HOST TRAEFIK_NETWORK
export REGION="${REGION:-}" TEAM_ID="${TEAM_ID:-}" WEB_REPLICAS="${WEB_REPLICAS:-1}"
export WEB_PLACEMENT_CONSTRAINT="${WEB_PLACEMENT_CONSTRAINT:-node.role == manager}"
export TRAEFIK_ENTRYPOINTS="${TRAEFIK_ENTRYPOINTS:-websecure}" TRAEFIK_TLS="${TRAEFIK_TLS:-true}"
export TRAEFIK_CERTRESOLVER="${TRAEFIK_CERTRESOLVER:-le}"
export TRAEFIK_ADMIN_PRIORITY="${TRAEFIK_ADMIN_PRIORITY:-100}"
export VIDEOREG_DB_MEMORY_TTL_MS="${VIDEOREG_DB_MEMORY_TTL_MS:-3600000}"
export VIDEOREG_NEXT_CACHE_REVALIDATE_SECONDS="${VIDEOREG_NEXT_CACHE_REVALIDATE_SECONDS:-3600}"
export POSTGRES_DB="${POSTGRES_DB:-videoreg_ingestion}" POSTGRES_USER="${POSTGRES_USER:-videoreg}"
export INGESTION_ADMIN_USERNAME="${INGESTION_ADMIN_USERNAME:-admin}"
export YANDEX_MARKET_DASHCAM_CATEGORY_URL="${YANDEX_MARKET_DASHCAM_CATEGORY_URL:-https://market.yandex.ru/catalog--avtomobilnye-videoregistratory/82798275/list?hid=82798269}"
export MVIDEO_DASHCAM_CATEGORY_URL="${MVIDEO_DASHCAM_CATEGORY_URL:-}"
export INGESTION_CATEGORY_DAILY_BUDGET="${INGESTION_CATEGORY_DAILY_BUDGET:-25}"
export INGESTION_PRODUCT_DAILY_BUDGET="${INGESTION_PRODUCT_DAILY_BUDGET:-100}"
export INGESTION_SITEMAP_DAILY_BUDGET="${INGESTION_SITEMAP_DAILY_BUDGET:-25}"
export INGESTION_FETCH_DELAY_MIN_MS="${INGESTION_FETCH_DELAY_MIN_MS:-5000}"
export INGESTION_FETCH_DELAY_MAX_MS="${INGESTION_FETCH_DELAY_MAX_MS:-15000}"
export INGESTION_WORKER_BATCH_SIZE="${INGESTION_WORKER_BATCH_SIZE:-1}"
export INGESTION_WORKER_IDLE_MS="${INGESTION_WORKER_IDLE_MS:-30000}"
export INGESTION_WORKER_REPLICAS="${INGESTION_WORKER_REPLICAS:-1}"
docker stack deploy --with-registry-auth --prune -c "$REMOTE_DIR/docker-stack.yml" "$STACK_NAME"
wait_service "${STACK_NAME}_web"
wait_service "${STACK_NAME}_ingestion-worker"
wait_service "${STACK_NAME}_ingestion-admin"
log deploy_converged
+8 -2
View File
@@ -20,6 +20,7 @@ require_var STACK_NAME
require_var RELEASE_ID
require_var COMMIT_SHA
require_var WEB_IMAGE
require_var INGESTION_IMAGE
require_var PUBLIC_HOST
require_var TRAEFIK_NETWORK
@@ -32,10 +33,15 @@ scp -P "$SSH_PORT" deploy/swarm/docker-stack.yml "$SSH_TARGET:$REMOTE_DEPLOY_DIR
scp -P "$SSH_PORT" deploy/remote/deploy-stack.sh "$SSH_TARGET:$REMOTE_DEPLOY_DIR/deploy-stack.sh"
remote_vars=(
ENVIRONMENT STACK_NAME RELEASE_ID COMMIT_SHA WEB_IMAGE PUBLIC_HOST TRAEFIK_NETWORK
REGION TEAM_ID WEB_REPLICAS WEB_PLACEMENT_CONSTRAINT TRAEFIK_ENTRYPOINTS TRAEFIK_TLS REGISTRY REGISTRY_USERNAME REGISTRY_PASSWORD
ENVIRONMENT STACK_NAME RELEASE_ID COMMIT_SHA WEB_IMAGE INGESTION_IMAGE PUBLIC_HOST TRAEFIK_NETWORK
REGION TEAM_ID WEB_REPLICAS WEB_PLACEMENT_CONSTRAINT TRAEFIK_ENTRYPOINTS TRAEFIK_TLS TRAEFIK_CERTRESOLVER REGISTRY REGISTRY_USERNAME REGISTRY_PASSWORD
RELEASE_LOCK_FILE REMOTE_DEPLOY_DIR DEPLOY_MIN_FREE_MB DEPLOY_PRUNE_BEFORE_PULL DEPLOY_PRUNE_UNTIL
DEPLOY_CLEANUP_FAILED_IMAGES VIDEOREG_DB_MEMORY_TTL_MS VIDEOREG_NEXT_CACHE_REVALIDATE_SECONDS
POSTGRES_DB POSTGRES_USER POSTGRES_PASSWORD INGESTION_ADMIN_USERNAME INGESTION_ADMIN_PASSWORD
YANDEX_MARKET_DASHCAM_CATEGORY_URL MVIDEO_DASHCAM_CATEGORY_URL INGESTION_CATEGORY_DAILY_BUDGET
INGESTION_PRODUCT_DAILY_BUDGET INGESTION_SITEMAP_DAILY_BUDGET INGESTION_FETCH_DELAY_MIN_MS
INGESTION_FETCH_DELAY_MAX_MS INGESTION_WORKER_BATCH_SIZE INGESTION_WORKER_IDLE_MS INGESTION_WORKER_REPLICAS
TRAEFIK_ADMIN_PRIORITY
)
remote_command=""
+7 -2
View File
@@ -4,6 +4,9 @@ const required = [
'RELEASE_ID',
'COMMIT_SHA',
'WEB_IMAGE',
'INGESTION_IMAGE',
'POSTGRES_PASSWORD',
'INGESTION_ADMIN_PASSWORD',
'PUBLIC_HOST',
'TRAEFIK_NETWORK',
'SWARM_MANAGER_HOST',
@@ -16,10 +19,12 @@ if (missing.length > 0) {
process.exit(1);
}
if (!/@sha256:[a-f0-9]{64}$/i.test(process.env.WEB_IMAGE ?? '')) {
console.error(`WEB_IMAGE must be pinned by immutable digest, got: ${process.env.WEB_IMAGE}`);
for (const imageName of ['WEB_IMAGE', 'INGESTION_IMAGE']) {
if (!/@sha256:[a-f0-9]{64}$/i.test(process.env[imageName] ?? '')) {
console.error(`${imageName} must be pinned by immutable digest, got: ${process.env[imageName]}`);
process.exit(1);
}
}
console.log(
JSON.stringify({
+8 -2
View File
@@ -18,13 +18,19 @@ const manifest = {
commitSha: requireEnv('COMMIT_SHA'),
releaseId: requireEnv('RELEASE_ID'),
webImageDigest: requireEnv('WEB_IMAGE_DIGEST'),
ingestionImageDigest: requireEnv('INGESTION_IMAGE_DIGEST'),
deployTimestamp: new Date().toISOString(),
smokeResult: smoke,
workflowRunId: requireEnv('WORKFLOW_RUN_ID'),
};
if (!/@sha256:[a-f0-9]{64}$/i.test(manifest.webImageDigest)) {
throw new Error('webImageDigest must be digest-pinned');
for (const [name, image] of Object.entries({
webImageDigest: manifest.webImageDigest,
ingestionImageDigest: manifest.ingestionImageDigest,
})) {
if (!/@sha256:[a-f0-9]{64}$/i.test(image)) {
throw new Error(`${name} must be digest-pinned`);
}
}
console.log(JSON.stringify(manifest, null, 2));
+110
View File
@@ -0,0 +1,110 @@
#!/usr/bin/env python3
"""Serve the reviewed static candidate, confined to its exported public tree."""
from http.server import ThreadingHTTPServer, SimpleHTTPRequestHandler
from pathlib import Path
from urllib.parse import urlsplit, unquote
import json
import os
import re
ROOT = Path(__file__).resolve().parents[1]
OUT = ROOT / 'web-front/out'
def resolve_public(root: Path, request_path: str):
path = unquote(urlsplit(request_path).path)
if '\\' in path or '..' in Path(path).parts or '\x00' in path:
return None
target = root / path.lstrip('/')
if not path.startswith('/health/') and Path(str(target) + '.html').is_file():
target = Path(str(target) + '.html')
try:
target.resolve().relative_to(root.resolve())
except (ValueError, OSError):
return None
return target
def legacy_destination(request_path: str):
"""Redirect only an exact evidenced query or proved presentation defaults."""
rules = json.loads((ROOT / 'deploy/legacy-matchers.json').read_text())
parsed = urlsplit(request_path)
key = unquote(parsed.path) + '|' + parsed.query
for rule in rules:
if re.fullmatch(rule['pattern'], key):
return rule['destination']
return None
class Handler(SimpleHTTPRequestHandler):
def __init__(self, *args, **kwargs):
super().__init__(*args, directory=str(OUT), **kwargs)
def list_directory(self, path):
self.send_error(404)
return None
def send_error(self, code, message=None, explain=None):
page = resolve_public(OUT, '/404.html')
if code == 404 and page and page.is_file():
body = page.read_bytes()
self.send_response(404)
self.send_header('Content-Type', 'text/html; charset=utf-8')
self.send_header('Content-Length', str(len(body)))
self.end_headers()
if self.command != 'HEAD':
self.wfile.write(body)
return
super().send_error(code, message, explain)
def copyfile(self, source, outputfile):
if self.command != "HEAD":
super().copyfile(source, outputfile)
def do_HEAD(self):
self.do_GET()
def do_POST(self):
self.send_error(404)
def do_GET(self):
target = resolve_public(OUT, self.path)
if target is None:
self.send_error(404)
return
destination = legacy_destination(self.path)
if destination:
self.send_response(308)
self.send_header('Location', destination)
self.end_headers()
return
path = unquote(urlsplit(self.path).path)
if path.startswith('/api/') or path.rstrip('/').endswith('/showcase'):
self.send_error(404)
return
if path.startswith('/health/') and target.is_file():
body = target.read_bytes()
self.send_response(200)
self.send_header('Content-Type', 'application/json')
self.send_header('Content-Length', str(len(body)))
self.end_headers()
if self.command != "HEAD":
self.wfile.write(body)
return
relative = target.relative_to(OUT).as_posix()
self.path = '/' if relative == '.' else '/' + relative
super().do_GET()
def main():
httpd = ThreadingHTTPServer(('127.0.0.1', int(os.environ.get('VIDEOREG_PREVIEW_PORT', '0'))), Handler)
runtime = ROOT / '.local-run'
runtime.mkdir(exist_ok=True)
state = dict(port=httpd.server_port, pid=os.getpid(), url=f'http://127.0.0.1:{httpd.server_port}')
(runtime / 'server.json').write_text(json.dumps(state, indent=2) + '\n')
print(json.dumps(state), flush=True)
httpd.serve_forever()
if __name__ == '__main__':
main()
+41
View File
@@ -0,0 +1,41 @@
#!/usr/bin/env python3
"""Check rendered pages and every internal link/asset, without running a browser."""
import argparse,json,subprocess
from html.parser import HTMLParser
from urllib.parse import urlsplit,urldefrag
parser=argparse.ArgumentParser();parser.add_argument('--base',required=True);parser.add_argument('--origin');parser.add_argument('--output');args=parser.parse_args()
class Links(HTMLParser):
def __init__(self):super().__init__();self.urls=set();self.ids=set()
def handle_starttag(self,tag,attrs):
a=dict(attrs)
if 'id' in a:self.ids.add(a['id'])
for key in ('href','src'):
u=a.get(key,'')
if u.startswith('/') and not u.startswith('//'):self.urls.add(u)
paths=['/','/about','/catalog','/guides/choose','/guides/memory-card','/guides/installation','/guides/save-video','/tools/recording-time','/health/ready','/health/live']
results=[];discovered=set();fragments=[];documents={}
def request(path,method="GET"):
cmd=['curl','-sS','--max-time','20','-w','\n%{http_code}']
if args.origin:cmd+=['-k','--resolve',urlsplit(args.base).hostname+':443:'+args.origin]
cmd+=['-X',method,args.base+path]
r=subprocess.run(cmd,capture_output=True);body,code=r.stdout.rsplit(b'\n',1);return int(code),body
for path in paths:
code,body=request(path);assert code==200,(path,code)
results.append(dict(path=path,status=code,bytes=len(body)))
if path.startswith('/health/'):
assert json.loads(body)['status']=='ok';continue
parsed=Links();parsed.feed(body.decode());documents[path]=parsed.ids;discovered.update(parsed.urls)
assert b'mc.yandex.ru' not in body and b'web.archive.org/web/' not in body,path
for url in sorted(discovered):
path,frag=urldefrag(url)
if path not in paths and path != '/auto.shtml':
code,body=request(path);assert code==200,(path,code);results.append(dict(path=path,status=code,bytes=len(body)))
if frag:
assert frag in documents[path],(url,'missing fragment')
for path in ['/api/videos','/_dev/showcase','/does-not-exist']:
code,_=request(path);assert code==404,(path,code);results.append(dict(path=path,status=code))
code,_=request('/api/videos','POST');assert code==404,code;results.append(dict(path='/api/videos',method='POST',status=code))
code,_=request('/auto.shtml');assert code==308,code;results.append(dict(path='/auto.shtml',status=code))
report=dict(base=args.base,origin=args.origin,tlsVerified=(not bool(args.origin)) if args.base.startswith('https://') else None,checks=results,internalLinksAndAssets='passed',date='2026-10-26')
if args.output:open(args.output,'w').write(json.dumps(report,ensure_ascii=False,indent=2)+'\n')
print(json.dumps(dict(requests=len(results),status='passed',origin=args.origin)))
+38
View File
@@ -0,0 +1,38 @@
services:
web:
image: ${IMAGE}
networks:
- proxy
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8080/ >/dev/null || exit 1"]
interval: 30s
timeout: 3s
retries: 3
start_period: 5s
deploy:
replicas: 1
update_config:
order: start-first
parallelism: 1
failure_action: rollback
monitor: 30s
rollback_config:
order: start-first
parallelism: 1
monitor: 30s
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.docker.network=${TRAEFIK_NETWORK:-traefik-public}"
- "traefik.http.routers.${STACK_NAME}.rule=(Host(`${DOMAIN}`) || Host(`www.${DOMAIN}`)) && PathPrefix(`/`)"
- "traefik.http.routers.${STACK_NAME}.priority=100"
- "traefik.http.routers.${STACK_NAME}.entrypoints=${TRAEFIK_ENTRYPOINTS:-websecure}"
- "traefik.http.routers.${STACK_NAME}.tls=${TRAEFIK_TLS:-true}"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${TRAEFIK_CERTRESOLVER:-le}"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8080"
networks:
proxy:
external: true
name: ${TRAEFIK_NETWORK:-traefik-public}
+117 -26
View File
@@ -1,31 +1,6 @@
version: "3.9"
services:
web:
image: ${WEB_IMAGE}
environment:
NODE_ENV: production
APP_ENV: ${ENVIRONMENT}
PORT: "3000"
VIDEOREG_DB_FILE: /data/videoreg.json
VIDEOREG_DB_MEMORY_TTL_MS: ${VIDEOREG_DB_MEMORY_TTL_MS:-3600000}
VIDEOREG_NEXT_CACHE_REVALIDATE_SECONDS: ${VIDEOREG_NEXT_CACHE_REVALIDATE_SECONDS:-3600}
COMMIT_SHA: ${COMMIT_SHA}
RELEASE_ID: ${RELEASE_ID}
REGION: ${REGION:-}
TEAM_ID: ${TEAM_ID:-}
volumes:
- videoreg_data:/data
networks:
traefik: {}
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:3000/health/ready >/dev/null || exit 1"]
interval: 10s
timeout: 3s
retries: 3
start_period: 20s
deploy:
replicas: ${WEB_REPLICAS:-1}
x-default-deploy: &default-deploy
placement:
constraints:
- ${WEB_PLACEMENT_CONSTRAINT:-node.role == manager}
@@ -40,19 +15,135 @@ services:
monitor: 45s
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 5
window: 60s
x-ingestion-env: &ingestion-env
INGESTION_DATABASE_URL: postgres://${POSTGRES_USER:-videoreg}:${POSTGRES_PASSWORD:?POSTGRES_PASSWORD is required}@postgres:5432/${POSTGRES_DB:-videoreg_ingestion}
INGESTION_SNAPSHOT_DIR: /app/ingestion/data/snapshots
INGESTION_EXPORT_DIR: /exports
YANDEX_MARKET_DASHCAM_CATEGORY_URL: ${YANDEX_MARKET_DASHCAM_CATEGORY_URL:-https://market.yandex.ru/catalog--avtomobilnye-videoregistratory/82798275/list?hid=82798269}
MVIDEO_DASHCAM_CATEGORY_URL: ${MVIDEO_DASHCAM_CATEGORY_URL:-}
INGESTION_CATEGORY_DAILY_BUDGET: ${INGESTION_CATEGORY_DAILY_BUDGET:-25}
INGESTION_PRODUCT_DAILY_BUDGET: ${INGESTION_PRODUCT_DAILY_BUDGET:-100}
INGESTION_SITEMAP_DAILY_BUDGET: ${INGESTION_SITEMAP_DAILY_BUDGET:-25}
INGESTION_FETCH_DELAY_MIN_MS: ${INGESTION_FETCH_DELAY_MIN_MS:-5000}
INGESTION_FETCH_DELAY_MAX_MS: ${INGESTION_FETCH_DELAY_MAX_MS:-15000}
INGESTION_WORKER_BATCH_SIZE: ${INGESTION_WORKER_BATCH_SIZE:-1}
INGESTION_WORKER_IDLE_MS: ${INGESTION_WORKER_IDLE_MS:-30000}
services:
web:
image: ${WEB_IMAGE:?WEB_IMAGE is required}
environment:
NODE_ENV: production
APP_ENV: ${ENVIRONMENT}
PORT: "3000"
VIDEOREG_DB_FILE: /data/videoreg.json
DASHCAM_CATALOG_EXPORT_DIR: /exports
VIDEOREG_DB_MEMORY_TTL_MS: ${VIDEOREG_DB_MEMORY_TTL_MS:-3600000}
VIDEOREG_NEXT_CACHE_REVALIDATE_SECONDS: ${VIDEOREG_NEXT_CACHE_REVALIDATE_SECONDS:-3600}
COMMIT_SHA: ${COMMIT_SHA}
RELEASE_ID: ${RELEASE_ID}
REGION: ${REGION:-}
TEAM_ID: ${TEAM_ID:-}
volumes:
- videoreg_data:/data
- catalog_exports:/exports:ro
networks:
traefik: {}
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:3000/health/ready >/dev/null || exit 1"]
interval: 10s
timeout: 3s
retries: 3
start_period: 20s
deploy:
<<: *default-deploy
replicas: ${WEB_REPLICAS:-1}
labels:
- "traefik.enable=true"
- "traefik.docker.network=${TRAEFIK_NETWORK}"
- "traefik.http.routers.${STACK_NAME}-web.rule=Host(`${PUBLIC_HOST}`) && PathPrefix(`/`)"
- "traefik.http.routers.${STACK_NAME}-web.priority=${TRAEFIK_WEB_PRIORITY:-1}"
- "traefik.http.routers.${STACK_NAME}-web.entrypoints=${TRAEFIK_ENTRYPOINTS:-websecure}"
- "traefik.http.routers.${STACK_NAME}-web.tls=${TRAEFIK_TLS:-true}"
- "traefik.http.routers.${STACK_NAME}-web.tls.certresolver=${TRAEFIK_CERTRESOLVER:-le}"
- "traefik.http.services.${STACK_NAME}-web.loadbalancer.server.port=3000"
stop_grace_period: 30s
postgres:
image: postgres:16-alpine
environment:
POSTGRES_DB: ${POSTGRES_DB:-videoreg_ingestion}
POSTGRES_USER: ${POSTGRES_USER:-videoreg}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?POSTGRES_PASSWORD is required}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-videoreg} -d ${POSTGRES_DB:-videoreg_ingestion}"]
interval: 10s
timeout: 5s
retries: 5
volumes:
- ingestion_postgres:/var/lib/postgresql/data
networks:
- ingestion
deploy: *default-deploy
ingestion-worker:
image: ${INGESTION_IMAGE:?INGESTION_IMAGE is required}
command: sh -c "npm run ingestion:migrate && npm run ingestion:worker"
environment: *ingestion-env
volumes:
- ingestion_data:/app/ingestion/data
- catalog_exports:/exports
networks:
- ingestion
deploy:
<<: *default-deploy
replicas: ${INGESTION_WORKER_REPLICAS:-1}
ingestion-admin:
image: ${INGESTION_IMAGE:?INGESTION_IMAGE is required}
command: sh -c "npm run ingestion:migrate && npm run ingestion:admin"
environment:
<<: *ingestion-env
INGESTION_ADMIN_PORT: "4101"
INGESTION_ADMIN_USERNAME: ${INGESTION_ADMIN_USERNAME:-admin}
INGESTION_ADMIN_PASSWORD: ${INGESTION_ADMIN_PASSWORD:?INGESTION_ADMIN_PASSWORD is required}
volumes:
- ingestion_data:/app/ingestion/data
networks:
ingestion: {}
traefik: {}
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:4101/health >/dev/null || exit 1"]
interval: 15s
timeout: 3s
retries: 5
start_period: 20s
deploy:
<<: *default-deploy
replicas: 1
labels:
- "traefik.enable=true"
- "traefik.docker.network=${TRAEFIK_NETWORK}"
- "traefik.http.routers.${STACK_NAME}-admin.rule=Host(`${PUBLIC_HOST}`) && PathPrefix(`/admin`)"
- "traefik.http.routers.${STACK_NAME}-admin.priority=${TRAEFIK_ADMIN_PRIORITY:-100}"
- "traefik.http.routers.${STACK_NAME}-admin.entrypoints=${TRAEFIK_ENTRYPOINTS:-websecure}"
- "traefik.http.routers.${STACK_NAME}-admin.tls=${TRAEFIK_TLS:-true}"
- "traefik.http.routers.${STACK_NAME}-admin.tls.certresolver=${TRAEFIK_CERTRESOLVER:-le}"
- "traefik.http.services.${STACK_NAME}-admin.loadbalancer.server.port=4101"
volumes:
videoreg_data:
catalog_exports:
ingestion_postgres:
ingestion_data:
networks:
ingestion:
driver: overlay
traefik:
external: true
name: ${TRAEFIK_NETWORK}
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env python3
"""Bounded publication gate; full historical restoration remains explicit."""
from pathlib import Path
import argparse,json,os,subprocess,sys
ROOT=Path(__file__).resolve().parents[1]
p=argparse.ArgumentParser();p.add_argument('--manifest',required=True);p.add_argument('--base',required=True);p.add_argument('--report',required=True);args=p.parse_args()
subprocess.run([sys.executable,str(ROOT/'deploy/release-artifact.py'),'verify','--manifest',args.manifest,'--tree','web-front/out'],cwd=ROOT,check=True)
report=Path(args.report);report.unlink(missing_ok=True)
env=dict(os.environ,PYTHONPATH=str(ROOT/'scripts/rebuild-v2/vendor'),PYTHONDONTWRITEBYTECODE='1',VIDEOREG_RASTER_DECODER='sharp')
r=subprocess.run([sys.executable,'-S',str(ROOT/'scripts/rebuild-v2/check-built.py'),'--base',args.base,'--report',str(report)],cwd=ROOT,env=env)
if not report.is_file():raise SystemExit('No fresh complete crawl report; cannot publish')
x=json.loads(report.read_text());m=json.loads((ROOT/args.manifest).read_text());summary=x['summary']
if r.returncode not in (0,1) or summary['technicalStatus']!='passed' or summary['errors'] or x['errors']:raise SystemExit('Published corpus technical gate failed')
if x['sourceCommit']!=m['sourceCommit'] or x['sourceManifestSha256']!=m['appSourceManifestSha256'] or x['exportManifestSha256']!=m['exportManifestSha256']:raise SystemExit('Crawl checked another artifact')
print(json.dumps(dict(publishedCorpusTechnicalGate='passed',scope=m['scope'],sourceCommit=x['sourceCommit'],exportManifestSha256=x['exportManifestSha256'],roleApprovals=len(m['roleApprovals']),fullHistoricalRestorationAccepted=False,fullHistoricalRestorationStatus=summary['restorationStatus'],unresolved=summary['unresolvedInventoryItems'])))
+11
View File
@@ -0,0 +1,11 @@
# Происхождение и редакционные решения
Архивных страниц восстановлено: **0**. Полный журнал запросов и hash сохранённого каталога: `provenance.json`. Неполученный снимок всегда имеет `archiveTimestamp: null`. Архивные ресурсы и серверный код не выполнялись. Спам из архива не заявляется удалённым: снимков нет.
Существующий проект сохранён в `~/tmp/videoreg`; `~/tmp/videoreg.ru` — ссылка на него. Сохранён Gitea `huncode/videoreg.ru`, прежний ingestion-код и тесты. Production публикует руководства и фиксированный каталог; ingestion не включается без отдельной настройки и модерации.
Все новые тексты написаны 26 октября 2026, не являются архивными. Источники технических определений — SD Association, 70mai и Thinkware, ссылки в статьях. Общие проверки и расчёт объёма — редакционная работа, без заявлений о проведённых испытаниях. Сведения каталогов продавцов явно отделены от измерений.
Иллюстрация главной (`road-art`, `camera`, `lens`) — оригинальная CSS-композиция этого проекта, созданная 26 октября 2026, без внешних изображений, шрифтов и сетевых запросов. Это условная камера, не фотография или изображение конкретного товара. `dashcam-product.svg` — прежняя условная иллюстрация проекта; её использование обозначено перед каталогом.
Удалён счётчик Яндекс Метрики. Вымышленные модели и оценки прежней dev-витрины сохранены только в исходниках, публичный маршрут закрыт. Демонстрационный API создания видео закрыт. Не добавлены цены, отзывы, партнёрские ссылки, скачивания прошивок или пиратские файлы. Старый `/auto.shtml` перенаправлен на новое руководство по выбору, а не выдан за прежнюю страницу.
+51
View File
@@ -0,0 +1,51 @@
{
"archivePagesRecovered": 0,
"archiveResourcesRecovered": 0,
"records": [
{
"originalUrl": "https://web.archive.org/cdx/search/cdx?url=videoreg.ru/*&output=json&filter=statuscode:200&collapse=urlkey&filter=mimetype:text/html&limit=100",
"checkedAt": "2026-10-26",
"archiveTimestamp": null,
"result": "Local curl connection failure, web tool inaccessible; zz CDX request timed out after 25s"
},
{
"originalUrl": "https://web.archive.org/web/20100101000000id_/http://www.videoreg.ru/auto.shtml",
"checkedAt": "2026-10-26",
"archiveTimestamp": null,
"result": "Web tool inaccessible; no snapshot retrieved"
},
{
"originalUrl": "https://archive.org/wayback/available?url=videoreg.ru/auto.shtml&timestamp=20100101",
"checkedAt": "2026-10-26",
"archiveTimestamp": null,
"result": "HTTP 429; no snapshot retrieved"
},
{
"originalUrl": "https://arquivo.pt/textsearch?versionHistory=videoreg.ru&maxItems=5",
"checkedAt": "2026-10-26",
"archiveTimestamp": null,
"result": "HTTP 200; estimated_nr_results=0; response_items=[]"
},
{
"originalUrl": "https://index.commoncrawl.org/CC-MAIN-2026-43-index?url=videoreg.ru/*&output=json",
"checkedAt": "2026-10-26",
"archiveTimestamp": null,
"result": "Web tool inaccessible; no crawl retrieved"
},
{
"originalUrl": "https://autoclub.kharkov.ua/forum/viewtopic.php?f=78&t=9649",
"checkedAt": "2026-10-26",
"archiveTimestamp": null,
"result": "Search index retrieved discussion dated 2007-08-28 linking http://www.videoreg.ru/auto.shtml; topic evidence only, no reproduction"
},
{
"originalUrl": "local:data/videoreg.json",
"checkedAt": "2026-10-26",
"archiveTimestamp": null,
"sourceCommit": "2ce58fc",
"result": "Existing ignored local catalog snapshot; copied dashcamCatalog only, excluding demo videos. Product source URLs and fetchedAt retained. Not a Web Archive restoration.",
"sha256": "e5ac701d06029f87e174be5f4ddcb56034608d5a393e9627a64a19d06a42e27c",
"products": 5
}
]
}
@@ -0,0 +1,36 @@
# Agreed boundary: ALLOW limited R3 publication, no complete-history acceptance
All five original V2 roles newly inspected the actual R3 candidate and issued machine-readable `ALLOW_LIMITED_PUBLICATION`. The strict verifier checked each distinct real agent, report SHA, app/source/export identity and exact frozen file set. This is a new bounded decision requested by the coordinator; it does not close the historical recovery epic or relabel its gaps optional.
Exact app source: `78274fbe09c0fd7d0b8d94830db1f31fa76b1db9`.
App manifest: `fbd0d8316c235eda0819afc2f4f69a87dff29138208a3c13ed0016ade74f541d`.
Frozen export: `4d998c25dd09d5b6d08e011e235fb7212568dcc60dd37da24a3194655de02e01`,472 files, archive12361918bytes.
Local candidate: http://127.0.0.1:50541.
| Role | Same real reviewer | Decision record |
|---|---|---|
| Designer | `/root/v2_designer` | `reviews/limited-approvals/designer.json` |
| Creative director | `/root/v2_creative_director` | `reviews/limited-approvals/creative_director.json` |
| Content manager | `/root/v2_content_manager` | `reviews/limited-approvals/content_manager.json` |
| Illustrator | `/root/v2_illustrator` | `reviews/limited-approvals/illustrator.json` |
| Programmer expert | `/root/v2_programmer` | `releases/approvals/programmer_expert-r3.json` |
Each record says `fullHistoricalRestorationAccepted:false`. Full reports and their hashes are referenced by `releases/current.json`.
## What this release contains
28 useful, read and edited technical materials: model/version explanations, original manuals and journal test with HTML companions, actual sample images, two technical cases, full-text search and a measured-input JPEG/stream calculator. Five PDFs, four full PDF-only ZIPs,162originalJPEGframes,3subject-specific diagrams. No retail claims, obsolete active contact offers, paid inserts, counters or archived scripts.
## Concrete harm fixed before agreement
Five partial galleries now disclose13/17,16/19,30/36,55/65 and19/21 available/source images and explicitly reject continuity inference. GPS shows four complete JPEGs from a damagedZIP, with fullZIP unavailable and sequence completeness unconfirmed. The missing old front/rearAVI are distinguished from other image/video examples. The downloads page explicitly says verifiedEXE/USB.BIN downloads are unavailable. About explains the selected corpus without pretending to be the whole old site. Content `.13` is closed after same-reviewer R3 pixel/HTTP/source checks; the designer independently accepted the rendered fixes. All public image assets remain unchanged.
## What remains outside the claim
119 unresolved targets in258knownURLs,20newSemrush unknown-epoch/fragment/query/path leads, partial originalGPSZIP,63primaryresources and25sampleJPEG gaps. `.1/.4/.7/.8` stay mandatoryOPEN/BLOCKED. Unknown URLs return true404, not substitute articles; no missing file is represented as a working full download. Historical dates/model applicability and original journal/source attribution remain visible.
## Delivery conditions, not yet completion
Use exactly the reviewed frozen export, not a later random Next build. CI may run types/tests/build but must discard that intermediate output, verify five approvals, restore/check all472 frozen files, build a nativeamd64 COPY-only nginx image with no inherited defaultHTML, verify its extracted public tree, and deploy that immutableRepoDigest through existing site-specificGitea/zz. A separate programmer review of actual delivery code and actual production/local/TLS parity is required. No globalTraefik/DNS/otherstack mutation or new access right.
The initial production-workflow edit was automatically rejected while R3/role decisions were pending. That rejected operation was not executed or bypassed. After allfive real R3 approvals and verifier checks, the same edit was retried with the new evidence and accepted for preparation on the feature branch. No production traffic changed merely because this decision was written. `.10` and `.12` remain open until actual agreed limited delivery/runtime verification.
@@ -0,0 +1,24 @@
# Concrete proposal: publish the reviewed corpus, retain full recovery blocks
New coordinator instruction on26October2026 asks the same five roles to decide a bounded useful release separately from historical completeness. This is a proposal, not an instruction to waive vetoes or publish unreviewed content. Earlier V2 full-restoration acceptance remains incomplete.
## Candidate actually available
Local http://127.0.0.1:50541 ; source `4a0d828ef070d305bea57d6a5d16d612fc16a0e2`; active app manifest `72adaeab317c83069c2ca92599940955372768776367da42b26ed0a7d521e822`; reviewed export `adb919f431cb965359d7297194dbec7115c19dc8f0ddbe8340f303a2f1531603`.
28 full typed materials derived from30actualHTMLsources, four full original manuals, one3page January2008 attributed journal test,162originalJPEGframes and3useful diagrams.33contentroutes plus true missing state, fullsearch and JPEG/streamcalculator. Actual per-page ledger/outbound review,68narrow/wide screenshots and15browser scenarios already recorded. CI1324 independently reached completecrawl:131HTTP/168decodedrasters/0technicalerrors/119unresolved, sameappmanifest.
## Proposed release boundary
- Publish exactly the already read, source-checked and visually reviewed useful materials and existing working local documents/images/tools; no new article inferred from anchors or an unavailable body.
- Preserve direct actual technical pages and only proved legacy equivalents. Missing/unknown product138/topic196/encoded/malformed/account-style paths remain real404. Fullinventory258/119unresolved,20unverifiedSemrushleads,63primaryresources,25sampleJPEGs andpartialGPSZIP remain tracked; no complete-history claim.
- Retain meaningful historical dates/model/version limits. Do not present old legal/price/compatibility assertions as current guarantees. Original journal/PDF attribution remains; public reading companions distinguish their scope.
- Do not offer lost software/firmware/AVIs, corruptZIPs or unvalidated PDFs as complete downloads. Four CRC-validated salvagedJPEGs are separate images; originalZIP remains unavailable. PublishedfivePDFs/fourZIPs are full validated files. Review whether reader-facing missing-file limitations are clear at the actual point of use.
- No automatic downloading/executing old software, counters, remoteplayers, advertisements or paidlink widgets. Five specific approved video links only; oEmbed/sourceIDs checked, playback not claimed recovered.
- All recovery issues `.1/.4/.7/.8` remain mandatory OPEN/BLOCKED for full historical restoration. A bounded publication is not epic completion, fullV2PASS or independent coordinator acceptance. `.10` remains until site-specific deploy/runtime/TLS identity verified.
## Required role decision
Read the current actual pages/files, not only this proposal. For each role state ALLOW or BLOCK **only this exact limited publication**, actual URLs/files inspected, candidate identity and concrete reason. Existing reviews may support unchanged artifact checks, but the release-boundary judgement must be new. A BLOCK must name a concrete harm or misleading behavior and its acceptance condition; root fixes it before release. Do not waive missing restoration by relabeling it optional, and do not treat missing history alone as an unexplained perpetual stop for this separate decision.
No production action is implied until all five role decisions and actual remaining conditions are reconciled. Existing site-specific authorisation and genuine pending approvals remain in force; no globalTraefik/DNS/otherstack change.
+162
View File
@@ -0,0 +1,162 @@
{
"domain": "videoreg.ru",
"epic": "videoreg-7oy",
"updatedAt": "2026-10-26T16:53:44.049822+00:00",
"stage": "limited-R3-five-role-approved-awaiting-delivery-review; full-history-blocked",
"v1Acceptance": "user rejected; all prior PASS superseded",
"rollbackRef": "videoreg-v1-rejected-20261026",
"roles": {
"designer": "/root/v2_designer",
"additionalDesigner": "/root/designer",
"creative_director": "/root/v2_creative_director",
"content_manager": "/root/v2_content_manager",
"illustrator": "/root/v2_illustrator",
"programmer_expert": "/root/v2_programmer"
},
"coverage": {
"cdxHtmlCaptures": 883,
"cdxHtmlUrlKeys": 121,
"cdxAllResourceUrlKeys": 259,
"validatedFetchedHtmlBodies": 30,
"typedEditedArticlesInSource": 28,
"contentHtmlPages": 33,
"allExportHtmlFiles": 35,
"validOriginalPdfManuals": 4,
"validOriginalJournalReviewPdfs": 1,
"primaryMediaResources": 136,
"primaryMediaValidationCounts": {
"excluded-original-commercial-or-runtime": 60,
"validated-published-exact-bytes": 11,
"unresolved-no-complete-bytes": 62,
"unresolved-invalid-or-truncated": 1,
"validated-unpublished": 2
},
"additionalSampleHostJpegDecoded": 158,
"salvagedCompleteGpsJpeg": 4,
"originalSampleFramesUnavailable": 25,
"knownUrlInventory": 258,
"meaningfulNonExcludedUrls": 158,
"publicationCounts": {
"edited-recovered": 20,
"unresolved-epoch": 17,
"unresolved": 96,
"recovered-document": 5,
"partial-media-recovery": 1,
"excluded-utility": 96,
"replacement-navigation": 2,
"unresolved-listing": 3,
"verified-equivalent": 11,
"unresolved-fragment": 1,
"unresolved-encoded-path": 1,
"excluded-commercial": 4,
"unresolved-malformed-query": 1
},
"inventoryComplete": false
},
"defects": [
"videoreg-7oy.8:119unresolvedtargets(99baselineHTML/linked +20newSemrushunverifiedepoch/fragment/query/path) plus1partialGPSZIP,63unresolvedprimarymediaresources and25sampleJPEG gaps; no fabricated bodies",
"videoreg-7oy.7:Semrush actualtranscriptionspartial Indexed83exactURLs/89reported,17metadata;Anchors3/52,LostVital6/18; fullreconciliationblocked",
"videoreg-7oy.4/.1:wholecorpusandeditorialacceptanceblocked119targets; specificpublishedsubset reviewed",
"videoreg-7oy.10:V2notdeployed; publicapextrustedTLS200stillV1;wwwcurl60"
],
"local": {
"port": 50541,
"pid": 2198,
"url": "http://127.0.0.1:50541"
},
"sourceCommit": "78274fbe09c0fd7d0b8d94830db1f31fa76b1db9",
"appSourceManifestSha256": "fbd0d8316c235eda0819afc2f4f69a87dff29138208a3c13ed0016ade74f541d",
"buildHash": "4d998c25dd09d5b6d08e011e235fb7212568dcc60dd37da24a3194655de02e01",
"technicalChecks": {
"technicalStatus": "passed",
"restorationStatus": "blocked-unresolved-inventory",
"acceptance": "blocked",
"htmlFiles": 35,
"contentPages": 33,
"HTTPRequests": 131,
"localReferences": 1116,
"emittedExternalOccurrences": 15,
"activeSourceFiles": 18,
"inventoryItems": 258,
"unresolvedInventoryItems": 119,
"suspiciousPages": 0,
"errors": 0,
"decodedRasterAssets": 168
},
"browser": {
"views": 68,
"distinctPaths": 34,
"viewports": [
360,
1440
],
"overflow": 0,
"brokenImages": 0,
"runtimeErrors": 0,
"functionalChecks": 15
},
"reports": [
"docs/rebuild-v2/url-inventory.json",
"docs/rebuild-v2/coverage.md",
"docs/rebuild-v2/editorial-ledger.json",
"docs/rebuild-v2/outbound-links.json",
"docs/rebuild-v2/evidence/built-crawl.json",
"docs/rebuild-v2/evidence/candidate-r3/browser-pages.json",
"docs/rebuild-v2/semrush/reconciliation.json",
"docs/rebuild-v2/semrush/indexed83-reconciliation.json",
"docs/rebuild-v2/semrush/priority83-recovery-batch.json",
"docs/rebuild-v2/reviews/designer-original-reviewer-final.md",
"docs/rebuild-v2/reviews/creative-candidate.md",
"docs/rebuild-v2/reviews/content-candidate.md",
"docs/rebuild-v2/reviews/illustrator-candidate.md",
"docs/rebuild-v2/reviews/programmer-candidate.md"
],
"production": {
"v2Deployed": false,
"image": "git.pryanik.synology.me/huncode/videoreg.ru:9b5b080e6019@sha256:2fb63f2666d7c57643328aae1e76cdc5c3e498f704e007a7c57f2fecb033053e",
"publicApexTLS": "verifiedHTTP200V1",
"publicWwwTLS": "curl60",
"evidence": "docs/rebuild-v2/evidence/production-refresh.json"
},
"semrush": {
"status": "actual coordinator evidence ingested; mandatorypartialscope",
"indexed": {
"reported": 89,
"DOM": 83,
"urlRowsTranscribed": 83,
"metadataRowsTranscribed": 17,
"reportedButUnseen": 6
},
"anchors": {
"reported": 52,
"DOM": 52,
"transcribed": 3
},
"lostVital": {
"reported": 18,
"DOM": 18,
"transcribed": 6
},
"referringSourcesIndependentlyAttempted": 5,
"referringSourcesHTTP200": 3
},
"acceptance": "BLOCKED; noV2PASSorproductionpublish",
"limitedPublication": {
"status": "five-real-role-ALLOW_LIMITED_PUBLICATION; deliveryreviewpending",
"sourceCommit": "78274fbe09c0fd7d0b8d94830db1f31fa76b1db9",
"exportManifestSha256": "4d998c25dd09d5b6d08e011e235fb7212568dcc60dd37da24a3194655de02e01",
"frozenArtifact": "docs/rebuild-v2/releases/current.json",
"productionWorkflowUnchanged": false,
"priorWorkflowMutationAutoReview": "initialrejected; afterfiveactualR3ALLOW retriedandacceptedforfeaturebranchpreparation; no workaround",
"recoveryIssuesRemainMandatory": true
},
"ci": {
"run": 1324,
"sourceCommit": "e8cef39175f293b36e3f7a89484b39c66552b7ef",
"fullCrawlReached": true,
"technicalErrors": 0,
"unresolved": 119,
"overallStatus": "Failure-intentionalrestorationblock",
"evidence": "docs/rebuild-v2/evidence/ci/run1324.json"
}
}
+27
View File
@@ -0,0 +1,27 @@
# Coverage V2 — known denominator, unresolved restoration
CDX discovery: 883 HTML captures across 2007–2025; 121 collapsed HTML URL keys and 259 resource URL keys. Removing phpBB sid duplicates gives101 original normalized HTML URLs. Full CDX JSON has no resume key, so returned index is complete for the actual query (all883 originals were HTTP;528www and355apex; no HTTPS200 captures returned). Linked original URLs from every fetched body expand the known inventory. Unfetched bodies may contain further undiscovered links: this is a **known lower bound**, not a complete historical-site claim.
Known normalized URLs in inventory: **258**. Meaningful/non-utility denominator (including unresolved): **158**. Actual validated fetched HTML bodies: **30** (includes commercial/navigation pages; not all are published articles). Publication dispositions:
- edited-recovered: 20
- excluded-commercial: 4
- excluded-utility: 96
- partial-media-recovery: 1
- recovered-document: 5
- replacement-navigation: 2
- unresolved: 96
- unresolved-encoded-path: 1
- unresolved-epoch: 17
- unresolved-fragment: 1
- unresolved-listing: 3
- unresolved-malformed-query: 1
- verified-equivalent: 11
Each entry has URL/type/snapshot/raw hash/title/body size/destination/editorial action/status/reason in `url-inventory.json`. `edited-recovered` counts source URLs, not unique articles; canonical merges and verified equivalents are separate. Typed article pages include new HTML document companions whose complete original PDFs are available; counts must not be presented as16 historic HTML bodies.
Important unresolved items include missing historical topic bodies, original installation photographs, unrecovered video bytes and partial GPSsampleZIP. The January2008 SVK002 journal test PDF is now completely recovered (3pages). All alternative versions and URL variants actually attempted are in raw/requests.jsonl. Semrush83URLtranscript adds explicit epoch/encoded/malformed/fragment-unverified leads; no URL-only Blox/spam exclusion is assumed. These gaps and pending Semrush reconciliation remain mandatory V2 blockers. No historical article is synthesized from a backlink anchor/title. V1 modern guides/retail cards do not enter recovery counts.
## Actual83Semrush expansion
The earlier238-URL candidate review had99 unresolved HTML/linked entries. Reconciliation of all83 actual observed URLs adds20 unique unresolved targets:19 new path/query targets and index.shtml#S1. Current total258knownURLs/158nonexcluded;119unresolved targets. These20 are unverified body/epoch/encoded/malformed/fragment leads, not20 recovered articles or proven spam. The published R2 app/export is unchanged. Full83variants and17metadata limits are recorded in semrush/indexed83-reconciliation.json.
File diff suppressed because it is too large. Load diff
+33
View File
@@ -0,0 +1,33 @@
{
"query": "https://web.archive.org/cdx/search/cdx?url=videoreg.ru&matchType=domain&output=json&filter=statuscode:200&filter=mimetype:text/html&showResumeKey=true",
"rawFile": "docs/rebuild-v2/raw/cdx-all-html-captures.json",
"captureCount": 883,
"byScheme": {
"http": 883
},
"byHost": {
"www.videoreg.ru": 528,
"videoreg.ru": 355
},
"byYear": {
"2007": 204,
"2008": 147,
"2009": 45,
"2010": 44,
"2011": 73,
"2012": 30,
"2013": 30,
"2014": 15,
"2015": 11,
"2016": 49,
"2017": 71,
"2019": 65,
"2020": 20,
"2021": 24,
"2022": 47,
"2023": 7,
"2025": 1
},
"pagination": "Full JSON returned without resume key;121 collapsed HTML URLkeys independently compared with all883captures",
"fetchVersions": "All distinct documented body digests before2015 then after2015 on missing URLs; additional short-date replays and linked canonical paths attempted. Actual requests in raw/requests.jsonl."
}
+213
View File
@@ -0,0 +1,213 @@
[
{
"path": "/faq.shtml",
"title": "Вопросы по USB-видеорегистратору СВК",
"contributor": "/root/v2_content_manager",
"kind": "edited recovered content contribution",
"candidateStatus": "contribution only; no final review or PASS",
"sourcePaths": [
"/faq.shtml"
],
"rawFiles": [
{
"path": "docs/rebuild-v2/raw/faq-www.html",
"sha256": "483c23423b2b5f96c4c4c8c295d6adaa3704da8f848dba57debd27c268cd86df"
},
{
"path": "docs/rebuild-v2/raw/faq-2011.html",
"sha256": "d257adc095bbd97ee8a832cc01725ba42db575e7e2e9cacda32bc3d727b31054"
}
],
"snapshot": "20070330143325",
"originalTopic": null,
"recoveryAction": "Read full2007 FAQ and full2011 body; preserve5-row table and all substantive questions; paraphrase without marketing guarantees, clarify exact scope and uncertainty.",
"sourceChecks": [
"FAQ2007 and FAQ2011 have identical table values128MB8/40,256MB15/80,512MB30/160,1GB60/320,2GB120/640.",
"Exact model/channel/compression settings missing beside original table; uncertainty retained rather than reconciled by assumption.",
"Original10–15m plate-visibility claim retained only as unqualified historical estimate, explicitly not a guarantee.",
"Installation safety wording is editorial, not a verbatim historical claim: do not obstruct driver/pedals/airbag; no universal wiring recipe added. Manufacturer installation/support context already checked by root must remain in integrated source ledger."
],
"removedAdLinks": [
{
"destination": "mailto:sales@videoreg.ru",
"context": "header contact in FAQ2007 and FAQ2011",
"reason": "Obsolete commercial contact, unrelated to operation instructions."
},
{
"destination": "http://narod.yandex.ru/userforum/?owner=videoreg",
"context": "legacy forum promo image link in both FAQ snapshots",
"reason": "Promotional/external navigation not required for restored FAQ body."
},
{
"destination": "http://avtourist.com/avtourist-recommend.html",
"context": "FAQ2011 template image/link",
"reason": "Unrelated partner/promotional widget, not evidence for FAQ technical statements."
},
{
"destination": "http://www.carintst.com",
"context": "FAQ2011 install/Car Interior Studio promotion",
"reason": "Historic commercial installer promotion removed; no endorsement or contact revival."
},
{
"destination": "http://www.invista.org/?page=shop/browse&category=avtomobilnye_videoregistratory_svk",
"context": "FAQ2011 Internet shop Invista",
"reason": "Retail promotion removed."
},
{
"destination": "http://pr-realt.com.ua/catalog.php?id_cat=1",
"context": "FAQ2011 footer anchor «дома в ворзеле»",
"reason": "Off-topic real-estate paid/SEO insertion, removed entirely."
},
{
"destination": "/shop/index.php",
"context": "FAQ2007 Buy/Internet shop template links",
"reason": "Historic sale call-to-action removed; no live sales restored."
}
],
"otherEdits": [
"Removed no-analogs/low-price/perfect-quality/easy-universal-install marketing and obsolete phone/address/SEO footer.",
"Generic advantages retained only as concrete operations and cautions; commercial claims not restated as facts."
],
"missingPieces": [
"Precise model, camera count and compression behind table were not supplied by original FAQ.",
"No referenced photo quality test conditions recovered; not treated as guarantee."
],
"outboundLinksInContribution": [],
"reviewerVerdict": "NOT REVIEWED as integrated V2 candidate; content blocker remains open for corpus and final artifact review",
"comparedSnapshots": [
"20111208221238"
],
"editorialAdditions": "Compatibility/model scope, uncertainty of table settings, non-guaranteed number visibility, safe placement and backup checks are editorial clarifications, not measurements claimed by original FAQ."
},
{
"path": "/community/flash-start",
"title": "СВК-002 не запускается с FLASH-накопителем",
"contributor": "/root/v2_content_manager",
"kind": "edited recovered content contribution",
"candidateStatus": "contribution only; no final review or PASS",
"sourcePaths": [
"/forum/viewtopic.php?t=184",
"/forum/viewtopic.php?t=183&view=next"
],
"rawFiles": [
{
"path": "docs/rebuild-v2/raw/pages/aba7002585913a2e.html",
"sha256": "112e12a3fa52fc9275a66911a0615cf12838e4001158080d49cfc5b4aba59e71"
}
],
"snapshot": "20070705140929",
"originalTopic": {
"topicId": 184,
"title": "Не инициализируется флешка",
"postIds": [
220,
221,
223
],
"postDates": [
"2007-04-20",
"2007-04-21",
"2007-04-22"
]
},
"recoveryAction": "Read all3 posts and canonical topic links; preserve symptoms, observed timings and qualified support procedure; add explicit backup/data-loss and no-file-system-guessing safeguards.",
"sourceChecks": [
"Raw anchors220,221,223 and internal canonical t184 verified; snapshot URL t183&view=next is an alias, not actual topic identity.",
"No filesystem type specified by source; none invented. No firmware download/recommendation to unrelated revision added."
],
"removedAdLinks": [
{
"destination": "mailto:projectmanager@videoreg.ru",
"context": "post-author contact icon",
"reason": "Obsolete contact metadata, unnecessary for technical case."
},
{
"destination": "http://www.phpbb.com/",
"context": "forum platform footer",
"reason": "Old platform navigation; no phpBB application code or layout copied."
},
{
"destination": "http://www.phpbbguru.net/",
"context": "forum platform Russian-support footer",
"reason": "Old platform navigation, not technical article source."
}
],
"otherEdits": [
"Removed thanks/commercial praise and profile/rank/registration/contact/platform UI.",
"Added safety-first archival procedure scope, data-loss backup and note about unknown filesystem."
],
"missingPieces": [
"Complete compatibility list and exact software build/filesystem not specified in thread."
],
"outboundLinksInContribution": [],
"reviewerVerdict": "NOT REVIEWED as integrated V2 candidate; content blocker remains open for corpus and final artifact review",
"editorialAdditions": "Backup before destructive formatting, exact-device/software scope, no filesystem guessing and repeatable comparison steps are editorial safety additions."
},
{
"path": "/community/usb-extension",
"title": "Ошибки камеры после подключения USB-удлинителя",
"contributor": "/root/v2_content_manager",
"kind": "edited recovered content contribution",
"candidateStatus": "contribution only; no final review or PASS",
"sourcePaths": [
"/forum/viewtopic.php?t=188",
"/forum/viewtopic.php?t=8&view=next"
],
"rawFiles": [
{
"path": "docs/rebuild-v2/raw/pages/24f9cbda81212d46.html",
"sha256": "e097d3bccdc945d1ed95b01ddddf64385253cc1d1c58adabe867ac17aa460068"
}
],
"snapshot": "20070707064655",
"originalTopic": {
"topicId": 188,
"title": "Кажется, мы вам сделали рекламу...",
"postIds": [
226,
227
],
"postDates": [
"2007-04-30",
"2007-05-01"
]
},
"recoveryAction": "Read both full posts and canonical topic links; remove publicity opening, retain actual camera/cable symptoms and scoped support reply; preserve uncertainty rather than inventing cause.",
"sourceChecks": [
"Raw anchors226,227 and internal canonical t188 verified; snapshot URL t8&view=next is an alias.",
"No electrical measurements or proven root cause in source; brand-wide disparagement/endorsement removed."
],
"removedAdLinks": [
{
"destination": "http://talks.mark-itt.ru/forummessage/12/187140.html",
"context": "post226 opening photo/publicity paragraph",
"reason": "Entire publicity preamble and link removed; unrelated to subsequent USB fault diagnosis."
},
{
"destination": "mailto:projectmanager@videoreg.ru",
"context": "post-author contact icon",
"reason": "Obsolete contact metadata, unnecessary for technical case."
},
{
"destination": "http://www.phpbb.com/",
"context": "forum platform footer",
"reason": "Old platform navigation; no phpBB application code or layout copied."
},
{
"destination": "http://www.phpbbguru.net/",
"context": "forum platform Russian-support footer",
"reason": "Old platform navigation, not technical article source."
}
],
"otherEdits": [
"Removed first promotional paragraph and company signature.",
"Added explicitly editorial comparison workflow without guessed electrical diagnosis."
],
"missingPieces": [
"No measurements proving fault cause and no complete camera/revision compatibility list in thread."
],
"outboundLinksInContribution": [],
"reviewerVerdict": "NOT REVIEWED as integrated V2 candidate; content blocker remains open for corpus and final artifact review",
"editorialAdditions": "One-variable comparison and avoidance of unmeasured power/wire modifications are editorial diagnostic framing; no electrical root cause asserted."
}
]
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,45 @@
npm warn Unknown user config "store-dir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm warn Unknown user config "cache-dir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm warn Unknown user config "public-hoist-pattern". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
> videoreg@0.1.0 build
> next build web-front
▲ Next.js 16.2.4 (Turbopack)
- Experiments (use with caution):
· cpus: 2
Creating an optimized production build ...
(node:26877) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
✓ Compiled successfully in 2.3s
Running TypeScript ...
Finished TypeScript in 1475ms ...
Collecting page data using 2 workers ...
Generating static pages using 2 workers (0/38) ...
Generating static pages using 2 workers (9/38)
Generating static pages using 2 workers (18/38)
Generating static pages using 2 workers (28/38)
✓ Generating static pages using 2 workers (38/38) in 124ms
Finalizing page optimization ...
Route (app)
┌ ○ /
├ ○ /_not-found
├ ● /[...slug]
│ ├ /system
│ ├ /auto.shtml
│ ├ /support.shtml
│ └ [+25 more paths]
├ ○ /about
├ ○ /community
├ ○ /health/live
├ ○ /health/ready
├ ○ /icon.svg
├ ○ /library
└ ○ /tools/recording-time
○ (Static) prerendered as static content
● (SSG) prerendered as static HTML (uses generateStaticParams)
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 641 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

@@ -0,0 +1,91 @@
{
"base": "http://127.0.0.1:50541",
"viewport": {
"width": 360,
"height": 800
},
"checks": [
{
"name": "full body search GPS",
"passed": true,
"actual": 15
},
{
"name": "code block indexed",
"passed": true
},
{
"name": "link anchor indexed",
"passed": true
},
{
"name": "unknown search empty",
"passed": true,
"actual": "Найдено материалов: 0"
},
{
"name": "reset all articles",
"passed": true,
"actual": 28
},
{
"name": "category filter",
"passed": true,
"actual": {
"category": "Устройство",
"kinds": [
"Устройство · 2014"
]
}
},
{
"name": "keyboard search reset",
"passed": true,
"actual": "<button type=\"button\">Сбросить</button>"
},
{
"name": "JPEG known result",
"passed": true,
"actual": "0 ч 16 мин 40 с"
},
{
"name": "fractional cameras rejected",
"passed": true,
"actual": "Проверьте значения"
},
{
"name": "empty capacity rejected",
"passed": true
},
{
"name": "stream known result",
"passed": true,
"actual": "6 ч 24 мин 0 с"
},
{
"name": "full reserve rejected",
"passed": true
},
{
"name": "gallery expands actual recovered frames",
"passed": true,
"actual": {
"before": 6,
"after": 30
}
},
{
"name": "real404",
"passed": true,
"actual": 404
},
{
"name": "no browser runtime errors",
"passed": true,
"actual": []
}
],
"errors": [],
"sourceCommit": "4a0d828ef070d305bea57d6a5d16d612fc16a0e2",
"exportManifestSha256": "adb919f431cb965359d7297194dbec7115c19dc8f0ddbe8340f303a2f1531603"
}
File diff suppressed because it is too large. Load diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 344 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 543 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 539 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 535 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 KiB

Loaded 100 of 2970 files, more files were not shown because too many files have changed in this diff. Show more