diff --git a/.beads/issues.jsonl b/.beads/issues.jsonl index 88c0212..de177f9 100644 --- a/.beads/issues.jsonl +++ b/.beads/issues.jsonl @@ -1,5 +1,5 @@ {"_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":0,"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.","status":"in_progress","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:18:34Z","started_at":"2026-10-26T11:18:34Z","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.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.","status":"in_progress","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:34:25Z","started_at":"2026-10-26T11:18:34Z","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} diff --git a/.gitea/workflows/master.yml b/.gitea/workflows/master.yml index 37d62af..ee01e2e 100644 --- a/.gitea/workflows/master.yml +++ b/.gitea/workflows/master.yml @@ -4,6 +4,10 @@ on: push: branches: - master + paths-ignore: + - "docs/**" + - "**/*.md" + - ".beads/**" workflow_dispatch: concurrency: @@ -74,6 +78,7 @@ jobs: - name: Build static site env: NEXT_TELEMETRY_DISABLED: "1" + COMMIT_SHA: ${{ github.sha }} run: npm run ci:quality - name: Verify static output diff --git a/deploy/serve-local.py b/deploy/serve-local.py index cae6014..cc5bff6 100644 --- a/deploy/serve-local.py +++ b/deploy/serve-local.py @@ -7,6 +7,8 @@ ROOT=Path(__file__).resolve().parents[1] OUT=ROOT/'web-front/out' class Handler(SimpleHTTPRequestHandler): def __init__(self,*args,**kwargs):super().__init__(*args,directory=str(OUT),**kwargs) + def do_POST(self): + self.send_error(404) def do_GET(self): path=self.path.split('?',1)[0] if path=='/auto.shtml': diff --git a/deploy/smoke-static.py b/deploy/smoke-static.py index 077e958..f3072fb 100644 --- a/deploy/smoke-static.py +++ b/deploy/smoke-static.py @@ -14,10 +14,10 @@ class Links(HTMLParser): 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): +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+=[args.base+path] + 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) @@ -34,7 +34,8 @@ for url in sorted(discovered): 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),checks=results,internalLinksAndAssets='passed',date='2026-10-26') +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)))