Skip to content

fix(reference-video-tools): repair the audit findings on the comparison gate - #34

Merged
rponeawa merged 1 commit into
mainfrom
feat/reconstruction-audit-fixes
Aug 22, 2026
Merged

rponeawa merged 1 commit into
mainfrom
feat/reconstruction-audit-fixes

Conversation

@rponeawa

Copy link
Copy Markdown
Member

修复五路审计对复刻路由闸门的全部发现。

实质缺陷

  • agent 观察员下比对不被记账:闸门只统计 complete,而 agent 路径返回 pending(交给观察者看图回答)。过滤改为统计 complete 和 pending、只排除 failed。
  • 单次比对不提示:闸门无法判断镜头选得对不对,单个比对现在输出附注「确认该镜头展示了此元素」。

文档不一致与缺口

  • index.md / workflow.md 关于命令顺序的矛盾已调和。
  • 闸门的 --reference-id 解析、拼错警告、无本地包真空通过,均已写入文档。
  • reconstruction-loop.md 补参考帧选择规则与量化基准。
  • environment.md 补 hypit-reference-video-tools 安装路径。
  • credentials.md / authoring.md 对齐 hypit doctor 与 preview-check 调用。
  • preview.md 区分目录图与逐镜头比对图。
  • seedance-directing.md 修正 2.5 分辨率上限(只到 720p),与模型契约一致。

验证

  • pnpm check 通过;524 项测试 0 失败。
  • 闸门状态过滤隔离测试通过(complete+pending 记账,failed 排除)。
  • 独立五路审计 + 三路验证工作流复核。

🤖 Generated with Claude Code

…on gate

A five-way audit of the reconstruction route surfaced two real defects in the
gate added earlier, plus documentation that contradicted itself or left the
gate's behaviour unknowable.

The gate counted only `complete` comparisons, so on the `agent` observer — where
a comparison is handed out as `pending` and answered by looking at the images —
an element was never credited, contradicting the "compared once passes" claim.
The filter now counts `complete` and `pending` and excludes only `failed`.
A lone comparison is also called out for a reader to confirm the shot actually
showed the element, since the gate cannot judge that itself.

The documentation previously disagreed about the command order and left the
gate's mechanics undocumented:

- index.md and workflow.md now agree that the observation sweep starts before
  the reading and that `list_svml_packages` is an instant, independent step;
- the gate's reference-id resolution (one prepared reference, else an explicit
  --reference-id, else exit 2), the misspelled-element warning, and the vacuous
  pass for a Source with no local package are all stated;
- reconstruction-loop.md says how to pick the reference frame when several shots
  show an element and measures quantities against the frame's own width/height;
- environment.md gives the install path for hypit-reference-video-tools;
- credentials.md and authoring.md line the `hypit doctor` and preview-check
  invocations up with the rest of the route;
- preview.md separates the catalogue preview from the per-shot comparison still;
- seedance-directing.md now states that 2.5 renders at 480p/720p like mini and
  fast, matching the model contract (only `standard` offers 1080p/4k).
@rponeawa
rponeawa merged commit cf72ebd into main Aug 22, 2026
2 checks passed
@overlordkim
overlordkim deleted the feat/reconstruction-audit-fixes branch August 26, 2026 08:06
overlordkim pushed a commit that referenced this pull request Sep 9, 2026
fix(reference-video-tools): repair the audit findings on the comparison gate
overlordkim pushed a commit that referenced this pull request Sep 9, 2026
fix(reference-video-tools): repair the audit findings on the comparison gate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant