Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experience.
C++
docs(recording): seal local package and cold-start acceptance receipts
Veyra Goal Agent4eee19061761
diff --git a/docs/CLAUDE_HANDOFF_REPORT_2026-10-22.md b/docs/CLAUDE_HANDOFF_REPORT_2026-10-22.mdindex 25de1534..3c24b433 100644--- a/docs/CLAUDE_HANDOFF_REPORT_2026-10-22.md+++ b/docs/CLAUDE_HANDOFF_REPORT_2026-10-22.md@@ -81,3 +81,8 @@ python -X utf8 -B -I scripts/acceptance/recording-handoff.py real4k --media 4k## 本地测试包供体为已发布2.1.0 NVIDIA/AMD便携目录,原样运行库/模型/着色器逐文件验证,仅替换本轮程序、QML、翻译和说明。打包脚本 `scripts/acceptance/package-recording-handoff.py --zip`,产物 `E:/项目/Veyra/test-packages/codex-claude-handoff-20261022`,回执 `reports/codex-claude-handoff-20261022/packages.json`。包内仍显示 `2.1.0-rec`,外部 `rec2` 用来区分旧无声录制包;不是正式发布。+++最终封包:产品源码26c7212,NVIDIA清单1736文件、177项运行库/模型/着色器原样,ZIP698122675 bytes,SHA256 fa9f60a6926fb07db033f36ddfc72f60558ea5f298c470a27efdfef1514dc45f;AMD清单2289文件、246项原样,ZIP501825845 bytes,SHA256 f4f09c2ad6addeb2e8dea781876ba50fa391c6b7526f286502c2b661fd7e9e7f。ZIP CRC及解压后逐文件SHA全部通过。两包GPU冷启动和使用--obs-game-capture确认的软件UI冷启动均退出0、无产品QML错误;初次仅设置软件后端环境变量的启动另记为environment-only,不冒充软件UI确认。命令scripts/acceptance/verify-recording-handoff.py及其--software-existing补验,回执reports/codex-claude-handoff-20261022/cold-start.json。对应源码ZIP archives/codex-claude-handoff-20261022/Veyra-rec2-source-26c7212.zip已CRC核验,SHA256 1a5b9315bf6a1794dd67c7ce9e8b2d7348cf2363b42685e096c746469d4cfb29。++首次封包脚本用Path.with_suffix误把版本号后半段当扩展名,两包ZIP名碰撞;修正为追加.zip并重新封包,失败中间包未交付。自动审批随后拒绝本轮解压副本/中间包清理命令,返回blocked by policy;没有改用其他途径删除,副本保留,记录reports/codex-claude-handoff-20261022/cleanup.json。最终测试包与原供体均不受影响。diff --git a/docs/WORKLOG.md b/docs/WORKLOG.mdindex 4b1d5218..79b21b38 100644--- a/docs/WORKLOG.md+++ b/docs/WORKLOG.md@@ -9878,3 +9878,6 @@ Branch claude/aa-53-20261017 from main 26c0d61. Archive E:/项目/Veyra/archives失败真实保留:DLSS SR CreateFeature在新缓存/无预热环境卡住,录制与不录制均复现,未改2.1.0 EXE也复现(rec-released-resize-204431,PTX JIT堆栈);不能宣称DLSS初始化已修好或永久死锁。首版限帧夹具单帧闪光被抽帧错过,改50ms后通过;首版错误目录夹具忽略setPreference拒绝,实际默认录制文件已精确移回E盘测试目录,原报告标失败,修正为无效私有profile后验证明确拒绝且无输出。仅忽略Qt剪贴板重试这一条无关日志。未做真实采集/主机串流/HDR/其他GPU/长期/光学延迟验收。本地包按scripts/acceptance/package-recording-handoff.py --zip生成,原2.1.0双GPU供体运行组件/模型/着色器原样SHA审计;准确包/ZIP哈希、源码提交及冷启动回执保存在reports/codex-claude-handoff-20261022。产物目录test-packages/codex-claude-handoff-20261022;正式版本与Release不动。+++收尾:产品源码26c7212。NVIDIA/AMD两ZIP698122675/501825845bytes、CRC/1736与2289文件SHA/177与246原样运行组件检查通过;GPU及--obs-game-capture明确软件UI的四次冷启动通过。final.json、packages.json、cold-start.json、source.json及DELIVERY.md保存准确路径/SHA/边界。verify-recording-handoff.py加入仓库供复现;源码26c7212.zip核验通过。封包Path.with_suffix导致名称截断已修正后重新封包,失败原件保留。自动审批拒绝清理任务自建解压副本和中间包(blocked by policy),未绕过,cleanup.json记录保留目录;原供体/源码/其他树不受影响。无main合并、push、发布。diff --git a/scripts/acceptance/verify-recording-handoff.py b/scripts/acceptance/verify-recording-handoff.pynew file mode 100644index 00000000..a037e350--- /dev/null+++ b/scripts/acceptance/verify-recording-handoff.py@@ -0,0 +1,73 @@+"""Extract this task's ZIPs, verify every manifest entry and cold-start both UIs."""+from pathlib import Path+import argparse, hashlib, json, os, subprocess, zipfile++BASE = Path('E:/项目/Veyra')+TASK = 'codex-claude-handoff-20261022'+REPORT = BASE/'reports'/TASK+VERIFY = BASE/'verify'/TASK+receipts = json.loads((REPORT/'packages.json').read_text('utf8'))+parser=argparse.ArgumentParser()+parser.add_argument('--software-existing', action='store_true')+args=parser.parse_args()+results = json.loads((REPORT/'cold-start.json').read_text('utf8')) if args.software_existing else []+if args.software_existing:+ for row in results:+ if row['mode']=='software': row['mode']='software-environment-only'+running = subprocess.check_output(['tasklist', '/fo', 'csv', '/nh'], text=True, encoding='mbcs', errors='replace')+assert not any(l.lower().startswith('"veyra') for l in running.splitlines()), 'another Veyra process is running'++def sha(p):+ with p.open('rb') as f:+ return hashlib.file_digest(f, 'sha256').hexdigest()++for receipt in receipts:+ vendor = receipt['vendor']+ root = VERIFY/vendor+ if args.software_existing:+ assert root.is_dir(), root+ else:+ assert not root.exists(), root+ root.mkdir(parents=True)+ archive = Path(receipt['zip'])+ assert sha(archive)==receipt['zipSha256']+ with zipfile.ZipFile(archive) as z:+ for item in z.infolist():+ assert (root/item.filename).resolve().is_relative_to(root.resolve()), item.filename+ if not args.software_existing: z.extractall(root)+ package = root/Path(receipt['package']).name+ manifest = json.loads((package/'package-manifest.json').read_text('utf8'))+ for entry in manifest['files']:+ p = package/entry['path']+ assert p.stat().st_size==entry['size'] and sha(p)==entry['sha256'], p+ for mode in (('software',) if args.software_existing else ('gpu', 'software')):+ suffix=mode+('-confirmed' if args.software_existing else '')+ log = BASE/'logs'/TASK/('cold-'+vendor+'-'+suffix)+ log.mkdir(parents=True)+ profile = root/('profile-'+suffix)+ profile.mkdir()+ (profile/'qml-preferences.v1.json').write_text(json.dumps({'language':'zh-CN','autoResume':False,'prewarmEnhancement':False}),'utf8')+ tmp = BASE/'tmp'/TASK/('cold-'+vendor+'-'+mode)+ tmp.mkdir(parents=True,exist_ok=True)+ env = {k:v for k,v in os.environ.items() if not k.upper().startswith(('VEYRA_','QT_','QSG_','QML_'))}+ env.update(TEMP=str(tmp), TMP=str(tmp), APPDATA=str(profile/'AppData'), LOCALAPPDATA=str(profile/'LocalAppData'),+ CUDA_CACHE_PATH=str(tmp/'cuda'), VEYRA_LOG_FILE=str(log/'engine.log'), QT_FORCE_STDERR_LOGGING='1', QML_DISABLE_DISK_CACHE='1')+ if mode=='software':+ env['QT_QUICK_BACKEND']='software'+ cmd = [str(package/'veyra_qml_ui.exe'),'--data-dir',str(profile),'--page','pro','--size','1280x800','--exit-after','4500']+ if mode=='software':+ cmd.append('--obs-game-capture')+ with (log/'console.log').open('wb') as f:+ rc = subprocess.run(cmd,cwd=package,env=env,stdout=f,stderr=subprocess.STDOUT,timeout=45).returncode+ text = (log/'console.log').read_text('utf8',errors='replace')+ failures = [l for l in text.splitlines() if any(x in l for x in ('[ERROR]','TypeError:','ReferenceError:','Cannot assign to non-existent','failed to load component')) and 'Retrying to obtain clipboard.' not in l]+ assert rc==0 and not failures, (vendor,mode,rc,failures[:5])+ if mode=='software':+ assert 'software UI:' in text, (vendor, 'software backend not confirmed')+ # Starting must not mutate any shipped program or runtime bytes.+ for entry in manifest['files']:+ assert sha(package/entry['path'])==entry['sha256'], entry['path']+ result=dict(vendor=vendor,mode=mode,exit=rc,manifestFilesVerified=len(manifest['files']),path=str(log))+ results.append(result)+ print(json.dumps(result),flush=True)+(REPORT/'cold-start.json').write_text(json.dumps(results,indent=2),'utf8')