HEL-892: pin subtitle and advanced audio reference protocols

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-10-29 22:51:08 +08:00
co-authored by multica-agent
parent b01809cf8c
commit f62786f4a0
21 changed files with 2317 additions and 5 deletions
+2
View File
@@ -1,3 +1,5 @@
> 当前输出协议增量:见 `输出协议固定参考与兼容验证.md`、`protocol-evidence/` 与后台 `protocol_references.json`。case02/03及case04/07的同协议预览已补公开固定版本参考与实际说明;目标版本/history仍未验证,配套保持停用,全量目标未完成。
> 当前范围:源文件156 / 本次目标155 / 用户明确排除case06共1份。落实策略、协调恢复与证据见 `155份范围落地与协调恢复.md`、`scope-evidence/`;当前145份UI通用转换未证明,6份采用API配套、139份尚无配套,完整定稿/实跑为0。下面156/146及7份收件数字保留为历史范围。
> 当前第六批:见 `第六批真实API配套导入.md`、`supplied-api/` 和 `sixth-evidence/`。7份真实附件已收取,6份采用为停用的配套API,case06缺类型继续关闭;294项API具名现值与源侧审校分开。通用转换146份仍未证明,完整定稿/实跑仍为0,未合并部署。以下批次为历史记录。
+4
View File
@@ -0,0 +1,4 @@
Building source distribution...
Building wheel from source distribution...
Successfully built ../protocol-build/calliope-1.5.8.tar.gz
Successfully built ../protocol-build/calliope-1.5.8-py3-none-any.whl
@@ -0,0 +1,21 @@
[
{
"cell": null,
"code": "E501",
"end_location": {
"column": 105,
"row": 66
},
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-830870af070f/workdir/aigc-home/calliope-backend/src/calliope/comfyui/client.py",
"fix": null,
"location": {
"column": 99,
"row": 66
},
"message": "Line too long (106 > 100)",
"name": "line-too-long",
"noqa_row": 66,
"severity": "error",
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
}
]
@@ -0,0 +1,21 @@
[
{
"cell": null,
"code": "E501",
"end_location": {
"column": 105,
"row": 66
},
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-830870af070f/workdir/aigc-home/calliope-backend/src/calliope/comfyui/client.py",
"fix": null,
"location": {
"column": 99,
"row": 66
},
"message": "Line too long (106 > 100)",
"name": "line-too-long",
"noqa_row": 66,
"severity": "error",
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
}
]
@@ -0,0 +1,936 @@
{
"cases": [
{
"id": "01",
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json",
"state": "pending_check",
"adopted": true,
"api_nodes": 22,
"api_inputs": 57,
"new_api_literal_params": 34,
"field_comparison": {
"unnamed_or_virtual_boundary_unverified": 34,
"link_difference": 9,
"link_equal": 14
},
"source_only_ids": [
"31",
"32",
"24",
"35"
],
"api_only_ids": [],
"named_evidence_differences": [],
"output_map": [
{
"class_type": "PreviewImage",
"kind": "image",
"label": "预览图像",
"nodeId": "3"
},
{
"class_type": "PreviewImage",
"kind": "image",
"label": "预览图像",
"nodeId": "5"
},
{
"class_type": "PreviewImage",
"kind": "image",
"label": "预览图像",
"nodeId": "11"
},
{
"class_type": "PreviewImage",
"kind": "image",
"label": "预览图像",
"nodeId": "13"
},
{
"class_type": "PreviewImage",
"kind": "image",
"label": "预览图像",
"nodeId": "22"
},
{
"class_type": "PreviewImage",
"kind": "image",
"label": "预览图像",
"nodeId": "36"
},
{
"class_type": "PreviewImage",
"kind": "image",
"label": "预览图像",
"nodeId": "37"
}
],
"kind": "image",
"issues": [
{
"code": "companion_unverified",
"message": "采用提供的配套API;源图差异、导出版本与真实执行尚未核验,保持停用"
}
],
"general_conversion_verified": false,
"execution_verified": false,
"evidence_file": "01.json"
},
{
"id": "02",
"source_path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
"state": "pending_check",
"adopted": true,
"api_nodes": 6,
"api_inputs": 21,
"new_api_literal_params": 16,
"field_comparison": {
"link_equal": 5,
"unnamed_or_virtual_boundary_unverified": 15,
"link_difference": 1
},
"source_only_ids": [
"7"
],
"api_only_ids": [],
"named_evidence_differences": [],
"output_map": [],
"kind": "unknown",
"issues": [
{
"code": "companion_unverified",
"message": "采用提供的配套API;源图差异、导出版本与真实执行尚未核验,保持停用"
}
],
"general_conversion_verified": false,
"execution_verified": false,
"evidence_file": "02.json"
},
{
"id": "03",
"source_path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
"state": "pending_check",
"adopted": true,
"api_nodes": 12,
"api_inputs": 40,
"new_api_literal_params": 24,
"field_comparison": {
"named_equal": 16,
"link_difference": 9,
"link_equal": 15
},
"source_only_ids": [
"39",
"40",
"37"
],
"api_only_ids": [],
"named_evidence_differences": [
{
"node_id": "37:6",
"field": "unet_name",
"api_value": "MiniMax/minimax_music3_dit_fp16.safetensors",
"api_type": "str",
"named_evidence": {
"source_value": "minimax_music3_dit_fp16.safetensors",
"source_type": "str",
"status": "different"
},
"source_link": [
55,
-10,
4,
6,
0,
"COMBO"
],
"source_expected": [
"37:-10",
4
],
"status": "link_difference"
},
{
"node_id": "37:13",
"field": "caption",
"api_value": "Global Metadata: Lo-fi hip-hop, chillhop. 78 BPM, D flat major, major scale with jazzy extensions. Laid-back and dreamy throughout, a gentle warm drift with a subtle late-night glow that deepens in the middle and dissolves softly at the end. Studying, raining-outside, headphones-on late-night listening. Bedroom production: muddy warm texture, heavy vinyl crackle, tape hiss and wow-flutter pitch wobble, low-passed dusty mix, soft-clipped drums, everything slightly detuned and cozy.\n\nVocal Details: Soft androgynous vocal, hushed half-sung half-spoken delivery, sitting low in the mix like another instrument, lazy behind-the-beat phrasing, gentle breathy timbre. Sparse murmured double-tracked harmonies, occasional wordless \"mmm\" and \"ooh\" hums drenched in tape delay and warm spring reverb. Long stretches with no vocals at all.\n\nArrangement: Dusty boom-bap drums with a soft thumping kick, cracked snare with lazy swing, brushed hi-hats, low round sub bass. Warm Rhodes piano chords with slow chorus wobble as the harmonic bed, mellow jazzy guitar licks answering the vocal lines, constant vinyl crackle as texture. Intro: rain and vinyl noise, solo Rhodes chords fading in, drums slipping in halfway. Verses: minimal — drums, bass, Rhodes, soft guitar fills between lines. Instrumental sections: guitar and Rhodes trade relaxed jazzy phrases over the beat, occasional muted trumpet ghost notes far in the background. Bridge: drums drop away to rain, crackle, and floating detuned Rhodes, then the beat eases back in. Outro: elements fade one by one until only vinyl crackle and a last unresolved Rhodes chord remain.",
"api_type": "str",
"named_evidence": {
"source_value": "",
"source_type": "str",
"status": "different"
},
"source_link": [
45,
-10,
0,
13,
1,
"STRING"
],
"source_expected": [
"37:-10",
0
],
"status": "link_difference"
},
{
"node_id": "37:13",
"field": "lyrics",
"api_value": "[Intro]\nMmm...\n(rain on the window)\nOoh...\n\n[Verse]\nMidnight and the canvas glows\nDragging little wires where the current flows\nType a quiet dream, let the sampler drift\nNoise into a picture, like the fog just lifts\nTwenty slow steps, I'm in no hurry now\nLatents turning colors and I don't know how\nEvery render's like a polaroid I found\nSoft focus memories, no sound\n\n[Instrumental]\n\n[Verse]\nQueue another frame, let the motion breathe\nPictures start to move like the falling leaves\nVideo drifting by at twenty-four\nLittle animations on my bedroom floor\nSeed after seed like the rain outside\nSome of them are keepers, some I let slide\nSave the ones that feel like a Sunday slow\nNode to node to node... and off we go\n\n[Chorus]\nMmm... let it render on\n(take your time, take your time)\nOoh... by the morning it'll all be done\n(one more queue, one more try)\n\n[Instrumental]\n\n[Bridge]\nRain keeps drawing pictures on the glass...\nMy machine keeps dreaming...\nNeither of us fast...\n\n[Chorus]\nMmm... let it render on\n(take your time, take your time)\nOoh... by the morning it'll all be done\n(one more queue, one more try)\n\n[Instrumental]\n\n[Outro]\nMmm...\n(node to node)\nOoh... goodnight",
"api_type": "str",
"named_evidence": {
"source_value": "",
"source_type": "str",
"status": "different"
},
"source_link": [
46,
-10,
1,
13,
2,
"STRING"
],
"source_expected": [
"37:-10",
1
],
"status": "link_difference"
},
{
"node_id": "37:13",
"field": "seed",
"api_value": [
"37:38",
0
],
"api_type": "list",
"named_evidence": {
"source_value": 222,
"source_type": "int",
"status": "different"
},
"source_link": [
52,
38,
0,
13,
3,
"INT"
],
"source_expected": [
"37:38",
0
],
"status": "link_equal"
},
{
"node_id": "37:3",
"field": "clip_name",
"api_value": "MiniMax/minimax_music3_text_encoder_pruned_int8_convrot.safetensors",
"api_type": "str",
"named_evidence": {
"source_value": "minimax_music3_text_encoder_pruned_int8_convrot.safetensors",
"source_type": "str",
"status": "different"
},
"source_link": [
56,
-10,
5,
3,
0,
"COMBO"
],
"source_expected": [
"37:-10",
5
],
"status": "link_difference"
},
{
"node_id": "37:7",
"field": "vae_name",
"api_value": "MiniMax/minimax_music3_dav.safetensors",
"api_type": "str",
"named_evidence": {
"source_value": "minimax_music3_dav.safetensors",
"source_type": "str",
"status": "different"
},
"source_link": [
57,
-10,
6,
7,
0,
"COMBO"
],
"source_expected": [
"37:-10",
6
],
"status": "link_difference"
},
{
"node_id": "37:15",
"field": "seconds",
"api_value": [
"37:13",
1
],
"api_type": "list",
"named_evidence": {
"source_value": 120,
"source_type": "int",
"status": "different"
},
"source_link": [
20,
13,
1,
15,
0,
"FLOAT"
],
"source_expected": [
"37:13",
1
],
"status": "link_equal"
},
{
"node_id": "37:9",
"field": "seed",
"api_value": [
"37:38",
0
],
"api_type": "list",
"named_evidence": {
"source_value": 1111111112,
"source_type": "int",
"status": "different"
},
"source_link": [
53,
38,
0,
9,
4,
"INT"
],
"source_expected": [
"37:38",
0
],
"status": "link_equal"
},
{
"node_id": "37:38",
"field": "seed",
"api_value": 617970236276137,
"api_type": "int",
"named_evidence": {
"source_value": 0,
"source_type": "int",
"status": "different"
},
"source_link": [
54,
-10,
3,
38,
0,
"INT"
],
"source_expected": [
"37:-10",
3
],
"status": "link_difference"
},
{
"node_id": "37:43",
"field": "switch",
"api_value": true,
"api_type": "bool",
"named_evidence": {
"source_value": false,
"source_type": "bool",
"status": "different"
},
"source_link": [
63,
-10,
7,
43,
2,
"BOOLEAN"
],
"source_expected": [
"37:-10",
7
],
"status": "link_difference"
}
],
"output_map": [],
"kind": "unknown",
"issues": [
{
"code": "companion_unverified",
"message": "采用提供的配套API;源图差异、导出版本与真实执行尚未核验,保持停用"
}
],
"general_conversion_verified": false,
"execution_verified": false,
"evidence_file": "03.json"
},
{
"id": "04",
"source_path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json",
"state": "pending_check",
"adopted": true,
"api_nodes": 16,
"api_inputs": 60,
"new_api_literal_params": 42,
"field_comparison": {
"named_equal": 27,
"link_difference": 20,
"link_equal": 13
},
"source_only_ids": [
"459",
"463",
"468"
],
"api_only_ids": [],
"named_evidence_differences": [
{
"node_id": "459:451",
"field": "unet_name",
"api_value": "Qwen-Image/qwen_image_2.1_bf16.safetensors",
"api_type": "str",
"named_evidence": {
"source_value": "qwen_image_2.1_int8_convrot.safetensors",
"source_type": "str",
"status": "different"
},
"source_link": [
663,
-10,
11,
451,
0,
"COMBO"
],
"source_expected": [
"459:-10",
11
],
"status": "link_difference"
},
{
"node_id": "459:452",
"field": "prompt",
"api_value": [
"459:472",
0
],
"api_type": "list",
"named_evidence": {
"source_value": "",
"source_type": "str",
"status": "different"
},
"source_link": [
687,
472,
0,
452,
3,
"STRING"
],
"source_expected": [
"459:472",
0
],
"status": "link_equal"
},
{
"node_id": "459:456",
"field": "width",
"api_value": [
"13",
0
],
"api_type": "list",
"named_evidence": {
"source_value": 1024,
"source_type": "int",
"status": "different"
},
"source_link": [
660,
-10,
6,
456,
0,
"INT"
],
"source_expected": [
"459:-10",
6
],
"status": "link_difference"
},
{
"node_id": "459:456",
"field": "height",
"api_value": [
"13",
1
],
"api_type": "list",
"named_evidence": {
"source_value": 1024,
"source_type": "int",
"status": "different"
},
"source_link": [
661,
-10,
7,
456,
1,
"INT"
],
"source_expected": [
"459:-10",
7
],
"status": "link_difference"
},
{
"node_id": "459:458",
"field": "seed",
"api_value": 447606998181263,
"api_type": "int",
"named_evidence": {
"source_value": 0,
"source_type": "int",
"status": "different"
},
"source_link": [
667,
-10,
10,
458,
4,
"INT"
],
"source_expected": [
"459:-10",
10
],
"status": "link_difference"
},
{
"node_id": "459:471",
"field": "prompt",
"api_value": [
"483",
0
],
"api_type": "list",
"named_evidence": {
"source_value": "",
"source_type": "str",
"status": "different"
},
"source_link": [
711,
-10,
0,
471,
5,
"STRING"
],
"source_expected": [
"459:-10",
0
],
"status": "link_difference"
},
{
"node_id": "459:471",
"field": "sampling_mode.seed",
"api_value": 447606998181263,
"api_type": "int",
"named_evidence": {
"source_value": 0,
"source_type": "int",
"status": "different"
},
"source_link": [
697,
-10,
10,
471,
13,
"INT"
],
"source_expected": [
"459:-10",
10
],
"status": "link_difference"
},
{
"node_id": "459:473",
"field": "clip_name",
"api_value": "Qwen-Image/qwen3.5_qwen_image_2.1_pe_t2i.int8_convrot.safetensors",
"api_type": "str",
"named_evidence": {
"source_value": "qwen3.5_9b_qwen_image_2.1_pe_t2i.int8_convrot.safetensors",
"source_type": "str",
"status": "different"
},
"source_link": [
696,
-10,
14,
473,
0,
"COMBO"
],
"source_expected": [
"459:-10",
14
],
"status": "link_difference"
},
{
"node_id": "459:474",
"field": "switch",
"api_value": true,
"api_type": "bool",
"named_evidence": {
"source_value": false,
"source_type": "bool",
"status": "different"
},
"source_link": [
688,
-10,
1,
474,
2,
"BOOLEAN"
],
"source_expected": [
"459:-10",
1
],
"status": "link_difference"
}
],
"output_map": [
{
"class_type": "SaveImageAdvanced",
"kind": "image",
"label": "保存图像(高级)",
"nodeId": "461"
}
],
"kind": "image",
"issues": [
{
"code": "companion_unverified",
"message": "采用提供的配套API;源图差异、导出版本与真实执行尚未核验,保持停用"
}
],
"general_conversion_verified": false,
"execution_verified": false,
"evidence_file": "04.json"
},
{
"id": "05",
"source_path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json",
"state": "pending_check",
"adopted": true,
"api_nodes": 16,
"api_inputs": 66,
"new_api_literal_params": 48,
"field_comparison": {
"named_difference": 5,
"named_equal": 43,
"link_equal": 18
},
"source_only_ids": [
"25"
],
"api_only_ids": [],
"named_evidence_differences": [
{
"node_id": "1",
"field": "unet_name",
"api_value": "MiniMax/minimax_h3_ref2va_pruned_int8_convrot.safetensors",
"api_type": "str",
"named_evidence": {
"source_value": "MiniMax\\minimax_h3_ref2va_pruned_int8_convrot.safetensors",
"source_type": "str",
"status": "different"
},
"source_value": "MiniMax\\minimax_h3_ref2va_pruned_int8_convrot.safetensors",
"status": "named_difference"
},
{
"node_id": "2",
"field": "clip_name",
"api_value": "MiniMax/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
"api_type": "str",
"named_evidence": {
"source_value": "MiniMax\\qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
"source_type": "str",
"status": "different"
},
"source_value": "MiniMax\\qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
"status": "named_difference"
},
{
"node_id": "3",
"field": "vae_name",
"api_value": "MiniMax/minimax_h3_video_vae_fp16.safetensors",
"api_type": "str",
"named_evidence": {
"source_value": "MiniMax\\minimax_h3_video_vae_fp16.safetensors",
"source_type": "str",
"status": "different"
},
"source_value": "MiniMax\\minimax_h3_video_vae_fp16.safetensors",
"status": "named_difference"
},
{
"node_id": "4",
"field": "vae_name",
"api_value": "MiniMax/minimax_h3_audio_vae_fp32.safetensors",
"api_type": "str",
"named_evidence": {
"source_value": "MiniMax\\minimax_h3_audio_vae_fp32.safetensors",
"source_type": "str",
"status": "different"
},
"source_value": "MiniMax\\minimax_h3_audio_vae_fp32.safetensors",
"status": "named_difference"
},
{
"node_id": "7",
"field": "width",
"api_value": [
"24",
0
],
"api_type": "list",
"named_evidence": {
"source_value": 1536,
"source_type": "int",
"status": "different"
},
"source_link": [
44,
24,
0,
7,
2,
"INT"
],
"source_expected": [
"24",
0
],
"status": "link_equal"
},
{
"node_id": "7",
"field": "height",
"api_value": [
"24",
1
],
"api_type": "list",
"named_evidence": {
"source_value": 960,
"source_type": "int",
"status": "different"
},
"source_link": [
45,
24,
1,
7,
3,
"INT"
],
"source_expected": [
"24",
1
],
"status": "link_equal"
},
{
"node_id": "21",
"field": "lora_name",
"api_value": "MiniMax/minimax_h3_ref2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors",
"api_type": "str",
"named_evidence": {
"source_value": "MiniMax\\minimax_h3_ref2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors",
"source_type": "str",
"status": "different"
},
"source_value": "MiniMax\\minimax_h3_ref2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors",
"status": "named_difference"
}
],
"output_map": [
{
"class_type": "SaveVideo",
"kind": "video",
"label": "保存视频",
"nodeId": "10"
}
],
"kind": "video",
"issues": [
{
"code": "companion_unverified",
"message": "采用提供的配套API;源图差异、导出版本与真实执行尚未核验,保持停用"
}
],
"general_conversion_verified": false,
"execution_verified": false,
"evidence_file": "05.json"
},
{
"id": "06",
"source_path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json",
"state": "user_excluded",
"adopted": false,
"new_api_literal_params": 0,
"exclusion": {
"status": "user_excluded",
"case_id": "06",
"reason": "用户明确排除这一份,不补导、不修补,不作为剩余阻塞",
"decision": {
"issue_id": "01a17910-fd9c-72aa-9e76-331f0cfdf896",
"comment_id": "01a187e6-5df9-7c98-8afe-05fc9baa5b55",
"issue_link": "mention://issue/01a17910-fd9c-72aa-9e76-331f0cfdf896",
"quote": "缺的那份不需要了"
}
},
"historical_row_preserved": false
},
{
"id": "07",
"source_path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json",
"state": "pending_check",
"adopted": true,
"api_nodes": 72,
"api_inputs": 251,
"new_api_literal_params": 130,
"field_comparison": {
"unnamed_or_virtual_boundary_unverified": 92,
"link_difference": 57,
"link_equal": 93,
"named_difference": 1,
"named_equal": 7,
"source_node_unresolved": 1
},
"source_only_ids": [
"574",
"575",
"292",
"582",
"291",
"291:78",
"291:77",
"291:90",
"291:80",
"291:290",
"291:96",
"291:79",
"291:97",
"291:416",
"291:417",
"291:571",
"291:572",
"291:573",
"581",
"539",
"600",
"603",
"602",
"604",
"605",
"587",
"597",
"477",
"477:466",
"598",
"261",
"261:241",
"608",
"609",
"540",
"601",
"610",
"606"
],
"api_only_ids": [
"612"
],
"named_evidence_differences": [
{
"node_id": "585",
"field": "video",
"api_value": "抖音20261025-285806.mp4",
"api_type": "str",
"named_evidence": {
"source_value": "1daafaf7f9a12f651c41e56d38bc518f.mp4",
"source_type": "str",
"status": "different"
},
"source_value": "1daafaf7f9a12f651c41e56d38bc518f.mp4",
"status": "named_difference"
}
],
"output_map": [
{
"class_type": "SaveVideo",
"kind": "video",
"label": "保存视频",
"nodeId": "246"
}
],
"kind": "video",
"issues": [
{
"code": "companion_unverified",
"message": "采用提供的配套API;源图差异、导出版本与真实执行尚未核验,保持停用"
}
],
"general_conversion_verified": false,
"execution_verified": false,
"evidence_file": "07.json"
}
],
"adopted": 6,
"user_excluded": 1,
"source_files": 156,
"target_files": 155,
"general_conversion_verified": 0,
"execution_verified": 0,
"new_api_literal_params": 294
}
@@ -0,0 +1,24 @@
{
"total": 155,
"audit_scope": "current_delivery",
"source_files": 156,
"target_files": 155,
"user_excluded": 1,
"source_structure_purpose_partially_reviewed": 155,
"full_documents_completed": 0,
"files_with_selected_named_fields_reviewed": 41,
"selected_named_fields_reviewed": 1217,
"real_executions": 0,
"states": {
"pending_check": 16,
"needs_conversion": 139
},
"named_values_preserved": 1217,
"unnamed_widget_nodes": 3660,
"semantic_batch_files": 139,
"semantic_batch_without_named_fields": 114,
"semantic_batch_named_fields": 490,
"named_values_without_manual_field_review": 0,
"named_values_without_verified_units_ranges_effects": 1217,
"scope_limit": "人工结论与机械原值清单分开;源语义局部审校非完整说明定稿"
}
@@ -0,0 +1,8 @@
.................................. [100%]
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-830870af070f/workdir/aigc-home/calliope-backend/.venv/lib/python3.11/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
34 passed, 1 warning in 4.38s
@@ -0,0 +1,19 @@
{
"batch_id": "87cdf97e-51b0-45ee-8a62-507aa690ff6b",
"source_commit": "b01809cf8c3f8b408d1e4bdcf26b17a9e86ea360",
"counts": {
"updated": 6,
"skipped": 149,
"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
}
+1
View File
@@ -0,0 +1 @@
All checks passed!
@@ -0,0 +1,10 @@
........................................................................ [ 44%]
........................................................................ [ 88%]
................... [100%]
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-830870af070f/workdir/aigc-home/calliope-backend/.venv/lib/python3.11/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
163 passed, 1 warning in 80.83s (0:01:20)
@@ -0,0 +1,18 @@
{
"batch_id": "43e804ef-8702-48c2-a4e5-0ef238438542",
"source_commit": "b01809cf8c3f8b408d1e4bdcf26b17a9e86ea360",
"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,91 @@
{
"evidence_layer": "pinned_source_serialization_contract_fixture",
"target_history_observed": false,
"verified_sources": [
{
"id": "core-preview",
"sha256": "48cffa3b2ddd08c311af609642da8703abc9bac9e624c400c3dc41f6edcea930"
},
{
"id": "core-audio",
"sha256": "483466af050a43bf96f9fcdfa56ab2759dbf8611dd6a14a9543f6d136ecbdf43"
},
{
"id": "core-ui",
"sha256": "339cc100b45208f83f119ca76f48050bf723aea3377003357e8928a7ef85d025"
},
{
"id": "core-io",
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d"
},
{
"id": "core-history",
"sha256": "40c5306bc8d032aea90b93a7e1ef4ca137e0cf372187132d32b99ae070ba3d87"
},
{
"id": "qwen-subtitle",
"sha256": "f8cda2d0d39517f93ace1a73263146a4bea59a02604e58919a05393c45ade6b7"
},
{
"id": "qwen-registration",
"sha256": "0919008142c12f8fe9a12671a1ca1de548ded128dd7287a13f6230d9729b47c2"
},
{
"id": "core-preview-v011",
"sha256": "f8c526dbc4ec512f88a067524865f59eb24db636858f37d601e848885b2d0751"
},
{
"id": "core-audio-v031",
"sha256": "82bb9dcf191a84cb0695bc2533602f7956e29a81a1176965556350b02e1bd67e"
},
{
"id": "core-ui-v031",
"sha256": "14c48175a06d4c5ad7b7dfc2e3809185f88eb93af068fe5df84703257ca66353"
}
],
"execution_boundary": "AST-extracted SavedResult/SavedAudios and PreviewAny.main (current and v0.11.0) only; torch print configuration stubbed; subtitle class parsed, never executed; no audio encoder, plugin imports, model or ComfyUI execution",
"subtitle_return_names": [
"TEXT",
"SUBTITLES",
"LANGUAGE",
"OUTPUT_PATH"
],
"preview_v011_has_result": false,
"subtitle_history_fixture": {
"outputs": {
"1": {
"text": [
""
]
},
"2": {
"text": [
"0.00-1.20: 字幕文本"
]
},
"3": {
"text": [
"Chinese"
]
},
"4": {
"text": [
"正文"
]
}
}
},
"audio_history_fixture": {
"outputs": {
"35": {
"audio": [
{
"filename": "music_00001.mp3",
"subfolder": "audio",
"type": "output"
}
]
}
}
}
}
@@ -0,0 +1,8 @@
................. [100%]
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-830870af070f/workdir/aigc-home/calliope-backend/.venv/lib/python3.11/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
17 passed, 1 warning in 0.77s
@@ -0,0 +1,84 @@
本轮完成六份配套API中的字幕/高级音频输出协议调查与兼容验证,保持全部配套停用。本轮不是全量完成,不合并、不部署。
## 代码与证据层
继续 PR #25(https://gitea.xbay.cc/leefer/aigc-home/pulls/25),分支 `agent/agent/a64a969a6a44`,base `main`@`1fc8bdb`,增量基点 `b01809cf8c3f8b408d1e4bdcf26b17a9e86ea360`。开工已通过远端PR API核对head/base。未改界面、源图、原始API、manifest、范围策略或source_reviews。
沿用 README 与 HEL-892 交付说明的架构:SQLite/library 维护来源和审校状态,parser/output_map 决定确认过的节点,worker 使用 client 从 history 收取文件并经 /view 下载。没有独立架构文档,不引入依赖。
新增 `protocol_references.json/.py` 是来源绑定的说明参考,不是可信 object_info,也不是全局节点注册表。返回参考要求源路径、源SHA256、导出SHA256及节点ID/class_type匹配。原始导出SHA、source_sha、API值和源审校保持独立;目标版本未知、真实history未观测。参考变更参与 companion_sha,文档版本升至2;用户修改整行仍优先保留。
`companions.py` 只在配套本身有效时附加 output_protocol_reference;`library.py` 将具体中文协议及版本差异写进实际 doc_json 的 api_companion 和 steps。新增参考覆盖 case02/03,case04 的459:472及case07的538/607只沿用直接相关的PreviewAny协议;case01/05本轮没有同一协议输出,不扩查SaveImage/SaveVideo或全部参数。未知节点未加入auto_output_map,case02/03映射仍为空。
`client.py` 复用原 audio/audios/files 收取及 /view 下载,仅补非法描述符拒绝:非字符串/空filename、路径/URL、非法subfolder/type及非对象node_out均跳过。未识别键不猜类型,text不进入文件解析。无合法文件时worker既有失败行为由受影响回归验证。
## 逐节点结论
|case/节点|源码可确认的协议|本配套现状与仍缺证据|
|---|---|---|
|02 / 9 AILab_Qwen3ASRSubtitle|NODE_CLASS_MAPPINGS明确绑定同名类;四槽0 TEXT、1 SUBTITLES、2 LANGUAGE、3 OUTPUT_PATH均STRING;不是OUTPUT_NODE,无ui文件描述符。|API output_format=none、output_path空:参考代码不写文件。原图槽2拼为LANUGAGE;参考函数模型/aligner默认值含-hf,API不含。不能当同版本或确认模型可用。|
|02 / 1、2、3、4 PreviewAny|source依次连9的3、1、2、0槽,对应路径、字幕文本、语言、正文。官方0.11.0无result槽,新参考commit有STRING result;两版都将ui.text作为内联预览。|无filename,四份预览不能冒充四个字幕文件;缺目标版本与真实history。|
|02 / 字幕保存分支|SUBTITLES是秒区间文本,缺时间戳时退回正文;txt/srt分支可写服务端路径,但返回的是STRING。srt无groups时写正文。|当前none未走保存分支;即使改srt也不能仅凭路径字符串调用/view,不能保证合法SRT;需要实际文件描述符契约/真实响应。|
|03 / 35 SaveAudioAdvanced|define_schema node_id与扩展注册明确同名;AUDIO输入与透传输出,filename_prefix字符串,format为flac/mp3/opus动态选项;MP3 quality含V0/128k/320k。execute→AudioSaveHelper→SavedAudios.as_dict→ui.audio数组,每项filename/subfolder/type=output。|配套mp3/V0,format.quality经核心动态输入嵌套为format字典;无需改API。原图声明core0.31.0对应官方tag协议一致,仍不证明导出/目标版本;实际编码、模型、history与源子图展开未验证。|
|04 / 459:472,07 / 538、607 PreviewAny|同一内联text协议;只补来源绑定说明。|不影响这些图既有图片/视频输出映射与源差异;不能拿预览文本当文件。|
case03参考history形状是 `outputs["35"].audio=[{filename,subfolder,type:"output"}]`,现有client已可收取;AUDIO透传的waveform/sample_rate是节点间数据,不是下载描述符。参考契约和合成fixture不等于目标history。
## 固定来源与复验
每个来源的准确URL、固定commit/tag、文件/行、获取时间、完整SHA256均在 `calliope-backend/src/calliope/comfyui/protocol_references.json`。原图 cnr_id/ver/outputs 保存在每个case的 source_node_metadata,明确只是源图声明;不能提升成目标快照。下面为直接源码入口:
- [core-preview](https://github.com/Comfy-Org/ComfyUI/blob/fd7639f477050e5c25b68fc38a9c2a6b6d988211/comfy_extras/nodes_preview_any.py),fd7639f47705,行 [[8, 44]];SHA256 `48cffa3b2ddd08c311af609642da8703abc9bac9e624c400c3dc41f6edcea930`;获取 2026-10-29T14:42:43.157537+00:00。
- [core-audio](https://github.com/Comfy-Org/ComfyUI/blob/fd7639f477050e5c25b68fc38a9c2a6b6d988211/comfy_extras/nodes_audio.py),fd7639f47705,行 [[290, 333], [908, 936]];SHA256 `483466af050a43bf96f9fcdfa56ab2759dbf8611dd6a14a9543f6d136ecbdf43`;获取 2026-10-29T14:42:43.157600+00:00。
- [core-ui](https://github.com/Comfy-Org/ComfyUI/blob/fd7639f477050e5c25b68fc38a9c2a6b6d988211/comfy_api/latest/_ui.py),fd7639f47705,行 [[23, 61], [256, 385]];SHA256 `339cc100b45208f83f119ca76f48050bf723aea3377003357e8928a7ef85d025`;获取 2026-10-29T14:42:43.157629+00:00。
- [core-io](https://github.com/Comfy-Org/ComfyUI/blob/fd7639f477050e5c25b68fc38a9c2a6b6d988211/comfy_api/latest/_io.py),fd7639f47705,行 [[1230, 1286], [2095, 2140]];SHA256 `c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d`;获取 2026-10-29T14:42:43.157714+00:00。
- [core-history](https://github.com/Comfy-Org/ComfyUI/blob/fd7639f477050e5c25b68fc38a9c2a6b6d988211/execution.py),fd7639f47705,行 [[361, 423], [566, 580], [830, 838]];SHA256 `40c5306bc8d032aea90b93a7e1ef4ca137e0cf372187132d32b99ae070ba3d87`;获取 2026-10-29T14:42:43.157785+00:00。
- [qwen-subtitle](https://github.com/1038lab/ComfyUI-QwenASR/blob/3f9a652a617e578e4e3bd090e3dbc75274bf4775/AILab_QwenASR.py),3f9a652a617e,行 [[1021, 1173]];SHA256 `f8cda2d0d39517f93ace1a73263146a4bea59a02604e58919a05393c45ade6b7`;获取 2026-10-29T14:42:43.157828+00:00。
- [qwen-registration](https://github.com/1038lab/ComfyUI-QwenASR/blob/3f9a652a617e578e4e3bd090e3dbc75274bf4775/__init__.py),3f9a652a617e,行 [[17, 41]];SHA256 `0919008142c12f8fe9a12671a1ca1de548ded128dd7287a13f6230d9729b47c2`;获取 2026-10-29T14:42:43.157847+00:00。
- [core-preview-v011](https://github.com/Comfy-Org/ComfyUI/blob/09725967cf76304371c390ca1d6483e04061da48/comfy_extras/nodes_preview_any.py),v0.11.0,行 [[7, 38]];SHA256 `f8c526dbc4ec512f88a067524865f59eb24db636858f37d601e848885b2d0751`;获取 2026-10-29T14:46:34.511211+00:00。
- [core-audio-v031](https://github.com/Comfy-Org/ComfyUI/blob/43cb4fffc89bba20ab7bd61467a36d0339338dab/comfy_extras/nodes_audio.py),v0.31.0,行 [[251, 294], [869, 896]];SHA256 `82bb9dcf191a84cb0695bc2533602f7956e29a81a1176965556350b02e1bd67e`;获取 2026-10-29T14:46:34.511264+00:00。
- [core-ui-v031](https://github.com/Comfy-Org/ComfyUI/blob/43cb4fffc89bba20ab7bd61467a36d0339338dab/comfy_api/latest/_ui.py),v0.31.0,行 [[27, 65], [262, 390]];SHA256 `14c48175a06d4c5ad7b7dfc2e3809185f88eb93af068fe5df84703257ca66353`;获取 2026-10-29T14:46:34.511291+00:00。
只搜索并读取节点包原仓库和官方核心源码,不安装/导入插件、不执行转写、不加载模型。公开新版为参考版本,另按原图声明取core v0.11.0和v0.31.0标签核对,不声称目标匹配。
仓库根复验(缓存放在本地目录,脚本只访问清单固定的公开源码URL):
```bash
python3 calliope-backend/scripts/verify_output_protocol_sources.py --fetch \
--source-dir ../protocol-reference-recheck --output ../serialization-recheck.json
```
省略 --fetch 可离线验缓存。脚本先核验10个完整文件SHA256,再仅通过AST提取核心 SavedResult/SavedAudios 与两版 PreviewAny.main 的序列化函数,torch打印设置用stub;字幕类只解析四槽字面定义,不执行。没有调用音频编码器、转写、服务、模型或生成。`protocol-evidence/serialization.json` 是上述核心序列化构造的契约fixture,history封装是合成的,文本和文件名也是测试值。
## 验证结果
- 受影响14套件:163 passed。覆盖新增17项、原图片/视频/音频/未知输出、队列下载、库/配套/155范围、转换差分、启用/测试拦截。`regression.txt` 为首次协议代码完成后的结果;后续仅补历史标签、源metadata、中文版本差异及文档刷新版本,最终保护回归34 passed,另见 `final-protection.txt`,两组重叠不相加。
- 序列化脚本10文件SHA核验成功;只执行上述核心纯序列化边界。合法音频通过MockTransport验证/view参数及落盘;file/SRT描述符可收取,内联字幕、路径、未知键和12类缺字段/非法描述符不收取。fixture字节不是合法音频编码证明。
- 隔离库:155条导入/1条精确排除,16 pending_check、139 needs_conversion;重导155 skipped/1 user_excluded。6份采用配套、294项现值;目标155的1217源具名值/3660位置控件不变。4份参考说明入实际doc_json,全部is_enabled=0、doc_completed_at和exec_verified_at为空,完整定稿0/实跑0。整行用户修改、版本刷新、原值/源哈希保护由专项实测。
- 未重跑全后台/前端:上批独立865 passed/5既有失败/6 skipped仅沿用为历史基线,不当本次结果;已知5项不扩修。本次选择的回归无失败。
- wheel/sdist构建通过,检查包内参考JSON与源码字节一致;新增/其他改动Python文件Ruff通过。client.py仅保留b01809c已有E501(第66行),本次无新增lint;基线与当前JSON逐项核对,不能称全仓全绿。git diff --check通过。
## 复现入库与审计
使用已有锁文件环境,从仓库根执行(仅本地隔离库):
```bash
uv run --project calliope-backend --frozen python -m calliope.comfyui.library_cli import \
--root example_ComfyUI_workflows --db ../protocol-catalogue.db \
--source-commit b01809cf8c3f8b408d1e4bdcf26b17a9e86ea360 \
--companions docs/hel-892/supplied-api/manifest.json --output-dir ../protocol-import
uv run --project calliope-backend --frozen python calliope-backend/scripts/audit_supplied_api.py \
--repo . --manifest docs/hel-892/supplied-api/manifest.json \
--db ../protocol-catalogue.db --output ../protocol-audit
uv run --project calliope-backend --frozen python calliope-backend/scripts/audit_library_documents.py \
--repo . --documents ../protocol-import --output ../protocol-doc-audit.json
```
## 仍未解锁
1. case02:目标包版本、实际ui.text响应,以及若要文件交付时的有效filename/subfolder/type响应;仅返回服务器路径不足以收取。当前none不生成字幕文件,不自动改图。
2. case03:目标SaveAudioAdvanced及核心动态format版本、节点35真实history音频描述符与实际编码;公共0.31.0实现证明参考协议,不证明目标环境与源子图展开等价。
3. case04/07的PreviewAny同样缺目标版本/响应;其余输出节点和全部参数未在本轮扩审。case01/05无本轮相同协议兼容改动。
4. 六份配套的源差异/展开、145份UI通用可靠转换、155份完整说明和必要实跑仍未完成;139份UI尚无配套。case06始终排除,不再索取它或计入待完成。
这些只按证据层留待总管以后分阶段协调,本轮无需用户补材料、开放机器或长时间停TTS。未连接目标机、写在线库、提交/prompt、调用付费服务、下载模型、合并或部署。