Skip to content

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++

loop: record Goal session 1 state (cycles 030-033, next R3.1 product-library extraction)

Veyra Goal Agent8403745e9249
diff --git a/docs/WORKLOG.md b/docs/WORKLOG.md
index fd229b16..cb897391 100644
--- a/docs/WORKLOG.md
+++ b/docs/WORKLOG.md
@@ -796,6 +796,36 @@ L2(GBV)runtime 扫描 1764+ ERROR,id=938 `GPU_BASED_VALIDATION_DESCRIPTOR_UNINIT
### 原始证据
logs/phase6-manual/t10/{L0,L1,L2,NF}-{r1,r2}.{log,json}
+## 2026-09-06 Goal session 1(Cycle 030-033):接管、gate 重建、corpus、契约
+
+### 执行摘要
+
+新 Maker 按 GOAL_PROMPT 接管,完成 4 个原子 cycle,全部本地 checkpoint,无 push:
+
+- **Cycle 030 R0 接管**: preflight 70/70;Release build exit 0;接管指纹 `61feb89b38e32f589b5c2fb6750526e5ad90dc3c`(44 entry);四类窄 probe 新 run-id 复现基线(NVOF PASS / FG 59/59 / audio PASS / player FAIL driftP95=2858ms 复现已知缺陷);44 项分类 keep/repair/hold 入 JOURNAL;保护性存档 `bb9c5361`(不含 MP4 删除,不写 lastGoodCommit)。
+- **Cycle 031 R1.1 gate 重建并先红**: phase5.ps1 重写为 42 项 fail-closed 契约(删除 manifest-depth/第二次 1080p 冒充 4K/5 分钟冒充 30 分钟三个假通过口;新增产品库执行证明、本次 run extent/hash/timing/VRAM/reset JSON 契约、主路径纪律)。当前实现 exit 1,34/42 命名失败与 Playbook R1 逐项对应。存档 `7ec1e0c`。
+- **Cycle 032 R1.2 确定性 corpus**: veyra_clip_gen 五场景(translation/occlusion/cut-flash-duplicate/particles/ui-text)× 1080p60/4K60 共 10 片 + SHA256 manifest。DLL 遮蔽问题(最小版 avcodec 遮蔽含 openh264 的 tools 版)用隔离运行目录 `out/build/x64-release/clipgen/` 解决。gate corpus:* 四项转绿,其余保持红(30/42)。存档 `c7d6414`。
+- **Cycle 033 R2 契约族**: include/veyra/pipeline(Rational PTS 负值/未知、ColorDescription+assumed 标志+P010 fail-closed 路径、10 位 FrameFlags+breaksHistory、GpuTextureHandle ownerSlot/expectedState/readyFence、FrameWindow 固定 prev/current/next+lookaheadFrames≤2 无 vector、GuidanceFrame provenance/age/sourceSequence、ResetCoordinator 帧边界消费)。PipelineContractTests 50/50 Debug+Release;旧 unified 51/51 无回归。附带修复 descriptor_present_probe:617 debug C4702。存档 `07eb66d`。
+
+### 实际命令(关键)
+
+- `loop-gate.ps1 -Gate preflight` → 70/70 exit 0(session 首尾各一次)
+- `build.ps1 -Preset x64-release` → exit 0(多轮)
+- `veyra_nvof_probe` / `veyra_fg_harness --fg-test|--audio-test` / `veyra_player_probe --duration-seconds 20` → 0/0/0/12(logs/takeover-20260906/)
+- `phase5.ps1 -Root .` → exit 1(34/42 → 30/42 两轮,失败清单见 JOURNAL 031/032)
+- `veyra_clip_gen --make-corpus` → exit 0(隔离目录)
+- `veyra_pipeline_tests` / `veyra_unified_tests` → 50/50、51/51(Debug+Release)
+
+### 未执行/未通过
+
+- Phase 5 gate 仍 exit 1(产品库/runner/真实 EnhanceGraph 未实现——这是 R3 的任务);无 Phase 通过、无 Reviewer、无 lastGoodCommit 变更。
+- player probe drift 2.8s 与 L2 GBV id=938 维持已知 FAIL(Phase 6 范围,未动)。
+- 未运行 30 分钟耐久(runner 不存在,gate 正确拒绝)。
+
+### 下一条唯一任务
+
+R3.1:从 player_probe 抽取真实成员建立 veyra_sinks(WasapiAudioSink,~194-690 行)/veyra_guidance(NvofGuidanceProvider 包 NvOfSession)/veyra_sources(MediaFileSource),随后 R3.2 把 GPU 链移入 EnhanceGraph 使 `product:enhance-graph-submits-gpu` 检查具备通过条件。STATE.nextAction 已写入精确指针。
+
## 2026-09-06 强 Agent 接管审计与 Launch V1.3 重基线
### 用户决定
diff --git a/loop/BACKLOG.md b/loop/BACKLOG.md
index 19b50924..dd812db0 100644
--- a/loop/BACKLOG.md
+++ b/loop/BACKLOG.md
@@ -17,12 +17,13 @@
历史 `c4ee3f3` 及其日志只保留为组件证据。旧 Phase 5 gate 接受 manifest-only depth、第二次 1080p endurance 冒充 4K 位置证据,且 `EnhanceGraph` 只增加计数,因此旧 gate/Reviewer/checkpoint 不再满足当前 Product Spec。
- [x] **R0.0 对抗式状态审计**:确认 preflight 70/70、Release build exit 0;确认 Phase 0–4 有效;确认 Phase 5 假通过、Phase 6 未提交资产、约 31 个 worktree status entry、tracked 测试片删除、无 UI/Capture/Export;用户决定继续实验 Feature 18。(2026-09-06)
-- [ ] **R0.1 新 Maker 接管指纹**:重新运行 preflight/build/git status/diff-check;记录 `git diff --binary` hash;逐项分类当前未提交文件为 keep/repair/obsolete;不得 reset/clean/checkout;用新 run-id 重跑 NVOF/FG/audio/player 窄 probe。
-- [ ] **R1.1 phase5 gate 重建并先红**:重写 `scripts/gates/phase5.ps1`;移除 manifest-only depth 和假 4K;恢复 30 分钟门槛;要求产品 library、真实 extent/hash/timing/VRAM/queue/reset;当前实现必须因具体缺项 exit 1。
-- [ ] **R1.2 确定性 corpus**:用 `veyra_clip_gen` 在 ignored run 目录生成 1080p60/4K60 translation、occlusion、cut/flash/duplicate、particles、UI;记录生成命令/SHA256;gate 不再依赖已删除 tracked MP4。
-- [ ] **R2.1 FramePacket**:迁移到 `include/veyra/pipeline`;加入 rational/100ns PTS、duration、ColorDescription、FrameFlags、SourceKind、GPU resource state/owner fence/slot;兼容层只用于迁移期。
-- [ ] **R2.2 FrameWindow/GuidanceFrame**:固定 prev/current/next 与 lookaheadFrames 0/1/2,删除无界 vector;motion=current→previous working pixels、depth R32F、confidence R8、provenance/age/sourceSequence/reset reason。
-- [ ] **R2.3 ResetCoordinator tests**:open/seek/cut/drop/resize/source-switch/pause-resume/device-lost 八类事件同一 epoch;负/缺失 PTS、跨 epoch history、窗口上限和 fence ownership 测试 Debug/Release 通过。
+- [x] **R0.1 新 Maker 接管指纹**:重新运行 preflight/build/git status/diff-check;记录 `git diff --binary` hash;逐项分类当前未提交文件为 keep/repair/obsolete;不得 reset/clean/checkout;用新 run-id 重跑 NVOF/FG/audio/player 窄 probe。
+- [x] **R1.1 phase5 gate 重建并先红**:重写 `scripts/gates/phase5.ps1`;移除 manifest-only depth 和假 4K;恢复 30 分钟门槛;要求产品 library、真实 extent/hash/timing/VRAM/queue/reset;当前实现必须因具体缺项 exit 1。
+- [x] **R1.2 确定性 corpus**:用 `veyra_clip_gen` 在 ignored run 目录生成 1080p60/4K60 translation、occlusion、cut/flash/duplicate、particles、UI;记录生成命令/SHA256;gate 不再依赖已删除 tracked MP4。
+- [x] **R2.1 FramePacket**:迁移到 `include/veyra/pipeline`;加入 rational/100ns PTS、duration、ColorDescription、FrameFlags、SourceKind、GPU resource state/owner fence/slot;兼容层只用于迁移期。
+- [x] **R2.2 FrameWindow/GuidanceFrame**:固定 prev/current/next 与 lookaheadFrames 0/1/2,删除无界 vector;motion=current→previous working pixels、depth R32F、confidence R8、provenance/age/sourceSequence/reset reason。
+- [x] **R2.3 ResetCoordinator tests**:open/seek/cut/drop/resize/source-switch/pause-resume/device-lost 八类事件同一 epoch;负/缺失 PTS、跨 epoch history、窗口上限和 fence ownership 测试 Debug/Release 通过。
+<!-- 2026-09-06 Goal cycles 030-033: R0.1 takeover fingerprint 61feb89b + probes r0-*; R1.1 gate 42-check fail-closed proven red 34/42; R1.2 corpus 10 clips + SHA256 manifest (corpus:* green); R2.1-R2.3 delivered as one contract family include/veyra/pipeline + PipelineContractTests 50/50 debug+release (rational PTS, 8 reset reasons at frame boundaries, cross-epoch rejection, window cap, fence ownership). Checkpoints: bb9c5361/7ec1e0c/c7d6414/07eb66d. -->
- [ ] **R3.1 CMake 产品库**:建立并实际链接 `veyra_pipeline`、`veyra_guidance`、`veyra_sources`、`veyra_sinks`;不允许空 target 或只含接口。
- [ ] **R3.2 真 EnhanceGraph**:把 D3D12VA/YUV、SR、scene、NVOF/confidence、parity encode、Feature18、parity decode、optional FG、post mix 的真实提交从 `player_probe`/harness 迁入共享 graph;主路径 readback=0。
- [ ] **R3.3 probe 去重**:`player_probe` 只做参数、组装、scenario、JSON;目标小于 800 行且不保留第二套 NGX/NVOF/barrier/resource lifetime。headless test 与 player probe 对 300 帧产生同计数/输出 hash。
diff --git a/loop/STATE.json b/loop/STATE.json
index 893c7796..6f3c5b50 100644
--- a/loop/STATE.json
+++ b/loop/STATE.json
@@ -106,6 +106,6 @@
"A real DirectShow/UVC 4K60 SDR capture device, HDMI audio, and 4K60 source signal are required before P7 capture gate can pass.",
"Public distribution rights for the experimental DLSSNR runtime and all bundled NVIDIA/model/FFmpeg assets are unresolved; a local release candidate is allowed, public launch is blocked."
],
- "nextAction": "Playbook R2.2: wire NVOF/depth guidance production to the new GuidanceFrame contract (provenance, sourceSequence, depthAge, extentsMatch) and migrate probe window semantics onto FrameWindow fixed prev/current/next with lookaheadFrames modes; keep veyra::core compat layer compiling. Then R2.3 ResetCoordinator integration tests (open/seek/cut/drop/resize/source-switch/pause-resume/device-lost at real-frame boundaries).",
- "updatedAt": "2026-09-06T16:55:00+08:00"
+ "nextAction": "Playbook R3.1: establish the remaining product library targets with real members extracted from tools/player_probe (veyra_sinks: WasapiAudioSink from AudioPipeline/AudioRenderer lines ~194-690 + link D3D12PresentSink; veyra_guidance: NvofGuidanceProvider wrapping NvOfSession + ZeroGuidanceProvider + GuidanceValidator skeleton; veyra_sources: MediaFileSource wrapping FFmpegDemuxer/FFmpegVideoDecoder). No empty/interface-only targets; player_probe must keep compiling and reproduce the same probe behavior. Then R3.2 moves the real GPU chain into EnhanceGraph (src/pipeline/EnhanceGraph.cpp must submit command lists + NGX evaluate per the gate check).",
+ "updatedAt": "2026-09-06T17:10:00+08:00"
}