HEL-892: record pinned VHS node evidence and protected library coverage

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-10-30 04:14:03 +08:00
co-authored by multica-agent
parent ab4e47e662
commit 8187064129
30 changed files with 499808 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
> 当前 VHS 固定版本增量:见 `VHS固定版本视频契约.md`、`vhs-reference/`、`vhs-evidence/`。5个Combine/5个LoadVideo节点重核,7节点66字段契约通过,3旁路拒绝;整图新增0。145UI×18profile仍8完整参考候选/137关闭,622受影响回归通过;生产停用、定稿/实跑0,全量目标未完成。以下为历史批次。
> 当前AudioCrop/GuHai增量:见 `AudioCrop与GuHai分割最小契约.md`、`crop-split-reference/`、`crop-split-evidence/`。新增音频人声分离图完整reference-only候选;GuHai实际图因PreviewImage出口冲突保持关闭。145UI×16profile现8候选/137关闭,555受影响回归通过。无真实API保持comparison_unavailable,生产停用、定稿/实跑0,全量目标未完成。以下为历史批次。
> 当前视频音频分离增量:见 `视频音频分离固定契约.md`、`separation-reference/`、`separation-evidence/`。按核心0.3.68/0.3.71及AudioSeparation1.4.0固定来源新增1份完整reference-only候选;145UI×14profile现7候选/138关闭。无真实API保持comparison_unavailable,生产停用、定稿/实跑0,全量目标未完成。以下为历史批次。
@@ -0,0 +1,74 @@
本批补齐两个固定提交的 VHS 节点参考契约,7 个正常模式节点的 66 项保存态字段可独立核对;不新增完整图候选。145UI 仍为 **8 完整 reference-only 候选 / 137 关闭**,生产通用可靠转换、155 份完整说明定稿和必要实跑均未完成。没有真实 API 的图保持 comparison_unavailable。
原 PR #25:https://gitea.xbay.cc/leefer/aigc-home/pulls/25;分支 `agent/agent/a64a969a6a44`,base `main`。增量基点 `846d6fcbfef8921f38708a98a02738713abff1e6`;受测代码与原件提交 `ab4e47e`,完整哈希见 `vhs-evidence/tested-code.json`。最终 head 见交付评论和附件 final-check。后续仅文档/证据,六个受测文件 SHA 必须与代码提交一致。原 PR open/head/base 已读取核实;Multica 关联表仍为空,未另开 PR。当前 checkout 无 Git 身份,提交沿用原卡上一提交的 leefer/hello@shengshentech.com,单次 `git -c` 生效,未修改共享/全局配置。
## 两个固定版本及来源
- VideoCombine:`comfyui-videohelpersuite@4ee72c065db22c9d96c2427954dc69e7b908444b`。原仓库 Kosinkadink/ComfyUI-VideoHelperSuite,同提交 `videohelpersuite/nodes.py:244` 定义,`:247–277` schema,`:1034` 注册;`__init__.py` 引入映射。只覆盖本批实际使用的 `video/h264-mp4`。`video_formats/h264-mp4.json` 给出 pix_fmt 两项枚举、crf 整数 0..100、save_metadata/trim_to_audio 布尔四个动态控件;`iterate_format`/`get_video_formats`/`apply_format_widgets` 按固定配置提取,不靠源位置、input_order 或别图常量填充。
- LoadVideo:同提供方完整提交 `8550981384301e9bc5bfea83e5c2c75258102593`,`videohelpersuite/load_video_nodes.py:423` 定义,`:433–451` schema,`videohelpersuite/nodes.py:1026` 注册。本批只覆盖内置 AnimateDiff。`get_load_formats` 先外部后内置合并,`get_format` 优先内置;不声称其它动态扩展已支持。
- 两个完整树元数据和同名跨版本原件分别保存于 `vhs-reference/4ee72c06*`、`85509813*`,未以 1.7.7/1.7.9 或其它提交替代。源码和固定树 LICENSE 为 GPL-3.0;文件原有署名保留。原 URL、commit、字节 SHA256、获取时间、规则精确行号在 `sources.json`,定义/schema/注册独立列在 `contract.json`。未安装、导入或运行上游 Python/JS。
- 前端参考 1.37.11 固定 `4bf6a1960028cc5cda57d48f9fb01a74dfaade43`,复用既有 core 构造/恢复/graphToPrompt 原件,并补固定 utils 兼容包装、文本替换。新增 1.48.6 固定 `7b4172a243e0d43f1679c0be1c307560cd83c00d`,固定 app、执行序列化、LiteGraph 恢复、控件构造、schema 迁移和 widgetType 分派。两个显式 profile 各自保存假设;缺前端声明仅显式选择 1.37.11,1.48.6 必须有精确声明。没有扩展其它 98 份不适用前端集合。
新增 77 条来源 / 77 唯一 ID,77 条均在线复取 SHA 一致。全部九清单缓存复核 263 条,逐清单唯一 ID 相加 262,跨清单不同 ID 字符串 259;旧 186/185/182 口径保留。树发现元数据不混算来源条目。上游原始文件未格式化,原件自带尾空白另录;不是全仓 lint 全绿声明。
## 序列化边界及未知
`VHS.core.js` 的 useKVState 在 onConfigure 中按控件名恢复,并调用回调;onSerialize 再遍历全部控件写具名对象。它不同于普通核心只恢复原值的路径。VideoCombine 的 format 回调依固定 JSON 创建四项附加控件、维护输入配置;filename_prefix 的 serializeValue 调用 `scripts/utils.js` 兼容包装,再对 rootGraph 作文本替换。本批只接受无百分号/花括号的字面量,不运行日期或节点表达式。
FLOAT/INT 顶层控件被 VHS 分派到 VHSFLOAT/VHSINT;恢复会调用这些回调。仅接收合法范围、JS 可精确表示整数及回调不改变数值的子集。VideoCombine frame_rate 源声明 min=1、无 max,未硬套核心默认 2048;loop_count 0..100,crf 0..100,pix_fmt 仅 yuv420p/yuv420p10le。LoadVideo force_rate 0..60;宽高 0..8192,AnimateDiff 非零宽高须为 8 倍数,0 保持关闭尺寸强制;读取上限/跳帧 0..2^53-1,间隔 1..2^53-1。没有做 clamp、round、解码或媒体探测。
视频上传按钮 `choose video to upload` 的 options.serialize=false;videopreview DOM 同样 options.serialize=false,故均不进入 graphToPrompt。但 VHS 的 onSerialize 仍保存其值。`widget.serialize` 和 `options.serialize` 两个标记作用不同;预览保存的 filename/fullpath/cos_url 只是界面状态,不当作本次产物。实际控件数组迁移虽然有 convDict 六项、save_image 重命名和 force_size 恢复源码,本批仍拒绝数组:未证明的动态附加项及默认回退不补值。
具名对象必须完整、控件类型/枚举/范围/输入绑定/输出槽严格核对。相同 JSON 类型的 widgets_values_named 镜像才允许保留,固定 core 不读取此镜像;UE 对它的额外行为仍是显式未知。坏类型、缺/额外项、错误提供方/完整提交、未知表达式、自定义覆盖、模式、VAE/批次连接及不支持格式全部关闭。只覆盖 IMAGE 无 VAE 分支;frame_rate 的已保存 FLOAT 连线按原端点覆盖控件值,其上游定义未知时仍关闭整图。其它控件转连线未证明,不放宽。
VHS 另一个 videoinfo.js 只扩展 app.handleFile/元数据读取入口,没有新增节点 serializer;未执行它。所有其它扩展/UE、目标安装与前端版本匹配、动态文件列表、编码器、模型素材存在性均 unknown。
## 实际源文件核对
从旧 `crop-split-evidence/library.json` 的 gap 按 `(source_path,node_pointer)` 去重重算:本批固定 VideoCombine 为 **5 节点/5 图**,LoadVideo 为 **5 节点/1 图**,合计 10 节点/6 图。源全集另有两个同提交 Combine,但前端 1.49.6/1.23.0 不适用,继续关闭,未扩版本或当作本批 gap。
| 图 / 节点 | 保存态及实际结果 |
| --- | --- |
| 三张 Minimax_H3_T8 双时钟:参考生视频、图生视频、文生音视频 / 12 | frame_rate=24,prefix=MiniMaxH3/stable_4v4a,save_output=true。各 10 字段通过节点契约;其它未知节点/端点仍使 prompt=None。 |
| Wan2.1_Scail-2 动作迁移 / 550;角色迁移 / 200 | 保存 frame_rate=30,prefix=Wan21_SCAIL2,save_output=false;实际 frame_rate 各有 FLOAT 上游连线,最终执行值不能据 30 宣称。节点契约通过,保留原连线,未知上游仍关闭。 |
| 多视频合成分屏展示 / LoadVideo 17 | video 为源中文文件名,force_rate=16,width/height=0,cap=161,skip=25,nth=1,format=AnimateDiff;8 字段契约通过。 |
| 同图 / LoadVideo 16 | video=onetotall_pose_00001.mp4,force_rate=16,宽高/cap/skip=0,nth=1,AnimateDiff;8 字段契约通过。 |
| 同图 / LoadVideo 8、6、4 | 三个 mode=4 旁路,明确拒绝,不删除或强改为正常模式。三个文件名、cap/skip 原值各自独立保存在证据,未串值。 |
全部 10 节点的 90 项具名保存值(含旁路的 24 项)逐指针/类型记录;其中 7 个正常模式节点的 66 项通过序列化契约。15 条相关输入/输出连接独立回读原 links,核对端点、原槽、类型和双向记录。`actual-node-evidence.json` 包含完整路径、SHA、原指针、元信息、控件、端点、逐节点拒因和整图拒因;它是节点证据,**不是部分执行 prompt**。六张图仍均无完整候选,comparison_unavailable 保留。
## 输出协议
Combine 正常返回 ui.gifs 文件描述符,字段有 filename/subfolder/type/format/frame_rate/workflow/fullpath;result 是一个 VHS_FILENAMES `(save_output, output_files完整路径列表)`。批次未结束时只返回 unfinished_batch 与空文件列表。本批没有编码、提交任务或制造 history。
现有 `client.py` 已收取 gifs 中合法 filename/subfolder/type 的描述符,参考形状没有发现必须扩共享收取链的缺口。内部完整路径列表、字符串、AUDIO waveform/sample_rate 或 VHS_VIDEOINFO 字典都不是可下载文件。LoadVideo 返回 IMAGE(有 VAE 时为 LATENT)、帧计数、AUDIO、VIDEOINFO 四槽,不提供 UI 文件描述符。本批不改 client/output_map/worker/生产 registry,不因同名类增加全局信任。
## 全库和保护结果
145UI × 18profile = 2610 次实际 attempt:2252 不适用、350 拒绝、8 完整参考候选、0 冲突。完整候选仍 8、关闭 137;六配套图仍 3 候选/3 关闭,无配套 139 图仍 5/134。旧 16 profile 名单在 coverage_delta.baseline_profiles,逐 attempt 与旧 gap 精确相等,六份真实 API 差分及路径/种子/标题等原有差异不清除。98 份全前端不适用集合不变。
旧 gap 2522 组 / 8735 raw occurrence,新 2795 / 9723;新增 273 组、988 raw 条,移除 0。raw 是 `(source_path,node_pointer,node_id)` 多重集,组内去重数 7347→8196,不能把记录/组数当图数。增加来自新 profile 对其它未覆盖节点的诊断;真正新增能力是上述 7 个节点契约,不是删除旧 profile 的缺口或新增完整图。精确 group key、原始 occurrence、完整/关闭集合见 library.json、coverage-delta.json。
隔离首导155/排除1,重导155 skipped;16待核查/139待转换,全部停用且 doc_completed_at/exec_verified_at 全空。1217 源具名值、3660 位置控件记录、294 配套具名值、用户整行保护、6 companion_unverified/16 environment_unchecked 保持。163 源图/收件原字节及九个生产模块/资源与基点相同。生产导入、object_info、资格、在线库均未改;case06 不处理。
## 验证与复现
本次 **622 passed / 0 failed**,其中 67 个新增 VHS 专项;第三方 Starlette 弃用警告1项。覆盖真实来源字节/注册/schema、两类格式固定分支、未知格式拒绝、控件持久化/执行分流、类型/枚举/范围/声明/绑定/槽/坏线/覆盖/模式变形、非零音频槽、多实例传播、旧16profile/8候选/六配套差分和库/配套/范围保护。合成两节点/多实例夹具仅验证转换,未称为真实导出或编码结果。
初次自测发现两处新测试范围问题(未冻结旧批次 profile、遍历了额外两个不适用前端图),已按实际范围修正;保留旧断言,新增当前全库保护。初次日志在 tests-first-run.txt;最终日志 tests.txt 为受测代码头。555/449 和全后台 7fail/1179pass/6skip 是历史证据,本次未重跑全后台/前端/worker 全套,不修无关基线业务。
六个代码/测试文件、两个复算脚本的 Ruff check/format、离线 wheel/sdist 构建及六模块/资源包内字节核对通过。实现复用 serialization_reference.py、ui2api.py、audit_reference_conversion.py;新增 test_vhs_reference.py;两个旧测试仅冻结历史范围,保留原断言。vhs-reference 为原件、来源和契约;vhs-evidence 为实际复算/检查;本说明和 README 为入口。没有新增依赖、执行器或生产注册入口。
仓库根复现(隔离 DB 请用新路径):
```bash
uv sync --project calliope-backend --frozen --extra dev --offline
uv run --project calliope-backend --offline python calliope-backend/scripts/audit_reference_conversion.py --repo . --library --output vhs-library.json
uv run --project calliope-backend --offline python calliope-backend/scripts/verify_frontend_sources.py --source-dir docs/hel-892/vhs-reference --output vhs-sources.json
uv run --project calliope-backend --offline python -m calliope.comfyui.library_cli import --db .local-evidence/vhs-fresh/library.db --root example_ComfyUI_workflows --source-commit 846d6fcbfef8921f38708a98a02738713abff1e6 --companions docs/hel-892/supplied-api/manifest.json --output-dir .local-evidence/vhs-fresh/export
# 重跑同一import:155 skipped;再运行以下构建/复算
uv build --project calliope-backend --offline
uv run --project calliope-backend --offline python docs/hel-892/vhs-evidence/recompute.py --repo . --db .local-evidence/vhs-fresh/library.db
```
完整测试命令另见 `vhs-evidence/validation-commands.txt`。剩余为其它节点/版本、SetGet/循环/静音、GuHai额外出口来源、目标安装/UE/素材/真实导出与必要实跑。此轮无需用户补材料/开放机器或发布决定;不连接目标机、不停TTS、不启ComfyUI、不提交prompt、不运行上游插件或ffmpeg、不下载模型/视频/字体、不引依赖/付费调用、不改界面/在线库、不合并部署。请总管交 HEL-893 审实际增量,全量完成并审核后才部署。
File diff suppressed because it is too large Load Diff
+4
View File
@@ -0,0 +1,4 @@
Building source distribution...
Building wheel from source distribution...
Successfully built calliope-backend/dist/calliope-1.5.8.tar.gz
Successfully built calliope-backend/dist/calliope-1.5.8-py3-none-any.whl
+143
View File
@@ -0,0 +1,143 @@
"""Extract line references without importing upstream plugins or running JS."""
import ast
import json
from pathlib import Path
root = Path(__file__).resolve().parents[1] / "vhs-reference"
manifest = json.loads((root / "sources.json").read_bytes())
anchors = {
"web/js/VHS.core.js": [
"function useKVState",
"function addVAEOutputToggle",
"function addVAEInputToggle",
"function addDateFormatting",
"function initializeLoadFormat",
"function addUploadWidget",
"function addVideoPreview",
"function addFormatWidgets",
"async beforeRegisterNodeDef",
"VHSFLOAT(node",
"VHSINT(node",
],
"videohelpersuite/nodes.py": [
"def iterate_format",
"def get_video_formats",
"def apply_format_widgets",
"class VideoCombine",
'"VHS_VideoCombine": VideoCombine',
'"VHS_LoadVideo": LoadVideoUpload',
'"ui": {"gifs": [preview]}',
],
"videohelpersuite/load_video_nodes.py": [
"VHSLoadFormats =",
"def get_load_formats",
"class LoadVideoUpload",
"return (images, len(images), audio, video_info)",
],
"src/utils/executionUtil.ts": [
"// Store all widget values",
"// Store all node links",
],
"src/lib/litegraph/src/LGraphNode.ts": ["this.onConfigure?.(info)"],
"src/scripts/utils.ts": ["export function applyTextReplacements"],
"src/utils/litegraphUtil.ts": ["export function migrateWidgetsValues"],
"src/services/litegraphService.ts": ["function addInputs", "inputSpec.widgetType"],
}
for source in manifest["sources"]:
lines = (root / source["local_file"]).read_text().splitlines()
source["rule_locations"] = {}
for suffix, needles in anchors.items():
if source["local_file"].endswith(suffix):
for needle in needles:
indices = [i + 1 for i, line in enumerate(lines) if needle in line]
if indices:
source["rule_locations"][needle] = [indices[0], indices[0]]
(root / "sources.json").write_text(
json.dumps(manifest, ensure_ascii=False, indent=2) + "\n"
)
classes = []
for commit, filename, classname, registration in [
("4ee72c06", "nodes.py", "VideoCombine", 1034),
("85509813", "load_video_nodes.py", "LoadVideoUpload", 1026),
]:
local = f"{commit}/videohelpersuite/{filename}"
tree = ast.parse((root / local).read_bytes())
cls = next(
n for n in tree.body if isinstance(n, ast.ClassDef) and n.name == classname
)
method = next(
n
for n in cls.body
if isinstance(n, ast.FunctionDef) and n.name == "INPUT_TYPES"
)
classes.append(
{
"class": classname,
"source_file": local,
"definition_lines": [cls.lineno, cls.end_lineno],
"schema_lines": [method.lineno, method.end_lineno],
"schema_ast": ast.unparse(method),
"registration": {
"file": f"{commit}/videohelpersuite/nodes.py",
"line": registration,
},
}
)
contract = {
"authority": "pinned_public_reference_only_not_target_definition",
"classes": classes,
"frontend_versions": {
"1.37.11": "4bf6a1960028cc5cda57d48f9fb01a74dfaade43",
"1.48.6": "7b4172a243e0d43f1679c0be1c307560cd83c00d",
},
"verified_facts": {
"provider": "comfyui-videohelpersuite",
"combine_commit": "4ee72c065db22c9d96c2427954dc69e7b908444b",
"load_commit": "8550981384301e9bc5bfea83e5c2c75258102593",
"combine_dynamic_fields": ["pix_fmt", "crf", "save_metadata", "trim_to_audio"],
"combine_format_file": "4ee72c06/video_formats/h264-mp4.json",
"load_format": "AnimateDiff; built-in mapping shadows nodes.VHSLoadFormats same key",
"persisted_not_prompt": ["videopreview", "choose video to upload"],
"serialize_flags": "VHS onSerialize writes all widgets; graphToPrompt checks options.serialize",
"numeric_restore": "useKVState invokes callbacks. Only identity fixed points accepted. "
"AnimateDiff dimensions modulo 8; zero remains disabling. No callback/media execution.",
"legacy_arrays": "convDict six elements, save_image rename and force_size migration proven; "
"rejected because dynamic fields/default fallbacks not covered",
"filename_prefix": "scripts/utils wrapper calls rootGraph search-and-replace; "
"only literals without % or braces supported",
"extra_js": "videoinfo.js: getVideoMetadata and app.handleFile wrapper; no node serializers",
},
"explicit_reference_assumptions": {
"missing_frontend": "selected 1.37.11; explicit other versions rejected",
"named_mirror": "pinned core ignores widgets_values_named; typed equal mirror required; "
"UE/custom overrides unproven",
"unmodified_pinned_files_and_no_other_extensions": True,
"image_without_vae_only": True,
"no_batch_manager": True,
},
"unknown": [
"target installation/frontend/UE",
"input video file membership/access",
"ffmpeg/encoder availability",
"models/media",
"custom extension hooks",
"actual restored graph export equivalence/history",
],
"output_protocol": {
"combine_reference": "ui.gifs descriptors: filename,subfolder,type,format,frame_rate,workflow,"
"fullpath; result has one VHS_FILENAMES value (save_output, full-path list). Unfinished batch "
"has ui.unfinished_batch=[true] and empty result list.",
"downloadable": "gifs filename/subfolder/type is compatible reference shape. Internal full "
"paths are not download descriptors; no target history generated.",
"load_reference": "4 node-to-node results: IMAGE (LATENT with vae), frame count, AUDIO, "
"VHS_VIDEOINFO. No UI file descriptors. Lazy waveform/sample_rate is execution data.",
"existing_collection": "client.py collect_output_files handles gifs with file validation; "
"output_map/registry/worker unchanged, no new global trust or shared-chain changes",
"limits": "other codecs/formats, encoding, history, target media and custom paths unproved",
},
}
(root / "contract.json").write_text(
json.dumps(contract, ensure_ascii=False, indent=2) + "\n"
)
print(f"{len(manifest['sources'])} pinned sources")
File diff suppressed because it is too large Load Diff
+931
View File
@@ -0,0 +1,931 @@
diff --git a/calliope-backend/scripts/audit_reference_conversion.py b/calliope-backend/scripts/audit_reference_conversion.py
index 9f5c2a7..c0e5169 100644
--- a/calliope-backend/scripts/audit_reference_conversion.py
+++ b/calliope-backend/scripts/audit_reference_conversion.py
@@ -33,6 +33,7 @@ from calliope.comfyui.serialization_reference import (
PROFILE,
REEL_PROFILE,
SEPARATION_PROFILE,
+ VHS_PROFILES,
resolve_reference_link,
serialize_case04_node,
serialize_promoted_node,
@@ -291,6 +292,7 @@ REFERENCE_PROFILES = (
*MEDIA_PROFILES,
SEPARATION_PROFILE,
*CROP_SPLIT_PROFILES,
+ *VHS_PROFILES,
)
@@ -455,10 +457,45 @@ def media_field_evidence(source, prompt, profile):
return fields
+def vhs_field_evidence(source, prompt):
+ """Re-read every final field from named source bytes or original links."""
+ fields = []
+ for i, node in enumerate(source["nodes"]):
+ nid = str(node["id"])
+ assert prompt[nid]["class_type"] == node["type"]
+ assert prompt[nid]["_meta"] == {"title": node.get("title") or node["type"]}
+ for name, value in prompt[nid]["inputs"].items():
+ socket = next(s for s in node["inputs"] if s["name"] == name)
+ if socket.get("link") is not None:
+ li, link = next(
+ (j, edge) for j, edge in enumerate(source["links"]) if edge[0] == socket["link"]
+ )
+ expected = [str(link[1]), link[2]]
+ pointer = f"/links/{li}"
+ else:
+ expected = node["widgets_values"][name]
+ pointer = f"/nodes/{i}/widgets_values/{name}"
+ assert type(value) is type(expected) and value == expected
+ fields.append(
+ {
+ "node_id": nid,
+ "class_type": node["type"],
+ "field": name,
+ "value": value,
+ "json_type": type(value).__name__,
+ "source_pointer": pointer,
+ }
+ )
+ return fields
+
+
def profile_attempt(source, profile):
- expected = {**STRUCTURE_PROFILES, **PROMOTED_PROFILES, CASE04_PROFILE: "1.53.6"}.get(
- profile, "1.37.11"
- )
+ expected = {
+ **STRUCTURE_PROFILES,
+ **PROMOTED_PROFILES,
+ CASE04_PROFILE: "1.53.6",
+ **VHS_PROFILES,
+ }.get(profile, "1.37.11")
assumptions = {
"frontend": expected,
"unmodified_frontend_and_widgets": True,
@@ -522,8 +559,20 @@ def profile_attempt(source, profile):
"separation-reference/sources.json",
*assumptions["reference_sources"],
]
+ if profile in VHS_PROFILES:
+ assumptions["vhs_reference"] = {
+ "contracts": "vhs-reference/contract.json",
+ "unmodified_pinned_plugin_and_format_files": True,
+ "extension_overrides_and_target_installation": "unknown",
+ "named_mirror": "if present, assumed inert and required equal to VHS map",
+ "array_migration": "unsupported; never fill missing fields from defaults",
+ }
+ assumptions["reference_sources"] = [
+ "vhs-reference/sources.json",
+ "serialization-evidence/sources.json",
+ ]
base = {"profile": profile, "assumptions": assumptions}
- if profile in CROP_SPLIT_PROFILES:
+ if profile in (*CROP_SPLIT_PROFILES, *VHS_PROFILES):
base["source_declarations"] = [
{
"pointer": f"/nodes/{i}",
@@ -531,32 +580,48 @@ def profile_attempt(source, profile):
}
for i, n in enumerate(source.get("nodes", []))
]
- base["verified_reference_facts"] = "crop-split-reference/verified-facts.json"
+ base["verified_reference_facts"] = (
+ "vhs-reference/contract.json"
+ if profile in VHS_PROFILES
+ else "crop-split-reference/verified-facts.json"
+ )
declared_frontend = (source.get("extra") or {}).get("frontendVersion")
assumptions["source_frontend_declaration"] = declared_frontend
+ if profile in VHS_PROFILES:
+ assumptions["vhs_reference"]["missing_frontend_policy"] = (
+ "explicit_1.37.11_reference_assumption"
+ if expected == "1.37.11"
+ else "requires_explicit_1.48.6"
+ )
assumptions["missing_frontend_policy"] = (
"explicit_media_reference_assumption"
- if profile in (*MEDIA_PROFILES, SEPARATION_PROFILE, *CROP_SPLIT_PROFILES)
+ if profile in (*MEDIA_PROFILES, SEPARATION_PROFILE, *CROP_SPLIT_PROFILES, *VHS_PROFILES)
else "explicit_legacy_reference_assumption"
if profile in (PROFILE, AUX_PROFILE, PRIMITIVE_PROFILE)
else "requires_explicit_declaration"
)
+ if profile in VHS_PROFILES and expected == "1.48.6":
+ assumptions["missing_frontend_policy"] = "requires_explicit_1.48.6"
assumptions["missing_node_declarations"] = [
n["pointer"]
for n in node_inventory(source, include_aux=profile in CROP_SPLIT_PROFILES)
if n["type"] not in ("Note", "MarkdownNote", "Reroute", "PrimitiveNode")
and (n["provider"] is None or n["version"] is None)
]
- if declared_frontend != expected and not (
- declared_frontend is None
- and profile
- in (
- PROFILE,
- AUX_PROFILE,
- PRIMITIVE_PROFILE,
- *MEDIA_PROFILES,
- SEPARATION_PROFILE,
- *CROP_SPLIT_PROFILES,
+ if (profile in VHS_PROFILES and expected == "1.48.6" and declared_frontend is None) or (
+ declared_frontend != expected
+ and not (
+ declared_frontend is None
+ and profile
+ in (
+ PROFILE,
+ AUX_PROFILE,
+ PRIMITIVE_PROFILE,
+ *MEDIA_PROFILES,
+ SEPARATION_PROFILE,
+ *CROP_SPLIT_PROFILES,
+ *VHS_PROFILES,
+ )
)
):
return {
@@ -593,8 +658,10 @@ def profile_attempt(source, profile):
**(
{"field_evidence": asr_field_evidence(source, result.prompt)}
if profile == ASR_PROFILE
+ else {"field_evidence": vhs_field_evidence(source, result.prompt)}
+ if profile in VHS_PROFILES
else {"field_evidence": media_field_evidence(source, result.prompt, profile)}
- if profile in (*MEDIA_PROFILES, SEPARATION_PROFILE, *CROP_SPLIT_PROFILES)
+ if profile in (*MEDIA_PROFILES, SEPARATION_PROFILE, *CROP_SPLIT_PROFILES, *VHS_PROFILES)
else {}
),
}
@@ -698,7 +765,10 @@ def audit_library(repo: Path, profiles=REFERENCE_PROFILES, *, baseline_profiles=
for cohort in ("without_companion", "with_companion")
}
if baseline_profiles is None:
- baseline_profiles = tuple(p for p in profiles if p not in CROP_SPLIT_PROFILES)
+ excluded_profiles = (
+ VHS_PROFILES if any(p in VHS_PROFILES for p in profiles) else CROP_SPLIT_PROFILES
+ )
+ baseline_profiles = tuple(p for p in profiles if p not in excluded_profiles)
old_complete = {
row["source_path"]
for row in rows
@@ -754,6 +824,7 @@ def main():
*MEDIA_PROFILES,
SEPARATION_PROFILE,
*CROP_SPLIT_PROFILES,
+ *VHS_PROFILES,
PROFILE,
AUX_PROFILE,
PRIMITIVE_PROFILE,
diff --git a/calliope-backend/src/calliope/comfyui/serialization_reference.py b/calliope-backend/src/calliope/comfyui/serialization_reference.py
index afd2ea5..b79a15d 100644
--- a/calliope-backend/src/calliope/comfyui/serialization_reference.py
+++ b/calliope-backend/src/calliope/comfyui/serialization_reference.py
@@ -10,6 +10,7 @@ installation is inferred.
from __future__ import annotations
+import json
import math
from typing import Any
@@ -22,6 +23,13 @@ CROP_PROFILE = "comfy-frontend-1.37.11-audio-crop-1.4.0-core-0.3.68-reference"
SPLIT_PROFILE = "comfy-frontend-1.37.11-guhai-885cac3d-core-0.21.1-reference"
CROP_SPLIT_PROFILES = (CROP_PROFILE, SPLIT_PROFILE)
+VHS_COMBINE_COMMIT = "4ee72c065db22c9d96c2427954dc69e7b908444b"
+VHS_LOAD_COMMIT = "8550981384301e9bc5bfea83e5c2c75258102593"
+VHS_PROFILES = {
+ "comfy-frontend-1.37.11-vhs-pinned-reference": "1.37.11",
+ "comfy-frontend-1.48.6-vhs-pinned-reference": "1.48.6",
+}
+
ASR_PROFILE = "comfy-frontend-1.37.11-asr-b037d7be-reference"
PROFILE = "comfy-frontend-1.37.11-core-reference"
AUX_PROFILE = "comfy-frontend-1.37.11-controlnet-aux-e8b689a-reference"
@@ -92,6 +100,8 @@ def reference_definitions(profile: str = PROFILE) -> dict[str, Any]:
"output": outputs,
}
+ if profile in VHS_PROFILES:
+ return vhs_definitions()
if profile in (*MEDIA_PROFILES, SEPARATION_PROFILE, *CROP_SPLIT_PROFILES):
return media_definitions(profile)
if profile == ASR_PROFILE:
@@ -166,6 +176,8 @@ def reference_definitions(profile: str = PROFILE) -> dict[str, Any]:
def serialize_reference_widgets(node: dict[str, Any], profile: str = PROFILE) -> dict[str, Any]:
"""Apply only the pinned identity serializers; reject any extra/missing value."""
+ if profile in VHS_PROFILES:
+ return serialize_vhs_node(node)
if profile in (*MEDIA_PROFILES, SEPARATION_PROFILE, *CROP_SPLIT_PROFILES):
return serialize_media_node(node, profile)
if profile == ASR_PROFILE:
@@ -1316,3 +1328,186 @@ def serialize_media_node(node, profile):
if ct in ("LoadAudio", "SaveAudioMP3", "PreviewAudio"):
result["audioUI"] = ""
return result
+
+
+# Only named-map state with every execution field present is covered. VHS's
+# legacy six-value arrays run migrations/default fallbacks and are rejected.
+# Sources: docs/hel-892/vhs-reference/{4ee72c06,85509813}/ and sources.json.
+_VHS_COMBINE = {
+ "frame_rate": "FLOAT",
+ "loop_count": "INT",
+ "filename_prefix": "STRING",
+ "format": "COMBO",
+ "pingpong": "BOOLEAN",
+ "save_output": "BOOLEAN",
+ "pix_fmt": "COMBO",
+ "crf": "INT",
+ "save_metadata": "BOOLEAN",
+ "trim_to_audio": "BOOLEAN",
+}
+_VHS_LOAD = {
+ "video": "COMBO",
+ "force_rate": "FLOAT",
+ "custom_width": "INT",
+ "custom_height": "INT",
+ "frame_load_cap": "INT",
+ "skip_first_frames": "INT",
+ "select_every_nth": "INT",
+ "format": "COMBO",
+}
+
+
+def vhs_definitions():
+ """Two fixed classes, h264-mp4/AnimateDiff, IMAGE without VAE only."""
+
+ def spec(required, optional, output):
+ return {
+ "input": {
+ "required": {k: [v] for k, v in required.items()},
+ "optional": {k: [v] for k, v in optional.items()},
+ },
+ "output": output,
+ }
+
+ return {
+ "VHS_VideoCombine": spec(
+ {"images": "IMAGE", **_VHS_COMBINE},
+ {"audio": "AUDIO", "meta_batch": "VHS_BatchManager", "vae": "VAE"},
+ ["VHS_FILENAMES"],
+ ),
+ "VHS_LoadVideo": spec(
+ {k: v for k, v in _VHS_LOAD.items() if k != "format"},
+ {"meta_batch": "VHS_BatchManager", "vae": "VAE", "format": "COMBO"},
+ ["IMAGE", "INT", "AUDIO", "VHS_VIDEOINFO"],
+ ),
+ }
+
+
+def serialize_vhs_node(node):
+ """Bounded restored state, before queue hooks; never run preview callbacks.
+
+ VHS useKVState calls callbacks during restore (unlike plain core restore).
+ Accept only values that are fixed points of the pinned callbacks. UI state
+ is persisted by onSerialize despite options.serialize=false, but excluded
+ from graphToPrompt. This does not assert target extensions or file access.
+ """
+ ct, props = node.get("type"), node.get("properties") or {}
+ if ct not in vhs_definitions():
+ raise ValueError("VHS固定参考未覆盖此类")
+ expected = VHS_COMBINE_COMMIT if ct == "VHS_VideoCombine" else VHS_LOAD_COMMIT
+ if (
+ props.get("cnr_id") != "comfyui-videohelpersuite"
+ or props.get("ver") != expected
+ or props.get("aux_id") is not None
+ or type(node.get("mode", 0)) is not int
+ or node.get("mode", 0) != 0
+ ):
+ raise ValueError("VHS提供方/完整提交/模式冲突;不使用发布号替代")
+ for container in (node, props):
+ if any(k in container for k in ("widgets", "serializeValue", "comfyDynamic")):
+ raise ValueError("VHS自定义控件或serializer覆盖未知")
+ ue = props.get("ue_properties") or {}
+ if "widgets_values_named" in props or any(
+ ue.get(k) for k in ("widget_ue_connectable", "input_ue_unconnectable")
+ ):
+ raise ValueError("VHS不覆盖UE控件改写")
+ layout = _VHS_COMBINE if ct == "VHS_VideoCombine" else _VHS_LOAD
+ values = node.get("widgets_values")
+ # Upload button is skipped on restore and options.serialize=false in prompt.
+ allowed = set(layout) | {"videopreview"}
+ if ct == "VHS_LoadVideo":
+ allowed.add("choose video to upload")
+ if not isinstance(values, dict) or not set(layout) <= set(values) <= allowed:
+ raise ValueError("VHS仅覆盖完整具名对象;数组迁移/缺项/额外动态项不补默认")
+ named = node.get("widgets_values_named")
+ if named is not None and (
+ type(named) is not dict
+ or json.dumps(named, sort_keys=True, allow_nan=False)
+ != json.dumps(values, sort_keys=True, allow_nan=False)
+ ):
+ raise ValueError("VHS额外具名镜像冲突")
+ if "choose video to upload" in values and values["choose video to upload"] != "image":
+ raise ValueError("VHS上传按钮占位未知")
+ preview = values.get("videopreview")
+ if preview is not None and (
+ type(preview) is not dict
+ or set(preview) - {"hidden", "paused", "params", "muted"}
+ or any(type(preview[k]) is not bool for k in ("hidden", "paused", "muted") if k in preview)
+ or ("params" in preview and type(preview["params"]) is not dict)
+ ):
+ raise ValueError("VHS持久化预览状态形状未知")
+ result = {}
+ for name, kind in layout.items():
+ value = values[name]
+ valid = (
+ type(value) in (int, float) and math.isfinite(value)
+ if kind == "FLOAT"
+ else type(value) is int
+ if kind == "INT"
+ else type(value) is bool
+ if kind == "BOOLEAN"
+ else type(value) is str
+ )
+ if not valid or (type(value) is int and abs(value) > 2**53 - 1):
+ raise ValueError(f"VHS字段{name}类型或JavaScript精确整数范围不符")
+ if type(value) is str and any(t in value for t in ("%", "{", "}")):
+ raise ValueError("VHS动态表达式不在字面量参考内")
+ result[name] = value
+ bounds = (
+ {"frame_rate": (1, float("inf")), "loop_count": (0, 100), "crf": (0, 100)}
+ if ct == "VHS_VideoCombine"
+ else {
+ "force_rate": (0, 60),
+ "custom_width": (0, 8192),
+ "custom_height": (0, 8192),
+ "frame_load_cap": (0, 2**53 - 1),
+ "skip_first_frames": (0, 2**53 - 1),
+ "select_every_nth": (1, 2**53 - 1),
+ }
+ )
+ for name, (low, high) in bounds.items():
+ if not low <= result[name] <= high:
+ raise ValueError(f"VHS字段{name}超出固定参考边界")
+ if ct == "VHS_VideoCombine":
+ if result["format"] != "video/h264-mp4" or result["pix_fmt"] not in (
+ "yuv420p",
+ "yuv420p10le",
+ ):
+ raise ValueError("VHS仅证明固定h264-mp4及其四项动态控件")
+ elif result["format"] != "AnimateDiff" or any(
+ result[k] % 8 for k in ("custom_width", "custom_height")
+ ):
+ raise ValueError("VHS仅证明AnimateDiff;尺寸必须是恢复回调的不变点(8倍数或0)")
+ spec = vhs_definitions()[ct]["input"]
+ slots = {k: v[0] for k, v in {**spec["required"], **spec["optional"]}.items()}
+ sockets = node.get("inputs", [])
+ names = [s.get("name") for s in sockets]
+ if len(names) != len(set(names)) or set(names) != set(slots):
+ raise ValueError("VHS输入槽缺失/额外/重复")
+ for socket in sockets:
+ name = socket["name"]
+ expected_type = ["yuv420p", "yuv420p10le"] if name == "pix_fmt" else slots[name]
+ # Some original workflow exports store the dynamic combo as COMBO;
+ # both are the pinned config's exact two-option combo representation.
+ valid_type = (
+ socket.get("type") in (expected_type, "COMBO")
+ if name == "pix_fmt"
+ else socket.get("type") == expected_type
+ )
+ if not valid_type:
+ raise ValueError("VHS输入槽类型与固定schema不符")
+ if socket.get("widget") != ({"name": name} if name in layout else None):
+ raise ValueError("VHS具名控件绑定不符")
+ if socket.get("link") is not None and (
+ name in ("vae", "meta_batch") or (name in layout and name != "frame_rate")
+ ):
+ raise ValueError("VHS控件转连线/VAE/批次模式未覆盖")
+ outputs = node.get("outputs", [])
+ if [s.get("type") for s in outputs] != vhs_definitions()[ct]["output"]:
+ raise ValueError("VHS返回类型/槽不符")
+ for i, socket in enumerate(outputs):
+ if "slot_index" in socket and (
+ type(socket["slot_index"]) is not int or socket["slot_index"] != i
+ ):
+ raise ValueError("VHS原输出槽索引冲突")
+ return result
diff --git a/calliope-backend/src/calliope/comfyui/ui2api.py b/calliope-backend/src/calliope/comfyui/ui2api.py
index af4228a..5dd00ff 100644
--- a/calliope-backend/src/calliope/comfyui/ui2api.py
+++ b/calliope-backend/src/calliope/comfyui/ui2api.py
@@ -23,6 +23,7 @@ from .serialization_reference import (
PRIMITIVE_PROFILE,
PROFILE,
SEPARATION_PROFILE,
+ VHS_PROFILES,
case04_definitions,
fold_reference_primitives,
promoted_definitions,
@@ -65,6 +66,7 @@ def convert_reference(source: Any, profile: str = PROFILE) -> Conversion:
*MEDIA_PROFILES,
SEPARATION_PROFILE,
*CROP_SPLIT_PROFILES,
+ *VHS_PROFILES,
AUX_PROFILE,
PRIMITIVE_PROFILE,
PREVIEW_PROFILE,
@@ -81,6 +83,12 @@ def convert_reference(source: Any, profile: str = PROFILE) -> Conversion:
True,
)
try:
+ if (
+ profile in VHS_PROFILES
+ and VHS_PROFILES[profile] == "1.48.6"
+ and (source.get("extra") or {}).get("frontendVersion") != "1.48.6"
+ ):
+ raise ValueError("VHS 1.48.6参考要求显式前端声明;缺失仅选择1.37.11")
if profile in (*STRUCTURE_PROFILES, *PROMOTED_PROFILES, CASE04_PROFILE):
case04 = profile == CASE04_PROFILE
promoted = profile in PROMOTED_PROFILES or case04
@@ -128,11 +136,14 @@ def convert_reference(source: Any, profile: str = PROFILE) -> Conversion:
and (source.get("extra") or {}).get("frontendVersion") != "1.37.11"
):
raise ValueError("PreviewAny 需要显式1.37.11前端声明")
- if profile in (*MEDIA_PROFILES, SEPARATION_PROFILE, *CROP_SPLIT_PROFILES) and any(
- node.get("type") == "Reroute" for node in source.get("nodes", [])
- ):
+ if profile in (
+ *MEDIA_PROFILES,
+ SEPARATION_PROFILE,
+ *CROP_SPLIT_PROFILES,
+ *VHS_PROFILES,
+ ) and any(node.get("type") == "Reroute" for node in source.get("nodes", [])):
raise ValueError("媒体最小参考仅覆盖直接连线,不扩展虚拟节点")
- if profile in (SEPARATION_PROFILE, *CROP_SPLIT_PROFILES) and any(
+ if profile in (SEPARATION_PROFILE, *CROP_SPLIT_PROFILES, *VHS_PROFILES) and any(
(source.get("extra") or {}).get(k) for k in ("ue_links", "links_added_by_ue")
):
raise ValueError("音频分离参考不覆盖UE附加连线")
@@ -147,7 +158,13 @@ def convert_reference(source: Any, profile: str = PROFILE) -> Conversion:
except (ValueError, TypeError, KeyError, AttributeError, IndexError) as exc:
return Conversion(None, [{"code": "invalid_reference_contract", "message": str(exc)}], True)
result.reference_only = True
- if profile in (ASR_PROFILE, *MEDIA_PROFILES, SEPARATION_PROFILE, *CROP_SPLIT_PROFILES):
+ if profile in (
+ ASR_PROFILE,
+ *MEDIA_PROFILES,
+ SEPARATION_PROFILE,
+ *CROP_SPLIT_PROFILES,
+ *VHS_PROFILES,
+ ):
result.serialization_stage = "restored_saved_state_before_queue_hooks"
return result
@@ -208,6 +225,7 @@ def _convert(
**STRUCTURE_PROFILES,
**PROMOTED_PROFILES,
CASE04_PROFILE: "1.53.6",
+ **VHS_PROFILES,
}.get(reference_profile, "1.37.11")
if frontend_version is not None and frontend_version != expected_version:
fail("reference_frontend_mismatch", "源图声明的前端版本与固定参考不一致")
@@ -228,7 +246,12 @@ def _convert(
for lid in links:
try:
resolve_reference_link(nodes, links, lid)
- if reference_profile in (*MEDIA_PROFILES, SEPARATION_PROFILE, *CROP_SPLIT_PROFILES):
+ if reference_profile in (
+ *MEDIA_PROFILES,
+ SEPARATION_PROFILE,
+ *CROP_SPLIT_PROFILES,
+ *VHS_PROFILES,
+ ):
link = links[lid]
upstream = nodes[str(link[1])]["outputs"][link[2]]
downstream = nodes[str(link[3])]["inputs"][link[4]]
diff --git a/calliope-backend/tests/test_audio_separation_reference.py b/calliope-backend/tests/test_audio_separation_reference.py
index 99879b2..c8d5a9e 100644
--- a/calliope-backend/tests/test_audio_separation_reference.py
+++ b/calliope-backend/tests/test_audio_separation_reference.py
@@ -359,7 +359,11 @@ def test_old_mp3_profile_rejects_real_graph_and_new_profile_rejects_old_core():
def test_library_actual_delta_keeps_every_old_attempt_and_all_six_golden_comparisons():
previous = json.loads((REPO / "docs/hel-892/media-evidence/library.json").read_bytes())
- profiles = tuple(p for p in audit.REFERENCE_PROFILES if p not in audit.CROP_SPLIT_PROFILES)
+ profiles = tuple(
+ p
+ for p in audit.REFERENCE_PROFILES
+ if p not in (*audit.CROP_SPLIT_PROFILES, *audit.VHS_PROFILES)
+ )
baseline = tuple(p for p in profiles if p != SEPARATION_PROFILE)
old = audit.audit_library(REPO, baseline)
current = audit.audit_library(REPO, profiles, baseline_profiles=baseline)
diff --git a/calliope-backend/tests/test_crop_split_reference.py b/calliope-backend/tests/test_crop_split_reference.py
index ef9fa0f..dd9f46a 100644
--- a/calliope-backend/tests/test_crop_split_reference.py
+++ b/calliope-backend/tests/test_crop_split_reference.py
@@ -16,6 +16,7 @@ from calliope.comfyui.serialization_reference import (
CROP_SPLIT_PROFILES,
SEPARATION_PROFILE,
SPLIT_PROFILE,
+ VHS_PROFILES,
serialize_reference_widgets,
)
from calliope.comfyui.ui2api import convert, convert_reference
@@ -350,12 +351,13 @@ def test_two_disjoint_instances_preserve_nodes_links_and_values(profile):
def test_all_old_fourteen_profiles_attempts_gaps_and_six_differences_unchanged():
- profiles = tuple(p for p in audit.REFERENCE_PROFILES if p not in CROP_SPLIT_PROFILES)
+ historical_profiles = tuple(p for p in audit.REFERENCE_PROFILES if p not in VHS_PROFILES)
+ profiles = tuple(p for p in historical_profiles if p not in CROP_SPLIT_PROFILES)
historical = json.loads((REPO / "docs/hel-892/separation-evidence/library.json").read_bytes())
baseline = audit.audit_library(REPO, profiles)
- current = audit.audit_library(REPO)
+ current = audit.audit_library(REPO, historical_profiles)
assert baseline["gap_groups"] == historical["gap_groups"]
- assert len(profiles) == 14 and len(audit.REFERENCE_PROFILES) == 16
+ assert len(profiles) == 14 and len(historical_profiles) == 16
assert current["coverage_delta"]["baseline_profiles"] == list(profiles)
assert current["coverage_delta"]["new_complete_paths"] == [CROP]
assert len(current["coverage_delta"]["current_complete_paths"]) == 8
diff --git a/calliope-backend/tests/test_vhs_reference.py b/calliope-backend/tests/test_vhs_reference.py
new file mode 100644
index 0000000..20d016d
--- /dev/null
+++ b/calliope-backend/tests/test_vhs_reference.py
@@ -0,0 +1,375 @@
+"""Pinned source bytes and synthetic graphs only; no plugins/media are executed."""
+
+from __future__ import annotations
+
+import ast
+import copy
+import hashlib
+import json
+from pathlib import Path
+
+import pytest
+from scripts import audit_reference_conversion as audit
+from scripts.verify_frontend_sources import verify
+
+from calliope.comfyui.serialization_reference import (
+ VHS_COMBINE_COMMIT,
+ VHS_LOAD_COMMIT,
+ VHS_PROFILES,
+ serialize_vhs_node,
+)
+from calliope.comfyui.ui2api import convert, convert_reference
+
+REPO = Path(__file__).resolve().parents[2]
+ROOT = REPO / "docs/hel-892/vhs-reference"
+PREFIX = "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/"
+LOAD = PREFIX + "多视频合成分屏展示.json"
+COMBINE = (
+ "example_ComfyUI_workflows/4-视频生成/Minimax-h3/"
+ "Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json"
+)
+
+
+def real_node(path, nid):
+ return next(n for n in json.loads((REPO / path).read_bytes())["nodes"] if n["id"] == nid)
+
+
+def synthetic():
+ # This pair is not a source workflow, target export or encoding/history test.
+ load, combine = real_node(LOAD, 17), real_node(COMBINE, 12)
+ for n in (load, combine):
+ n.pop("widgets_values_named", None)
+ for s in n["inputs"]:
+ s["link"] = None
+ for s in n["outputs"]:
+ s["links"] = []
+ load["outputs"][0]["links"] = [1]
+ load["outputs"][2]["links"] = [2]
+ combine["inputs"][0]["link"] = 1
+ combine["inputs"][1]["link"] = 2
+ return {
+ "nodes": [load, combine],
+ "links": [[1, 17, 0, 12, 0, "IMAGE"], [2, 17, 2, 12, 1, "AUDIO"]],
+ }
+
+
+def test_pinned_bytes_registration_schema_and_js_boundaries():
+ assert len(verify(ROOT)["sources_verified"]) == len(
+ json.loads((ROOT / "sources.json").read_bytes())["sources"]
+ )
+ for commit, ct, clsname, filename in (
+ (VHS_COMBINE_COMMIT, "VHS_VideoCombine", "VideoCombine", "nodes.py"),
+ (VHS_LOAD_COMMIT, "VHS_LoadVideo", "LoadVideoUpload", "load_video_nodes.py"),
+ ):
+ base = ROOT / commit[:8]
+ tree = ast.parse((base / "videohelpersuite" / filename).read_bytes())
+ cls = next(n for n in tree.body if isinstance(n, ast.ClassDef) and n.name == clsname)
+ schema = next(
+ n for n in cls.body if isinstance(n, ast.FunctionDef) and n.name == "INPUT_TYPES"
+ )
+ assert schema.lineno > 0
+ mappings = (base / "videohelpersuite/nodes.py").read_text()
+ assert f'"{ct}": {clsname},' in mappings
+ js = (base / "web/js/VHS.core.js").read_text()
+ assert "w.value = widgetDict[w.name];" in js
+ assert "w.callback?.(w.value)" in js
+ assert "info.widgets_values[w.name] = w.value;" in js
+ assert "uploadWidget.options.serialize = false;" in js
+ assert 'this.addDOMWidget("videopreview", "preview", element, {' in js
+ assert "serialize: false," in js
+ assert (
+ 'VHS_VideoCombine : ["frame_rate", "loop_count", "filename_prefix", '
+ '"format", "pingpong", "save_image"]' in js
+ )
+ fmt = json.loads((ROOT / "4ee72c06/video_formats/h264-mp4.json").read_bytes())
+ assert fmt["main_pass"][4] == ["pix_fmt", ["yuv420p", "yuv420p10le"]]
+ assert fmt["main_pass"][6] == ["crf", "INT", {"default": 19, "min": 0, "max": 100, "step": 1}]
+ assert fmt["save_metadata"] == ["save_metadata", "BOOLEAN", {"default": True}]
+ assert fmt["trim_to_audio"] == ["trim_to_audio", "BOOLEAN", {"default": False}]
+ exe = (ROOT / "frontend-1.48.6/src/utils/executionUtil.ts").read_text()
+ assert "widget.options?.serialize === false" in exe
+ assert "await widget.serializeValue(node, i)" in exe
+ wrapper = (ROOT / "frontend-1.48.6/src/scripts/utils.ts").read_text()
+ assert "return _applyTextReplacements(app.rootGraph, value)" in wrapper
+
+
+@pytest.mark.parametrize("profile", VHS_PROFILES)
+def test_synthetic_complete_typed_fields_nonzero_audio_slot_and_ui_omission(profile):
+ source = synthetic()
+ if VHS_PROFILES[profile] == "1.48.6":
+ assert convert_reference(source, profile).prompt is None
+ assert audit.profile_attempt(source, profile)["status"] == "not_applicable"
+ source["extra"] = {"frontendVersion": VHS_PROFILES[profile]}
+ result = convert_reference(source, profile)
+ assert result.prompt is not None and result.reference_only
+ assert result.prompt["12"]["inputs"]["audio"] == ["17", 2]
+ assert result.prompt["12"]["inputs"]["images"] == ["17", 0]
+ assert len(audit.vhs_field_evidence(source, result.prompt)) == 20
+ assert not any("videopreview" in n["inputs"] for n in result.prompt.values())
+ assert not convert(source).prompt
+ before = copy.deepcopy(result.prompt)
+ source["nodes"][0]["widgets_values"]["videopreview"]["params"]["filename"] = "other.mp4"
+ source["nodes"][0]["widgets_values"]["choose video to upload"] = "image"
+ assert convert_reference(source, profile).prompt == before
+ source["nodes"][0]["widgets_values"]["video"] = "第二个.mp4"
+ source["nodes"][0]["widgets_values"]["skip_first_frames"] = 41
+ source["nodes"][1]["widgets_values"]["crf"] = 37
+ source["nodes"][1]["widgets_values"]["pix_fmt"] = "yuv420p10le"
+ prompt = convert_reference(source, profile).prompt
+ assert prompt["17"]["inputs"]["video"] == "第二个.mp4"
+ assert prompt["17"]["inputs"]["skip_first_frames"] == 41
+ assert prompt["12"]["inputs"]["crf"] == 37
+ assert prompt["12"]["inputs"]["pix_fmt"] == "yuv420p10le"
+
+
+@pytest.mark.parametrize(
+ "index,field,value",
+ [
+ (0, "force_rate", True),
+ (0, "force_rate", None),
+ (0, "force_rate", float("inf")),
+ (0, "force_rate", -1),
+ (0, "force_rate", 61),
+ (0, "video", 12),
+ (0, "custom_width", 513),
+ (0, "custom_height", 8193),
+ (0, "custom_width", True),
+ (0, "frame_load_cap", 1.2),
+ (0, "frame_load_cap", 2**53),
+ (0, "skip_first_frames", -1),
+ (0, "select_every_nth", 0),
+ (0, "format", "Wan"),
+ (0, "format", "custom"),
+ (1, "format", "image/webp"),
+ (1, "format", "video/custom"),
+ (1, "pix_fmt", "rgb24"),
+ (1, "crf", 101),
+ (1, "crf", True),
+ (1, "frame_rate", float("nan")),
+ (1, "frame_rate", 0),
+ (1, "loop_count", -1),
+ (1, "loop_count", 1.0),
+ (1, "pingpong", 1),
+ (1, "save_output", None),
+ (1, "trim_to_audio", "false"),
+ (1, "filename_prefix", "%date:yyyy%"),
+ (1, "filename_prefix", "{unknown}"),
+ ],
+)
+def test_invalid_fields_fail_whole_graph_without_partial_prompt(index, field, value):
+ source = synthetic()
+ source["nodes"][index]["widgets_values"][field] = value
+ result = convert_reference(source, next(iter(VHS_PROFILES)))
+ assert result.prompt is None and result.issues
+
+
+@pytest.mark.parametrize(
+ "change",
+ [
+ "provider",
+ "release",
+ "other_commit",
+ "aux",
+ "array",
+ "extra_value",
+ "missing_value",
+ "mirror_type",
+ "mirror_value",
+ "binding",
+ "socket_type",
+ "extra_socket",
+ "missing_socket",
+ "mode",
+ "bool_mode",
+ "ue",
+ "override",
+ "prop_override",
+ "vae",
+ "batch",
+ "extra_output",
+ "output_type",
+ "output_index",
+ "bool_index",
+ "bad_source_slot",
+ "bad_target_slot",
+ "bad_link_type",
+ "missing_reciprocal",
+ "wrong_frontend",
+ "unknown_node",
+ "preview_shape",
+ ],
+)
+def test_contract_mutations_reject(change):
+ source = synthetic()
+ n = source["nodes"][0]
+ if change == "provider":
+ n["properties"]["cnr_id"] = "same-name-plugin"
+ elif change == "release":
+ n["properties"]["ver"] = "1.7.7"
+ elif change == "other_commit":
+ n["properties"]["ver"] = VHS_COMBINE_COMMIT
+ elif change == "aux":
+ n["properties"]["aux_id"] = "other"
+ elif change == "array":
+ n["widgets_values"] = list(n["widgets_values"].values())
+ elif change == "extra_value":
+ n["widgets_values"]["custom"] = 1
+ elif change == "missing_value":
+ del n["widgets_values"]["format"]
+ elif change.startswith("mirror"):
+ n["widgets_values_named"] = copy.deepcopy(n["widgets_values"])
+ n["widgets_values_named"]["force_rate"] = 16.0 if change == "mirror_type" else 20
+ elif change == "binding":
+ n["inputs"][2]["widget"] = {"name": "wrong"}
+ elif change == "socket_type":
+ n["inputs"][2]["type"] = "STRING"
+ elif change == "extra_socket":
+ n["inputs"].append(copy.deepcopy(n["inputs"][0]))
+ elif change == "missing_socket":
+ n["inputs"].pop()
+ elif change == "mode":
+ n["mode"] = 4
+ elif change == "bool_mode":
+ n["mode"] = False
+ elif change == "ue":
+ n["properties"]["ue_properties"]["widget_ue_connectable"] = {"video": True}
+ elif change == "override":
+ n["serializeValue"] = "custom"
+ elif change == "prop_override":
+ n["properties"]["widgets"] = []
+ elif change == "vae":
+ n["inputs"][1]["link"] = 1
+ elif change == "batch":
+ n["inputs"][0]["link"] = 1
+ elif change == "extra_output":
+ n["outputs"].append({"type": "IMAGE", "links": []})
+ elif change == "output_type":
+ n["outputs"][0]["type"] = "LATENT"
+ elif change == "output_index":
+ n["outputs"][2]["slot_index"] = 0
+ elif change == "bool_index":
+ n["outputs"][0]["slot_index"] = False
+ elif change == "bad_source_slot":
+ source["links"][0][2] = 1
+ elif change == "bad_target_slot":
+ source["links"][0][4] = 2
+ elif change == "bad_link_type":
+ source["links"][0][5] = "LATENT"
+ elif change == "missing_reciprocal":
+ n["outputs"][0]["links"] = []
+ elif change == "wrong_frontend":
+ source["extra"] = {"frontendVersion": "1.7.9"}
+ elif change == "unknown_node":
+ source["nodes"].append({"id": 100, "type": "Unknown", "inputs": [], "outputs": []})
+ elif change == "preview_shape":
+ n["widgets_values"]["videopreview"] = "server/path.mp4"
+ assert convert_reference(source, next(iter(VHS_PROFILES))).prompt is None
+
+
+def test_real_five_load_instances_are_distinct_and_modes_not_dropped():
+ source = json.loads((REPO / LOAD).read_bytes())
+ nodes = [n for n in source["nodes"] if n["type"] == "VHS_LoadVideo"]
+ assert len(nodes) == 5
+ for n in nodes:
+ if n["mode"] == 4:
+ with pytest.raises(ValueError):
+ serialize_vhs_node(n)
+ else:
+ values = serialize_vhs_node(n)
+ assert all(
+ type(v) is type(n["widgets_values"][k]) and v == n["widgets_values"][k]
+ for k, v in values.items()
+ )
+ assert convert_reference(source, next(iter(VHS_PROFILES))).prompt is None
+
+
+def test_old_sixteen_attempts_gaps_candidates_and_six_comparisons_protected():
+ old = json.loads((REPO / "docs/hel-892/crop-split-evidence/library.json").read_bytes())
+ profiles = tuple(p for p in audit.REFERENCE_PROFILES if p not in VHS_PROFILES)
+ baseline = audit.audit_library(REPO, profiles)
+ now = audit.audit_library(REPO, baseline_profiles=profiles)
+ assert len(profiles) == 16 and len(now["profiles"]) == 18
+ assert old["gap_groups"] == baseline["gap_groups"]
+ for previous, before, after in zip(old["cases"], baseline["cases"], now["cases"]):
+ assert previous["attempts"] == before["attempts"] == after["attempts"][:-2]
+ assert previous.get("comparisons") == after.get("comparisons")
+ assert previous["status"] == after["status"]
+ assert previous["candidate_hashes"] == after["candidate_hashes"]
+ assert previous["comparison_status"] == after["comparison_status"]
+ assert len(now["coverage_delta"]["current_complete_paths"]) == 8
+ assert now["coverage_delta"]["new_complete_paths"] == []
+ assert now["coverage_delta"]["baseline_profiles"] == list(profiles)
+
+ def unavailable(r):
+ return {
+ c["source_path"]
+ for c in r["cases"]
+ if all(a["status"] == "not_applicable" for a in c["attempts"])
+ }
+
+ assert unavailable(old) == unavailable(now) and len(unavailable(now)) == 98
+ for raw in json.loads((ROOT / "sources.json").read_bytes())["sources"]:
+ assert hashlib.sha256((ROOT / raw["local_file"]).read_bytes()).hexdigest() == raw["sha256"]
+
+
+def test_disjoint_instances_values_ids_links_not_shared():
+ first, second = synthetic(), synthetic()
+ for n in second["nodes"]:
+ n["id"] += 100
+ for socket in n["inputs"]:
+ if socket.get("link") is not None:
+ socket["link"] += 100
+ for socket in n["outputs"]:
+ socket["links"] = [lid + 100 for lid in socket.get("links", [])]
+ for link in second["links"]:
+ for i in (0, 1, 3):
+ link[i] += 100
+ second["nodes"][0]["widgets_values"]["video"] = "other-file.mp4"
+ second["nodes"][0]["widgets_values"]["force_rate"] = 29.97
+ second["nodes"][1]["widgets_values"]["frame_rate"] = 29.97
+ source = {"nodes": first["nodes"] + second["nodes"], "links": first["links"] + second["links"]}
+ prompt = convert_reference(source, next(iter(VHS_PROFILES))).prompt
+ assert set(prompt) == {"17", "12", "117", "112"}
+ assert prompt["112"]["inputs"]["audio"] == ["117", 2]
+ assert prompt["12"]["inputs"]["audio"] == ["17", 2]
+ assert prompt["117"]["inputs"]["video"] == "other-file.mp4"
+ assert prompt["17"]["inputs"]["video"] != "other-file.mp4"
+ assert prompt["112"]["inputs"]["frame_rate"] == 29.97
+ assert len(audit.vhs_field_evidence(source, prompt)) == 40
+
+
+def test_all_five_real_combines_have_node_contract_even_when_other_nodes_close_graph():
+ seen = []
+ for path in (REPO / "example_ComfyUI_workflows").rglob("*"):
+ if not path.is_file():
+ continue
+ source = json.loads(path.read_bytes())
+ for n in source.get("nodes", []):
+ if n["type"] == "VHS_VideoCombine" and n["properties"].get("ver") == VHS_COMBINE_COMMIT:
+ frontend = source.get("extra", {}).get("frontendVersion") or "1.37.11"
+ if frontend not in VHS_PROFILES.values():
+ assert all(
+ audit.profile_attempt(source, p)["status"] == "not_applicable"
+ for p in VHS_PROFILES
+ )
+ continue
+ values = serialize_vhs_node(n)
+ assert values["crf"] == n["widgets_values"]["crf"]
+ assert values["frame_rate"] == n["widgets_values"]["frame_rate"]
+ seen.append((path, n["id"]))
+ profile = next(
+ p
+ for p, v in VHS_PROFILES.items()
+ if v == (source.get("extra", {}).get("frontendVersion") or "1.37.11")
+ )
+ result = convert_reference(source, profile)
+ assert result.prompt is None
+ node_issues = [i for i in result.issues if i.get("node_id") == str(n["id"])]
+ # The source upstream classes still have no schema in this
+ # minimal profile; preserve those edge errors, not a partial prompt.
+ assert node_issues
+ assert {i["code"] for i in node_issues} <= {
+ "invalid_output_slot",
+ "missing_required_input",
+ }
+ assert len(seen) == 5
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,10 @@
[
{
"path": "docs/hel-892/vhs-evidence/recompute.py",
"sha256": "29825e3e632bc2fe38743214d1dac3c6b4ed0973635c20fd119f16b40a1efdd1"
},
{
"path": "docs/hel-892/vhs-evidence/build_contract.py",
"sha256": "28a4f4886bf62dee892bfbf3e228ff0b51e15fb42c710fd3ce6ac105446e9584"
}
]
+1
View File
@@ -0,0 +1 @@
8 files already formatted
+1
View File
@@ -0,0 +1 @@
{"batch_id": "f977f76e-7fb9-4c4b-8cab-e85372082a4a", "source_commit": "846d6fcbfef8921f38708a98a02738713abff1e6", "counts": {"imported": 155, "user_excluded": 1}, "states": {"pending_check": 16, "needs_conversion": 139}, "source_total": 156, "excluded_total": 1, "target_total": 155, "total": 156, "doc_completed": 0, "exec_verified": 0}
+14
View File
@@ -0,0 +1,14 @@
{
"states": {
"pending_check": 16,
"needs_conversion": 139
},
"target_count": 155,
"enabled_or_completed_or_executed": 0,
"environment_unchecked_count": 16,
"companion_unverified_count": 6,
"production_registry_unchanged": true,
"companion_named_values": 294,
"reference_candidates_written_to_db": false,
"user_whole_row_protection": "covered by executed affected tests"
}
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
All checks passed!
@@ -0,0 +1,16 @@
{
"dedup_key": [
"source_path",
"node_pointer"
],
"target_nodes": 10,
"target_graphs": 6,
"accepted_node_contracts": 7,
"accepted_node_graphs": 6,
"mode_rejections": 3,
"new_complete_graphs": 0,
"field_count": 66,
"saved_field_inventory_count": 90,
"historical_gaps_are_unchanged": true,
"meaning": "7 node widget contracts are now proven under explicit new profiles; other unknown nodes/links and bypass still close every target graph; historical profile attempts remain byte-equivalent"
}
@@ -0,0 +1,659 @@
{
"base": "846d6fcbfef8921f38708a98a02738713abff1e6",
"all_unchanged": true,
"count": 163,
"files": [
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json",
"sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed"
},
{
"path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json",
"sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json",
"sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49"
},
{
"path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json",
"sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json",
"sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json",
"sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c"
},
{
"path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json",
"sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json",
"sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json",
"sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a"
},
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json",
"sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json",
"sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json",
"sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json",
"sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json",
"sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
"sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json",
"sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json",
"sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json",
"sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json",
"sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json",
"sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json",
"sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json",
"sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json",
"sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json",
"sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json",
"sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json",
"sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
"sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json",
"sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json",
"sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
"sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json",
"sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json",
"sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json",
"sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json",
"sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
"sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
"sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json",
"sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json",
"sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json",
"sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json",
"sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json",
"sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json",
"sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json",
"sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json",
"sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json",
"sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json",
"sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json",
"sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json",
"sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json",
"sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json",
"sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json",
"sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json",
"sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json",
"sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json",
"sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json",
"sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json",
"sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json",
"sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json",
"sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json",
"sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json",
"sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json",
"sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json",
"sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json",
"sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json",
"sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json",
"sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json",
"sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json",
"sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json",
"sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json",
"sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json",
"sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json",
"sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json",
"sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json",
"sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json",
"sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json",
"sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json",
"sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json",
"sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json",
"sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json",
"sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json",
"sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json",
"sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json",
"sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json",
"sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json",
"sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json",
"sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json",
"sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json",
"sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json",
"sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json",
"sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json",
"sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json",
"sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json",
"sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json",
"sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json",
"sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json",
"sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json",
"sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json",
"sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json",
"sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json",
"sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json",
"sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json",
"sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json",
"sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json",
"sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json",
"sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json",
"sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json",
"sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json",
"sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json",
"sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json",
"sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json",
"sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json",
"sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json",
"sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json",
"sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json",
"sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json",
"sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json",
"sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json",
"sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json",
"sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json",
"sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json",
"sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json",
"sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json",
"sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json",
"sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json",
"sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json",
"sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json",
"sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json",
"sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json",
"sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json",
"sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json",
"sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json",
"sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json",
"sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json",
"sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json",
"sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json",
"sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json",
"sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json",
"sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json",
"sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json",
"sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
"sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
"sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json",
"sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json",
"sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json",
"sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json",
"sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json",
"sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json",
"sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json",
"sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json",
"sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
"sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071"
},
{
"path": "docs/hel-892/supplied-api/02.api.json",
"sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b"
},
{
"path": "docs/hel-892/supplied-api/01.api.json",
"sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e"
},
{
"path": "docs/hel-892/supplied-api/07.api.json",
"sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d"
},
{
"path": "docs/hel-892/supplied-api/06.api.json",
"sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b"
},
{
"path": "docs/hel-892/supplied-api/04.api.json",
"sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e"
},
{
"path": "docs/hel-892/supplied-api/03.api.json",
"sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce"
},
{
"path": "docs/hel-892/supplied-api/05.api.json",
"sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8"
}
]
}
@@ -0,0 +1,67 @@
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/batched_nodes.py:16
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/batched_nodes.py:40
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:44
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:71
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:93
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:118
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:169
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:220
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:270
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:284
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:294
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:297
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:307
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:319
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:339
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:358
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:367
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:377
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:397
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:425
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:449
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:489
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:520
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/image_latent_nodes.py:545
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/load_images_nodes.py:18
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/load_images_nodes.py:143
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/load_images_nodes.py:153
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/load_images_nodes.py:182
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/load_images_nodes.py:195
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/utils.py:172
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/utils.py:178
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/utils.py:199
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/utils.py:201
docs/hel-892/vhs-reference/4ee72c06/videohelpersuite/utils.py:207
docs/hel-892/vhs-reference/85509813/videohelpersuite/batched_nodes.py:16
docs/hel-892/vhs-reference/85509813/videohelpersuite/batched_nodes.py:40
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:44
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:71
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:93
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:118
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:169
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:220
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:270
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:284
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:294
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:297
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:307
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:319
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:339
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:358
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:367
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:377
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:397
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:425
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:449
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:489
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:520
docs/hel-892/vhs-reference/85509813/videohelpersuite/image_latent_nodes.py:545
docs/hel-892/vhs-reference/85509813/videohelpersuite/load_images_nodes.py:18
docs/hel-892/vhs-reference/85509813/videohelpersuite/load_images_nodes.py:143
docs/hel-892/vhs-reference/85509813/videohelpersuite/load_images_nodes.py:153
docs/hel-892/vhs-reference/85509813/videohelpersuite/load_images_nodes.py:182
docs/hel-892/vhs-reference/85509813/videohelpersuite/load_images_nodes.py:195
docs/hel-892/vhs-reference/85509813/videohelpersuite/nodes.py:692
docs/hel-892/vhs-reference/85509813/videohelpersuite/nodes.py:898
docs/hel-892/vhs-reference/85509813/videohelpersuite/nodes.py:932
docs/hel-892/vhs-reference/85509813/videohelpersuite/nodes.py:964
@@ -0,0 +1,38 @@
[
{
"path": "calliope-backend/src/calliope/comfyui/serialization_reference.py",
"sha256": "ad079ff185a64a104fe1b1ccfb953e3119402b9da3a02eedf389da0608b3ee5b",
"wheel_matches": true,
"sdist_matches": true
},
{
"path": "calliope-backend/src/calliope/comfyui/ui2api.py",
"sha256": "4c59666e4fbd2f1b08ce91283a45874d50b8cd2336e9895becf1e0d6050ba593",
"wheel_matches": true,
"sdist_matches": true
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.json",
"sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4",
"wheel_matches": true,
"sdist_matches": true
},
{
"path": "calliope-backend/src/calliope/comfyui/source_reviews.json",
"sha256": "dae1f7edd067f0134c096f73320880deac697c81c63ba6cb7dd266bbc164a2ab",
"wheel_matches": true,
"sdist_matches": true
},
{
"path": "calliope-backend/src/calliope/comfyui/delivery_scope.py",
"sha256": "0b849256dbb06f709c1ba856c34b3df04d2fccf09984a6e1fe1284b792eaf867",
"wheel_matches": true,
"sdist_matches": true
},
{
"path": "calliope-backend/src/calliope/comfyui/delivery_scope.json",
"sha256": "3a85718f877a63be54c843e2610b24dcc3013a6011f705d6348c91e2c7f78fd6",
"wheel_matches": true,
"sdist_matches": true
}
]
@@ -0,0 +1,7 @@
{
"old_profile_count": 16,
"actual_same_source_rerun": true,
"all_old_attempts_exactly_equal": true,
"old_gap_groups_exactly_equal": true,
"six_supplied_differential_reports_equal": true
}
@@ -0,0 +1,50 @@
{
"base": "846d6fcbfef8921f38708a98a02738713abff1e6",
"files": [
{
"path": "calliope-backend/src/calliope/comfyui/registry.py",
"sha256": "0382eda52a31f23c1c29dd7a62d0ffc93e10fcbb88872a5893b8fc93a2b2734d",
"unchanged": true
},
{
"path": "calliope-backend/src/calliope/comfyui/library.py",
"sha256": "419acf7c89dfbc88488c1d81f8decfb9e7228dd036cdca47e4a3b40d53bd949a",
"unchanged": true
},
{
"path": "calliope-backend/src/calliope/comfyui/library_cli.py",
"sha256": "04bfa8cfbe3f9378e78594958973118ec95aa1ff0bcdbdf4da0311abbdbcd380",
"unchanged": true
},
{
"path": "calliope-backend/src/calliope/comfyui/client.py",
"sha256": "ce30b3b3587d8f0dac86d534b99f31b95f1f4d0acb361babb45fd2be9513fe72",
"unchanged": true
},
{
"path": "calliope-backend/src/calliope/comfyui/output_map.py",
"sha256": "36ed4ced825e4f7e1d389602085451b5cb9336b319d220f423f59f83fed6a70e",
"unchanged": true
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.py",
"sha256": "ab9d948dd1bbf83dfce27186d6e48d9c3d5dff129305afd760fb3e77570b2916",
"unchanged": true
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.json",
"sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4",
"unchanged": true
},
{
"path": "calliope-backend/src/calliope/routers/workflows.py",
"sha256": "3f1d5fdacc841080973dcafb9cd87a42433ec19080a3ff14a29561f13d512c97",
"unchanged": true
},
{
"path": "calliope-backend/src/calliope/queue/worker.py",
"sha256": "54f5505ae78802f77fedf23690579444c9ccfbb0949b32f9e96980e8d55c2d3b",
"unchanged": true
}
]
}
@@ -0,0 +1 @@
{"old_profiles": 16, "new_candidates": 0, "current_gap_counts": {"groups": 2795, "raw_occurrences": 9723, "deduplicated_occurrences_per_group": 8196, "entered_rejected_paths": 39, "blocked_total": 137}, "cached_source_entries": 263, "original_bytes_unchanged": 163}
+459
View File
@@ -0,0 +1,459 @@
"""Recompute this batch's evidence from pinned bytes; never connect to a target."""
from __future__ import annotations
import argparse
import hashlib
import json
import sqlite3
import subprocess
import sys
import tarfile
import zipfile
from collections import Counter
from pathlib import Path
BASE = "846d6fcbfef8921f38708a98a02738713abff1e6"
def main():
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("--repo", type=Path, required=True)
parser.add_argument("--db", type=Path, required=True)
args = parser.parse_args()
repo = args.repo.resolve()
sys.path.insert(0, str(repo / "calliope-backend"))
from scripts import audit_reference_conversion as audit
from scripts.verify_frontend_sources import verify
out = repo / "docs/hel-892/vhs-evidence"
def write(name, value):
(out / name).write_text(json.dumps(value, ensure_ascii=False, indent=2) + "\n")
old = json.loads(
(repo / "docs/hel-892/crop-split-evidence/library.json").read_bytes()
)
baseline_profiles = tuple(
p for p in audit.REFERENCE_PROFILES if p not in audit.VHS_PROFILES
)
baseline = audit.audit_library(repo, baseline_profiles)
now = audit.audit_library(repo, baseline_profiles=baseline_profiles)
write("library.json", now)
for historical, previous, current in zip(
old["cases"], baseline["cases"], now["cases"]
):
assert (
historical["source_path"]
== previous["source_path"]
== current["source_path"]
)
assert (
historical["attempts"] == previous["attempts"] == current["attempts"][:-2]
)
assert historical.get("comparisons") == previous.get("comparisons")
assert old["gap_groups"] == baseline["gap_groups"]
six = audit.audit(repo, "case04-batch-reference")
assert six == json.loads(
(repo / "docs/hel-892/media-evidence/protected-six-cases.json").read_bytes()
)
write(
"previous-protection.json",
{
"old_profile_count": len(baseline_profiles),
"actual_same_source_rerun": True,
"all_old_attempts_exactly_equal": True,
"old_gap_groups_exactly_equal": True,
"six_supplied_differential_reports_equal": True,
},
)
def groups(report):
return {
tuple(
g[k]
for k in ("type", "provider", "version", "profile", "code", "rule_gap")
): Counter(
(o["source_path"], o["node_pointer"], o["node_id"])
for o in g["occurrences"]
)
for g in report["gap_groups"]
}
def stat(report):
gs = groups(report)
return {
"groups": len(gs),
"raw_occurrences": sum(sum(v.values()) for v in gs.values()),
"deduplicated_occurrences_per_group": sum(len(v) for v in gs.values()),
"entered_rejected_paths": len({p[0] for v in gs.values() for p in v}),
"blocked_total": sum(r["status"] == "blocked" for r in report["cases"]),
}
def gaprows(diff):
return [
{
"key": list(k),
"occurrences": [
{
"source_path": o[0],
"node_pointer": o[1],
"node_id": o[2],
"count": c,
}
for o, c in sorted(v.items(), key=str)
],
}
for k, v in sorted(diff.items(), key=str)
if v
]
before, after = groups(baseline), groups(now)
added = {k: v - before.get(k, Counter()) for k, v in after.items()}
removed = {k: v - after.get(k, Counter()) for k, v in before.items()}
def unavailable(report):
return sorted(
r["source_path"]
for r in report["cases"]
if all(a["status"] == "not_applicable" for a in r["attempts"])
)
assert unavailable(baseline) == unavailable(now)
write(
"coverage-delta.json",
{
"baseline": stat(baseline),
"current": stat(now),
"key_fields": [
"type",
"provider",
"version",
"profile",
"code",
"rule_gap",
],
"new_groups": len(after.keys() - before.keys()),
"fully_removed_groups": len(before.keys() - after.keys()),
"added_occurrences": sum(sum(v.values()) for v in added.values()),
"removed_occurrences": sum(sum(v.values()) for v in removed.values()),
"removed_groups": gaprows(removed),
"added_groups": gaprows(added),
"new_complete_paths": now["coverage_delta"]["new_complete_paths"],
"unavailable_frontend_paths_unchanged": unavailable(now),
"closed_paths": sorted(
r["source_path"] for r in now["cases"] if r["status"] == "blocked"
),
"attempt_counts": dict(
Counter(a["status"] for r in now["cases"] for a in r["attempts"])
),
"conflict_count": sum(
r["status"] == "candidate_conflict" for r in now["cases"]
),
},
)
from calliope.comfyui.serialization_reference import (
VHS_COMBINE_COMMIT,
VHS_LOAD_COMMIT,
serialize_vhs_node,
)
occurrences = {}
for group in old["gap_groups"]:
if group["type"] not in ("VHS_VideoCombine", "VHS_LoadVideo"):
continue
for occurrence in group["occurrences"]:
occurrences[(occurrence["source_path"], occurrence["node_pointer"])] = (
occurrence
)
targets = []
for (path, pointer), occurrence in sorted(occurrences.items()):
source = json.loads((repo / path).read_bytes())
node = source
for part in pointer.split("/")[1:]:
node = node[int(part)] if isinstance(node, list) else node[part]
if (node.get("properties") or {}).get("ver") not in (
VHS_COMBINE_COMMIT,
VHS_LOAD_COMMIT,
):
continue
row = next(r for r in now["cases"] if r["source_path"] == path)
assert row["status"] == "blocked"
frontend = (source.get("extra") or {}).get("frontendVersion") or "1.37.11"
profile = next(p for p, v in audit.VHS_PROFILES.items() if v == frontend)
attempt = next(a for a in row["attempts"] if a["profile"] == profile)
try:
values = serialize_vhs_node(node)
node_error = None
except ValueError as exc:
values, node_error = None, str(exc)
fields = []
if values is not None:
for name, value in values.items():
expected = node["widgets_values"][name]
assert type(value) is type(expected) and value == expected
fields.append(
{
"field": name,
"value": value,
"json_type": type(value).__name__,
"source_pointer": pointer + "/widgets_values/" + name,
"input_is_linked": any(
s["name"] == name and s.get("link") is not None
for s in node["inputs"]
),
}
)
edge_evidence = []
for slot, socket in enumerate(node.get("inputs", [])):
if socket.get("link") is None:
continue
li, edge = next(
(i, e) for i, e in enumerate(source["links"]) if e[0] == socket["link"]
)
assert str(edge[3]) == str(node["id"]) and edge[4] == slot
upstream = next(n for n in source["nodes"] if str(n["id"]) == str(edge[1]))
assert edge[0] in (upstream["outputs"][edge[2]].get("links") or [])
assert edge[5] == socket["type"] == upstream["outputs"][edge[2]]["type"]
edge_evidence.append(
{
"field": socket["name"],
"source_pointer": f"/links/{li}",
"raw_link": edge,
"upstream_node": str(edge[1]),
"original_output_slot": edge[2],
"target_input_slot": slot,
"bidirectional_records_match": True,
}
)
for slot, socket in enumerate(node.get("outputs", [])):
for lid in socket.get("links") or []:
li, edge = next(
(i, e) for i, e in enumerate(source["links"]) if e[0] == lid
)
downstream = next(
n for n in source["nodes"] if str(n["id"]) == str(edge[3])
)
assert str(edge[1]) == str(node["id"]) and edge[2] == slot
assert downstream["inputs"][edge[4]].get("link") == lid
assert (
edge[5] == socket["type"] == downstream["inputs"][edge[4]]["type"]
)
edge_evidence.append(
{
"direction": "outgoing",
"source_pointer": f"/links/{li}",
"raw_link": edge,
"original_output_slot": slot,
"bidirectional_records_match": True,
}
)
targets.append(
{
"source_path": path,
"source_sha256": row["source_sha256"],
"node_pointer": pointer,
"node_id": str(node["id"]),
"type": node["type"],
"source_mode": node.get("mode", 0),
"source_properties": node.get("properties"),
"source_widgets": node["widgets_values"],
"saved_field_inventory": [
{
"field": k,
"value": v,
"json_type": type(v).__name__,
"source_pointer": pointer + "/widgets_values/" + k,
"status": "saved_source_value_not_execution_proof",
}
for k, v in node["widgets_values"].items()
if k not in ("videopreview", "choose video to upload")
],
"source_inputs": node["inputs"],
"edge_evidence": edge_evidence,
"source_outputs": node["outputs"],
"profile": profile,
"node_contract_accepted": values is not None,
"node_error": node_error,
"fields": fields,
"whole_graph_prompt": None,
"whole_graph_issues": attempt["issues"],
"comparison_status": row["comparison_status"],
"execution_verified": False,
}
)
assert len(targets) == 10
assert Counter(t["type"] for t in targets) == {
"VHS_VideoCombine": 5,
"VHS_LoadVideo": 5,
}
assert sum(t["node_contract_accepted"] for t in targets) == 7
write("actual-node-evidence.json", targets)
write(
"node-summary.json",
{
"dedup_key": ["source_path", "node_pointer"],
"target_nodes": len(targets),
"target_graphs": len({t["source_path"] for t in targets}),
"accepted_node_contracts": 7,
"accepted_node_graphs": len(
{t["source_path"] for t in targets if t["node_contract_accepted"]}
),
"mode_rejections": 3,
"new_complete_graphs": 0,
"field_count": sum(len(t["fields"]) for t in targets),
"saved_field_inventory_count": sum(
len(t["saved_field_inventory"]) for t in targets
),
"historical_gaps_are_unchanged": True,
"meaning": "7 node widget contracts are now proven under explicit new profiles; other unknown nodes/links and bypass still close every target graph; historical profile attempts remain byte-equivalent",
},
)
manifests = [
"serialization-evidence",
"structure-reference",
"controlnet-reference",
"promoted-reference",
"case04-reference",
"media-reference",
"separation-reference",
"crop-split-reference",
"vhs-reference",
]
new_count = len(
json.loads((repo / "docs/hel-892/vhs-reference/sources.json").read_bytes())[
"sources"
]
)
entries = []
per_manifest_unique_ids = []
for directory in manifests:
d = repo / "docs/hel-892" / directory
check = verify(d)
for entry in json.loads((d / "sources.json").read_bytes())["sources"]:
# Rule ranges are separately checked, in addition to the existing verifier.
raw = (d / entry["local_file"]).read_bytes()
rules = entry.get("rule_locations", {})
for start, end in rules.values() if isinstance(rules, dict) else rules:
assert 1 <= start <= end <= len(raw.decode().splitlines()), entry["id"]
per_manifest_unique_ids.append(
len({r["id"] for r in check["sources_verified"]})
)
entries.extend(check["sources_verified"])
write(
"cached-sources-check.json",
{
"manifest_entries": len(entries),
"unique_ids_summed_per_manifest": sum(per_manifest_unique_ids),
"global_distinct_id_strings": len({e["id"] for e in entries}),
"old_entries": len(entries) - new_count,
"old_unique_ids_summed_per_manifest": sum(per_manifest_unique_ids[:-1]),
"old_global_distinct_id_strings": len(
{e["id"] for e in entries[:-new_count]}
),
"counting_note": (
"historical 186 entries/185 within-manifest unique IDs uses sum of within-manifest distinct IDs; "
"cross-manifest distinct ID strings are a separate count, and IDs can span commits"
),
"new_entries": new_count,
"new_unique_ids": len({e["id"] for e in entries[-new_count:]}),
"sources_verified": entries,
},
)
# Use the immutable historical receipt inventory to include all seven API exports.
originals = json.loads(
(repo / "docs/hel-892/media-evidence/original-bytes.json").read_bytes()
)["files"]
files = []
for row in originals:
path = row["path"]
raw = (repo / path).read_bytes()
oldraw = subprocess.check_output(["git", "show", f"{BASE}:{path}"], cwd=repo)
assert raw == oldraw
files.append({"path": path, "sha256": hashlib.sha256(raw).hexdigest()})
assert len(files) == 163
write(
"original-bytes.json",
{"base": BASE, "all_unchanged": True, "count": len(files), "files": files},
)
registry = "calliope-backend/src/calliope/comfyui/registry.py"
assert (repo / registry).read_bytes() == subprocess.check_output(
["git", "show", f"{BASE}:{registry}"], cwd=repo
)
db = sqlite3.connect(args.db)
db.row_factory = sqlite3.Row
rows = db.execute(
"SELECT * FROM workflows WHERE source_repo_path IS NOT NULL"
).fetchall()
assert len(rows) == 155
assert not any(
r["is_enabled"] or r["doc_completed_at"] or r["exec_verified_at"] for r in rows
)
issue_counts = Counter(
i["code"] for r in rows for i in json.loads(r["import_issues"])
)
write(
"isolation.json",
{
"states": dict(Counter(r["import_state"] for r in rows)),
"target_count": len(rows),
"enabled_or_completed_or_executed": 0,
"environment_unchecked_count": issue_counts["environment_unchecked"],
"companion_unverified_count": issue_counts["companion_unverified"],
"production_registry_unchanged": True,
"companion_named_values": sum(
param.get("value_origin") == "supplied_api_companion"
for row in rows
for param in json.loads(row["doc_json"])["params"]
),
"reference_candidates_written_to_db": False,
"user_whole_row_protection": "covered by executed affected tests",
},
)
db.close()
wheel = next((repo / "calliope-backend/dist").glob("*.whl"))
sdist = next((repo / "calliope-backend/dist").glob("*.tar.gz"))
package_rows = []
with zipfile.ZipFile(wheel) as wh, tarfile.open(sdist) as sd:
for name in [
"serialization_reference.py",
"ui2api.py",
"protocol_references.json",
"source_reviews.json",
"delivery_scope.py",
"delivery_scope.json",
]:
path = f"calliope-backend/src/calliope/comfyui/{name}"
raw = (repo / path).read_bytes()
assert wh.read(f"calliope/comfyui/{name}") == raw
member = next(
n for n in sd.getnames() if n.endswith(f"/src/calliope/comfyui/{name}")
)
assert sd.extractfile(member).read() == raw
package_rows.append(
{
"path": path,
"sha256": hashlib.sha256(raw).hexdigest(),
"wheel_matches": True,
"sdist_matches": True,
}
)
write("package-check.json", package_rows)
print(
json.dumps(
{
"old_profiles": len(baseline_profiles),
"new_candidates": len(now["coverage_delta"]["new_complete_paths"]),
"current_gap_counts": stat(now),
"cached_source_entries": len(entries),
"original_bytes_unchanged": len(files),
},
ensure_ascii=False,
)
)
if __name__ == "__main__":
main()
+1
View File
@@ -0,0 +1 @@
{"batch_id": "8310642a-9a05-4fdd-86a7-36f1bb5c17f4", "source_commit": "846d6fcbfef8921f38708a98a02738713abff1e6", "counts": {"skipped": 155, "user_excluded": 1}, "states": {"pending_check": 16, "needs_conversion": 139}, "source_total": 156, "excluded_total": 1, "target_total": 155, "total": 156, "doc_completed": 0, "exec_verified": 0}
@@ -0,0 +1,315 @@
{
"authority": "public_reference_only",
"sources_verified": [
{
"id": "4ee72c06:LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
},
{
"id": "4ee72c06:__init__.py",
"sha256": "d3e74626bfdd628d0e96b190b2c07e25fa1e5ee9f1f402c7c650446f86b0838f"
},
{
"id": "4ee72c06:pyproject.toml",
"sha256": "299e28c3c62ec7580003132bef62e58c01fa817eff6db5a51c9f5b9e1737160a"
},
{
"id": "4ee72c06:video_formats/16bit-png.json",
"sha256": "a6be0eb5d81375b4d5b02b36610aef14e1738aa212ccfb22f8353ca2e2c4ad86"
},
{
"id": "4ee72c06:video_formats/8bit-png.json",
"sha256": "a7a133243e6c6de1b7016909ee78d61ac1ea26dc0bf064d6fb1a243a731a1c82"
},
{
"id": "4ee72c06:video_formats/ProRes.json",
"sha256": "781d0128a79edf0474de19c48ab5ebc128f2e022533c68435266150eb82ee2c0"
},
{
"id": "4ee72c06:video_formats/av1-webm.json",
"sha256": "3d94f848cada030ff738715997fb7503f39f69cdb9850452581c8896b951087e"
},
{
"id": "4ee72c06:video_formats/ffmpeg-gif.json",
"sha256": "ff56425b7520b106310fa12022ff7fc26becbc202cc822c899e159351033abb7"
},
{
"id": "4ee72c06:video_formats/ffv1-mkv.json",
"sha256": "6a19aeb65c5789145d60340e98aaa4d8426d61261a35ca87356c28f889f201a2"
},
{
"id": "4ee72c06:video_formats/gifski.json",
"sha256": "1e939f3df9a1ba029cd20db86da9bf998ba835ff828f7d7428ea990e7ad1439e"
},
{
"id": "4ee72c06:video_formats/h264-mp4.json",
"sha256": "4c15a42816ccbb06cb8a2fb02f8d1831d622c8531b26e432959ec80e50f7b8bc"
},
{
"id": "4ee72c06:video_formats/h265-mp4.json",
"sha256": "e7ead3a8a43add895dac891c23af04aca66ffa8edd120a5154b364bbbd2f3f23"
},
{
"id": "4ee72c06:video_formats/nvenc_av1-mp4.json",
"sha256": "ea2620db8728c6c935d8058fbb07fc9e2244afcc12d929dcca6c8742a4380689"
},
{
"id": "4ee72c06:video_formats/nvenc_h264-mp4.json",
"sha256": "63d91c6c2c42f6676e1ed347d190f2f795e0a5cc3a52a50273b573b9b7aae918"
},
{
"id": "4ee72c06:video_formats/nvenc_hevc-mp4.json",
"sha256": "4f3ba4fac6ad96619a40d5e45a9d7bd4215a61777e7cf123283e95b42ece6239"
},
{
"id": "4ee72c06:video_formats/webm.json",
"sha256": "04a0c5ac4a14d73baae933e230b37257857214c31492adc2b990f8009892379d"
},
{
"id": "4ee72c06:videohelpersuite/batched_nodes.py",
"sha256": "c822651e28c775a35da1441e2b1b2d7cd664fcc6649ba9d2c9b87faa8ac00edb"
},
{
"id": "4ee72c06:videohelpersuite/documentation.py",
"sha256": "0d648daf98831545ee33f50a53ead7f12779d6630b1a001f7d9ea8418b4d90e0"
},
{
"id": "4ee72c06:videohelpersuite/image_latent_nodes.py",
"sha256": "da2abefefef8d44d1a927417866205149cb85dc6a41cab7f542bd332e96d5390"
},
{
"id": "4ee72c06:videohelpersuite/latent_preview.py",
"sha256": "3dc18cba8bc44614db45547258c8800b0b61fb566b4af706cf0306ef45b8c5f0"
},
{
"id": "4ee72c06:videohelpersuite/load_images_nodes.py",
"sha256": "275fa08acf4ee3163c6d403abea5ef7d088b0a6afbd705d9b0d55623818ffdc4"
},
{
"id": "4ee72c06:videohelpersuite/load_video_nodes.py",
"sha256": "8991b715a999408c3821045e2a781609a156476d771325679e9ad9ca16db0aee"
},
{
"id": "4ee72c06:videohelpersuite/logger.py",
"sha256": "2e2e9ed679410a170346c572a867d9a654327388ba6ea6a242215c590772e668"
},
{
"id": "4ee72c06:videohelpersuite/nodes.py",
"sha256": "801f957f559c28d55caae9d981b6a5540b2743d8864e5fc49110792f67395713"
},
{
"id": "4ee72c06:videohelpersuite/server.py",
"sha256": "7f6831f3095c09a0c8076b8676c2bdf966cbb3ed2884b58da6e571e989b806fc"
},
{
"id": "4ee72c06:videohelpersuite/utils.py",
"sha256": "ea3d02e0f41dc6b59685fcf6de9217d4b7729766e05e44200433c74e75466a6a"
},
{
"id": "4ee72c06:web/js/VHS.core.js",
"sha256": "f04d849c961977cb8d239ab3f06081c3e1a032d113fb6888328de449d911b52a"
},
{
"id": "4ee72c06:web/js/videoinfo.js",
"sha256": "29db4800fe2b86303619bd1768b97aabdad0fe300db93da7135bdffa43f07970"
},
{
"id": "85509813:LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
},
{
"id": "85509813:__init__.py",
"sha256": "d3e74626bfdd628d0e96b190b2c07e25fa1e5ee9f1f402c7c650446f86b0838f"
},
{
"id": "85509813:pyproject.toml",
"sha256": "10c69eeae93c21cdfc22cb63f39ba4ce83bcd459725fcf6beb0298276541a1c2"
},
{
"id": "85509813:video_formats/16bit-png.json",
"sha256": "a6be0eb5d81375b4d5b02b36610aef14e1738aa212ccfb22f8353ca2e2c4ad86"
},
{
"id": "85509813:video_formats/8bit-png.json",
"sha256": "a7a133243e6c6de1b7016909ee78d61ac1ea26dc0bf064d6fb1a243a731a1c82"
},
{
"id": "85509813:video_formats/ProRes.json",
"sha256": "781d0128a79edf0474de19c48ab5ebc128f2e022533c68435266150eb82ee2c0"
},
{
"id": "85509813:video_formats/av1-webm.json",
"sha256": "3d94f848cada030ff738715997fb7503f39f69cdb9850452581c8896b951087e"
},
{
"id": "85509813:video_formats/ffmpeg-gif.json",
"sha256": "ff56425b7520b106310fa12022ff7fc26becbc202cc822c899e159351033abb7"
},
{
"id": "85509813:video_formats/ffv1-mkv.json",
"sha256": "dfcb43344bb7d8546f5cc7089444c9947cb1ff21bd6372e2e110b79ab173b078"
},
{
"id": "85509813:video_formats/gifski.json",
"sha256": "1e939f3df9a1ba029cd20db86da9bf998ba835ff828f7d7428ea990e7ad1439e"
},
{
"id": "85509813:video_formats/h264-mp4.json",
"sha256": "736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8"
},
{
"id": "85509813:video_formats/h265-mp4.json",
"sha256": "e2a72bdcfcbf07e73e146716e89e0182ea4bb249530758d586e91ed45da6393c"
},
{
"id": "85509813:video_formats/nvenc_av1-mp4.json",
"sha256": "dffe86c90af9ca37729b510f824f36791356f5acf5747a323da619d9cb2f2d11"
},
{
"id": "85509813:video_formats/nvenc_h264-mp4.json",
"sha256": "c93c8a0f2549e20f9f2d746052d633eeaa00187734571a4e327e0672112069dd"
},
{
"id": "85509813:video_formats/nvenc_hevc-mp4.json",
"sha256": "3a6ad85bc69bd35f7888ee44d3d9e5076138443a7b8dfae6a4267f2236676e31"
},
{
"id": "85509813:video_formats/webm.json",
"sha256": "04a0c5ac4a14d73baae933e230b37257857214c31492adc2b990f8009892379d"
},
{
"id": "85509813:videohelpersuite/batched_nodes.py",
"sha256": "c822651e28c775a35da1441e2b1b2d7cd664fcc6649ba9d2c9b87faa8ac00edb"
},
{
"id": "85509813:videohelpersuite/documentation.py",
"sha256": "0d648daf98831545ee33f50a53ead7f12779d6630b1a001f7d9ea8418b4d90e0"
},
{
"id": "85509813:videohelpersuite/image_latent_nodes.py",
"sha256": "da2abefefef8d44d1a927417866205149cb85dc6a41cab7f542bd332e96d5390"
},
{
"id": "85509813:videohelpersuite/latent_preview.py",
"sha256": "92536a154893c176a81917ae271d60399409caa65d30b81aa737f4cfe9cfecf7"
},
{
"id": "85509813:videohelpersuite/load_images_nodes.py",
"sha256": "275fa08acf4ee3163c6d403abea5ef7d088b0a6afbd705d9b0d55623818ffdc4"
},
{
"id": "85509813:videohelpersuite/load_video_nodes.py",
"sha256": "f8124d8b24dd020383c62846f2acb67b3accb71b35491c2e013e4c6eeb070963"
},
{
"id": "85509813:videohelpersuite/logger.py",
"sha256": "2e2e9ed679410a170346c572a867d9a654327388ba6ea6a242215c590772e668"
},
{
"id": "85509813:videohelpersuite/nodes.py",
"sha256": "6d975d8fd8906784a4d9233ccc1238150ed33c6311d06c53fd08b5ee96e30442"
},
{
"id": "85509813:videohelpersuite/server.py",
"sha256": "7f6831f3095c09a0c8076b8676c2bdf966cbb3ed2884b58da6e571e989b806fc"
},
{
"id": "85509813:videohelpersuite/utils.py",
"sha256": "53560f3ce411f788491a6546cb044f3fa019e4deafe8128b5e6e5f6a45997504"
},
{
"id": "85509813:web/js/VHS.core.js",
"sha256": "19ee929e57bedaea0b12bf678970575be341bdd3722915d2d8d19b5bc7507c97"
},
{
"id": "85509813:web/js/videoinfo.js",
"sha256": "29db4800fe2b86303619bd1768b97aabdad0fe300db93da7135bdffa43f07970"
},
{
"id": "frontend-1.48.6:src/scripts/app.ts",
"sha256": "e274c5f4420e8aefdacf1a716296ee7ae4c9079e77578272d3eeef05350e4c71"
},
{
"id": "frontend-1.48.6:src/services/litegraphService.ts",
"sha256": "e54794728b969fc4a00fbf416a0adda975fad469de4198e66ee1afc7911281e6"
},
{
"id": "frontend-1.48.6:src/scripts/widgets.ts",
"sha256": "575a66930c5292a5e401ddff9370e373c691844618df4b931229d3ffc47fb4ef"
},
{
"id": "frontend-1.48.6:src/utils/searchAndReplace.ts",
"sha256": "c7462edebf266b8b8cc62954a371ca3ec3fd1ee4c188e1b80a675003b49887d4"
},
{
"id": "frontend-1.48.6:src/renderer/extensions/vueNodes/widgets/composables/useFloatWidget.ts",
"sha256": "8485d1edc17e911e65e38055e704045245f2de8310a54b87d429e7ed111accef"
},
{
"id": "frontend-1.48.6:src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts",
"sha256": "8720d5a8194c9987eddbb42d0e925bcbb20e96e94f52c5f21750ba90b2113e02"
},
{
"id": "frontend-1.48.6:src/renderer/extensions/vueNodes/widgets/composables/useStringWidget.ts",
"sha256": "9d015f423d90ac563f55c9f92d016948ac0e4496d660f6020bced8fa0e0d43a6"
},
{
"id": "frontend-1.48.6:src/renderer/extensions/vueNodes/widgets/composables/useComboWidget.ts",
"sha256": "4f2621d7b7ce770e2592ba0aad7b786a51de9d6d1e1cdc3efd51f79b22009c91"
},
{
"id": "frontend-1.48.6:src/renderer/extensions/vueNodes/widgets/composables/useBooleanWidget.ts",
"sha256": "36f477f75561e0c7bfc2c6757906724f8ff2c8660ace26759f3f07493877fece"
},
{
"id": "frontend-1.48.6:package.json",
"sha256": "2771f28032a5c64b61e612ffc48a273bababc5a351e5920750d19d8f6432a1d7"
},
{
"id": "frontend-1.48.6:LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
},
{
"id": "frontend-1.48.6:src/utils/executionUtil.ts",
"sha256": "264e11395f28880603e7f9fe36d2e61c74cd59d6d88be990225cce8510e3f816"
},
{
"id": "frontend-1.48.6:src/lib/litegraph/src/LGraphNode.ts",
"sha256": "7d312ebe5182c4c69d45b5d5e4434dfd42405f72455310886acded76ce1d60ed"
},
{
"id": "frontend-1.48.6:src/scripts/domWidget.ts",
"sha256": "59b2b163cc3d316cd08efe9a1bf4a2d162eae1f7e8313d70f034c98bd7731bb0"
},
{
"id": "frontend-1.48.6:src/utils/litegraphUtil.ts",
"sha256": "c02657bd2685d0648d9acf7471a155b939555419cf02ea538b62a654a3df27a4"
},
{
"id": "frontend-1.48.6:src/scripts/utils.ts",
"sha256": "97109cc6d83516d6c55a6589adf74d92e6807a98d1f9eada9c15ed32e2d5f2f1"
},
{
"id": "frontend-1.48.6:src/workbench/utils/nodeDefOrderingUtil.ts",
"sha256": "27e98379fef3cb7158b2968d1b920ff16db662e4e0c5252ed62c7c7edc6f2227"
},
{
"id": "frontend-1.48.6:src/schemas/nodeDef/migration.ts",
"sha256": "ae357da184625b93c492c0b73ce9bd2f3b49d158ca19a2944c6500f924a7a533"
},
{
"id": "frontend-1.37.11:src/scripts/utils.ts",
"sha256": "97109cc6d83516d6c55a6589adf74d92e6807a98d1f9eada9c15ed32e2d5f2f1"
},
{
"id": "frontend-1.37.11:src/utils/searchAndReplace.ts",
"sha256": "c7462edebf266b8b8cc62954a371ca3ec3fd1ee4c188e1b80a675003b49887d4"
},
{
"id": "frontend-1.37.11:src/renderer/extensions/vueNodes/widgets/composables/useStringWidget.ts",
"sha256": "b734a2584d558de501150e8011e1c16031f33778c2cd3b4c712f296ce4f05396"
}
],
"upstream_code_executed": false,
"target_version_match": "unknown"
}
@@ -0,0 +1,31 @@
{
"tested_code_head": "ab4e47e66251cba718a2bdc7f0dc4227bf04697b",
"base": "846d6fcbfef8921f38708a98a02738713abff1e6",
"tests": "622 passed, 0 failed; 67 new VHS cases; synthetic only, no encoding/history",
"files": [
{
"path": "calliope-backend/src/calliope/comfyui/serialization_reference.py",
"sha256": "ad079ff185a64a104fe1b1ccfb953e3119402b9da3a02eedf389da0608b3ee5b"
},
{
"path": "calliope-backend/src/calliope/comfyui/ui2api.py",
"sha256": "4c59666e4fbd2f1b08ce91283a45874d50b8cd2336e9895becf1e0d6050ba593"
},
{
"path": "calliope-backend/scripts/audit_reference_conversion.py",
"sha256": "1bbeff97fe1bed147bec153cdac4d79c803a4284597f56a624ae3211b30b1042"
},
{
"path": "calliope-backend/tests/test_vhs_reference.py",
"sha256": "da644bf0654718d3e1442d34d1ca1fe54ff6c32ab7d5ff53a81314de91a13da5"
},
{
"path": "calliope-backend/tests/test_crop_split_reference.py",
"sha256": "e6c13d8c66d088f750763ddb83f8919e2cebccac2b557f359943543af6d04f33"
},
{
"path": "calliope-backend/tests/test_audio_separation_reference.py",
"sha256": "11c1e704b2b2dfc6db3c7428515ec724c659c570d3b734ccb619ae5b748c9416"
}
]
}
@@ -0,0 +1,16 @@
........................................................................ [ 11%]
........................................................................ [ 23%]
........................................................................ [ 34%]
........................................................................ [ 46%]
........................................................................ [ 57%]
........................................................................ [ 69%]
........................................................................ [ 81%]
........................................................................ [ 92%]
.............................................. [100%]
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-2d8b4b55fcb9/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
622 passed, 1 warning in 11.87s
@@ -0,0 +1,59 @@
..................................................................F..... [ 11%]
........................................................................ [ 23%]
........................................................................ [ 34%]
.......................................F................................ [ 46%]
........................................................................ [ 57%]
........................................................................ [ 69%]
........................................................................ [ 81%]
........................................................................ [ 92%]
.............................................. [100%]
=================================== FAILURES ===================================
_ test_all_five_real_combines_have_node_contract_even_when_other_nodes_close_graph _
def test_all_five_real_combines_have_node_contract_even_when_other_nodes_close_graph():
seen = []
for path in (REPO / "example_ComfyUI_workflows").rglob("*"):
if not path.is_file():
continue
source = json.loads(path.read_bytes())
for n in source.get("nodes", []):
if n["type"] == "VHS_VideoCombine" and n["properties"].get("ver") == VHS_COMBINE_COMMIT:
values = serialize_vhs_node(n)
assert values["crf"] == n["widgets_values"]["crf"]
assert values["frame_rate"] == n["widgets_values"]["frame_rate"]
seen.append((path, n["id"]))
> profile = next(
p
for p, v in VHS_PROFILES.items()
if v == (source.get("extra", {}).get("frontendVersion") or "1.37.11")
)
E StopIteration
calliope-backend/tests/test_vhs_reference.py:350: StopIteration
_ test_library_actual_delta_keeps_every_old_attempt_and_all_six_golden_comparisons _
def test_library_actual_delta_keeps_every_old_attempt_and_all_six_golden_comparisons():
previous = json.loads((REPO / "docs/hel-892/media-evidence/library.json").read_bytes())
profiles = tuple(p for p in audit.REFERENCE_PROFILES if p not in audit.CROP_SPLIT_PROFILES)
baseline = tuple(p for p in profiles if p != SEPARATION_PROFILE)
old = audit.audit_library(REPO, baseline)
current = audit.audit_library(REPO, profiles, baseline_profiles=baseline)
for historical, before, after in zip(previous["cases"], old["cases"], current["cases"]):
assert historical["source_path"] == before["source_path"] == after["source_path"]
> assert historical["attempts"] == before["attempts"] == after["attempts"][:-1]
E AssertionError: assert [{'profile': ...本不匹配'}]}, ...] == [{'profile': ...本不匹配'}]}, ...]
E
E Right contains 2 more items, first extra item: {'profile': 'comfy-frontend-1.37.11-vhs-pinned-reference', 'assumptions': {'frontend': '1.37.11', 'unmodified_frontend...5', 'cnr_id': None, 'aux_id': None, 'ver': None}, ...], 'verified_reference_facts': 'vhs-reference/contract.json', ...}
E Use -v to get more diff
calliope-backend/tests/test_audio_separation_reference.py:368: AssertionError
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-2d8b4b55fcb9/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED calliope-backend/tests/test_vhs_reference.py::test_all_five_real_combines_have_node_contract_even_when_other_nodes_close_graph
FAILED calliope-backend/tests/test_audio_separation_reference.py::test_library_actual_delta_keeps_every_old_attempt_and_all_six_golden_comparisons
2 failed, 620 passed, 1 warning in 12.47s
+16
View File
@@ -0,0 +1,16 @@
........................................................................ [ 11%]
........................................................................ [ 23%]
........................................................................ [ 34%]
........................................................................ [ 46%]
........................................................................ [ 57%]
........................................................................ [ 69%]
........................................................................ [ 81%]
........................................................................ [ 92%]
.............................................. [100%]
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-2d8b4b55fcb9/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
622 passed, 1 warning in 11.98s
@@ -0,0 +1,4 @@
uv run --project calliope-backend --offline pytest calliope-backend/tests/test_vhs_reference.py calliope-backend/tests/test_crop_split_reference.py calliope-backend/tests/test_audio_separation_reference.py calliope-backend/tests/test_media_reference.py calliope-backend/tests/test_asr_library_reference.py calliope-backend/tests/test_case04_saved_reference.py calliope-backend/tests/test_promoted_preview_reference.py calliope-backend/tests/test_structure_reference.py calliope-backend/tests/test_controlnet_reference.py calliope-backend/tests/test_reference_serialization.py calliope-backend/tests/test_ui2api_differential.py calliope-backend/tests/test_workflow_library.py calliope-backend/tests/test_supplied_companions.py calliope-backend/tests/test_delivery_scope.py calliope-backend/tests/test_output_protocol_references.py -q
uv run --project calliope-backend --offline ruff check calliope-backend/src/calliope/comfyui/serialization_reference.py calliope-backend/src/calliope/comfyui/ui2api.py calliope-backend/scripts/audit_reference_conversion.py calliope-backend/tests/test_vhs_reference.py calliope-backend/tests/test_crop_split_reference.py calliope-backend/tests/test_audio_separation_reference.py docs/hel-892/vhs-evidence/recompute.py docs/hel-892/vhs-evidence/build_contract.py
uv run --project calliope-backend --offline ruff format --check calliope-backend/src/calliope/comfyui/serialization_reference.py calliope-backend/src/calliope/comfyui/ui2api.py calliope-backend/scripts/audit_reference_conversion.py calliope-backend/tests/test_vhs_reference.py calliope-backend/tests/test_crop_split_reference.py calliope-backend/tests/test_audio_separation_reference.py docs/hel-892/vhs-evidence/recompute.py docs/hel-892/vhs-evidence/build_contract.py