docs: explain conditional AIO return handling and minimal target review plan
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
# HEL-892 第178包:AIO返回协议与最小目标核对方案
|
||||
|
||||
基线 `e0639530f631809843019e07582aa1e443035cf6`;原分支
|
||||
`agent/agent/a64a969a6a44`,PR25→main。仅新增本目录,只核ControlNet/case01与177准确aux文本。
|
||||
交HEL-893独立审核,不自行认证通过,不推进179。
|
||||
|
||||
先读 `返回协议说明.md` 与 `方案给总管.md`,对应机器证据:
|
||||
|
||||
- `protocol-matrix.json` / CSV:两准确core版本分别13条,共26条条件、输出、错误与行级证据;case01两条实际索引0引用。
|
||||
- `branch-evidence.json`:准确函数/原类原文、行号、SHA和AST摘要;不运行上游代码。
|
||||
- `engine-sources.json` / `direct-sources.json`、`source-text/`、`network/`:8份准确commit必要文本、原HTTP响应和真实UTC取得时间;Git blob/SHA逐份核准。
|
||||
- `reused-source-records.json`:177准确aux入口/包装/许可与两版core独立许可的原记录,不倒改旧时刻。
|
||||
- `inert-samples.json`:2个仅用token表示形状的惰性JSON注释,JSON数组另标原Python tuple;不作prompt、引擎输入或运行输出。
|
||||
- `target-plan.json`:有限事实/文件白名单、预期摘要样例、接受/拒绝/缺失条件、风险和后置项;executed=false。
|
||||
- `verification.json` / `baseline.json`:字节、来源、分支引用/形状注释、可逆CSV与全部19459旧文件冻结,零例外。
|
||||
|
||||
准确文本条件下,两版普通dict→result→merge路径无OUTPUT_IS_LIST时按实际result长度处理,
|
||||
AIO单IMAGE声明不使二项result自动截断或拒绝。显式OUTPUT_IS_LIST、批次形状、扩图、
|
||||
ExecutionBlocker、V3/异步、声明索引校验与异常传播分别列条件,不泛化成无条件兼容。
|
||||
本案只消费33/34出口0;额外返回保留不代表可新增声明外的索引1连线。
|
||||
三关键函数AST相同,整体execute/validate_inputs不同,不能将两版视作同一宿主实现。
|
||||
主机core版本与实际安装/加载/依赖、真实输出、原前端恢复仍未知。
|
||||
|
||||
方案仅供总管向用户确认。192.168.200.15只是项目测试机指针,不确认它就是case01宿主,
|
||||
不沿用历史.12:8188、不猜端口。优先管理员已有安装版本与有限源文件摘要,不导入插件。
|
||||
object_info/INPUT_TYPES会执行插件和动态枚举,GET不保证无副作用;动态查询须另获知情确认。
|
||||
原前端恢复、模型素材/许可、全套依赖与真实history分别后置,不作为本次有限安装身份核对的全套材料。
|
||||
当前无需用户停TTS或提供机器窗口;没有目标访问、端口扫描或定义请求。
|
||||
|
||||
复核入口(只用现有stdlib和Ruff):
|
||||
|
||||
```sh
|
||||
python3 -B docs/hel-892/batch178-aio-protocol/verify.py NEW_VERIFICATION_FILENAME.json
|
||||
```
|
||||
|
||||
输出x独占写,重复检查应使用新输出文件名或在新副本里运行,不能覆盖证据。
|
||||
build.py只解析AST/文本并建立证据索引,verify.py只检查来源/形状/分支引用,不复制正常化器实现。
|
||||
没有为文档写镜像实现测试:模拟引擎运行0、真实引擎测试0,样本检查不能当引擎通过。
|
||||
只跑自有工具lint/format/AST与所需一致性/冻结,不重跑无变化构建、浏览、导入或产品套件。
|
||||
|
||||
run.py独占xb/x日志与显式命令键,原stdout/stderr、退出码/SHA均保存。
|
||||
初次lint一条长行保留,修复仅拆分新工具中的相邻字符串,内容不变。
|
||||
取得源码保留原字节;全补丁空白检查如命中上游文本则保留并与自有文件分列,不清理源码。
|
||||
|
||||
独立ZIP含完整补丁、有效分支bundle/verify、用途SHA、必要原文/旧记录、协议和方案、实际原日志,
|
||||
逐成员字节/SHA/CRC核准。打包自身最终记录/日志另附,避免自引用;完整冻结检查需对应基线仓库。
|
||||
175/176/177全闭包、155块/pin、10761值/287注释、163原件及所有旧源码/取得时间/资格保持。
|
||||
16/139、1217/3660/294沿既有口径不累计,全停用draft/unchecked、空定稿/实跑时间;
|
||||
最终定稿/新增可靠转换/真实生成仍0,rCM排除。
|
||||
不改产品、固定块、转换器或原图,不执行上游/插件/SDK/模型/表达式/prompt/媒体/清理,
|
||||
不取整仓/整包/运行库/字体/模型素材、不引依赖付费、不启服务、写在线库、启用定稿实跑、合并部署或关主卡。
|
||||
@@ -0,0 +1,88 @@
|
||||
"""Exact-commit necessary text only, bounded HTTP, no upstream imports or execution."""
|
||||
|
||||
import base64
|
||||
import datetime as dt
|
||||
import hashlib
|
||||
import json
|
||||
import sys
|
||||
import urllib.error
|
||||
import urllib.request
|
||||
from pathlib import Path
|
||||
|
||||
HERE = Path(__file__).resolve().parent
|
||||
COMMITS = {
|
||||
"0.21.1": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"0.17.0": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
}
|
||||
|
||||
|
||||
def now():
|
||||
return dt.datetime.now(dt.timezone.utc).isoformat()
|
||||
|
||||
|
||||
def sha(raw):
|
||||
return hashlib.sha256(raw).hexdigest()
|
||||
|
||||
|
||||
def save(name, value):
|
||||
with (HERE / name).open("x", encoding="utf-8") as stream:
|
||||
json.dump(value, stream, ensure_ascii=False, indent=2)
|
||||
stream.write("\n")
|
||||
|
||||
|
||||
def fetch(version, path, phase):
|
||||
commit = COMMITS[version]
|
||||
key = phase + "-" + version + "-" + path.replace("/", "__")
|
||||
url = "https://api.github.com/repos/Comfy-Org/ComfyUI/contents/" + path + "?ref=" + commit
|
||||
record = dict(requested_url=url, started_at=now(), maximum_bytes=512000)
|
||||
raw = b""
|
||||
try:
|
||||
request = urllib.request.Request(
|
||||
url, headers={"User-Agent": "HEL-892-static-protocol", "Accept-Encoding": "identity"}
|
||||
)
|
||||
with urllib.request.urlopen(request, timeout=20) as response:
|
||||
record.update(
|
||||
status=response.status, headers=dict(response.headers), final_url=response.url
|
||||
)
|
||||
raw = response.read(512001)
|
||||
assert len(raw) <= 512000
|
||||
record["ok"] = True
|
||||
except (OSError, AssertionError) as exc:
|
||||
record.update(ok=False, error=type(exc).__name__ + ": " + str(exc))
|
||||
if isinstance(exc, urllib.error.HTTPError):
|
||||
record["status"] = exc.code
|
||||
raw = exc.read(4096)
|
||||
finally:
|
||||
record.update(finished_at=now(), bytes=len(raw), sha256=sha(raw))
|
||||
with (HERE / "network" / (key + ".body")).open("xb") as stream:
|
||||
stream.write(raw)
|
||||
save("network/" + key + ".json", record)
|
||||
assert record["ok"], record
|
||||
item = json.loads(raw)
|
||||
assert item["path"] == path and item["type"] == "file" and item["encoding"] == "base64"
|
||||
text = base64.b64decode(item["content"])
|
||||
blob = hashlib.sha1(b"blob " + str(len(text)).encode() + b"\0" + text).hexdigest()
|
||||
assert len(text) == item["size"] and blob == item["sha"]
|
||||
text.decode("utf-8")
|
||||
output = version + "__" + path.replace("/", "__") + ".txt"
|
||||
with (HERE / "source-text" / output).open("xb") as stream:
|
||||
stream.write(text)
|
||||
return dict(
|
||||
repository="https://github.com/Comfy-Org/ComfyUI",
|
||||
version=version,
|
||||
commit=commit,
|
||||
path=path,
|
||||
file="source-text/" + output,
|
||||
sha256=sha(text),
|
||||
git_blob_sha1=blob,
|
||||
retrieved_at=record["finished_at"],
|
||||
request_key=key,
|
||||
scope="exact text only; target host engine version unknown",
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
phase, *paths = sys.argv[1:]
|
||||
proofs = [fetch(v, p, phase) for v in COMMITS for p in paths]
|
||||
save(phase + "-sources.json", proofs)
|
||||
print(len(proofs), "exact-commit necessary texts obtained")
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,297 @@
|
||||
"""AST/text branch evidence and inert protocol descriptions; no engine simulation."""
|
||||
|
||||
import ast
|
||||
import csv
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
from acquire import COMMITS, now, sha
|
||||
|
||||
HERE = Path(__file__).resolve().parent
|
||||
ROOT = HERE.parents[2]
|
||||
PRIOR = ROOT / "docs/hel-892/batch177-controlnet-provenance"
|
||||
|
||||
|
||||
def write(name, value):
|
||||
with (HERE / name).open("x", encoding="utf-8") as stream:
|
||||
json.dump(value, stream, ensure_ascii=False, indent=2)
|
||||
stream.write("\n")
|
||||
|
||||
|
||||
def span(text, node):
|
||||
value = "\n".join(text.splitlines()[node.lineno - 1 : node.end_lineno])
|
||||
return dict(lines=[node.lineno, node.end_lineno], text=value, sha256=sha(value.encode()))
|
||||
|
||||
|
||||
def function(tree, name):
|
||||
return next(
|
||||
n
|
||||
for n in ast.walk(tree)
|
||||
if isinstance(n, (ast.FunctionDef, ast.AsyncFunctionDef)) and n.name == name
|
||||
)
|
||||
|
||||
|
||||
def main():
|
||||
proofs = json.loads((HERE / "engine-sources.json").read_text()) + json.loads(
|
||||
(HERE / "direct-sources.json").read_text()
|
||||
)
|
||||
evidence, versions, trees = {}, {}, {}
|
||||
for proof in proofs:
|
||||
text = (HERE / proof["file"]).read_text()
|
||||
assert sha(text.encode()) == proof["sha256"]
|
||||
tree = ast.parse(text)
|
||||
trees[(proof["version"], proof["path"])] = tree
|
||||
names = {
|
||||
"execution.py": [
|
||||
"get_input_data",
|
||||
"_async_map_node_over_list",
|
||||
"get_output_data",
|
||||
"get_output_from_returns",
|
||||
"merge_result_data",
|
||||
"execute",
|
||||
"validate_inputs",
|
||||
"validate_prompt",
|
||||
],
|
||||
"comfy_execution/graph.py": ["get_input_info", "get_cache", "cache_update"],
|
||||
"comfy_execution/graph_utils.py": ["is_link"],
|
||||
"comfy_execution/validation.py": ["validate_node_input"],
|
||||
}[proof["path"]]
|
||||
for name in names:
|
||||
node = function(tree, name)
|
||||
key = proof["version"] + ":" + name
|
||||
evidence[key] = dict(
|
||||
source=proof,
|
||||
function=name,
|
||||
**span(text, node),
|
||||
ast_sha256=sha(ast.dump(node).encode()),
|
||||
rechecked_at=now(),
|
||||
)
|
||||
aux_inputs = json.loads((PRIOR / "class-schema-matrix.json").read_text())
|
||||
for ct in ("AIO_Preprocessor", "DWPreprocessor", "AnimalPosePreprocessor"):
|
||||
record = aux_inputs[ct]
|
||||
evidence["aux:" + ct] = dict(
|
||||
source=record["source_proof"],
|
||||
properties=record.get("attributes"),
|
||||
original_class=record["class_excerpt"],
|
||||
original_retrieval=record["earliest_known_prior_member_retrieval"],
|
||||
new_release_binding=record["new_binding_time"],
|
||||
rechecked_at=now(),
|
||||
)
|
||||
spec = [
|
||||
(
|
||||
"dict_ui",
|
||||
"get_output_from_returns",
|
||||
"'ui' in r",
|
||||
"dict含ui;本案ui.openpose_json是字符串列表",
|
||||
"uis追加ui,最后按首个UI字典的key合并;这是引擎UI数据,不证明前端展示",
|
||||
"UI键不一致或值不可迭代可在合并处抛异常",
|
||||
),
|
||||
(
|
||||
"dict_result",
|
||||
"get_output_from_returns",
|
||||
"elif 'result' in r",
|
||||
"dict有result且无expand;本案result为二项tuple",
|
||||
"把完整result加入results,不按RETURN_TYPES裁剪",
|
||||
"不是这一步拒绝额外返回;result形状错误会在后续合并出错",
|
||||
),
|
||||
(
|
||||
"expand",
|
||||
"get_output_from_returns",
|
||||
"'expand' in r",
|
||||
"dict有expand(本案无)",
|
||||
"has_subgraph,交subgraph_results,不走普通合并",
|
||||
"不能把普通分支结论套到扩图",
|
||||
),
|
||||
(
|
||||
"tuple",
|
||||
"get_output_from_returns",
|
||||
"results.append(r)",
|
||||
"普通tuple,非dict/NodeOutput/ExecutionBlocker",
|
||||
"完整tuple加入results;本案包装返回dict,tuple在result内",
|
||||
"非tuple对象不因本分支自动合法",
|
||||
),
|
||||
(
|
||||
"blocker",
|
||||
"get_output_from_returns",
|
||||
"len(obj.RETURN_TYPES)",
|
||||
"ExecutionBlocker或V3阻断(本案无)",
|
||||
"阻断占位按声明RETURN_TYPES长度构造",
|
||||
"这不等同普通额外返回按声明截断",
|
||||
),
|
||||
(
|
||||
"merge_actual_length",
|
||||
"merge_result_data",
|
||||
"[False] * len(results[0])",
|
||||
"无OUTPUT_IS_LIST属性;准确aux AIO类无此属性且仅继承object",
|
||||
"按首份实际result二项长度生成两个合并输出,不因单IMAGE声明拒绝或丢弃第二项",
|
||||
"后续result比首份短可能IndexError;长于首份的尾项不会进入首份长度循环",
|
||||
),
|
||||
(
|
||||
"merge_override",
|
||||
"merge_result_data",
|
||||
"zip(range(len(results[0])), output_is_list)",
|
||||
"存在显式OUTPUT_IS_LIST(本案AIO无)",
|
||||
"zip长度取短;若显式列表仅一项则只合并第一项",
|
||||
"额外项可能在此条件下丢弃;不是RETURN_TYPES导致",
|
||||
),
|
||||
(
|
||||
"cache",
|
||||
"execute",
|
||||
"outputs=output_data",
|
||||
"普通返回,无扩图/未决任务且未出错",
|
||||
"CacheEntry的outputs保存完整合并output_data;"
|
||||
"graph cache_update/get_cache原样传CacheEntry",
|
||||
"缓存provider、实际执行/缓存命中与后续持久性不在此认证",
|
||||
),
|
||||
(
|
||||
"consume",
|
||||
"get_input_data",
|
||||
"cached.outputs[output_index]",
|
||||
"有缓存且索引未超实际outputs长度;case01分别33→36及34→37,均索引0",
|
||||
"取实际缓存出口0,额外出口1未被本case01消费",
|
||||
"缺缓存/越界先mark_missing;不等同自动成功或一定立刻抛错",
|
||||
),
|
||||
(
|
||||
"declared_index",
|
||||
"validate_inputs",
|
||||
"received_type = r[val[1]]",
|
||||
"建立新增索引1输入连线时,AIO声明只有IMAGE一项",
|
||||
"按上游RETURN_TYPES索引检查,索引1发生IndexError;实际缓存有两项不绕过此检查",
|
||||
"由递归或外层validate_prompt捕获,形成inner_validation或validation异常;不认证新增连线可用",
|
||||
),
|
||||
(
|
||||
"type",
|
||||
"validate_inputs",
|
||||
"return_type_mismatch",
|
||||
"声明类型与下游要求不相容且未由自定义input_types验证替代",
|
||||
"记录return_type_mismatch并继续失败归因",
|
||||
"类型吻合只证明声明校验,不证明真实值类型/质量",
|
||||
),
|
||||
(
|
||||
"execution_error",
|
||||
"execute",
|
||||
"except Exception as ex",
|
||||
"调用、拆分、UI合并或结果合并等执行路径抛异常",
|
||||
"返回ExecutionResult.FAILURE与异常详情;中断有独立分支",
|
||||
"不是将错误result静默裁为单项成功",
|
||||
),
|
||||
(
|
||||
"validation_error",
|
||||
"validate_prompt",
|
||||
"prompt_outputs_failed_validation",
|
||||
"没有good_outputs",
|
||||
"返回失败;如存在其它合法输出,可只忽略失败输出",
|
||||
"不能泛称任一错误必然阻止所有独立输出",
|
||||
),
|
||||
]
|
||||
rows = []
|
||||
for version, commit in COMMITS.items():
|
||||
text = (HERE / "source-text" / (version + "__execution.py.txt")).read_text()
|
||||
tree = trees[(version, "execution.py")]
|
||||
for ident, fn, anchor, condition, output, error in spec:
|
||||
node = function(tree, fn)
|
||||
fragment = span(text, node)
|
||||
assert anchor in fragment["text"], (version, ident)
|
||||
matches = [
|
||||
i
|
||||
for i in range(node.lineno, node.end_lineno + 1)
|
||||
if anchor in text.splitlines()[i - 1]
|
||||
]
|
||||
rows.append(
|
||||
dict(
|
||||
id=version + ":" + ident,
|
||||
version=version,
|
||||
commit=commit,
|
||||
branch=ident,
|
||||
condition=condition,
|
||||
output=output,
|
||||
error=error,
|
||||
evidence=version + ":" + fn,
|
||||
anchor=anchor,
|
||||
lines=matches,
|
||||
engine_executed=False,
|
||||
target_compatibility="unknown",
|
||||
)
|
||||
)
|
||||
versions[version] = dict(
|
||||
commit=commit,
|
||||
host_version_verified=False,
|
||||
rows=[r["id"] for r in rows if r["version"] == version],
|
||||
)
|
||||
case = json.loads((ROOT / "docs/hel-892/supplied-api/01.api.json").read_text())
|
||||
uses = [
|
||||
dict(source=v[0], index=v[1], target=nid, field=field)
|
||||
for nid, node in case.items()
|
||||
for field, v in node["inputs"].items()
|
||||
if isinstance(v, list) and len(v) == 2 and v[0] in ("33", "34")
|
||||
]
|
||||
assert sorted((r["source"], r["target"], r["index"]) for r in uses) == [
|
||||
("33", "36", 0),
|
||||
("34", "37", 0),
|
||||
]
|
||||
same = {
|
||||
name: evidence["0.21.1:" + name]["ast_sha256"] == evidence["0.17.0:" + name]["ast_sha256"]
|
||||
for name in (
|
||||
"get_input_data",
|
||||
"merge_result_data",
|
||||
"get_output_from_returns",
|
||||
"execute",
|
||||
"validate_inputs",
|
||||
)
|
||||
}
|
||||
write("branch-evidence.json", evidence)
|
||||
write(
|
||||
"protocol-matrix.json",
|
||||
dict(
|
||||
versions=versions,
|
||||
branches=rows,
|
||||
case01_uses=uses,
|
||||
ast_equal=same,
|
||||
real_engine_tests=0,
|
||||
target_requests=0,
|
||||
),
|
||||
)
|
||||
with (HERE / "protocol-matrix.csv").open("x", encoding="utf-8", newline="") as stream:
|
||||
writer = csv.DictWriter(stream, list(rows[0]), lineterminator="\n")
|
||||
writer.writeheader()
|
||||
for row in rows:
|
||||
writer.writerow({k: json.dumps(v, ensure_ascii=False) for k, v in row.items()})
|
||||
samples = [
|
||||
dict(
|
||||
id="dw33",
|
||||
node="33",
|
||||
symbolic_only=True,
|
||||
upstream_invoked=False,
|
||||
shape=dict(
|
||||
kind="dict",
|
||||
ui=dict(openpose_json=["<POSE_JSON_TEXT>"]),
|
||||
result=["<IMAGE_TOKEN>", "<POSE_LIST_TOKEN>"],
|
||||
),
|
||||
result_python_container="tuple",
|
||||
observed_branches=["dict_ui", "dict_result", "merge_actual_length", "consume"],
|
||||
),
|
||||
dict(
|
||||
id="animal34",
|
||||
node="34",
|
||||
symbolic_only=True,
|
||||
upstream_invoked=False,
|
||||
shape=dict(
|
||||
kind="dict",
|
||||
ui=dict(openpose_json=["<POSE_JSON_TEXT>"]),
|
||||
result=["<IMAGE_TOKEN>", "<POSE_LIST_TOKEN>"],
|
||||
),
|
||||
result_python_container="tuple",
|
||||
observed_branches=["dict_ui", "dict_result", "merge_actual_length", "consume"],
|
||||
),
|
||||
]
|
||||
write(
|
||||
"inert-samples.json",
|
||||
dict(
|
||||
purpose="shape annotations only, not engine input or generated results", samples=samples
|
||||
),
|
||||
)
|
||||
print(len(rows), "version-specific branch rows; inert annotations only; no engine tests")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,74 @@
|
||||
[
|
||||
{
|
||||
"repository": "https://github.com/Comfy-Org/ComfyUI",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"path": "comfy_execution/graph.py",
|
||||
"file": "source-text/0.21.1__comfy_execution__graph.py.txt",
|
||||
"sha256": "8d5eea5975172160b081487debbc4c16e9ec57a39462b8592e93d4071b88e494",
|
||||
"git_blob_sha1": "c47f3c79be2b3639a18f853c8461fe27c673ccd1",
|
||||
"retrieved_at": "2026-11-01T22:50:14.982817+00:00",
|
||||
"request_key": "direct-0.21.1-comfy_execution__graph.py",
|
||||
"scope": "exact text only; target host engine version unknown"
|
||||
},
|
||||
{
|
||||
"repository": "https://github.com/Comfy-Org/ComfyUI",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"path": "comfy_execution/graph_utils.py",
|
||||
"file": "source-text/0.21.1__comfy_execution__graph_utils.py.txt",
|
||||
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
|
||||
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
|
||||
"retrieved_at": "2026-11-01T22:50:15.430214+00:00",
|
||||
"request_key": "direct-0.21.1-comfy_execution__graph_utils.py",
|
||||
"scope": "exact text only; target host engine version unknown"
|
||||
},
|
||||
{
|
||||
"repository": "https://github.com/Comfy-Org/ComfyUI",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"path": "comfy_execution/validation.py",
|
||||
"file": "source-text/0.21.1__comfy_execution__validation.py.txt",
|
||||
"sha256": "9a8ef75b7c53fc6a2d5dcdd75cabe63d47d4f527257b4de2a1138990f76709ae",
|
||||
"git_blob_sha1": "e73624bd1ef57c863990d608d6d1d5a5577c91ce",
|
||||
"retrieved_at": "2026-11-01T22:50:15.850640+00:00",
|
||||
"request_key": "direct-0.21.1-comfy_execution__validation.py",
|
||||
"scope": "exact text only; target host engine version unknown"
|
||||
},
|
||||
{
|
||||
"repository": "https://github.com/Comfy-Org/ComfyUI",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"path": "comfy_execution/graph.py",
|
||||
"file": "source-text/0.17.0__comfy_execution__graph.py.txt",
|
||||
"sha256": "d92ec5087c138c681e833b3dec8c61d37f3b4098aa7ab9bb84cdf6988ceb9414",
|
||||
"git_blob_sha1": "9d170b16e1409c40e9672615a3bc852a59d04144",
|
||||
"retrieved_at": "2026-11-01T22:50:16.306723+00:00",
|
||||
"request_key": "direct-0.17.0-comfy_execution__graph.py",
|
||||
"scope": "exact text only; target host engine version unknown"
|
||||
},
|
||||
{
|
||||
"repository": "https://github.com/Comfy-Org/ComfyUI",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"path": "comfy_execution/graph_utils.py",
|
||||
"file": "source-text/0.17.0__comfy_execution__graph_utils.py.txt",
|
||||
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d",
|
||||
"git_blob_sha1": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8",
|
||||
"retrieved_at": "2026-11-01T22:50:16.759469+00:00",
|
||||
"request_key": "direct-0.17.0-comfy_execution__graph_utils.py",
|
||||
"scope": "exact text only; target host engine version unknown"
|
||||
},
|
||||
{
|
||||
"repository": "https://github.com/Comfy-Org/ComfyUI",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"path": "comfy_execution/validation.py",
|
||||
"file": "source-text/0.17.0__comfy_execution__validation.py.txt",
|
||||
"sha256": "9a8ef75b7c53fc6a2d5dcdd75cabe63d47d4f527257b4de2a1138990f76709ae",
|
||||
"git_blob_sha1": "e73624bd1ef57c863990d608d6d1d5a5577c91ce",
|
||||
"retrieved_at": "2026-11-01T22:50:17.189193+00:00",
|
||||
"request_key": "direct-0.17.0-comfy_execution__validation.py",
|
||||
"scope": "exact text only; target host engine version unknown"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,26 @@
|
||||
[
|
||||
{
|
||||
"repository": "https://github.com/Comfy-Org/ComfyUI",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"path": "execution.py",
|
||||
"file": "source-text/0.21.1__execution.py.txt",
|
||||
"sha256": "346f83f0730ea32d42b989af3a96ba0d201db9f87fed958bdd0b6ac21e60d042",
|
||||
"git_blob_sha1": "f37d0360d55ccbb16a8f11bbdf065324ab7409b4",
|
||||
"retrieved_at": "2026-11-01T22:49:50.156663+00:00",
|
||||
"request_key": "engine-0.21.1-execution.py",
|
||||
"scope": "exact text only; target host engine version unknown"
|
||||
},
|
||||
{
|
||||
"repository": "https://github.com/Comfy-Org/ComfyUI",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"path": "execution.py",
|
||||
"file": "source-text/0.17.0__execution.py.txt",
|
||||
"sha256": "31804bcf4dde838bb7a9968b2614f6e7f45b082e0bf6fb5cbaa05cca1fd11e1c",
|
||||
"git_blob_sha1": "a7791efedc695be279a380a64df482c2196b0b01",
|
||||
"retrieved_at": "2026-11-01T22:49:50.747991+00:00",
|
||||
"request_key": "engine-0.17.0-execution.py",
|
||||
"scope": "exact text only; target host engine version unknown"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,269 @@
|
||||
{
|
||||
"self_excluded": true,
|
||||
"files": [
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/README.md",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 4362,
|
||||
"sha256": "62fccab820a4eb6a247cd99f53437da9785656487d6eb345fb50c2aa27e6d400"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/acquire.py",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 3110,
|
||||
"sha256": "b494c91e470a4ad19a334517db47d5c990c741101a843b5681a2c5e18fa8e6ac"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/baseline.json",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 3414057,
|
||||
"sha256": "4df489a868c0b087087b20b8b4ac6007452a93fd008a7a69794a2f76c51329ff"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/branch-evidence.json",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 125830,
|
||||
"sha256": "a7247109f65d694f84011d852d5267f2f8bad0e03b21e319d39ffd2d676db8cf"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/build.py",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 11400,
|
||||
"sha256": "a4816134c07d8fea6394b3ae73e5b81d5733ec18c520ec608952dc08ab71851b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/direct-sources.json",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 3591,
|
||||
"sha256": "fb03f4baf5699fc2fddf786ba2f3e2e570a6ac027b672251bcc200f90fae2c4c"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/engine-sources.json",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 1101,
|
||||
"sha256": "814770f4c1c870a00a2124e9b4bdee95a8b0fea880add3a433e9f6ecc37603de"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/inert-samples.json",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 1146,
|
||||
"sha256": "aea01deaf7f5d00157de76b478cf552317007b5cf4a81c43244ebc9bf8618a03"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/iterations/verification-initial.json",
|
||||
"purpose": "retained initial verification",
|
||||
"bytes": 312,
|
||||
"sha256": "933807d285cc9684bee4759d73a1f8161cc60cb1f7264c1ae3cd35b1004dd5e9"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/network/direct-0.17.0-comfy_execution__graph.py.body",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 20851,
|
||||
"sha256": "02c84e7b4ab407286968d7b2bc0f16ce2233ee312eff007ffbe1c705224b4a59"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/network/direct-0.17.0-comfy_execution__graph.py.json",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 2100,
|
||||
"sha256": "0a5e80d49698a00be64248d86a842898aeffaf5d476b2dc69e18cd1525d4e6e4"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/network/direct-0.17.0-comfy_execution__graph_utils.py.body",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 8828,
|
||||
"sha256": "2c3b48ba63e99132571800a393fbf37a4174559734962b9643adfd3f63d18e51"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/network/direct-0.17.0-comfy_execution__graph_utils.py.json",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 2111,
|
||||
"sha256": "a7378c85909eecf6c9cd444b1202486bfea51e3dc9f4f4d0cd1d36aca8e05d05"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/network/direct-0.17.0-comfy_execution__validation.py.body",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 4605,
|
||||
"sha256": "d76a38b87ef7b6c1b6fd4a296f5f59a83f90328729308481b34bc46e77b2a4a8"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/network/direct-0.17.0-comfy_execution__validation.py.json",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 2109,
|
||||
"sha256": "fe8fcc18b800e1f0029ae376877f7fdcce419e61f98f1574109a7aa312d2449d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/network/direct-0.21.1-comfy_execution__graph.py.body",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 20877,
|
||||
"sha256": "d4b40d5f24b84d0c67df7bcb26c24930dd3cab7813c76c828d781a856857623a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/network/direct-0.21.1-comfy_execution__graph.py.json",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 2099,
|
||||
"sha256": "b729a775b3a0604ecd6e1f97c378bd519afc68ff9f2fab0bfee22e4ec741fc9d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/network/direct-0.21.1-comfy_execution__graph_utils.py.body",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 8828,
|
||||
"sha256": "cd79010f8c28164acba98f5562092f9efe8a70d1afbda742638cc6ab7e0774d7"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/network/direct-0.21.1-comfy_execution__graph_utils.py.json",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 2109,
|
||||
"sha256": "5cb077cc5a80aca9143222dec71eb5427680a3b557f47fe5e39f80c4d08a1f16"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/network/direct-0.21.1-comfy_execution__validation.py.body",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 4605,
|
||||
"sha256": "67e62915786db0fb89c7a54b1c5ed04a24bf924e2170daaf65a355d122f71563"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/network/direct-0.21.1-comfy_execution__validation.py.json",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 2109,
|
||||
"sha256": "d0973133d872535052fef5df04ee0b03a5c02c9defde087d7b5d2f838eda2e33"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/network/engine-0.17.0-execution.py.body",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 75497,
|
||||
"sha256": "7dc868d02e0fdc0002b354e0b2a8e5f0a7d60575dac8335b11f80454e8f9c672"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/network/engine-0.17.0-execution.py.json",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 2077,
|
||||
"sha256": "9a429c1ba9ad196aae806addeb3600a53d08c5aa734770d12f2fdab005459820"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/network/engine-0.21.1-execution.py.body",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 81535,
|
||||
"sha256": "fe0b98d9ce7c9664517f1d1e66fd938cdc71199d5273ee420eb53f78fa5cb7a1"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/network/engine-0.21.1-execution.py.json",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 2077,
|
||||
"sha256": "ef7e48019d6b42026e19ee19ab570b594fe12ef86efd15b048029733c71736c8"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/package.py",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 4589,
|
||||
"sha256": "9d92962f49b519e1e75d79c11ebbbcc25c9ac23360b98eee55089e996a00a4e1"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/protocol-matrix.csv",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 10543,
|
||||
"sha256": "29ddb1997ec723a19f373942351c098cc8cbe05170db7d38c98af7a8c8534d3c"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/protocol-matrix.json",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 17623,
|
||||
"sha256": "2503ed7624270b27bb584690f730dd94ae4730a382733433156d16d10ba205b1"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/report.py",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 6541,
|
||||
"sha256": "588e58629f494a98144ee6492e3a574b20312590baf6625ab7d58e36ac1db475"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/reused-source-records.json",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 3696,
|
||||
"sha256": "47bde5ad190dd4bf3d21b757c956aad4507ab8943ace9296a4bd26bb4e781ecb"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/run.py",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 1488,
|
||||
"sha256": "f0b29ab72f1da3bde8a3c2e143aa157e440417ec7cf924e8bca3a4418f07a31a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/source-text/0.17.0__comfy_execution__graph.py.txt",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 14383,
|
||||
"sha256": "d92ec5087c138c681e833b3dec8c61d37f3b4098aa7ab9bb84cdf6988ceb9414"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/source-text/0.17.0__comfy_execution__graph_utils.py.txt",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 5626,
|
||||
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/source-text/0.17.0__comfy_execution__validation.py.txt",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 2567,
|
||||
"sha256": "9a8ef75b7c53fc6a2d5dcdd75cabe63d47d4f527257b4de2a1138990f76709ae"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/source-text/0.17.0__execution.py.txt",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 54095,
|
||||
"sha256": "31804bcf4dde838bb7a9968b2614f6e7f45b082e0bf6fb5cbaa05cca1fd11e1c"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/source-text/0.21.1__comfy_execution__graph.py.txt",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 14401,
|
||||
"sha256": "8d5eea5975172160b081487debbc4c16e9ec57a39462b8592e93d4071b88e494"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/source-text/0.21.1__comfy_execution__graph_utils.py.txt",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 5626,
|
||||
"sha256": "dabb3f75952a1398891ed87ad853d4ea9c929f322ce6997d4ea916adbc2f209d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/source-text/0.21.1__comfy_execution__validation.py.txt",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 2567,
|
||||
"sha256": "9a8ef75b7c53fc6a2d5dcdd75cabe63d47d4f527257b4de2a1138990f76709ae"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/source-text/0.21.1__execution.py.txt",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 58479,
|
||||
"sha256": "346f83f0730ea32d42b989af3a96ba0d201db9f87fed958bdd0b6ac21e60d042"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/target-plan.json",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 6149,
|
||||
"sha256": "bb85b44e38df72e9fd90d7b675ea8270f09e918940389582a6b19b23654374f8"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/verification.json",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 312,
|
||||
"sha256": "933807d285cc9684bee4759d73a1f8161cc60cb1f7264c1ae3cd35b1004dd5e9"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/verify.py",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 4678,
|
||||
"sha256": "fa6b04454af1b0fef760b92a69fe7ef4c53f6bdc65a8d3bf8a81f674d696427e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/方案给总管.md",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 2006,
|
||||
"sha256": "4b8fdece43ed53dcaf32df8619768ecd9a64e675446303ef4cabe635f159502a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/batch178-aio-protocol/返回协议说明.md",
|
||||
"purpose": "exact source/text branch evidence, inert annotation, target proposal or offline tool",
|
||||
"bytes": 10418,
|
||||
"sha256": "caa3c156c078891fa2ee7045a0cd5e347519be3f0eb52851fabc17eea794c64d"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"purpose": "shape annotations only, not engine input or generated results",
|
||||
"samples": [
|
||||
{
|
||||
"id": "dw33",
|
||||
"node": "33",
|
||||
"symbolic_only": true,
|
||||
"upstream_invoked": false,
|
||||
"shape": {
|
||||
"kind": "dict",
|
||||
"ui": {
|
||||
"openpose_json": [
|
||||
"<POSE_JSON_TEXT>"
|
||||
]
|
||||
},
|
||||
"result": [
|
||||
"<IMAGE_TOKEN>",
|
||||
"<POSE_LIST_TOKEN>"
|
||||
]
|
||||
},
|
||||
"result_python_container": "tuple",
|
||||
"observed_branches": [
|
||||
"dict_ui",
|
||||
"dict_result",
|
||||
"merge_actual_length",
|
||||
"consume"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "animal34",
|
||||
"node": "34",
|
||||
"symbolic_only": true,
|
||||
"upstream_invoked": false,
|
||||
"shape": {
|
||||
"kind": "dict",
|
||||
"ui": {
|
||||
"openpose_json": [
|
||||
"<POSE_JSON_TEXT>"
|
||||
]
|
||||
},
|
||||
"result": [
|
||||
"<IMAGE_TOKEN>",
|
||||
"<POSE_LIST_TOKEN>"
|
||||
]
|
||||
},
|
||||
"result_python_container": "tuple",
|
||||
"observed_branches": [
|
||||
"dict_ui",
|
||||
"dict_result",
|
||||
"merge_actual_length",
|
||||
"consume"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"frozen_files": 19459,
|
||||
"changed_old_files": [],
|
||||
"exceptions": [],
|
||||
"exact_commit_texts": 8,
|
||||
"branch_rows": 26,
|
||||
"inert_shape_annotations": 2,
|
||||
"simulated_engine_runs": 0,
|
||||
"real_engine_tests": 0,
|
||||
"target_requests": 0,
|
||||
"csv_equal": true,
|
||||
"source_evidence_checked": true,
|
||||
"tools_ast": true
|
||||
}
|
||||
+1
File diff suppressed because one or more lines are too long
+40
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"requested_url": "https://api.github.com/repos/Comfy-Org/ComfyUI/contents/comfy_execution/graph.py?ref=63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"started_at": "2026-11-01T22:50:15.851009+00:00",
|
||||
"maximum_bytes": 512000,
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
"Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning",
|
||||
"Cache-Control": "public, max-age=60, s-maxage=60",
|
||||
"Content-Length": "20851",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Date": "Sun, 01 Nov 2026 22:50:16 GMT",
|
||||
"ETag": "\"9d170b16e1409c40e9672615a3bc852a59d04144\"",
|
||||
"Last-Modified": "Fri, 13 Mar 2026 00:44:22 GMT",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"Vary": "Accept, Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Frame-Options": "deny",
|
||||
"x-github-api-version-selected": "2022-11-28",
|
||||
"X-GitHub-Media-Type": "github.v3; format=json",
|
||||
"X-XSS-Protection": "0",
|
||||
"Server": "github.com",
|
||||
"Accept-Ranges": "bytes",
|
||||
"X-RateLimit-Limit": "60",
|
||||
"X-RateLimit-Remaining": "33",
|
||||
"X-RateLimit-Used": "27",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"X-RateLimit-Reset": "1793576011",
|
||||
"X-GitHub-Request-Id": "DA38:8802C:1ABD65F:2B1A590:6AE7C227",
|
||||
"x-github-edge-region": "japaneast",
|
||||
"connection": "close"
|
||||
},
|
||||
"final_url": "https://api.github.com/repos/Comfy-Org/ComfyUI/contents/comfy_execution/graph.py?ref=63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"ok": true,
|
||||
"finished_at": "2026-11-01T22:50:16.306723+00:00",
|
||||
"bytes": 20851,
|
||||
"sha256": "02c84e7b4ab407286968d7b2bc0f16ce2233ee312eff007ffbe1c705224b4a59"
|
||||
}
|
||||
+1
File diff suppressed because one or more lines are too long
+40
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"requested_url": "https://api.github.com/repos/Comfy-Org/ComfyUI/contents/comfy_execution/graph_utils.py?ref=63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"started_at": "2026-11-01T22:50:16.307704+00:00",
|
||||
"maximum_bytes": 512000,
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
"Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning",
|
||||
"Cache-Control": "public, max-age=60, s-maxage=60",
|
||||
"Content-Length": "8828",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Date": "Sun, 01 Nov 2026 22:50:16 GMT",
|
||||
"ETag": "\"496d2c634982aa5afc8d58b9db758f97b3b5c2d8\"",
|
||||
"Last-Modified": "Fri, 13 Mar 2026 00:44:22 GMT",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"Vary": "Accept, Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Frame-Options": "deny",
|
||||
"x-github-api-version-selected": "2022-11-28",
|
||||
"X-GitHub-Media-Type": "github.v3; format=json",
|
||||
"X-XSS-Protection": "0",
|
||||
"Server": "github.com",
|
||||
"Accept-Ranges": "bytes",
|
||||
"X-RateLimit-Limit": "60",
|
||||
"X-RateLimit-Remaining": "32",
|
||||
"X-RateLimit-Used": "28",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"X-RateLimit-Reset": "1793576011",
|
||||
"X-GitHub-Request-Id": "DA3C:36A094:1A3195C:2A89EB5:6AE7C228",
|
||||
"x-github-edge-region": "japaneast",
|
||||
"connection": "close"
|
||||
},
|
||||
"final_url": "https://api.github.com/repos/Comfy-Org/ComfyUI/contents/comfy_execution/graph_utils.py?ref=63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"ok": true,
|
||||
"finished_at": "2026-11-01T22:50:16.759469+00:00",
|
||||
"bytes": 8828,
|
||||
"sha256": "2c3b48ba63e99132571800a393fbf37a4174559734962b9643adfd3f63d18e51"
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"name":"validation.py","path":"comfy_execution/validation.py","sha":"e73624bd1ef57c863990d608d6d1d5a5577c91ce","size":2567,"url":"https://api.github.com/repos/Comfy-Org/ComfyUI/contents/comfy_execution/validation.py?ref=63d1bbdb407c69370d407ce5ced6ca3f917528a8","html_url":"https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/comfy_execution/validation.py","git_url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e73624bd1ef57c863990d608d6d1d5a5577c91ce","download_url":"https://raw.githubusercontent.com/Comfy-Org/ComfyUI/63d1bbdb407c69370d407ce5ced6ca3f917528a8/comfy_execution/validation.py","type":"file","content":"ZnJvbSBfX2Z1dHVyZV9fIGltcG9ydCBhbm5vdGF0aW9ucwpmcm9tIGNvbWZ5\nX2FwaS5sYXRlc3QgaW1wb3J0IElPCgoKZGVmIHZhbGlkYXRlX25vZGVfaW5w\ndXQoCiAgICByZWNlaXZlZF90eXBlOiBzdHIsIGlucHV0X3R5cGU6IHN0ciwg\nc3RyaWN0OiBib29sID0gRmFsc2UKKSAtPiBib29sOgogICAgIiIiCiAgICBy\nZWNlaXZlZF90eXBlIGFuZCBpbnB1dF90eXBlIGFyZSBib3RoIHN0cmluZ3Mg\nb2YgdGhlIGZvcm0gIlQxLFQyLC4uLiIuCgogICAgSWYgc3RyaWN0IGlzIFRy\ndWUsIHRoZSBpbnB1dF90eXBlIG11c3QgY29udGFpbiB0aGUgcmVjZWl2ZWRf\ndHlwZS4KICAgICAgRm9yIGV4YW1wbGUsIGlmIHJlY2VpdmVkX3R5cGUgaXMg\nIlNUUklORyIgYW5kIGlucHV0X3R5cGUgaXMgIlNUUklORyxJTlQiLAogICAg\nICB0aGlzIHdpbGwgcmV0dXJuIFRydWUuIEJ1dCBpZiByZWNlaXZlZF90eXBl\nIGlzICJTVFJJTkcsSU5UIiBhbmQgaW5wdXRfdHlwZSBpcwogICAgICAiSU5U\nIiwgdGhpcyB3aWxsIHJldHVybiBGYWxzZS4KCiAgICBJZiBzdHJpY3QgaXMg\nRmFsc2UsIHRoZSBpbnB1dF90eXBlIG11c3QgaGF2ZSBvdmVybGFwIHdpdGgg\ndGhlIHJlY2VpdmVkX3R5cGUuCiAgICAgIEZvciBleGFtcGxlLCBpZiByZWNl\naXZlZF90eXBlIGlzICJTVFJJTkcsQk9PTEVBTiIgYW5kIGlucHV0X3R5cGUg\naXMgIlNUUklORyxJTlQiLAogICAgICB0aGlzIHdpbGwgcmV0dXJuIFRydWUu\nCgogICAgU3VwcG9ydHMgcHJlLXVuaW9uIHR5cGUgZXh0ZW5zaW9uIGJlaGF2\naW91ciBvZiBgYF9fbmVfX2BgIG92ZXJyaWRlcy4KICAgICIiIgogICAgIyBJ\nZiB0aGUgdHlwZXMgYXJlIGV4YWN0bHkgdGhlIHNhbWUsIHdlIGNhbiByZXR1\ncm4gaW1tZWRpYXRlbHkKICAgICMgVXNlIHByZS11bmlvbiBiZWhhdmlvdXI6\nIGludmVyc2Ugb2YgYF9fbmVfX2AKICAgICMgTk9URTogdGhpcyBsZXRzIGxl\nZ2FjeSAnKicgQW55IHR5cGVzIHdvcmsgdGhhdCBvdmVycmlkZSB0aGUgX19u\nZV9fIG1ldGhvZCBvZiB0aGUgc3RyIGNsYXNzLgogICAgaWYgbm90IHJlY2Vp\ndmVkX3R5cGUgIT0gaW5wdXRfdHlwZToKICAgICAgICByZXR1cm4gVHJ1ZQoK\nICAgICMgSWYgb25lIG9mIHRoZSB0eXBlcyBpcyAnKicsIHdlIGNhbiByZXR1\ncm4gVHJ1ZSBpbW1lZGlhdGVseTsgdGhpcyBpcyB0aGUgJ0FueScgdHlwZS4K\nICAgIGlmIHJlY2VpdmVkX3R5cGUgPT0gSU8uQW55VHlwZS5pb190eXBlIG9y\nIGlucHV0X3R5cGUgPT0gSU8uQW55VHlwZS5pb190eXBlOgogICAgICAgIHJl\ndHVybiBUcnVlCgogICAgIyBJZiB0aGUgcmVjZWl2ZWQgdHlwZSBvciBpbnB1\ndF90eXBlIGlzIGEgTWF0Y2hUeXBlLCB3ZSBjYW4gcmV0dXJuIFRydWUgaW1t\nZWRpYXRlbHk7CiAgICAjIHZhbGlkYXRpb24gZm9yIHRoaXMgaXMgaGFuZGxl\nZCBieSB0aGUgZnJvbnRlbmQKICAgIGlmIHJlY2VpdmVkX3R5cGUgPT0gSU8u\nTWF0Y2hUeXBlLmlvX3R5cGUgb3IgaW5wdXRfdHlwZSA9PSBJTy5NYXRjaFR5\ncGUuaW9fdHlwZToKICAgICAgICByZXR1cm4gVHJ1ZQoKICAgICMgVGhpcyBh\nY2NvdW50cyBmb3Igc29tZSBjdXN0b20gbm9kZXMgdGhhdCBvdXRwdXQgbGlz\ndHMgb2Ygb3B0aW9ucyBhcyB0aGUgdHlwZTsKICAgICMgaWYgd2UgZXZlciB3\nYW50IHRvIGJyZWFrIHRoZW0gb24gcHVycG9zZSwgdGhpcyBjYW4gYmUgcmVt\nb3ZlZAogICAgaWYgaXNpbnN0YW5jZShyZWNlaXZlZF90eXBlLCBsaXN0KSBh\nbmQgaW5wdXRfdHlwZSA9PSBJTy5Db21iby5pb190eXBlOgogICAgICAgIHJl\ndHVybiBUcnVlCgogICAgIyBOb3QgZXF1YWwsIGFuZCBub3Qgc3RyaW5ncwog\nICAgaWYgbm90IGlzaW5zdGFuY2UocmVjZWl2ZWRfdHlwZSwgc3RyKSBvciBu\nb3QgaXNpbnN0YW5jZShpbnB1dF90eXBlLCBzdHIpOgogICAgICAgIHJldHVy\nbiBGYWxzZQoKICAgICMgU3BsaXQgdGhlIHR5cGUgc3RyaW5ncyBpbnRvIHNl\ndHMgZm9yIGNvbXBhcmlzb24KICAgIHJlY2VpdmVkX3R5cGVzID0gc2V0KHQu\nc3RyaXAoKSBmb3IgdCBpbiByZWNlaXZlZF90eXBlLnNwbGl0KCIsIikpCiAg\nICBpbnB1dF90eXBlcyA9IHNldCh0LnN0cmlwKCkgZm9yIHQgaW4gaW5wdXRf\ndHlwZS5zcGxpdCgiLCIpKQoKICAgICMgSWYgYW55IG9mIHRoZSB0eXBlcyBp\ncyAnKicsIHdlIGNhbiByZXR1cm4gVHJ1ZSBpbW1lZGlhdGVseTsgdGhpcyBp\ncyB0aGUgJ0FueScgdHlwZS4KICAgIGlmIElPLkFueVR5cGUuaW9fdHlwZSBp\nbiByZWNlaXZlZF90eXBlcyBvciBJTy5BbnlUeXBlLmlvX3R5cGUgaW4gaW5w\ndXRfdHlwZXM6CiAgICAgICAgcmV0dXJuIFRydWUKCiAgICBpZiBzdHJpY3Q6\nCiAgICAgICAgIyBJbiBzdHJpY3QgbW9kZSwgYWxsIHJlY2VpdmVkIHR5cGVz\nIG11c3QgYmUgaW4gdGhlIGlucHV0IHR5cGVzCiAgICAgICAgcmV0dXJuIHJl\nY2VpdmVkX3R5cGVzLmlzc3Vic2V0KGlucHV0X3R5cGVzKQogICAgZWxzZToK\nICAgICAgICAjIEluIG5vbi1zdHJpY3QgbW9kZSwgdGhlcmUgbXVzdCBiZSBh\ndCBsZWFzdCBvbmUgdHlwZSBpbiBjb21tb24KICAgICAgICByZXR1cm4gbGVu\nKHJlY2VpdmVkX3R5cGVzLmludGVyc2VjdGlvbihpbnB1dF90eXBlcykpID4g\nMAo=\n","encoding":"base64","_links":{"self":"https://api.github.com/repos/Comfy-Org/ComfyUI/contents/comfy_execution/validation.py?ref=63d1bbdb407c69370d407ce5ced6ca3f917528a8","git":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e73624bd1ef57c863990d608d6d1d5a5577c91ce","html":"https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/comfy_execution/validation.py"}}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"requested_url": "https://api.github.com/repos/Comfy-Org/ComfyUI/contents/comfy_execution/validation.py?ref=63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"started_at": "2026-11-01T22:50:16.760225+00:00",
|
||||
"maximum_bytes": 512000,
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
"Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning",
|
||||
"Cache-Control": "public, max-age=60, s-maxage=60",
|
||||
"Content-Length": "4605",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Date": "Sun, 01 Nov 2026 22:50:17 GMT",
|
||||
"ETag": "\"e73624bd1ef57c863990d608d6d1d5a5577c91ce\"",
|
||||
"Last-Modified": "Fri, 13 Mar 2026 00:44:22 GMT",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"Vary": "Accept, Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Frame-Options": "deny",
|
||||
"x-github-api-version-selected": "2022-11-28",
|
||||
"X-GitHub-Media-Type": "github.v3; format=json",
|
||||
"X-XSS-Protection": "0",
|
||||
"Server": "github.com",
|
||||
"Accept-Ranges": "bytes",
|
||||
"X-RateLimit-Limit": "60",
|
||||
"X-RateLimit-Remaining": "31",
|
||||
"X-RateLimit-Used": "29",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"X-RateLimit-Reset": "1793576011",
|
||||
"X-GitHub-Request-Id": "DA4C:104A85:1ABC4B5:2B197ED:6AE7C228",
|
||||
"x-github-edge-region": "japaneast",
|
||||
"connection": "close"
|
||||
},
|
||||
"final_url": "https://api.github.com/repos/Comfy-Org/ComfyUI/contents/comfy_execution/validation.py?ref=63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"ok": true,
|
||||
"finished_at": "2026-11-01T22:50:17.189193+00:00",
|
||||
"bytes": 4605,
|
||||
"sha256": "d76a38b87ef7b6c1b6fd4a296f5f59a83f90328729308481b34bc46e77b2a4a8"
|
||||
}
|
||||
+1
File diff suppressed because one or more lines are too long
+40
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"requested_url": "https://api.github.com/repos/Comfy-Org/ComfyUI/contents/comfy_execution/graph.py?ref=26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"started_at": "2026-11-01T22:50:14.562572+00:00",
|
||||
"maximum_bytes": 512000,
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
"Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning",
|
||||
"Cache-Control": "public, max-age=60, s-maxage=60",
|
||||
"Content-Length": "20877",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Date": "Sun, 01 Nov 2026 22:50:14 GMT",
|
||||
"ETag": "\"c47f3c79be2b3639a18f853c8461fe27c673ccd1\"",
|
||||
"Last-Modified": "Wed, 13 May 2026 20:25:01 GMT",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"Vary": "Accept, Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Frame-Options": "deny",
|
||||
"x-github-api-version-selected": "2022-11-28",
|
||||
"X-GitHub-Media-Type": "github.v3; format=json",
|
||||
"X-XSS-Protection": "0",
|
||||
"Server": "github.com",
|
||||
"Accept-Ranges": "bytes",
|
||||
"X-RateLimit-Limit": "60",
|
||||
"X-RateLimit-Remaining": "36",
|
||||
"X-RateLimit-Used": "24",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"X-RateLimit-Reset": "1793576011",
|
||||
"X-GitHub-Request-Id": "DA08:0BF4:117EBA4:1C6EAC1:6AE7C226",
|
||||
"x-github-edge-region": "japaneast",
|
||||
"connection": "close"
|
||||
},
|
||||
"final_url": "https://api.github.com/repos/Comfy-Org/ComfyUI/contents/comfy_execution/graph.py?ref=26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"ok": true,
|
||||
"finished_at": "2026-11-01T22:50:14.982817+00:00",
|
||||
"bytes": 20877,
|
||||
"sha256": "d4b40d5f24b84d0c67df7bcb26c24930dd3cab7813c76c828d781a856857623a"
|
||||
}
|
||||
+1
File diff suppressed because one or more lines are too long
+40
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"requested_url": "https://api.github.com/repos/Comfy-Org/ComfyUI/contents/comfy_execution/graph_utils.py?ref=26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"started_at": "2026-11-01T22:50:14.983639+00:00",
|
||||
"maximum_bytes": 512000,
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
"Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning",
|
||||
"Cache-Control": "public, max-age=60, s-maxage=60",
|
||||
"Content-Length": "8828",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Date": "Sun, 01 Nov 2026 22:50:15 GMT",
|
||||
"ETag": "\"496d2c634982aa5afc8d58b9db758f97b3b5c2d8\"",
|
||||
"Last-Modified": "Wed, 13 May 2026 20:25:01 GMT",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"Vary": "Accept, Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Frame-Options": "deny",
|
||||
"x-github-api-version-selected": "2022-11-28",
|
||||
"X-GitHub-Media-Type": "github.v3; format=json",
|
||||
"X-XSS-Protection": "0",
|
||||
"Server": "github.com",
|
||||
"Accept-Ranges": "bytes",
|
||||
"X-RateLimit-Limit": "60",
|
||||
"X-RateLimit-Remaining": "35",
|
||||
"X-RateLimit-Used": "25",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"X-RateLimit-Reset": "1793576011",
|
||||
"X-GitHub-Request-Id": "DA18:0C09:192C5E4:28F6769:6AE7C227",
|
||||
"x-github-edge-region": "japaneast",
|
||||
"connection": "close"
|
||||
},
|
||||
"final_url": "https://api.github.com/repos/Comfy-Org/ComfyUI/contents/comfy_execution/graph_utils.py?ref=26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"ok": true,
|
||||
"finished_at": "2026-11-01T22:50:15.430214+00:00",
|
||||
"bytes": 8828,
|
||||
"sha256": "cd79010f8c28164acba98f5562092f9efe8a70d1afbda742638cc6ab7e0774d7"
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"name":"validation.py","path":"comfy_execution/validation.py","sha":"e73624bd1ef57c863990d608d6d1d5a5577c91ce","size":2567,"url":"https://api.github.com/repos/Comfy-Org/ComfyUI/contents/comfy_execution/validation.py?ref=26515acd23fa291a8f5ab53c5997258598de0701","html_url":"https://github.com/Comfy-Org/ComfyUI/blob/26515acd23fa291a8f5ab53c5997258598de0701/comfy_execution/validation.py","git_url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e73624bd1ef57c863990d608d6d1d5a5577c91ce","download_url":"https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/comfy_execution/validation.py","type":"file","content":"ZnJvbSBfX2Z1dHVyZV9fIGltcG9ydCBhbm5vdGF0aW9ucwpmcm9tIGNvbWZ5\nX2FwaS5sYXRlc3QgaW1wb3J0IElPCgoKZGVmIHZhbGlkYXRlX25vZGVfaW5w\ndXQoCiAgICByZWNlaXZlZF90eXBlOiBzdHIsIGlucHV0X3R5cGU6IHN0ciwg\nc3RyaWN0OiBib29sID0gRmFsc2UKKSAtPiBib29sOgogICAgIiIiCiAgICBy\nZWNlaXZlZF90eXBlIGFuZCBpbnB1dF90eXBlIGFyZSBib3RoIHN0cmluZ3Mg\nb2YgdGhlIGZvcm0gIlQxLFQyLC4uLiIuCgogICAgSWYgc3RyaWN0IGlzIFRy\ndWUsIHRoZSBpbnB1dF90eXBlIG11c3QgY29udGFpbiB0aGUgcmVjZWl2ZWRf\ndHlwZS4KICAgICAgRm9yIGV4YW1wbGUsIGlmIHJlY2VpdmVkX3R5cGUgaXMg\nIlNUUklORyIgYW5kIGlucHV0X3R5cGUgaXMgIlNUUklORyxJTlQiLAogICAg\nICB0aGlzIHdpbGwgcmV0dXJuIFRydWUuIEJ1dCBpZiByZWNlaXZlZF90eXBl\nIGlzICJTVFJJTkcsSU5UIiBhbmQgaW5wdXRfdHlwZSBpcwogICAgICAiSU5U\nIiwgdGhpcyB3aWxsIHJldHVybiBGYWxzZS4KCiAgICBJZiBzdHJpY3QgaXMg\nRmFsc2UsIHRoZSBpbnB1dF90eXBlIG11c3QgaGF2ZSBvdmVybGFwIHdpdGgg\ndGhlIHJlY2VpdmVkX3R5cGUuCiAgICAgIEZvciBleGFtcGxlLCBpZiByZWNl\naXZlZF90eXBlIGlzICJTVFJJTkcsQk9PTEVBTiIgYW5kIGlucHV0X3R5cGUg\naXMgIlNUUklORyxJTlQiLAogICAgICB0aGlzIHdpbGwgcmV0dXJuIFRydWUu\nCgogICAgU3VwcG9ydHMgcHJlLXVuaW9uIHR5cGUgZXh0ZW5zaW9uIGJlaGF2\naW91ciBvZiBgYF9fbmVfX2BgIG92ZXJyaWRlcy4KICAgICIiIgogICAgIyBJ\nZiB0aGUgdHlwZXMgYXJlIGV4YWN0bHkgdGhlIHNhbWUsIHdlIGNhbiByZXR1\ncm4gaW1tZWRpYXRlbHkKICAgICMgVXNlIHByZS11bmlvbiBiZWhhdmlvdXI6\nIGludmVyc2Ugb2YgYF9fbmVfX2AKICAgICMgTk9URTogdGhpcyBsZXRzIGxl\nZ2FjeSAnKicgQW55IHR5cGVzIHdvcmsgdGhhdCBvdmVycmlkZSB0aGUgX19u\nZV9fIG1ldGhvZCBvZiB0aGUgc3RyIGNsYXNzLgogICAgaWYgbm90IHJlY2Vp\ndmVkX3R5cGUgIT0gaW5wdXRfdHlwZToKICAgICAgICByZXR1cm4gVHJ1ZQoK\nICAgICMgSWYgb25lIG9mIHRoZSB0eXBlcyBpcyAnKicsIHdlIGNhbiByZXR1\ncm4gVHJ1ZSBpbW1lZGlhdGVseTsgdGhpcyBpcyB0aGUgJ0FueScgdHlwZS4K\nICAgIGlmIHJlY2VpdmVkX3R5cGUgPT0gSU8uQW55VHlwZS5pb190eXBlIG9y\nIGlucHV0X3R5cGUgPT0gSU8uQW55VHlwZS5pb190eXBlOgogICAgICAgIHJl\ndHVybiBUcnVlCgogICAgIyBJZiB0aGUgcmVjZWl2ZWQgdHlwZSBvciBpbnB1\ndF90eXBlIGlzIGEgTWF0Y2hUeXBlLCB3ZSBjYW4gcmV0dXJuIFRydWUgaW1t\nZWRpYXRlbHk7CiAgICAjIHZhbGlkYXRpb24gZm9yIHRoaXMgaXMgaGFuZGxl\nZCBieSB0aGUgZnJvbnRlbmQKICAgIGlmIHJlY2VpdmVkX3R5cGUgPT0gSU8u\nTWF0Y2hUeXBlLmlvX3R5cGUgb3IgaW5wdXRfdHlwZSA9PSBJTy5NYXRjaFR5\ncGUuaW9fdHlwZToKICAgICAgICByZXR1cm4gVHJ1ZQoKICAgICMgVGhpcyBh\nY2NvdW50cyBmb3Igc29tZSBjdXN0b20gbm9kZXMgdGhhdCBvdXRwdXQgbGlz\ndHMgb2Ygb3B0aW9ucyBhcyB0aGUgdHlwZTsKICAgICMgaWYgd2UgZXZlciB3\nYW50IHRvIGJyZWFrIHRoZW0gb24gcHVycG9zZSwgdGhpcyBjYW4gYmUgcmVt\nb3ZlZAogICAgaWYgaXNpbnN0YW5jZShyZWNlaXZlZF90eXBlLCBsaXN0KSBh\nbmQgaW5wdXRfdHlwZSA9PSBJTy5Db21iby5pb190eXBlOgogICAgICAgIHJl\ndHVybiBUcnVlCgogICAgIyBOb3QgZXF1YWwsIGFuZCBub3Qgc3RyaW5ncwog\nICAgaWYgbm90IGlzaW5zdGFuY2UocmVjZWl2ZWRfdHlwZSwgc3RyKSBvciBu\nb3QgaXNpbnN0YW5jZShpbnB1dF90eXBlLCBzdHIpOgogICAgICAgIHJldHVy\nbiBGYWxzZQoKICAgICMgU3BsaXQgdGhlIHR5cGUgc3RyaW5ncyBpbnRvIHNl\ndHMgZm9yIGNvbXBhcmlzb24KICAgIHJlY2VpdmVkX3R5cGVzID0gc2V0KHQu\nc3RyaXAoKSBmb3IgdCBpbiByZWNlaXZlZF90eXBlLnNwbGl0KCIsIikpCiAg\nICBpbnB1dF90eXBlcyA9IHNldCh0LnN0cmlwKCkgZm9yIHQgaW4gaW5wdXRf\ndHlwZS5zcGxpdCgiLCIpKQoKICAgICMgSWYgYW55IG9mIHRoZSB0eXBlcyBp\ncyAnKicsIHdlIGNhbiByZXR1cm4gVHJ1ZSBpbW1lZGlhdGVseTsgdGhpcyBp\ncyB0aGUgJ0FueScgdHlwZS4KICAgIGlmIElPLkFueVR5cGUuaW9fdHlwZSBp\nbiByZWNlaXZlZF90eXBlcyBvciBJTy5BbnlUeXBlLmlvX3R5cGUgaW4gaW5w\ndXRfdHlwZXM6CiAgICAgICAgcmV0dXJuIFRydWUKCiAgICBpZiBzdHJpY3Q6\nCiAgICAgICAgIyBJbiBzdHJpY3QgbW9kZSwgYWxsIHJlY2VpdmVkIHR5cGVz\nIG11c3QgYmUgaW4gdGhlIGlucHV0IHR5cGVzCiAgICAgICAgcmV0dXJuIHJl\nY2VpdmVkX3R5cGVzLmlzc3Vic2V0KGlucHV0X3R5cGVzKQogICAgZWxzZToK\nICAgICAgICAjIEluIG5vbi1zdHJpY3QgbW9kZSwgdGhlcmUgbXVzdCBiZSBh\ndCBsZWFzdCBvbmUgdHlwZSBpbiBjb21tb24KICAgICAgICByZXR1cm4gbGVu\nKHJlY2VpdmVkX3R5cGVzLmludGVyc2VjdGlvbihpbnB1dF90eXBlcykpID4g\nMAo=\n","encoding":"base64","_links":{"self":"https://api.github.com/repos/Comfy-Org/ComfyUI/contents/comfy_execution/validation.py?ref=26515acd23fa291a8f5ab53c5997258598de0701","git":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e73624bd1ef57c863990d608d6d1d5a5577c91ce","html":"https://github.com/Comfy-Org/ComfyUI/blob/26515acd23fa291a8f5ab53c5997258598de0701/comfy_execution/validation.py"}}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"requested_url": "https://api.github.com/repos/Comfy-Org/ComfyUI/contents/comfy_execution/validation.py?ref=26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"started_at": "2026-11-01T22:50:15.430971+00:00",
|
||||
"maximum_bytes": 512000,
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
"Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning",
|
||||
"Cache-Control": "public, max-age=60, s-maxage=60",
|
||||
"Content-Length": "4605",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Date": "Sun, 01 Nov 2026 22:50:15 GMT",
|
||||
"ETag": "\"e73624bd1ef57c863990d608d6d1d5a5577c91ce\"",
|
||||
"Last-Modified": "Wed, 13 May 2026 20:25:01 GMT",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"Vary": "Accept, Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Frame-Options": "deny",
|
||||
"x-github-api-version-selected": "2022-11-28",
|
||||
"X-GitHub-Media-Type": "github.v3; format=json",
|
||||
"X-XSS-Protection": "0",
|
||||
"Server": "github.com",
|
||||
"Accept-Ranges": "bytes",
|
||||
"X-RateLimit-Limit": "60",
|
||||
"X-RateLimit-Remaining": "34",
|
||||
"X-RateLimit-Used": "26",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"X-RateLimit-Reset": "1793576011",
|
||||
"X-GitHub-Request-Id": "DA32:352545:1A08D01:2A69304:6AE7C227",
|
||||
"x-github-edge-region": "japaneast",
|
||||
"connection": "close"
|
||||
},
|
||||
"final_url": "https://api.github.com/repos/Comfy-Org/ComfyUI/contents/comfy_execution/validation.py?ref=26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"ok": true,
|
||||
"finished_at": "2026-11-01T22:50:15.850640+00:00",
|
||||
"bytes": 4605,
|
||||
"sha256": "67e62915786db0fb89c7a54b1c5ed04a24bf924e2170daaf65a355d122f71563"
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"requested_url": "https://api.github.com/repos/Comfy-Org/ComfyUI/contents/execution.py?ref=63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"started_at": "2026-11-01T22:49:50.158500+00:00",
|
||||
"maximum_bytes": 512000,
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
"Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning",
|
||||
"Cache-Control": "public, max-age=60, s-maxage=60",
|
||||
"Content-Length": "75497",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Date": "Sun, 01 Nov 2026 22:49:50 GMT",
|
||||
"ETag": "\"a7791efedc695be279a380a64df482c2196b0b01\"",
|
||||
"Last-Modified": "Fri, 13 Mar 2026 00:44:22 GMT",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"Vary": "Accept, Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Frame-Options": "deny",
|
||||
"x-github-api-version-selected": "2022-11-28",
|
||||
"X-GitHub-Media-Type": "github.v3; format=json",
|
||||
"X-XSS-Protection": "0",
|
||||
"Server": "github.com",
|
||||
"Accept-Ranges": "bytes",
|
||||
"X-RateLimit-Limit": "60",
|
||||
"X-RateLimit-Remaining": "38",
|
||||
"X-RateLimit-Used": "22",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"X-RateLimit-Reset": "1793576011",
|
||||
"X-GitHub-Request-Id": "F6FA:21AFEF:19FF564:2A61307:6AE7C20E",
|
||||
"x-github-edge-region": "japaneast",
|
||||
"connection": "close"
|
||||
},
|
||||
"final_url": "https://api.github.com/repos/Comfy-Org/ComfyUI/contents/execution.py?ref=63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"ok": true,
|
||||
"finished_at": "2026-11-01T22:49:50.747991+00:00",
|
||||
"bytes": 75497,
|
||||
"sha256": "7dc868d02e0fdc0002b354e0b2a8e5f0a7d60575dac8335b11f80454e8f9c672"
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"requested_url": "https://api.github.com/repos/Comfy-Org/ComfyUI/contents/execution.py?ref=26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"started_at": "2026-11-01T22:49:49.621406+00:00",
|
||||
"maximum_bytes": 512000,
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
"Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning",
|
||||
"Cache-Control": "public, max-age=60, s-maxage=60",
|
||||
"Content-Length": "81535",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Date": "Sun, 01 Nov 2026 22:49:49 GMT",
|
||||
"ETag": "\"f37d0360d55ccbb16a8f11bbdf065324ab7409b4\"",
|
||||
"Last-Modified": "Wed, 13 May 2026 20:25:01 GMT",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"Vary": "Accept, Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Frame-Options": "deny",
|
||||
"x-github-api-version-selected": "2022-11-28",
|
||||
"X-GitHub-Media-Type": "github.v3; format=json",
|
||||
"X-XSS-Protection": "0",
|
||||
"Server": "github.com",
|
||||
"Accept-Ranges": "bytes",
|
||||
"X-RateLimit-Limit": "60",
|
||||
"X-RateLimit-Remaining": "40",
|
||||
"X-RateLimit-Used": "20",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"X-RateLimit-Reset": "1793576011",
|
||||
"X-GitHub-Request-Id": "F6F8:281745:19ED1E4:2A53966:6AE7C20D",
|
||||
"x-github-edge-region": "japaneast",
|
||||
"connection": "close"
|
||||
},
|
||||
"final_url": "https://api.github.com/repos/Comfy-Org/ComfyUI/contents/execution.py?ref=26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"ok": true,
|
||||
"finished_at": "2026-11-01T22:49:50.156663+00:00",
|
||||
"bytes": 81535,
|
||||
"sha256": "fe0b98d9ce7c9664517f1d1e66fd938cdc71199d5273ee420eb53f78fa5cb7a1"
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
"""Foreground, bounded delivery ZIP with per-member purposes, SHA, byte and CRC checks."""
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import subprocess
|
||||
import zipfile
|
||||
|
||||
from audit import ROOT, read, sha
|
||||
|
||||
LOCAL = ROOT / ".local-evidence/batch178-aio-protocol"
|
||||
DELIVERY = LOCAL / "delivery"
|
||||
|
||||
|
||||
def save(path, value):
|
||||
with path.open("x", encoding="utf-8") as stream:
|
||||
json.dump(value, stream, ensure_ascii=False, indent=2)
|
||||
stream.write("\n")
|
||||
|
||||
|
||||
def git(*args):
|
||||
return subprocess.check_output(["git", *args], cwd=ROOT)
|
||||
|
||||
|
||||
def main():
|
||||
base = read("baseline.json")["commit"]
|
||||
head = git("rev-parse", "HEAD").decode().strip()
|
||||
branch = git("branch", "--show-current").decode().strip()
|
||||
assert branch == "agent/agent/a64a969a6a44"
|
||||
assert not git("status", "--porcelain")
|
||||
remote = git("ls-remote", "origin", f"refs/heads/{branch}", "refs/heads/main").decode()
|
||||
assert f"{head}\trefs/heads/{branch}" in remote
|
||||
save(
|
||||
DELIVERY / "final-head.json",
|
||||
dict(
|
||||
baseline=base,
|
||||
head=head,
|
||||
branch=branch,
|
||||
remote_refs=remote,
|
||||
worktree_clean=True,
|
||||
pull_request="https://gitea.xbay.cc/leefer/aigc-home/pulls/25",
|
||||
target="main",
|
||||
merged=False,
|
||||
),
|
||||
)
|
||||
patch = git("diff", "--binary", base, head, "--")
|
||||
(DELIVERY / "complete.patch").write_bytes(patch)
|
||||
changed = [p.decode() for p in git("diff", "--name-only", "-z", base, head).split(b"\0") if p]
|
||||
assert all(p.startswith("docs/hel-892/batch178-aio-protocol/") for p in changed)
|
||||
members = {
|
||||
p: (ROOT / p, "new offline mapping tools/reports/retained iterations") for p in changed
|
||||
}
|
||||
prior_dir = "docs/hel-892/batch177-controlnet-provenance/"
|
||||
evidence_paths = {
|
||||
"docs/hel-892/supplied-api/01.api.json",
|
||||
"docs/hel-892/supplied-api/manifest.json",
|
||||
prior_dir + "class-schema-matrix.json",
|
||||
prior_dir + "core-bindings.json",
|
||||
prior_dir + "core-support-proofs.json",
|
||||
prior_dir + "release-member-proofs.json",
|
||||
prior_dir + "release-directory.json",
|
||||
prior_dir + "network/registry-version.body",
|
||||
prior_dir + "network/registry-version.json",
|
||||
}
|
||||
for item in read("reused-source-records.json"):
|
||||
evidence_paths.add(prior_dir + item["original_record"]["file"])
|
||||
for path in sorted(evidence_paths):
|
||||
members[path] = (ROOT / path, "existing selected original/API/reference bytes; unchanged")
|
||||
for folder in ("logs", "records"):
|
||||
for path in sorted((LOCAL / folder).iterdir()):
|
||||
if path.name.startswith("batch178-aio-protocol-package."):
|
||||
continue
|
||||
members[f"execution/{folder}/{path.name}"] = (
|
||||
path,
|
||||
"exclusive raw formal command record",
|
||||
)
|
||||
for name in ("mapping.bundle", "complete.patch", "final-head.json"):
|
||||
members[f"delivery/{name}"] = (
|
||||
DELIVERY / name,
|
||||
"complete delta / verified Git transport / pushed head",
|
||||
)
|
||||
purposes = [
|
||||
dict(path=name, purpose=purpose, bytes=path.stat().st_size, sha256=sha(path.read_bytes()))
|
||||
for name, (path, purpose) in sorted(members.items())
|
||||
]
|
||||
save(
|
||||
DELIVERY / "purpose-sha256.json",
|
||||
dict(
|
||||
self_excluded=True,
|
||||
members=purposes,
|
||||
package_command_record="attached separately after completion",
|
||||
),
|
||||
)
|
||||
members["delivery/purpose-sha256.json"] = (DELIVERY / "purpose-sha256.json", "manifest")
|
||||
archive = DELIVERY / "HEL-892-batch178-aio-protocol.zip"
|
||||
with zipfile.ZipFile(archive, "x", compression=zipfile.ZIP_DEFLATED, compresslevel=9) as bundle:
|
||||
for name, (path, _) in sorted(members.items()):
|
||||
bundle.write(path, name)
|
||||
with zipfile.ZipFile(archive) as bundle:
|
||||
assert bundle.testzip() is None
|
||||
assert len(bundle.namelist()) == len(members) == len(set(bundle.namelist()))
|
||||
for name, (path, _) in members.items():
|
||||
raw = bundle.read(name)
|
||||
assert len(raw) == path.stat().st_size and sha(raw) == sha(path.read_bytes())
|
||||
checked = len(bundle.namelist())
|
||||
save(
|
||||
DELIVERY / "archive-verification.json",
|
||||
dict(
|
||||
filename=archive.name,
|
||||
bytes=archive.stat().st_size,
|
||||
sha256=hashlib.sha256(archive.read_bytes()).hexdigest(),
|
||||
members=checked,
|
||||
bytes_sha_crc_verified=True,
|
||||
),
|
||||
)
|
||||
print((DELIVERY / "archive-verification.json").read_text())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,27 @@
|
||||
id,version,commit,branch,condition,output,error,evidence,anchor,lines,engine_executed,target_compatibility
|
||||
"""0.21.1:dict_ui""","""0.21.1""","""26515acd23fa291a8f5ab53c5997258598de0701""","""dict_ui""","""dict含ui;本案ui.openpose_json是字符串列表""","""uis追加ui,最后按首个UI字典的key合并;这是引擎UI数据,不证明前端展示""","""UI键不一致或值不可迭代可在合并处抛异常""","""0.21.1:get_output_from_returns""","""'ui' in r""",[350],false,"""unknown"""
|
||||
"""0.21.1:dict_result""","""0.21.1""","""26515acd23fa291a8f5ab53c5997258598de0701""","""dict_result""","""dict有result且无expand;本案result为二项tuple""","""把完整result加入results,不按RETURN_TYPES裁剪""","""不是这一步拒绝额外返回;result形状错误会在后续合并出错""","""0.21.1:get_output_from_returns""","""elif 'result' in r""",[360],false,"""unknown"""
|
||||
"""0.21.1:expand""","""0.21.1""","""26515acd23fa291a8f5ab53c5997258598de0701""","""expand""","""dict有expand(本案无)""","""has_subgraph,交subgraph_results,不走普通合并""","""不能把普通分支结论套到扩图""","""0.21.1:get_output_from_returns""","""'expand' in r""",[352],false,"""unknown"""
|
||||
"""0.21.1:tuple""","""0.21.1""","""26515acd23fa291a8f5ab53c5997258598de0701""","""tuple""","""普通tuple,非dict/NodeOutput/ExecutionBlocker""","""完整tuple加入results;本案包装返回dict,tuple在result内""","""非tuple对象不因本分支自动合法""","""0.21.1:get_output_from_returns""","""results.append(r)""",[389],false,"""unknown"""
|
||||
"""0.21.1:blocker""","""0.21.1""","""26515acd23fa291a8f5ab53c5997258598de0701""","""blocker""","""ExecutionBlocker或V3阻断(本案无)""","""阻断占位按声明RETURN_TYPES长度构造""","""这不等同普通额外返回按声明截断""","""0.21.1:get_output_from_returns""","""len(obj.RETURN_TYPES)""","[358, 363, 378, 383, 388]",false,"""unknown"""
|
||||
"""0.21.1:merge_actual_length""","""0.21.1""","""26515acd23fa291a8f5ab53c5997258598de0701""","""merge_actual_length""","""无OUTPUT_IS_LIST属性;准确aux AIO类无此属性且仅继承object""","""按首份实际result二项长度生成两个合并输出,不因单IMAGE声明拒绝或丢弃第二项""","""后续result比首份短可能IndexError;长于首份的尾项不会进入首份长度循环""","""0.21.1:merge_result_data""","""[False] * len(results[0])""",[316],false,"""unknown"""
|
||||
"""0.21.1:merge_override""","""0.21.1""","""26515acd23fa291a8f5ab53c5997258598de0701""","""merge_override""","""存在显式OUTPUT_IS_LIST(本案AIO无)""","""zip长度取短;若显式列表仅一项则只合并第一项""","""额外项可能在此条件下丢弃;不是RETURN_TYPES导致""","""0.21.1:merge_result_data""","""zip(range(len(results[0])), output_is_list)""",[321],false,"""unknown"""
|
||||
"""0.21.1:cache""","""0.21.1""","""26515acd23fa291a8f5ab53c5997258598de0701""","""cache""","""普通返回,无扩图/未决任务且未出错""","""CacheEntry的outputs保存完整合并output_data;graph cache_update/get_cache原样传CacheEntry""","""缓存provider、实际执行/缓存命中与后续持久性不在此认证""","""0.21.1:execute""","""outputs=output_data""",[601],false,"""unknown"""
|
||||
"""0.21.1:consume""","""0.21.1""","""26515acd23fa291a8f5ab53c5997258598de0701""","""consume""","""有缓存且索引未超实际outputs长度;case01分别33→36及34→37,均索引0""","""取实际缓存出口0,额外出口1未被本case01消费""","""缺缓存/越界先mark_missing;不等同自动成功或一定立刻抛错""","""0.21.1:get_input_data""","""cached.outputs[output_index]""",[182],false,"""unknown"""
|
||||
"""0.21.1:declared_index""","""0.21.1""","""26515acd23fa291a8f5ab53c5997258598de0701""","""declared_index""","""建立新增索引1输入连线时,AIO声明只有IMAGE一项""","""按上游RETURN_TYPES索引检查,索引1发生IndexError;实际缓存有两项不绕过此检查""","""由递归或外层validate_prompt捕获,形成inner_validation或validation异常;不认证新增连线可用""","""0.21.1:validate_inputs""","""received_type = r[val[1]]""",[905],false,"""unknown"""
|
||||
"""0.21.1:type""","""0.21.1""","""26515acd23fa291a8f5ab53c5997258598de0701""","""type""","""声明类型与下游要求不相容且未由自定义input_types验证替代""","""记录return_type_mismatch并继续失败归因""","""类型吻合只证明声明校验,不证明真实值类型/质量""","""0.21.1:validate_inputs""","""return_type_mismatch""",[910],false,"""unknown"""
|
||||
"""0.21.1:execution_error""","""0.21.1""","""26515acd23fa291a8f5ab53c5997258598de0701""","""execution_error""","""调用、拆分、UI合并或结果合并等执行路径抛异常""","""返回ExecutionResult.FAILURE与异常详情;中断有独立分支""","""不是将错误result静默裁为单项成功""","""0.21.1:execute""","""except Exception as ex""","[451, 614]",false,"""unknown"""
|
||||
"""0.21.1:validation_error""","""0.21.1""","""26515acd23fa291a8f5ab53c5997258598de0701""","""validation_error""","""没有good_outputs""","""返回失败;如存在其它合法输出,可只忽略失败输出""","""不能泛称任一错误必然阻止所有独立输出""","""0.21.1:validate_prompt""","""prompt_outputs_failed_validation""",[1209],false,"""unknown"""
|
||||
"""0.17.0:dict_ui""","""0.17.0""","""63d1bbdb407c69370d407ce5ced6ca3f917528a8""","""dict_ui""","""dict含ui;本案ui.openpose_json是字符串列表""","""uis追加ui,最后按首个UI字典的key合并;这是引擎UI数据,不证明前端展示""","""UI键不一致或值不可迭代可在合并处抛异常""","""0.17.0:get_output_from_returns""","""'ui' in r""",[348],false,"""unknown"""
|
||||
"""0.17.0:dict_result""","""0.17.0""","""63d1bbdb407c69370d407ce5ced6ca3f917528a8""","""dict_result""","""dict有result且无expand;本案result为二项tuple""","""把完整result加入results,不按RETURN_TYPES裁剪""","""不是这一步拒绝额外返回;result形状错误会在后续合并出错""","""0.17.0:get_output_from_returns""","""elif 'result' in r""",[358],false,"""unknown"""
|
||||
"""0.17.0:expand""","""0.17.0""","""63d1bbdb407c69370d407ce5ced6ca3f917528a8""","""expand""","""dict有expand(本案无)""","""has_subgraph,交subgraph_results,不走普通合并""","""不能把普通分支结论套到扩图""","""0.17.0:get_output_from_returns""","""'expand' in r""",[350],false,"""unknown"""
|
||||
"""0.17.0:tuple""","""0.17.0""","""63d1bbdb407c69370d407ce5ced6ca3f917528a8""","""tuple""","""普通tuple,非dict/NodeOutput/ExecutionBlocker""","""完整tuple加入results;本案包装返回dict,tuple在result内""","""非tuple对象不因本分支自动合法""","""0.17.0:get_output_from_returns""","""results.append(r)""",[387],false,"""unknown"""
|
||||
"""0.17.0:blocker""","""0.17.0""","""63d1bbdb407c69370d407ce5ced6ca3f917528a8""","""blocker""","""ExecutionBlocker或V3阻断(本案无)""","""阻断占位按声明RETURN_TYPES长度构造""","""这不等同普通额外返回按声明截断""","""0.17.0:get_output_from_returns""","""len(obj.RETURN_TYPES)""","[356, 361, 376, 381, 386]",false,"""unknown"""
|
||||
"""0.17.0:merge_actual_length""","""0.17.0""","""63d1bbdb407c69370d407ce5ced6ca3f917528a8""","""merge_actual_length""","""无OUTPUT_IS_LIST属性;准确aux AIO类无此属性且仅继承object""","""按首份实际result二项长度生成两个合并输出,不因单IMAGE声明拒绝或丢弃第二项""","""后续result比首份短可能IndexError;长于首份的尾项不会进入首份长度循环""","""0.17.0:merge_result_data""","""[False] * len(results[0])""",[314],false,"""unknown"""
|
||||
"""0.17.0:merge_override""","""0.17.0""","""63d1bbdb407c69370d407ce5ced6ca3f917528a8""","""merge_override""","""存在显式OUTPUT_IS_LIST(本案AIO无)""","""zip长度取短;若显式列表仅一项则只合并第一项""","""额外项可能在此条件下丢弃;不是RETURN_TYPES导致""","""0.17.0:merge_result_data""","""zip(range(len(results[0])), output_is_list)""",[319],false,"""unknown"""
|
||||
"""0.17.0:cache""","""0.17.0""","""63d1bbdb407c69370d407ce5ced6ca3f917528a8""","""cache""","""普通返回,无扩图/未决任务且未出错""","""CacheEntry的outputs保存完整合并output_data;graph cache_update/get_cache原样传CacheEntry""","""缓存provider、实际执行/缓存命中与后续持久性不在此认证""","""0.17.0:execute""","""outputs=output_data""",[589],false,"""unknown"""
|
||||
"""0.17.0:consume""","""0.17.0""","""63d1bbdb407c69370d407ce5ced6ca3f917528a8""","""consume""","""有缓存且索引未超实际outputs长度;case01分别33→36及34→37,均索引0""","""取实际缓存出口0,额外出口1未被本case01消费""","""缺缓存/越界先mark_missing;不等同自动成功或一定立刻抛错""","""0.17.0:get_input_data""","""cached.outputs[output_index]""",[180],false,"""unknown"""
|
||||
"""0.17.0:declared_index""","""0.17.0""","""63d1bbdb407c69370d407ce5ced6ca3f917528a8""","""declared_index""","""建立新增索引1输入连线时,AIO声明只有IMAGE一项""","""按上游RETURN_TYPES索引检查,索引1发生IndexError;实际缓存有两项不绕过此检查""","""由递归或外层validate_prompt捕获,形成inner_validation或validation异常;不认证新增连线可用""","""0.17.0:validate_inputs""","""received_type = r[val[1]]""",[835],false,"""unknown"""
|
||||
"""0.17.0:type""","""0.17.0""","""63d1bbdb407c69370d407ce5ced6ca3f917528a8""","""type""","""声明类型与下游要求不相容且未由自定义input_types验证替代""","""记录return_type_mismatch并继续失败归因""","""类型吻合只证明声明校验,不证明真实值类型/质量""","""0.17.0:validate_inputs""","""return_type_mismatch""",[840],false,"""unknown"""
|
||||
"""0.17.0:execution_error""","""0.17.0""","""63d1bbdb407c69370d407ce5ced6ca3f917528a8""","""execution_error""","""调用、拆分、UI合并或结果合并等执行路径抛异常""","""返回ExecutionResult.FAILURE与异常详情;中断有独立分支""","""不是将错误result静默裁为单项成功""","""0.17.0:execute""","""except Exception as ex""","[440, 602]",false,"""unknown"""
|
||||
"""0.17.0:validation_error""","""0.17.0""","""63d1bbdb407c69370d407ce5ced6ca3f917528a8""","""validation_error""","""没有good_outputs""","""返回失败;如存在其它合法输出,可只忽略失败输出""","""不能泛称任一错误必然阻止所有独立输出""","""0.17.0:validate_prompt""","""prompt_outputs_failed_validation""",[1127],false,"""unknown"""
|
||||
|
@@ -0,0 +1,493 @@
|
||||
{
|
||||
"versions": {
|
||||
"0.21.1": {
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"host_version_verified": false,
|
||||
"rows": [
|
||||
"0.21.1:dict_ui",
|
||||
"0.21.1:dict_result",
|
||||
"0.21.1:expand",
|
||||
"0.21.1:tuple",
|
||||
"0.21.1:blocker",
|
||||
"0.21.1:merge_actual_length",
|
||||
"0.21.1:merge_override",
|
||||
"0.21.1:cache",
|
||||
"0.21.1:consume",
|
||||
"0.21.1:declared_index",
|
||||
"0.21.1:type",
|
||||
"0.21.1:execution_error",
|
||||
"0.21.1:validation_error"
|
||||
]
|
||||
},
|
||||
"0.17.0": {
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"host_version_verified": false,
|
||||
"rows": [
|
||||
"0.17.0:dict_ui",
|
||||
"0.17.0:dict_result",
|
||||
"0.17.0:expand",
|
||||
"0.17.0:tuple",
|
||||
"0.17.0:blocker",
|
||||
"0.17.0:merge_actual_length",
|
||||
"0.17.0:merge_override",
|
||||
"0.17.0:cache",
|
||||
"0.17.0:consume",
|
||||
"0.17.0:declared_index",
|
||||
"0.17.0:type",
|
||||
"0.17.0:execution_error",
|
||||
"0.17.0:validation_error"
|
||||
]
|
||||
}
|
||||
},
|
||||
"branches": [
|
||||
{
|
||||
"id": "0.21.1:dict_ui",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"branch": "dict_ui",
|
||||
"condition": "dict含ui;本案ui.openpose_json是字符串列表",
|
||||
"output": "uis追加ui,最后按首个UI字典的key合并;这是引擎UI数据,不证明前端展示",
|
||||
"error": "UI键不一致或值不可迭代可在合并处抛异常",
|
||||
"evidence": "0.21.1:get_output_from_returns",
|
||||
"anchor": "'ui' in r",
|
||||
"lines": [
|
||||
350
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.21.1:dict_result",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"branch": "dict_result",
|
||||
"condition": "dict有result且无expand;本案result为二项tuple",
|
||||
"output": "把完整result加入results,不按RETURN_TYPES裁剪",
|
||||
"error": "不是这一步拒绝额外返回;result形状错误会在后续合并出错",
|
||||
"evidence": "0.21.1:get_output_from_returns",
|
||||
"anchor": "elif 'result' in r",
|
||||
"lines": [
|
||||
360
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.21.1:expand",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"branch": "expand",
|
||||
"condition": "dict有expand(本案无)",
|
||||
"output": "has_subgraph,交subgraph_results,不走普通合并",
|
||||
"error": "不能把普通分支结论套到扩图",
|
||||
"evidence": "0.21.1:get_output_from_returns",
|
||||
"anchor": "'expand' in r",
|
||||
"lines": [
|
||||
352
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.21.1:tuple",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"branch": "tuple",
|
||||
"condition": "普通tuple,非dict/NodeOutput/ExecutionBlocker",
|
||||
"output": "完整tuple加入results;本案包装返回dict,tuple在result内",
|
||||
"error": "非tuple对象不因本分支自动合法",
|
||||
"evidence": "0.21.1:get_output_from_returns",
|
||||
"anchor": "results.append(r)",
|
||||
"lines": [
|
||||
389
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.21.1:blocker",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"branch": "blocker",
|
||||
"condition": "ExecutionBlocker或V3阻断(本案无)",
|
||||
"output": "阻断占位按声明RETURN_TYPES长度构造",
|
||||
"error": "这不等同普通额外返回按声明截断",
|
||||
"evidence": "0.21.1:get_output_from_returns",
|
||||
"anchor": "len(obj.RETURN_TYPES)",
|
||||
"lines": [
|
||||
358,
|
||||
363,
|
||||
378,
|
||||
383,
|
||||
388
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.21.1:merge_actual_length",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"branch": "merge_actual_length",
|
||||
"condition": "无OUTPUT_IS_LIST属性;准确aux AIO类无此属性且仅继承object",
|
||||
"output": "按首份实际result二项长度生成两个合并输出,不因单IMAGE声明拒绝或丢弃第二项",
|
||||
"error": "后续result比首份短可能IndexError;长于首份的尾项不会进入首份长度循环",
|
||||
"evidence": "0.21.1:merge_result_data",
|
||||
"anchor": "[False] * len(results[0])",
|
||||
"lines": [
|
||||
316
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.21.1:merge_override",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"branch": "merge_override",
|
||||
"condition": "存在显式OUTPUT_IS_LIST(本案AIO无)",
|
||||
"output": "zip长度取短;若显式列表仅一项则只合并第一项",
|
||||
"error": "额外项可能在此条件下丢弃;不是RETURN_TYPES导致",
|
||||
"evidence": "0.21.1:merge_result_data",
|
||||
"anchor": "zip(range(len(results[0])), output_is_list)",
|
||||
"lines": [
|
||||
321
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.21.1:cache",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"branch": "cache",
|
||||
"condition": "普通返回,无扩图/未决任务且未出错",
|
||||
"output": "CacheEntry的outputs保存完整合并output_data;graph cache_update/get_cache原样传CacheEntry",
|
||||
"error": "缓存provider、实际执行/缓存命中与后续持久性不在此认证",
|
||||
"evidence": "0.21.1:execute",
|
||||
"anchor": "outputs=output_data",
|
||||
"lines": [
|
||||
601
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.21.1:consume",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"branch": "consume",
|
||||
"condition": "有缓存且索引未超实际outputs长度;case01分别33→36及34→37,均索引0",
|
||||
"output": "取实际缓存出口0,额外出口1未被本case01消费",
|
||||
"error": "缺缓存/越界先mark_missing;不等同自动成功或一定立刻抛错",
|
||||
"evidence": "0.21.1:get_input_data",
|
||||
"anchor": "cached.outputs[output_index]",
|
||||
"lines": [
|
||||
182
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.21.1:declared_index",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"branch": "declared_index",
|
||||
"condition": "建立新增索引1输入连线时,AIO声明只有IMAGE一项",
|
||||
"output": "按上游RETURN_TYPES索引检查,索引1发生IndexError;实际缓存有两项不绕过此检查",
|
||||
"error": "由递归或外层validate_prompt捕获,形成inner_validation或validation异常;不认证新增连线可用",
|
||||
"evidence": "0.21.1:validate_inputs",
|
||||
"anchor": "received_type = r[val[1]]",
|
||||
"lines": [
|
||||
905
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.21.1:type",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"branch": "type",
|
||||
"condition": "声明类型与下游要求不相容且未由自定义input_types验证替代",
|
||||
"output": "记录return_type_mismatch并继续失败归因",
|
||||
"error": "类型吻合只证明声明校验,不证明真实值类型/质量",
|
||||
"evidence": "0.21.1:validate_inputs",
|
||||
"anchor": "return_type_mismatch",
|
||||
"lines": [
|
||||
910
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.21.1:execution_error",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"branch": "execution_error",
|
||||
"condition": "调用、拆分、UI合并或结果合并等执行路径抛异常",
|
||||
"output": "返回ExecutionResult.FAILURE与异常详情;中断有独立分支",
|
||||
"error": "不是将错误result静默裁为单项成功",
|
||||
"evidence": "0.21.1:execute",
|
||||
"anchor": "except Exception as ex",
|
||||
"lines": [
|
||||
451,
|
||||
614
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.21.1:validation_error",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"branch": "validation_error",
|
||||
"condition": "没有good_outputs",
|
||||
"output": "返回失败;如存在其它合法输出,可只忽略失败输出",
|
||||
"error": "不能泛称任一错误必然阻止所有独立输出",
|
||||
"evidence": "0.21.1:validate_prompt",
|
||||
"anchor": "prompt_outputs_failed_validation",
|
||||
"lines": [
|
||||
1209
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.17.0:dict_ui",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"branch": "dict_ui",
|
||||
"condition": "dict含ui;本案ui.openpose_json是字符串列表",
|
||||
"output": "uis追加ui,最后按首个UI字典的key合并;这是引擎UI数据,不证明前端展示",
|
||||
"error": "UI键不一致或值不可迭代可在合并处抛异常",
|
||||
"evidence": "0.17.0:get_output_from_returns",
|
||||
"anchor": "'ui' in r",
|
||||
"lines": [
|
||||
348
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.17.0:dict_result",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"branch": "dict_result",
|
||||
"condition": "dict有result且无expand;本案result为二项tuple",
|
||||
"output": "把完整result加入results,不按RETURN_TYPES裁剪",
|
||||
"error": "不是这一步拒绝额外返回;result形状错误会在后续合并出错",
|
||||
"evidence": "0.17.0:get_output_from_returns",
|
||||
"anchor": "elif 'result' in r",
|
||||
"lines": [
|
||||
358
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.17.0:expand",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"branch": "expand",
|
||||
"condition": "dict有expand(本案无)",
|
||||
"output": "has_subgraph,交subgraph_results,不走普通合并",
|
||||
"error": "不能把普通分支结论套到扩图",
|
||||
"evidence": "0.17.0:get_output_from_returns",
|
||||
"anchor": "'expand' in r",
|
||||
"lines": [
|
||||
350
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.17.0:tuple",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"branch": "tuple",
|
||||
"condition": "普通tuple,非dict/NodeOutput/ExecutionBlocker",
|
||||
"output": "完整tuple加入results;本案包装返回dict,tuple在result内",
|
||||
"error": "非tuple对象不因本分支自动合法",
|
||||
"evidence": "0.17.0:get_output_from_returns",
|
||||
"anchor": "results.append(r)",
|
||||
"lines": [
|
||||
387
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.17.0:blocker",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"branch": "blocker",
|
||||
"condition": "ExecutionBlocker或V3阻断(本案无)",
|
||||
"output": "阻断占位按声明RETURN_TYPES长度构造",
|
||||
"error": "这不等同普通额外返回按声明截断",
|
||||
"evidence": "0.17.0:get_output_from_returns",
|
||||
"anchor": "len(obj.RETURN_TYPES)",
|
||||
"lines": [
|
||||
356,
|
||||
361,
|
||||
376,
|
||||
381,
|
||||
386
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.17.0:merge_actual_length",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"branch": "merge_actual_length",
|
||||
"condition": "无OUTPUT_IS_LIST属性;准确aux AIO类无此属性且仅继承object",
|
||||
"output": "按首份实际result二项长度生成两个合并输出,不因单IMAGE声明拒绝或丢弃第二项",
|
||||
"error": "后续result比首份短可能IndexError;长于首份的尾项不会进入首份长度循环",
|
||||
"evidence": "0.17.0:merge_result_data",
|
||||
"anchor": "[False] * len(results[0])",
|
||||
"lines": [
|
||||
314
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.17.0:merge_override",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"branch": "merge_override",
|
||||
"condition": "存在显式OUTPUT_IS_LIST(本案AIO无)",
|
||||
"output": "zip长度取短;若显式列表仅一项则只合并第一项",
|
||||
"error": "额外项可能在此条件下丢弃;不是RETURN_TYPES导致",
|
||||
"evidence": "0.17.0:merge_result_data",
|
||||
"anchor": "zip(range(len(results[0])), output_is_list)",
|
||||
"lines": [
|
||||
319
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.17.0:cache",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"branch": "cache",
|
||||
"condition": "普通返回,无扩图/未决任务且未出错",
|
||||
"output": "CacheEntry的outputs保存完整合并output_data;graph cache_update/get_cache原样传CacheEntry",
|
||||
"error": "缓存provider、实际执行/缓存命中与后续持久性不在此认证",
|
||||
"evidence": "0.17.0:execute",
|
||||
"anchor": "outputs=output_data",
|
||||
"lines": [
|
||||
589
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.17.0:consume",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"branch": "consume",
|
||||
"condition": "有缓存且索引未超实际outputs长度;case01分别33→36及34→37,均索引0",
|
||||
"output": "取实际缓存出口0,额外出口1未被本case01消费",
|
||||
"error": "缺缓存/越界先mark_missing;不等同自动成功或一定立刻抛错",
|
||||
"evidence": "0.17.0:get_input_data",
|
||||
"anchor": "cached.outputs[output_index]",
|
||||
"lines": [
|
||||
180
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.17.0:declared_index",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"branch": "declared_index",
|
||||
"condition": "建立新增索引1输入连线时,AIO声明只有IMAGE一项",
|
||||
"output": "按上游RETURN_TYPES索引检查,索引1发生IndexError;实际缓存有两项不绕过此检查",
|
||||
"error": "由递归或外层validate_prompt捕获,形成inner_validation或validation异常;不认证新增连线可用",
|
||||
"evidence": "0.17.0:validate_inputs",
|
||||
"anchor": "received_type = r[val[1]]",
|
||||
"lines": [
|
||||
835
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.17.0:type",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"branch": "type",
|
||||
"condition": "声明类型与下游要求不相容且未由自定义input_types验证替代",
|
||||
"output": "记录return_type_mismatch并继续失败归因",
|
||||
"error": "类型吻合只证明声明校验,不证明真实值类型/质量",
|
||||
"evidence": "0.17.0:validate_inputs",
|
||||
"anchor": "return_type_mismatch",
|
||||
"lines": [
|
||||
840
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.17.0:execution_error",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"branch": "execution_error",
|
||||
"condition": "调用、拆分、UI合并或结果合并等执行路径抛异常",
|
||||
"output": "返回ExecutionResult.FAILURE与异常详情;中断有独立分支",
|
||||
"error": "不是将错误result静默裁为单项成功",
|
||||
"evidence": "0.17.0:execute",
|
||||
"anchor": "except Exception as ex",
|
||||
"lines": [
|
||||
440,
|
||||
602
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "0.17.0:validation_error",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"branch": "validation_error",
|
||||
"condition": "没有good_outputs",
|
||||
"output": "返回失败;如存在其它合法输出,可只忽略失败输出",
|
||||
"error": "不能泛称任一错误必然阻止所有独立输出",
|
||||
"evidence": "0.17.0:validate_prompt",
|
||||
"anchor": "prompt_outputs_failed_validation",
|
||||
"lines": [
|
||||
1127
|
||||
],
|
||||
"engine_executed": false,
|
||||
"target_compatibility": "unknown"
|
||||
}
|
||||
],
|
||||
"case01_uses": [
|
||||
{
|
||||
"source": "33",
|
||||
"index": 0,
|
||||
"target": "36",
|
||||
"field": "images"
|
||||
},
|
||||
{
|
||||
"source": "34",
|
||||
"index": 0,
|
||||
"target": "37",
|
||||
"field": "images"
|
||||
}
|
||||
],
|
||||
"ast_equal": {
|
||||
"get_input_data": true,
|
||||
"merge_result_data": true,
|
||||
"get_output_from_returns": true,
|
||||
"execute": false,
|
||||
"validate_inputs": false
|
||||
},
|
||||
"real_engine_tests": 0,
|
||||
"target_requests": 0
|
||||
}
|
||||
@@ -0,0 +1,113 @@
|
||||
"""Chinese view of evidenced conditions; no synthetic engine output."""
|
||||
|
||||
import json
|
||||
|
||||
from build import HERE, PRIOR, write
|
||||
|
||||
|
||||
def main():
|
||||
matrix = json.loads((HERE / "protocol-matrix.json").read_text())
|
||||
reused = []
|
||||
for proof in json.loads((PRIOR / "core-support-proofs.json").read_text()):
|
||||
if proof["path"] == "LICENSE":
|
||||
reused.append(
|
||||
dict(
|
||||
prior_manifest="docs/hel-892/batch177-controlnet-provenance/core-support-proofs.json",
|
||||
original_record=proof,
|
||||
reason="independent license at the same exact core commit",
|
||||
)
|
||||
)
|
||||
for proof in json.loads((PRIOR / "release-member-proofs.json").read_text()):
|
||||
if proof["name"] in ("__init__.py", "node_wrappers/dwpose.py", "LICENSE.txt"):
|
||||
reused.append(
|
||||
dict(
|
||||
prior_manifest="docs/hel-892/batch177-controlnet-provenance/release-member-proofs.json",
|
||||
original_record=proof,
|
||||
reason="same exact aux1.1.5 member; retain own retrieval record",
|
||||
)
|
||||
)
|
||||
write("reused-source-records.json", reused)
|
||||
lines = [
|
||||
"# 第178包:AIO33/34返回协议条件结论",
|
||||
"",
|
||||
"只核case01与aux1.1.5准确文本,以及core0.21.1/0.17.0各自准确commit。"
|
||||
"不把原图混合节点版本推成宿主引擎版本。以下是AST/文本分支分析;真实引擎测试0,目标请求0。",
|
||||
"",
|
||||
"## 结论",
|
||||
"",
|
||||
"aux的AIO.execute直接返回被选FUNCTION结果;其RETURN_TYPES只有IMAGE,"
|
||||
"DWPreprocessor和AnimalPosePreprocessor的estimate_pose实际源码都返回dict:"
|
||||
"ui.openpose_json为字符串列表,result为(out, self.openpose_dicts)二项tuple。"
|
||||
"AIO未重包装/截断,也没有OUTPUT_IS_LIST属性;不是把被调类的RETURN_TYPES自动继承给AIO。",
|
||||
"两版core的get_input_data、get_output_from_returns、merge_result_data三个函数AST相同。"
|
||||
"它们在dict无expand且有result、无ExecutionBlocker、无显式OUTPUT_IS_LIST的普通分支,"
|
||||
"按第一份实际result长度合并,因此两项都保留到构造的CacheEntry.outputs。"
|
||||
"仅凭AIO声明单IMAGE,不足以断言额外项必拒绝或必丢弃。",
|
||||
"case01只有33出口0→36.images、34出口0→37.images,未消费出口1。"
|
||||
"若另造索引1连线,验证用上游RETURN_TYPES索引,而AIO只声明一项,会产生IndexError,"
|
||||
"递归/外层验证捕获并影响相关输出。实际缓存多一项不使声明索引1合法;本轮没有改图或构造prompt。",
|
||||
"保留也有条件:显式OUTPUT_IS_LIST比实际结果短时zip可能截断;批次返回长度不一致可能越界;"
|
||||
"expand、V3 NodeOutput、ExecutionBlocker及未决任务另有分支。"
|
||||
"UI数据被拆分/合并/缓存或发送,不证明前端实际渲染。"
|
||||
"类型声明相容不证明实际张量、图像/姿态质量、依赖可用或整个case01执行成功。",
|
||||
"",
|
||||
"## 两版分别列证(不能互代或认证当前宿主)",
|
||||
"",
|
||||
"|版本/分支|条件|结果|错误或终止边界|证据函数/行|",
|
||||
"|---|---|---|---|---|",
|
||||
]
|
||||
for row in matrix["branches"]:
|
||||
lines.append(
|
||||
"|"
|
||||
+ "|".join(
|
||||
str(v).replace("|", "\\|")
|
||||
for v in (
|
||||
row["id"],
|
||||
row["condition"],
|
||||
row["output"],
|
||||
row["error"],
|
||||
row["evidence"] + " " + str(row["lines"]),
|
||||
)
|
||||
)
|
||||
+ "|"
|
||||
)
|
||||
lines += [
|
||||
"",
|
||||
"## 输入与错误传播",
|
||||
"",
|
||||
"get_input_data首先调用INPUT_TYPES,再根据schema与is_link识别输入。"
|
||||
"缺执行缓存/无outputs或索引大于等于实际长度会mark_missing,不代表成功或必定当场抛错。"
|
||||
"普通输入按列表切片传给同步/异步FUNCTION;插件异常、UI键不一致或不可迭代、合并越界等"
|
||||
"在execute捕获为FAILURE;中断单列。",
|
||||
"validate_inputs将上游声明与下游要求对照,类型不合可记return_type_mismatch;"
|
||||
"上游递归异常与输出外层异常分开。validate_prompt没有good_outputs才整体失败,"
|
||||
"有其它good_outputs可只忽略失败输出;不能把任何局部异常泛化成所有分支失败。",
|
||||
"执行/验证整体函数并不跨版本全等;各版本完整原文、条件行、Git blob/SHA和UTC时刻分别保留。"
|
||||
"只针对本案相同的三函数给AST相等结论,不借近版或main。",
|
||||
"",
|
||||
"## 终止点及下一阶段",
|
||||
"",
|
||||
"宿主真实core版本、安装字节、插件加载/依赖、原前端恢复和真实输出仍未知;"
|
||||
"本包到准确文本分支结束,不认证兼容/质量/锁音/实跑,不填任何资格时间戳。"
|
||||
"协议样本只用惰性JSON token描述返回形状和证据索引,不运行或复制上游执行器,"
|
||||
"不将自制模拟当真实引擎测试,也不为文字变更编写镜像实现测试。",
|
||||
"具体目标核对方案见target-plan.json及方案给总管.md:先确认实际服务绑定/地址/方式与授权,"
|
||||
"优先有限安装摘要;动态object_info另获知情确认,INPUT_TYPES可能运行插件并动态枚举,"
|
||||
"GET不承诺无副作用。项目192.168.200.15只是测试机指针,不猜端口或沿用旧地址。",
|
||||
"未发现本项目具体产品缺陷,不因单声明/双result制造截断补丁。实际目标若与条件版本不同,"
|
||||
"必须另列准确分支或unknown,再由总管汇总最小提案,当前不实施。",
|
||||
"",
|
||||
"## 冻结",
|
||||
"",
|
||||
"175/176/177全闭包与全部旧文件逐字节冻结。155块/pin、10761值/287注释、163原件、"
|
||||
"全停用draft/unchecked、空定稿/实跑时间及16/139、1217/3660/294原口径保持;"
|
||||
"最终定稿/新增可靠转换/真实生成仍0,rCM排除。未推进179。",
|
||||
"",
|
||||
]
|
||||
with (HERE / "返回协议说明.md").open("x", encoding="utf-8") as stream:
|
||||
stream.write("\n".join(lines))
|
||||
print("reversible Chinese branch report, reused own source records written")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,95 @@
|
||||
[
|
||||
{
|
||||
"prior_manifest": "docs/hel-892/batch177-controlnet-provenance/core-support-proofs.json",
|
||||
"original_record": {
|
||||
"repository": "https://github.com/Comfy-Org/ComfyUI",
|
||||
"version": "0.21.1",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"path": "LICENSE",
|
||||
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"retrieved_at": "2026-11-01T22:34:09.675262+00:00",
|
||||
"request_key": "core-support-0-21-1-2",
|
||||
"file": "release-members/core-0.21.1__LICENSE.txt"
|
||||
},
|
||||
"reason": "independent license at the same exact core commit"
|
||||
},
|
||||
{
|
||||
"prior_manifest": "docs/hel-892/batch177-controlnet-provenance/core-support-proofs.json",
|
||||
"original_record": {
|
||||
"repository": "https://github.com/Comfy-Org/ComfyUI",
|
||||
"version": "0.17.0",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"path": "LICENSE",
|
||||
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"retrieved_at": "2026-11-01T22:34:10.932506+00:00",
|
||||
"request_key": "core-support-0-17-0-2",
|
||||
"file": "release-members/core-0.17.0__LICENSE.txt"
|
||||
},
|
||||
"reason": "independent license at the same exact core commit"
|
||||
},
|
||||
{
|
||||
"prior_manifest": "docs/hel-892/batch177-controlnet-provenance/release-member-proofs.json",
|
||||
"original_record": {
|
||||
"name": "__init__.py",
|
||||
"flags": 0,
|
||||
"method": 8,
|
||||
"crc32": 280110504,
|
||||
"compressed_bytes": 2888,
|
||||
"bytes": 8822,
|
||||
"local_offset": 252534,
|
||||
"sha256": "9a5786ef9569223acd235676c08297aff78b2de1e46ab69c96665222b8c2a4b4",
|
||||
"file": "release-members/__init__.py",
|
||||
"retrieved_at": "2026-11-01T22:32:39.614355+00:00",
|
||||
"header_request": "member-00-header",
|
||||
"name_request": "member-00-name",
|
||||
"data_request": "member-00-data",
|
||||
"whole_artifact_sha256": null,
|
||||
"git_release_commit": null
|
||||
},
|
||||
"reason": "same exact aux1.1.5 member; retain own retrieval record"
|
||||
},
|
||||
{
|
||||
"prior_manifest": "docs/hel-892/batch177-controlnet-provenance/release-member-proofs.json",
|
||||
"original_record": {
|
||||
"name": "LICENSE.txt",
|
||||
"flags": 0,
|
||||
"method": 8,
|
||||
"crc32": 2069693628,
|
||||
"compressed_bytes": 3948,
|
||||
"bytes": 11357,
|
||||
"local_offset": 1507,
|
||||
"sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4",
|
||||
"file": "release-members/LICENSE.txt",
|
||||
"retrieved_at": "2026-11-01T22:32:42.466815+00:00",
|
||||
"header_request": "member-04-header",
|
||||
"name_request": "member-04-name",
|
||||
"data_request": "member-04-data",
|
||||
"whole_artifact_sha256": null,
|
||||
"git_release_commit": null
|
||||
},
|
||||
"reason": "same exact aux1.1.5 member; retain own retrieval record"
|
||||
},
|
||||
{
|
||||
"prior_manifest": "docs/hel-892/batch177-controlnet-provenance/release-member-proofs.json",
|
||||
"original_record": {
|
||||
"name": "node_wrappers/dwpose.py",
|
||||
"flags": 0,
|
||||
"method": 8,
|
||||
"crc32": 2055699912,
|
||||
"compressed_bytes": 1621,
|
||||
"bytes": 7101,
|
||||
"local_offset": 25051909,
|
||||
"sha256": "3b08fb623ea3898cedf864e96cfd7993265101100a3dd9666a6c66b03c15e481",
|
||||
"file": "release-members/node_wrappers__dwpose.py",
|
||||
"retrieved_at": "2026-11-01T22:32:47.809630+00:00",
|
||||
"header_request": "member-11-header",
|
||||
"name_request": "member-11-name",
|
||||
"data_request": "member-11-data",
|
||||
"whole_artifact_sha256": null,
|
||||
"git_release_commit": null
|
||||
},
|
||||
"reason": "same exact aux1.1.5 member; retain own retrieval record"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,47 @@
|
||||
"""Exclusive foreground batch178 logs; no background work or cross-batch glob."""
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
LOCAL = ROOT / ".local-evidence/batch178-aio-protocol"
|
||||
|
||||
|
||||
def main():
|
||||
key, *command = sys.argv[1:]
|
||||
assert key.replace("-", "").isalnum() and command
|
||||
paths = [LOCAL / "logs" / f"batch178-aio-protocol-{key}.{s}.txt" for s in ("stdout", "stderr")]
|
||||
record = LOCAL / "records" / (key + ".json")
|
||||
assert not record.exists() and not any(p.exists() for p in paths)
|
||||
with paths[0].open("xb") as stdout, paths[1].open("xb") as stderr:
|
||||
result = subprocess.run(command, cwd=ROOT, stdout=stdout, stderr=stderr)
|
||||
with record.open("x") as f:
|
||||
json.dump(
|
||||
dict(
|
||||
key=key,
|
||||
command=command,
|
||||
cwd="repository root",
|
||||
returncode=result.returncode,
|
||||
logs=[
|
||||
dict(
|
||||
path=str(p.relative_to(ROOT)),
|
||||
bytes=p.stat().st_size,
|
||||
sha256=hashlib.sha256(p.read_bytes()).hexdigest(),
|
||||
)
|
||||
for p in paths
|
||||
],
|
||||
),
|
||||
f,
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
f.write("\n")
|
||||
print(key, "exit", result.returncode)
|
||||
raise SystemExit(result.returncode)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,337 @@
|
||||
from __future__ import annotations
|
||||
from typing import Type, Literal
|
||||
|
||||
import nodes
|
||||
import asyncio
|
||||
import inspect
|
||||
from comfy_execution.graph_utils import is_link, ExecutionBlocker
|
||||
from comfy.comfy_types.node_typing import ComfyNodeABC, InputTypeDict, InputTypeOptions
|
||||
|
||||
# NOTE: ExecutionBlocker code got moved to graph_utils.py to prevent torch being imported too soon during unit tests
|
||||
ExecutionBlocker = ExecutionBlocker
|
||||
|
||||
class DependencyCycleError(Exception):
|
||||
pass
|
||||
|
||||
class NodeInputError(Exception):
|
||||
pass
|
||||
|
||||
class NodeNotFoundError(Exception):
|
||||
pass
|
||||
|
||||
class DynamicPrompt:
|
||||
def __init__(self, original_prompt):
|
||||
# The original prompt provided by the user
|
||||
self.original_prompt = original_prompt
|
||||
# Any extra pieces of the graph created during execution
|
||||
self.ephemeral_prompt = {}
|
||||
self.ephemeral_parents = {}
|
||||
self.ephemeral_display = {}
|
||||
|
||||
def get_node(self, node_id):
|
||||
if node_id in self.ephemeral_prompt:
|
||||
return self.ephemeral_prompt[node_id]
|
||||
if node_id in self.original_prompt:
|
||||
return self.original_prompt[node_id]
|
||||
raise NodeNotFoundError(f"Node {node_id} not found")
|
||||
|
||||
def has_node(self, node_id):
|
||||
return node_id in self.original_prompt or node_id in self.ephemeral_prompt
|
||||
|
||||
def add_ephemeral_node(self, node_id, node_info, parent_id, display_id):
|
||||
self.ephemeral_prompt[node_id] = node_info
|
||||
self.ephemeral_parents[node_id] = parent_id
|
||||
self.ephemeral_display[node_id] = display_id
|
||||
|
||||
def get_real_node_id(self, node_id):
|
||||
while node_id in self.ephemeral_parents:
|
||||
node_id = self.ephemeral_parents[node_id]
|
||||
return node_id
|
||||
|
||||
def get_parent_node_id(self, node_id):
|
||||
return self.ephemeral_parents.get(node_id, None)
|
||||
|
||||
def get_display_node_id(self, node_id):
|
||||
while node_id in self.ephemeral_display:
|
||||
node_id = self.ephemeral_display[node_id]
|
||||
return node_id
|
||||
|
||||
def all_node_ids(self):
|
||||
return set(self.original_prompt.keys()).union(set(self.ephemeral_prompt.keys()))
|
||||
|
||||
def get_original_prompt(self):
|
||||
return self.original_prompt
|
||||
|
||||
def get_input_info(
|
||||
class_def: Type[ComfyNodeABC],
|
||||
input_name: str,
|
||||
valid_inputs: InputTypeDict | None = None
|
||||
) -> tuple[str, Literal["required", "optional", "hidden"], InputTypeOptions] | tuple[None, None, None]:
|
||||
"""Get the input type, category, and extra info for a given input name.
|
||||
|
||||
Arguments:
|
||||
class_def: The class definition of the node.
|
||||
input_name: The name of the input to get info for.
|
||||
valid_inputs: The valid inputs for the node, or None to use the class_def.INPUT_TYPES().
|
||||
|
||||
Returns:
|
||||
tuple[str, str, dict] | tuple[None, None, None]: The input type, category, and extra info for the input name.
|
||||
"""
|
||||
|
||||
valid_inputs = valid_inputs or class_def.INPUT_TYPES()
|
||||
input_info = None
|
||||
input_category = None
|
||||
if "required" in valid_inputs and input_name in valid_inputs["required"]:
|
||||
input_category = "required"
|
||||
input_info = valid_inputs["required"][input_name]
|
||||
elif "optional" in valid_inputs and input_name in valid_inputs["optional"]:
|
||||
input_category = "optional"
|
||||
input_info = valid_inputs["optional"][input_name]
|
||||
elif "hidden" in valid_inputs and input_name in valid_inputs["hidden"]:
|
||||
input_category = "hidden"
|
||||
input_info = valid_inputs["hidden"][input_name]
|
||||
if input_info is None:
|
||||
return None, None, None
|
||||
input_type = input_info[0]
|
||||
if len(input_info) > 1:
|
||||
extra_info = input_info[1]
|
||||
else:
|
||||
extra_info = {}
|
||||
# if input_type is a list, it is a Combo defined in outdated format; convert it.
|
||||
# NOTE: uncomment this when we are confident old format going away won't cause too much trouble.
|
||||
# if isinstance(input_type, list):
|
||||
# extra_info["options"] = input_type
|
||||
# input_type = IO.Combo.io_type
|
||||
return input_type, input_category, extra_info
|
||||
|
||||
class TopologicalSort:
|
||||
def __init__(self, dynprompt):
|
||||
self.dynprompt = dynprompt
|
||||
self.pendingNodes = {}
|
||||
self.blockCount = {} # Number of nodes this node is directly blocked by
|
||||
self.blocking = {} # Which nodes are blocked by this node
|
||||
self.externalBlocks = 0
|
||||
self.unblockedEvent = asyncio.Event()
|
||||
|
||||
def get_input_info(self, unique_id, input_name):
|
||||
class_type = self.dynprompt.get_node(unique_id)["class_type"]
|
||||
class_def = nodes.NODE_CLASS_MAPPINGS[class_type]
|
||||
return get_input_info(class_def, input_name)
|
||||
|
||||
def make_input_strong_link(self, to_node_id, to_input):
|
||||
inputs = self.dynprompt.get_node(to_node_id)["inputs"]
|
||||
if to_input not in inputs:
|
||||
raise NodeInputError(f"Node {to_node_id} says it needs input {to_input}, but there is no input to that node at all")
|
||||
value = inputs[to_input]
|
||||
if not is_link(value):
|
||||
raise NodeInputError(f"Node {to_node_id} says it needs input {to_input}, but that value is a constant")
|
||||
from_node_id, from_socket = value
|
||||
self.add_strong_link(from_node_id, from_socket, to_node_id)
|
||||
|
||||
def add_strong_link(self, from_node_id, from_socket, to_node_id):
|
||||
if not self.is_cached(from_node_id):
|
||||
self.add_node(from_node_id)
|
||||
if to_node_id not in self.blocking[from_node_id]:
|
||||
self.blocking[from_node_id][to_node_id] = {}
|
||||
self.blockCount[to_node_id] += 1
|
||||
self.blocking[from_node_id][to_node_id][from_socket] = True
|
||||
|
||||
def add_node(self, node_unique_id, include_lazy=False, subgraph_nodes=None):
|
||||
node_ids = [node_unique_id]
|
||||
links = []
|
||||
|
||||
while len(node_ids) > 0:
|
||||
unique_id = node_ids.pop()
|
||||
if unique_id in self.pendingNodes:
|
||||
continue
|
||||
|
||||
self.pendingNodes[unique_id] = True
|
||||
self.blockCount[unique_id] = 0
|
||||
self.blocking[unique_id] = {}
|
||||
|
||||
inputs = self.dynprompt.get_node(unique_id)["inputs"]
|
||||
for input_name in inputs:
|
||||
value = inputs[input_name]
|
||||
if is_link(value):
|
||||
from_node_id, from_socket = value
|
||||
if subgraph_nodes is not None and from_node_id not in subgraph_nodes:
|
||||
continue
|
||||
_, _, input_info = self.get_input_info(unique_id, input_name)
|
||||
is_lazy = input_info is not None and "lazy" in input_info and input_info["lazy"]
|
||||
if (include_lazy or not is_lazy):
|
||||
if not self.is_cached(from_node_id):
|
||||
node_ids.append(from_node_id)
|
||||
links.append((from_node_id, from_socket, unique_id))
|
||||
|
||||
for link in links:
|
||||
self.add_strong_link(*link)
|
||||
|
||||
def add_external_block(self, node_id):
|
||||
assert node_id in self.blockCount, "Can't add external block to a node that isn't pending"
|
||||
self.externalBlocks += 1
|
||||
self.blockCount[node_id] += 1
|
||||
def unblock():
|
||||
self.externalBlocks -= 1
|
||||
self.blockCount[node_id] -= 1
|
||||
self.unblockedEvent.set()
|
||||
return unblock
|
||||
|
||||
def is_cached(self, node_id):
|
||||
return False
|
||||
|
||||
def get_ready_nodes(self):
|
||||
return [node_id for node_id in self.pendingNodes if self.blockCount[node_id] == 0]
|
||||
|
||||
def pop_node(self, unique_id):
|
||||
del self.pendingNodes[unique_id]
|
||||
for blocked_node_id in self.blocking[unique_id]:
|
||||
self.blockCount[blocked_node_id] -= 1
|
||||
del self.blocking[unique_id]
|
||||
|
||||
def is_empty(self):
|
||||
return len(self.pendingNodes) == 0
|
||||
|
||||
class ExecutionList(TopologicalSort):
|
||||
"""
|
||||
ExecutionList implements a topological dissolve of the graph. After a node is staged for execution,
|
||||
it can still be returned to the graph after having further dependencies added.
|
||||
"""
|
||||
def __init__(self, dynprompt, output_cache):
|
||||
super().__init__(dynprompt)
|
||||
self.output_cache = output_cache
|
||||
self.staged_node_id = None
|
||||
self.execution_cache = {}
|
||||
self.execution_cache_listeners = {}
|
||||
|
||||
def is_cached(self, node_id):
|
||||
return self.output_cache.get(node_id) is not None
|
||||
|
||||
def cache_link(self, from_node_id, to_node_id):
|
||||
if to_node_id not in self.execution_cache:
|
||||
self.execution_cache[to_node_id] = {}
|
||||
self.execution_cache[to_node_id][from_node_id] = self.output_cache.get(from_node_id)
|
||||
if from_node_id not in self.execution_cache_listeners:
|
||||
self.execution_cache_listeners[from_node_id] = set()
|
||||
self.execution_cache_listeners[from_node_id].add(to_node_id)
|
||||
|
||||
def get_cache(self, from_node_id, to_node_id):
|
||||
if to_node_id not in self.execution_cache:
|
||||
return None
|
||||
value = self.execution_cache[to_node_id].get(from_node_id)
|
||||
if value is None:
|
||||
return None
|
||||
#Write back to the main cache on touch.
|
||||
self.output_cache.set(from_node_id, value)
|
||||
return value
|
||||
|
||||
def cache_update(self, node_id, value):
|
||||
if node_id in self.execution_cache_listeners:
|
||||
for to_node_id in self.execution_cache_listeners[node_id]:
|
||||
if to_node_id in self.execution_cache:
|
||||
self.execution_cache[to_node_id][node_id] = value
|
||||
|
||||
def add_strong_link(self, from_node_id, from_socket, to_node_id):
|
||||
super().add_strong_link(from_node_id, from_socket, to_node_id)
|
||||
self.cache_link(from_node_id, to_node_id)
|
||||
|
||||
async def stage_node_execution(self):
|
||||
assert self.staged_node_id is None
|
||||
if self.is_empty():
|
||||
return None, None, None
|
||||
available = self.get_ready_nodes()
|
||||
while len(available) == 0 and self.externalBlocks > 0:
|
||||
# Wait for an external block to be released
|
||||
await self.unblockedEvent.wait()
|
||||
self.unblockedEvent.clear()
|
||||
available = self.get_ready_nodes()
|
||||
if len(available) == 0:
|
||||
cycled_nodes = self.get_nodes_in_cycle()
|
||||
# Because cycles composed entirely of static nodes are caught during initial validation,
|
||||
# we will 'blame' the first node in the cycle that is not a static node.
|
||||
blamed_node = cycled_nodes[0]
|
||||
for node_id in cycled_nodes:
|
||||
display_node_id = self.dynprompt.get_display_node_id(node_id)
|
||||
if display_node_id != node_id:
|
||||
blamed_node = display_node_id
|
||||
break
|
||||
ex = DependencyCycleError("Dependency cycle detected")
|
||||
error_details = {
|
||||
"node_id": blamed_node,
|
||||
"exception_message": str(ex),
|
||||
"exception_type": "graph.DependencyCycleError",
|
||||
"traceback": [],
|
||||
"current_inputs": []
|
||||
}
|
||||
return None, error_details, ex
|
||||
|
||||
self.staged_node_id = self.ux_friendly_pick_node(available)
|
||||
return self.staged_node_id, None, None
|
||||
|
||||
def ux_friendly_pick_node(self, node_list):
|
||||
# If an output node is available, do that first.
|
||||
# Technically this has no effect on the overall length of execution, but it feels better as a user
|
||||
# for a PreviewImage to display a result as soon as it can
|
||||
# Some other heuristics could probably be used here to improve the UX further.
|
||||
def is_output(node_id):
|
||||
class_type = self.dynprompt.get_node(node_id)["class_type"]
|
||||
class_def = nodes.NODE_CLASS_MAPPINGS[class_type]
|
||||
if hasattr(class_def, 'OUTPUT_NODE') and class_def.OUTPUT_NODE == True:
|
||||
return True
|
||||
return False
|
||||
|
||||
# If an available node is async, do that first.
|
||||
# This will execute the asynchronous function earlier, reducing the overall time.
|
||||
def is_async(node_id):
|
||||
class_type = self.dynprompt.get_node(node_id)["class_type"]
|
||||
class_def = nodes.NODE_CLASS_MAPPINGS[class_type]
|
||||
return inspect.iscoroutinefunction(getattr(class_def, class_def.FUNCTION))
|
||||
|
||||
for node_id in node_list:
|
||||
if is_output(node_id) or is_async(node_id):
|
||||
return node_id
|
||||
|
||||
#This should handle the VAEDecode -> preview case
|
||||
for node_id in node_list:
|
||||
for blocked_node_id in self.blocking[node_id]:
|
||||
if is_output(blocked_node_id):
|
||||
return node_id
|
||||
|
||||
#This should handle the VAELoader -> VAEDecode -> preview case
|
||||
for node_id in node_list:
|
||||
for blocked_node_id in self.blocking[node_id]:
|
||||
for blocked_node_id1 in self.blocking[blocked_node_id]:
|
||||
if is_output(blocked_node_id1):
|
||||
return node_id
|
||||
|
||||
#TODO: this function should be improved
|
||||
return node_list[0]
|
||||
|
||||
def unstage_node_execution(self):
|
||||
assert self.staged_node_id is not None
|
||||
self.staged_node_id = None
|
||||
|
||||
def complete_node_execution(self):
|
||||
node_id = self.staged_node_id
|
||||
self.pop_node(node_id)
|
||||
self.execution_cache.pop(node_id, None)
|
||||
self.execution_cache_listeners.pop(node_id, None)
|
||||
self.staged_node_id = None
|
||||
|
||||
def get_nodes_in_cycle(self):
|
||||
# We'll dissolve the graph in reverse topological order to leave only the nodes in the cycle.
|
||||
# We're skipping some of the performance optimizations from the original TopologicalSort to keep
|
||||
# the code simple (and because having a cycle in the first place is a catastrophic error)
|
||||
blocked_by = { node_id: {} for node_id in self.pendingNodes }
|
||||
for from_node_id in self.blocking:
|
||||
for to_node_id in self.blocking[from_node_id]:
|
||||
if True in self.blocking[from_node_id][to_node_id].values():
|
||||
blocked_by[to_node_id][from_node_id] = True
|
||||
to_remove = [node_id for node_id in blocked_by if len(blocked_by[node_id]) == 0]
|
||||
while len(to_remove) > 0:
|
||||
for node_id in to_remove:
|
||||
for to_node_id in blocked_by:
|
||||
if node_id in blocked_by[to_node_id]:
|
||||
del blocked_by[to_node_id][node_id]
|
||||
del blocked_by[node_id]
|
||||
to_remove = [node_id for node_id in blocked_by if len(blocked_by[node_id]) == 0]
|
||||
return list(blocked_by.keys())
|
||||
+155
@@ -0,0 +1,155 @@
|
||||
def is_link(obj):
|
||||
if not isinstance(obj, list):
|
||||
return False
|
||||
if len(obj) != 2:
|
||||
return False
|
||||
if not isinstance(obj[0], str):
|
||||
return False
|
||||
if not isinstance(obj[1], int) and not isinstance(obj[1], float):
|
||||
return False
|
||||
return True
|
||||
|
||||
# The GraphBuilder is just a utility class that outputs graphs in the form expected by the ComfyUI back-end
|
||||
class GraphBuilder:
|
||||
_default_prefix_root = ""
|
||||
_default_prefix_call_index = 0
|
||||
_default_prefix_graph_index = 0
|
||||
|
||||
def __init__(self, prefix = None):
|
||||
if prefix is None:
|
||||
self.prefix = GraphBuilder.alloc_prefix()
|
||||
else:
|
||||
self.prefix = prefix
|
||||
self.nodes = {}
|
||||
self.id_gen = 1
|
||||
|
||||
@classmethod
|
||||
def set_default_prefix(cls, prefix_root, call_index, graph_index = 0):
|
||||
cls._default_prefix_root = prefix_root
|
||||
cls._default_prefix_call_index = call_index
|
||||
cls._default_prefix_graph_index = graph_index
|
||||
|
||||
@classmethod
|
||||
def alloc_prefix(cls, root=None, call_index=None, graph_index=None):
|
||||
if root is None:
|
||||
root = GraphBuilder._default_prefix_root
|
||||
if call_index is None:
|
||||
call_index = GraphBuilder._default_prefix_call_index
|
||||
if graph_index is None:
|
||||
graph_index = GraphBuilder._default_prefix_graph_index
|
||||
result = f"{root}.{call_index}.{graph_index}."
|
||||
GraphBuilder._default_prefix_graph_index += 1
|
||||
return result
|
||||
|
||||
def node(self, class_type, id=None, **kwargs):
|
||||
if id is None:
|
||||
id = str(self.id_gen)
|
||||
self.id_gen += 1
|
||||
id = self.prefix + id
|
||||
if id in self.nodes:
|
||||
return self.nodes[id]
|
||||
|
||||
node = Node(id, class_type, kwargs)
|
||||
self.nodes[id] = node
|
||||
return node
|
||||
|
||||
def lookup_node(self, id):
|
||||
id = self.prefix + id
|
||||
return self.nodes.get(id)
|
||||
|
||||
def finalize(self):
|
||||
output = {}
|
||||
for node_id, node in self.nodes.items():
|
||||
output[node_id] = node.serialize()
|
||||
return output
|
||||
|
||||
def replace_node_output(self, node_id, index, new_value):
|
||||
node_id = self.prefix + node_id
|
||||
to_remove = []
|
||||
for node in self.nodes.values():
|
||||
for key, value in node.inputs.items():
|
||||
if is_link(value) and value[0] == node_id and value[1] == index:
|
||||
if new_value is None:
|
||||
to_remove.append((node, key))
|
||||
else:
|
||||
node.inputs[key] = new_value
|
||||
for node, key in to_remove:
|
||||
del node.inputs[key]
|
||||
|
||||
def remove_node(self, id):
|
||||
id = self.prefix + id
|
||||
del self.nodes[id]
|
||||
|
||||
class Node:
|
||||
def __init__(self, id, class_type, inputs):
|
||||
self.id = id
|
||||
self.class_type = class_type
|
||||
self.inputs = inputs
|
||||
self.override_display_id = None
|
||||
|
||||
def out(self, index):
|
||||
return [self.id, index]
|
||||
|
||||
def set_input(self, key, value):
|
||||
if value is None:
|
||||
if key in self.inputs:
|
||||
del self.inputs[key]
|
||||
else:
|
||||
self.inputs[key] = value
|
||||
|
||||
def get_input(self, key):
|
||||
return self.inputs.get(key)
|
||||
|
||||
def set_override_display_id(self, override_display_id):
|
||||
self.override_display_id = override_display_id
|
||||
|
||||
def serialize(self):
|
||||
serialized = {
|
||||
"class_type": self.class_type,
|
||||
"inputs": self.inputs
|
||||
}
|
||||
if self.override_display_id is not None:
|
||||
serialized["override_display_id"] = self.override_display_id
|
||||
return serialized
|
||||
|
||||
def add_graph_prefix(graph, outputs, prefix):
|
||||
# Change the node IDs and any internal links
|
||||
new_graph = {}
|
||||
for node_id, node_info in graph.items():
|
||||
# Make sure the added nodes have unique IDs
|
||||
new_node_id = prefix + node_id
|
||||
new_node = { "class_type": node_info["class_type"], "inputs": {} }
|
||||
for input_name, input_value in node_info.get("inputs", {}).items():
|
||||
if is_link(input_value):
|
||||
new_node["inputs"][input_name] = [prefix + input_value[0], input_value[1]]
|
||||
else:
|
||||
new_node["inputs"][input_name] = input_value
|
||||
new_graph[new_node_id] = new_node
|
||||
|
||||
# Change the node IDs in the outputs
|
||||
new_outputs = []
|
||||
for n in range(len(outputs)):
|
||||
output = outputs[n]
|
||||
if is_link(output):
|
||||
new_outputs.append([prefix + output[0], output[1]])
|
||||
else:
|
||||
new_outputs.append(output)
|
||||
|
||||
return new_graph, tuple(new_outputs)
|
||||
|
||||
class ExecutionBlocker:
|
||||
"""
|
||||
Return this from a node and any users will be blocked with the given error message.
|
||||
If the message is None, execution will be blocked silently instead.
|
||||
Generally, you should avoid using this functionality unless absolutely necessary. Whenever it's
|
||||
possible, a lazy input will be more efficient and have a better user experience.
|
||||
This functionality is useful in two cases:
|
||||
1. You want to conditionally prevent an output node from executing. (Particularly a built-in node
|
||||
like SaveImage. For your own output nodes, I would recommend just adding a BOOL input and using
|
||||
lazy evaluation to let it conditionally disable itself.)
|
||||
2. You have a node with multiple possible outputs, some of which are invalid and should not be used.
|
||||
(I would recommend not making nodes like this in the future -- instead, make multiple nodes with
|
||||
different outputs. Unfortunately, there are several popular existing nodes using this pattern.)
|
||||
"""
|
||||
def __init__(self, message):
|
||||
self.message = message
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
from __future__ import annotations
|
||||
from comfy_api.latest import IO
|
||||
|
||||
|
||||
def validate_node_input(
|
||||
received_type: str, input_type: str, strict: bool = False
|
||||
) -> bool:
|
||||
"""
|
||||
received_type and input_type are both strings of the form "T1,T2,...".
|
||||
|
||||
If strict is True, the input_type must contain the received_type.
|
||||
For example, if received_type is "STRING" and input_type is "STRING,INT",
|
||||
this will return True. But if received_type is "STRING,INT" and input_type is
|
||||
"INT", this will return False.
|
||||
|
||||
If strict is False, the input_type must have overlap with the received_type.
|
||||
For example, if received_type is "STRING,BOOLEAN" and input_type is "STRING,INT",
|
||||
this will return True.
|
||||
|
||||
Supports pre-union type extension behaviour of ``__ne__`` overrides.
|
||||
"""
|
||||
# If the types are exactly the same, we can return immediately
|
||||
# Use pre-union behaviour: inverse of `__ne__`
|
||||
# NOTE: this lets legacy '*' Any types work that override the __ne__ method of the str class.
|
||||
if not received_type != input_type:
|
||||
return True
|
||||
|
||||
# If one of the types is '*', we can return True immediately; this is the 'Any' type.
|
||||
if received_type == IO.AnyType.io_type or input_type == IO.AnyType.io_type:
|
||||
return True
|
||||
|
||||
# If the received type or input_type is a MatchType, we can return True immediately;
|
||||
# validation for this is handled by the frontend
|
||||
if received_type == IO.MatchType.io_type or input_type == IO.MatchType.io_type:
|
||||
return True
|
||||
|
||||
# This accounts for some custom nodes that output lists of options as the type;
|
||||
# if we ever want to break them on purpose, this can be removed
|
||||
if isinstance(received_type, list) and input_type == IO.Combo.io_type:
|
||||
return True
|
||||
|
||||
# Not equal, and not strings
|
||||
if not isinstance(received_type, str) or not isinstance(input_type, str):
|
||||
return False
|
||||
|
||||
# Split the type strings into sets for comparison
|
||||
received_types = set(t.strip() for t in received_type.split(","))
|
||||
input_types = set(t.strip() for t in input_type.split(","))
|
||||
|
||||
# If any of the types is '*', we can return True immediately; this is the 'Any' type.
|
||||
if IO.AnyType.io_type in received_types or IO.AnyType.io_type in input_types:
|
||||
return True
|
||||
|
||||
if strict:
|
||||
# In strict mode, all received types must be in the input types
|
||||
return received_types.issubset(input_types)
|
||||
else:
|
||||
# In non-strict mode, there must be at least one type in common
|
||||
return len(received_types.intersection(input_types)) > 0
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,337 @@
|
||||
from __future__ import annotations
|
||||
from typing import Type, Literal
|
||||
|
||||
import nodes
|
||||
import asyncio
|
||||
import inspect
|
||||
from comfy_execution.graph_utils import is_link, ExecutionBlocker
|
||||
from comfy.comfy_types.node_typing import ComfyNodeABC, InputTypeDict, InputTypeOptions
|
||||
|
||||
# NOTE: ExecutionBlocker code got moved to graph_utils.py to prevent torch being imported too soon during unit tests
|
||||
ExecutionBlocker = ExecutionBlocker
|
||||
|
||||
class DependencyCycleError(Exception):
|
||||
pass
|
||||
|
||||
class NodeInputError(Exception):
|
||||
pass
|
||||
|
||||
class NodeNotFoundError(Exception):
|
||||
pass
|
||||
|
||||
class DynamicPrompt:
|
||||
def __init__(self, original_prompt):
|
||||
# The original prompt provided by the user
|
||||
self.original_prompt = original_prompt
|
||||
# Any extra pieces of the graph created during execution
|
||||
self.ephemeral_prompt = {}
|
||||
self.ephemeral_parents = {}
|
||||
self.ephemeral_display = {}
|
||||
|
||||
def get_node(self, node_id):
|
||||
if node_id in self.ephemeral_prompt:
|
||||
return self.ephemeral_prompt[node_id]
|
||||
if node_id in self.original_prompt:
|
||||
return self.original_prompt[node_id]
|
||||
raise NodeNotFoundError(f"Node {node_id} not found")
|
||||
|
||||
def has_node(self, node_id):
|
||||
return node_id in self.original_prompt or node_id in self.ephemeral_prompt
|
||||
|
||||
def add_ephemeral_node(self, node_id, node_info, parent_id, display_id):
|
||||
self.ephemeral_prompt[node_id] = node_info
|
||||
self.ephemeral_parents[node_id] = parent_id
|
||||
self.ephemeral_display[node_id] = display_id
|
||||
|
||||
def get_real_node_id(self, node_id):
|
||||
while node_id in self.ephemeral_parents:
|
||||
node_id = self.ephemeral_parents[node_id]
|
||||
return node_id
|
||||
|
||||
def get_parent_node_id(self, node_id):
|
||||
return self.ephemeral_parents.get(node_id, None)
|
||||
|
||||
def get_display_node_id(self, node_id):
|
||||
while node_id in self.ephemeral_display:
|
||||
node_id = self.ephemeral_display[node_id]
|
||||
return node_id
|
||||
|
||||
def all_node_ids(self):
|
||||
return set(self.original_prompt.keys()).union(set(self.ephemeral_prompt.keys()))
|
||||
|
||||
def get_original_prompt(self):
|
||||
return self.original_prompt
|
||||
|
||||
def get_input_info(
|
||||
class_def: Type[ComfyNodeABC],
|
||||
input_name: str,
|
||||
valid_inputs: InputTypeDict | None = None
|
||||
) -> tuple[str, Literal["required", "optional", "hidden"], InputTypeOptions] | tuple[None, None, None]:
|
||||
"""Get the input type, category, and extra info for a given input name.
|
||||
|
||||
Arguments:
|
||||
class_def: The class definition of the node.
|
||||
input_name: The name of the input to get info for.
|
||||
valid_inputs: The valid inputs for the node, or None to use the class_def.INPUT_TYPES().
|
||||
|
||||
Returns:
|
||||
tuple[str, str, dict] | tuple[None, None, None]: The input type, category, and extra info for the input name.
|
||||
"""
|
||||
|
||||
valid_inputs = valid_inputs or class_def.INPUT_TYPES()
|
||||
input_info = None
|
||||
input_category = None
|
||||
if "required" in valid_inputs and input_name in valid_inputs["required"]:
|
||||
input_category = "required"
|
||||
input_info = valid_inputs["required"][input_name]
|
||||
elif "optional" in valid_inputs and input_name in valid_inputs["optional"]:
|
||||
input_category = "optional"
|
||||
input_info = valid_inputs["optional"][input_name]
|
||||
elif "hidden" in valid_inputs and input_name in valid_inputs["hidden"]:
|
||||
input_category = "hidden"
|
||||
input_info = valid_inputs["hidden"][input_name]
|
||||
if input_info is None:
|
||||
return None, None, None
|
||||
input_type = input_info[0]
|
||||
if len(input_info) > 1:
|
||||
extra_info = input_info[1]
|
||||
else:
|
||||
extra_info = {}
|
||||
# if input_type is a list, it is a Combo defined in outdated format; convert it.
|
||||
# NOTE: uncomment this when we are confident old format going away won't cause too much trouble.
|
||||
# if isinstance(input_type, list):
|
||||
# extra_info["options"] = input_type
|
||||
# input_type = IO.Combo.io_type
|
||||
return input_type, input_category, extra_info
|
||||
|
||||
class TopologicalSort:
|
||||
def __init__(self, dynprompt):
|
||||
self.dynprompt = dynprompt
|
||||
self.pendingNodes = {}
|
||||
self.blockCount = {} # Number of nodes this node is directly blocked by
|
||||
self.blocking = {} # Which nodes are blocked by this node
|
||||
self.externalBlocks = 0
|
||||
self.unblockedEvent = asyncio.Event()
|
||||
|
||||
def get_input_info(self, unique_id, input_name):
|
||||
class_type = self.dynprompt.get_node(unique_id)["class_type"]
|
||||
class_def = nodes.NODE_CLASS_MAPPINGS[class_type]
|
||||
return get_input_info(class_def, input_name)
|
||||
|
||||
def make_input_strong_link(self, to_node_id, to_input):
|
||||
inputs = self.dynprompt.get_node(to_node_id)["inputs"]
|
||||
if to_input not in inputs:
|
||||
raise NodeInputError(f"Node {to_node_id} says it needs input {to_input}, but there is no input to that node at all")
|
||||
value = inputs[to_input]
|
||||
if not is_link(value):
|
||||
raise NodeInputError(f"Node {to_node_id} says it needs input {to_input}, but that value is a constant")
|
||||
from_node_id, from_socket = value
|
||||
self.add_strong_link(from_node_id, from_socket, to_node_id)
|
||||
|
||||
def add_strong_link(self, from_node_id, from_socket, to_node_id):
|
||||
if not self.is_cached(from_node_id):
|
||||
self.add_node(from_node_id)
|
||||
if to_node_id not in self.blocking[from_node_id]:
|
||||
self.blocking[from_node_id][to_node_id] = {}
|
||||
self.blockCount[to_node_id] += 1
|
||||
self.blocking[from_node_id][to_node_id][from_socket] = True
|
||||
|
||||
def add_node(self, node_unique_id, include_lazy=False, subgraph_nodes=None):
|
||||
node_ids = [node_unique_id]
|
||||
links = []
|
||||
|
||||
while len(node_ids) > 0:
|
||||
unique_id = node_ids.pop()
|
||||
if unique_id in self.pendingNodes:
|
||||
continue
|
||||
|
||||
self.pendingNodes[unique_id] = True
|
||||
self.blockCount[unique_id] = 0
|
||||
self.blocking[unique_id] = {}
|
||||
|
||||
inputs = self.dynprompt.get_node(unique_id)["inputs"]
|
||||
for input_name in inputs:
|
||||
value = inputs[input_name]
|
||||
if is_link(value):
|
||||
from_node_id, from_socket = value
|
||||
if subgraph_nodes is not None and from_node_id not in subgraph_nodes:
|
||||
continue
|
||||
_, _, input_info = self.get_input_info(unique_id, input_name)
|
||||
is_lazy = input_info is not None and "lazy" in input_info and input_info["lazy"]
|
||||
if (include_lazy or not is_lazy):
|
||||
if not self.is_cached(from_node_id):
|
||||
node_ids.append(from_node_id)
|
||||
links.append((from_node_id, from_socket, unique_id))
|
||||
|
||||
for link in links:
|
||||
self.add_strong_link(*link)
|
||||
|
||||
def add_external_block(self, node_id):
|
||||
assert node_id in self.blockCount, "Can't add external block to a node that isn't pending"
|
||||
self.externalBlocks += 1
|
||||
self.blockCount[node_id] += 1
|
||||
def unblock():
|
||||
self.externalBlocks -= 1
|
||||
self.blockCount[node_id] -= 1
|
||||
self.unblockedEvent.set()
|
||||
return unblock
|
||||
|
||||
def is_cached(self, node_id):
|
||||
return False
|
||||
|
||||
def get_ready_nodes(self):
|
||||
return [node_id for node_id in self.pendingNodes if self.blockCount[node_id] == 0]
|
||||
|
||||
def pop_node(self, unique_id):
|
||||
del self.pendingNodes[unique_id]
|
||||
for blocked_node_id in self.blocking[unique_id]:
|
||||
self.blockCount[blocked_node_id] -= 1
|
||||
del self.blocking[unique_id]
|
||||
|
||||
def is_empty(self):
|
||||
return len(self.pendingNodes) == 0
|
||||
|
||||
class ExecutionList(TopologicalSort):
|
||||
"""
|
||||
ExecutionList implements a topological dissolve of the graph. After a node is staged for execution,
|
||||
it can still be returned to the graph after having further dependencies added.
|
||||
"""
|
||||
def __init__(self, dynprompt, output_cache):
|
||||
super().__init__(dynprompt)
|
||||
self.output_cache = output_cache
|
||||
self.staged_node_id = None
|
||||
self.execution_cache = {}
|
||||
self.execution_cache_listeners = {}
|
||||
|
||||
def is_cached(self, node_id):
|
||||
return self.output_cache.get_local(node_id) is not None
|
||||
|
||||
def cache_link(self, from_node_id, to_node_id):
|
||||
if to_node_id not in self.execution_cache:
|
||||
self.execution_cache[to_node_id] = {}
|
||||
self.execution_cache[to_node_id][from_node_id] = self.output_cache.get_local(from_node_id)
|
||||
if from_node_id not in self.execution_cache_listeners:
|
||||
self.execution_cache_listeners[from_node_id] = set()
|
||||
self.execution_cache_listeners[from_node_id].add(to_node_id)
|
||||
|
||||
def get_cache(self, from_node_id, to_node_id):
|
||||
if to_node_id not in self.execution_cache:
|
||||
return None
|
||||
value = self.execution_cache[to_node_id].get(from_node_id)
|
||||
if value is None:
|
||||
return None
|
||||
#Write back to the main cache on touch.
|
||||
self.output_cache.set_local(from_node_id, value)
|
||||
return value
|
||||
|
||||
def cache_update(self, node_id, value):
|
||||
if node_id in self.execution_cache_listeners:
|
||||
for to_node_id in self.execution_cache_listeners[node_id]:
|
||||
if to_node_id in self.execution_cache:
|
||||
self.execution_cache[to_node_id][node_id] = value
|
||||
|
||||
def add_strong_link(self, from_node_id, from_socket, to_node_id):
|
||||
super().add_strong_link(from_node_id, from_socket, to_node_id)
|
||||
self.cache_link(from_node_id, to_node_id)
|
||||
|
||||
async def stage_node_execution(self):
|
||||
assert self.staged_node_id is None
|
||||
if self.is_empty():
|
||||
return None, None, None
|
||||
available = self.get_ready_nodes()
|
||||
while len(available) == 0 and self.externalBlocks > 0:
|
||||
# Wait for an external block to be released
|
||||
await self.unblockedEvent.wait()
|
||||
self.unblockedEvent.clear()
|
||||
available = self.get_ready_nodes()
|
||||
if len(available) == 0:
|
||||
cycled_nodes = self.get_nodes_in_cycle()
|
||||
# Because cycles composed entirely of static nodes are caught during initial validation,
|
||||
# we will 'blame' the first node in the cycle that is not a static node.
|
||||
blamed_node = cycled_nodes[0]
|
||||
for node_id in cycled_nodes:
|
||||
display_node_id = self.dynprompt.get_display_node_id(node_id)
|
||||
if display_node_id != node_id:
|
||||
blamed_node = display_node_id
|
||||
break
|
||||
ex = DependencyCycleError("Dependency cycle detected")
|
||||
error_details = {
|
||||
"node_id": blamed_node,
|
||||
"exception_message": str(ex),
|
||||
"exception_type": "graph.DependencyCycleError",
|
||||
"traceback": [],
|
||||
"current_inputs": []
|
||||
}
|
||||
return None, error_details, ex
|
||||
|
||||
self.staged_node_id = self.ux_friendly_pick_node(available)
|
||||
return self.staged_node_id, None, None
|
||||
|
||||
def ux_friendly_pick_node(self, node_list):
|
||||
# If an output node is available, do that first.
|
||||
# Technically this has no effect on the overall length of execution, but it feels better as a user
|
||||
# for a PreviewImage to display a result as soon as it can
|
||||
# Some other heuristics could probably be used here to improve the UX further.
|
||||
def is_output(node_id):
|
||||
class_type = self.dynprompt.get_node(node_id)["class_type"]
|
||||
class_def = nodes.NODE_CLASS_MAPPINGS[class_type]
|
||||
if hasattr(class_def, 'OUTPUT_NODE') and class_def.OUTPUT_NODE == True:
|
||||
return True
|
||||
return False
|
||||
|
||||
# If an available node is async, do that first.
|
||||
# This will execute the asynchronous function earlier, reducing the overall time.
|
||||
def is_async(node_id):
|
||||
class_type = self.dynprompt.get_node(node_id)["class_type"]
|
||||
class_def = nodes.NODE_CLASS_MAPPINGS[class_type]
|
||||
return inspect.iscoroutinefunction(getattr(class_def, class_def.FUNCTION))
|
||||
|
||||
for node_id in node_list:
|
||||
if is_output(node_id) or is_async(node_id):
|
||||
return node_id
|
||||
|
||||
#This should handle the VAEDecode -> preview case
|
||||
for node_id in node_list:
|
||||
for blocked_node_id in self.blocking[node_id]:
|
||||
if is_output(blocked_node_id):
|
||||
return node_id
|
||||
|
||||
#This should handle the VAELoader -> VAEDecode -> preview case
|
||||
for node_id in node_list:
|
||||
for blocked_node_id in self.blocking[node_id]:
|
||||
for blocked_node_id1 in self.blocking[blocked_node_id]:
|
||||
if is_output(blocked_node_id1):
|
||||
return node_id
|
||||
|
||||
#TODO: this function should be improved
|
||||
return node_list[0]
|
||||
|
||||
def unstage_node_execution(self):
|
||||
assert self.staged_node_id is not None
|
||||
self.staged_node_id = None
|
||||
|
||||
def complete_node_execution(self):
|
||||
node_id = self.staged_node_id
|
||||
self.pop_node(node_id)
|
||||
self.execution_cache.pop(node_id, None)
|
||||
self.execution_cache_listeners.pop(node_id, None)
|
||||
self.staged_node_id = None
|
||||
|
||||
def get_nodes_in_cycle(self):
|
||||
# We'll dissolve the graph in reverse topological order to leave only the nodes in the cycle.
|
||||
# We're skipping some of the performance optimizations from the original TopologicalSort to keep
|
||||
# the code simple (and because having a cycle in the first place is a catastrophic error)
|
||||
blocked_by = { node_id: {} for node_id in self.pendingNodes }
|
||||
for from_node_id in self.blocking:
|
||||
for to_node_id in self.blocking[from_node_id]:
|
||||
if True in self.blocking[from_node_id][to_node_id].values():
|
||||
blocked_by[to_node_id][from_node_id] = True
|
||||
to_remove = [node_id for node_id in blocked_by if len(blocked_by[node_id]) == 0]
|
||||
while len(to_remove) > 0:
|
||||
for node_id in to_remove:
|
||||
for to_node_id in blocked_by:
|
||||
if node_id in blocked_by[to_node_id]:
|
||||
del blocked_by[to_node_id][node_id]
|
||||
del blocked_by[node_id]
|
||||
to_remove = [node_id for node_id in blocked_by if len(blocked_by[node_id]) == 0]
|
||||
return list(blocked_by.keys())
|
||||
+155
@@ -0,0 +1,155 @@
|
||||
def is_link(obj):
|
||||
if not isinstance(obj, list):
|
||||
return False
|
||||
if len(obj) != 2:
|
||||
return False
|
||||
if not isinstance(obj[0], str):
|
||||
return False
|
||||
if not isinstance(obj[1], int) and not isinstance(obj[1], float):
|
||||
return False
|
||||
return True
|
||||
|
||||
# The GraphBuilder is just a utility class that outputs graphs in the form expected by the ComfyUI back-end
|
||||
class GraphBuilder:
|
||||
_default_prefix_root = ""
|
||||
_default_prefix_call_index = 0
|
||||
_default_prefix_graph_index = 0
|
||||
|
||||
def __init__(self, prefix = None):
|
||||
if prefix is None:
|
||||
self.prefix = GraphBuilder.alloc_prefix()
|
||||
else:
|
||||
self.prefix = prefix
|
||||
self.nodes = {}
|
||||
self.id_gen = 1
|
||||
|
||||
@classmethod
|
||||
def set_default_prefix(cls, prefix_root, call_index, graph_index = 0):
|
||||
cls._default_prefix_root = prefix_root
|
||||
cls._default_prefix_call_index = call_index
|
||||
cls._default_prefix_graph_index = graph_index
|
||||
|
||||
@classmethod
|
||||
def alloc_prefix(cls, root=None, call_index=None, graph_index=None):
|
||||
if root is None:
|
||||
root = GraphBuilder._default_prefix_root
|
||||
if call_index is None:
|
||||
call_index = GraphBuilder._default_prefix_call_index
|
||||
if graph_index is None:
|
||||
graph_index = GraphBuilder._default_prefix_graph_index
|
||||
result = f"{root}.{call_index}.{graph_index}."
|
||||
GraphBuilder._default_prefix_graph_index += 1
|
||||
return result
|
||||
|
||||
def node(self, class_type, id=None, **kwargs):
|
||||
if id is None:
|
||||
id = str(self.id_gen)
|
||||
self.id_gen += 1
|
||||
id = self.prefix + id
|
||||
if id in self.nodes:
|
||||
return self.nodes[id]
|
||||
|
||||
node = Node(id, class_type, kwargs)
|
||||
self.nodes[id] = node
|
||||
return node
|
||||
|
||||
def lookup_node(self, id):
|
||||
id = self.prefix + id
|
||||
return self.nodes.get(id)
|
||||
|
||||
def finalize(self):
|
||||
output = {}
|
||||
for node_id, node in self.nodes.items():
|
||||
output[node_id] = node.serialize()
|
||||
return output
|
||||
|
||||
def replace_node_output(self, node_id, index, new_value):
|
||||
node_id = self.prefix + node_id
|
||||
to_remove = []
|
||||
for node in self.nodes.values():
|
||||
for key, value in node.inputs.items():
|
||||
if is_link(value) and value[0] == node_id and value[1] == index:
|
||||
if new_value is None:
|
||||
to_remove.append((node, key))
|
||||
else:
|
||||
node.inputs[key] = new_value
|
||||
for node, key in to_remove:
|
||||
del node.inputs[key]
|
||||
|
||||
def remove_node(self, id):
|
||||
id = self.prefix + id
|
||||
del self.nodes[id]
|
||||
|
||||
class Node:
|
||||
def __init__(self, id, class_type, inputs):
|
||||
self.id = id
|
||||
self.class_type = class_type
|
||||
self.inputs = inputs
|
||||
self.override_display_id = None
|
||||
|
||||
def out(self, index):
|
||||
return [self.id, index]
|
||||
|
||||
def set_input(self, key, value):
|
||||
if value is None:
|
||||
if key in self.inputs:
|
||||
del self.inputs[key]
|
||||
else:
|
||||
self.inputs[key] = value
|
||||
|
||||
def get_input(self, key):
|
||||
return self.inputs.get(key)
|
||||
|
||||
def set_override_display_id(self, override_display_id):
|
||||
self.override_display_id = override_display_id
|
||||
|
||||
def serialize(self):
|
||||
serialized = {
|
||||
"class_type": self.class_type,
|
||||
"inputs": self.inputs
|
||||
}
|
||||
if self.override_display_id is not None:
|
||||
serialized["override_display_id"] = self.override_display_id
|
||||
return serialized
|
||||
|
||||
def add_graph_prefix(graph, outputs, prefix):
|
||||
# Change the node IDs and any internal links
|
||||
new_graph = {}
|
||||
for node_id, node_info in graph.items():
|
||||
# Make sure the added nodes have unique IDs
|
||||
new_node_id = prefix + node_id
|
||||
new_node = { "class_type": node_info["class_type"], "inputs": {} }
|
||||
for input_name, input_value in node_info.get("inputs", {}).items():
|
||||
if is_link(input_value):
|
||||
new_node["inputs"][input_name] = [prefix + input_value[0], input_value[1]]
|
||||
else:
|
||||
new_node["inputs"][input_name] = input_value
|
||||
new_graph[new_node_id] = new_node
|
||||
|
||||
# Change the node IDs in the outputs
|
||||
new_outputs = []
|
||||
for n in range(len(outputs)):
|
||||
output = outputs[n]
|
||||
if is_link(output):
|
||||
new_outputs.append([prefix + output[0], output[1]])
|
||||
else:
|
||||
new_outputs.append(output)
|
||||
|
||||
return new_graph, tuple(new_outputs)
|
||||
|
||||
class ExecutionBlocker:
|
||||
"""
|
||||
Return this from a node and any users will be blocked with the given error message.
|
||||
If the message is None, execution will be blocked silently instead.
|
||||
Generally, you should avoid using this functionality unless absolutely necessary. Whenever it's
|
||||
possible, a lazy input will be more efficient and have a better user experience.
|
||||
This functionality is useful in two cases:
|
||||
1. You want to conditionally prevent an output node from executing. (Particularly a built-in node
|
||||
like SaveImage. For your own output nodes, I would recommend just adding a BOOL input and using
|
||||
lazy evaluation to let it conditionally disable itself.)
|
||||
2. You have a node with multiple possible outputs, some of which are invalid and should not be used.
|
||||
(I would recommend not making nodes like this in the future -- instead, make multiple nodes with
|
||||
different outputs. Unfortunately, there are several popular existing nodes using this pattern.)
|
||||
"""
|
||||
def __init__(self, message):
|
||||
self.message = message
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
from __future__ import annotations
|
||||
from comfy_api.latest import IO
|
||||
|
||||
|
||||
def validate_node_input(
|
||||
received_type: str, input_type: str, strict: bool = False
|
||||
) -> bool:
|
||||
"""
|
||||
received_type and input_type are both strings of the form "T1,T2,...".
|
||||
|
||||
If strict is True, the input_type must contain the received_type.
|
||||
For example, if received_type is "STRING" and input_type is "STRING,INT",
|
||||
this will return True. But if received_type is "STRING,INT" and input_type is
|
||||
"INT", this will return False.
|
||||
|
||||
If strict is False, the input_type must have overlap with the received_type.
|
||||
For example, if received_type is "STRING,BOOLEAN" and input_type is "STRING,INT",
|
||||
this will return True.
|
||||
|
||||
Supports pre-union type extension behaviour of ``__ne__`` overrides.
|
||||
"""
|
||||
# If the types are exactly the same, we can return immediately
|
||||
# Use pre-union behaviour: inverse of `__ne__`
|
||||
# NOTE: this lets legacy '*' Any types work that override the __ne__ method of the str class.
|
||||
if not received_type != input_type:
|
||||
return True
|
||||
|
||||
# If one of the types is '*', we can return True immediately; this is the 'Any' type.
|
||||
if received_type == IO.AnyType.io_type or input_type == IO.AnyType.io_type:
|
||||
return True
|
||||
|
||||
# If the received type or input_type is a MatchType, we can return True immediately;
|
||||
# validation for this is handled by the frontend
|
||||
if received_type == IO.MatchType.io_type or input_type == IO.MatchType.io_type:
|
||||
return True
|
||||
|
||||
# This accounts for some custom nodes that output lists of options as the type;
|
||||
# if we ever want to break them on purpose, this can be removed
|
||||
if isinstance(received_type, list) and input_type == IO.Combo.io_type:
|
||||
return True
|
||||
|
||||
# Not equal, and not strings
|
||||
if not isinstance(received_type, str) or not isinstance(input_type, str):
|
||||
return False
|
||||
|
||||
# Split the type strings into sets for comparison
|
||||
received_types = set(t.strip() for t in received_type.split(","))
|
||||
input_types = set(t.strip() for t in input_type.split(","))
|
||||
|
||||
# If any of the types is '*', we can return True immediately; this is the 'Any' type.
|
||||
if IO.AnyType.io_type in received_types or IO.AnyType.io_type in input_types:
|
||||
return True
|
||||
|
||||
if strict:
|
||||
# In strict mode, all received types must be in the input types
|
||||
return received_types.issubset(input_types)
|
||||
else:
|
||||
# In non-strict mode, there must be at least one type in common
|
||||
return len(received_types.intersection(input_types)) > 0
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"status": "proposal_only_awaiting_user_confirmation_via_chief",
|
||||
"executed": false,
|
||||
"target_requests": 0,
|
||||
"candidate_machine": "192.168.200.15 (project test-server pointer only)",
|
||||
"case01_actual_host": null,
|
||||
"comfyui_base_url": null,
|
||||
"port": null,
|
||||
"access_method": null,
|
||||
"do_not_assume": ["project test server is the actual ComfyUI host", "old historical 192.168.200.12:8188 is current", "8080 or 8188", "GET is side-effect-free"],
|
||||
"facts": [
|
||||
{
|
||||
"id": "service_binding",
|
||||
"needed_now": true,
|
||||
"fact": "case01实际宿主、已有服务准确地址与访问方式;是否允许本次限定核对",
|
||||
"method": "由总管请用户确认现有服务信息;不扫描端口、不试连猜测地址、不启停服务",
|
||||
"expected": {"host": "用户确认值", "base_url": "用户确认值或明确无在线访问", "access_method": "授权方式,不在评论/包内记录凭据"},
|
||||
"accept": "明确服务与case01的关系及允许范围",
|
||||
"reject": "要求靠扫描/猜端口或启停服务才能定位",
|
||||
"missing": "目前只缺实际服务绑定/地址/访问方式及本次授权,不要求全套环境"
|
||||
},
|
||||
{
|
||||
"id": "installed_identity",
|
||||
"needed_now": true,
|
||||
"fact": "实际core版本/commit与相关执行文本摘要、aux已安装版本和相关注册/包装/schema文本摘要",
|
||||
"method": "优先由管理员从已知安装位置导出已有版本信息及下列明示文件SHA256;不导入Python、不运行INPUT_TYPES、不枚举模型/素材、不全盘搜索",
|
||||
"expected": {"recorded_at_utc": "实际采样", "core_commit_or_distribution_version": "原始值或unknown", "aux_distribution_version": "原始值或unknown", "file_sha256": "相对路径到SHA256映射;缺文件逐项标记", "credential_fields": "省略"},
|
||||
"core_file_allowlist": ["execution.py", "comfy_execution/graph.py", "comfy_execution/graph_utils.py", "comfy_execution/validation.py", "nodes.py", "comfy_extras/nodes_canny.py", "comfy_extras/nodes_images.py"],
|
||||
"aux_file_allowlist": ["pyproject.toml", "__init__.py", "utils.py", "node_wrappers/depth_anything.py", "node_wrappers/canny.py", "node_wrappers/anyline.py", "node_wrappers/lineart.py", "node_wrappers/lineart_anime.py", "node_wrappers/lineart_standard.py", "node_wrappers/dwpose.py"],
|
||||
"accept": "来源/时刻/相对路径齐全;实际core准确匹配某个已审commit才使用对应条件行,aux准确发布成员摘要相符才绑定其静态结论",
|
||||
"reject": "只给类名/目录名/近版/pyproject版本字符串,或以原图混合core声明推断宿主版本",
|
||||
"missing": "无Git或安装元数据时保留unknown;可仅补相关文件摘要,不索要整个安装/仓库",
|
||||
"qualification_effect": "只补实际安装字节身份;不证明已加载、动态注册成功、依赖可用或可执行"
|
||||
},
|
||||
{
|
||||
"id": "loaded_schema_optional",
|
||||
"needed_now": false,
|
||||
"fact": "若安装身份仍不足以确定当前已加载注册/schema,才考虑动态定义核对",
|
||||
"method": "单独说明风险并获得确认后,仅对已确认服务和其版本实际支持的定义查询接口发GET;优先逐类,若只支持全量则另行确认,不自动扩大",
|
||||
"conditional_request_example": {"method": "GET", "base_url": "<用户确认的现有服务地址>", "route": "<该准确版本支持的object_info逐类路径>", "class": "AIO_Preprocessor", "executed": false},
|
||||
"api_classes": ["AIO_Preprocessor", "DepthAnythingPreprocessor", "PreviewImage", "LoadImage", "Canny", "ImageStitch"],
|
||||
"aio_saved_selections": ["DepthAnythingPreprocessor", "CannyEdgePreprocessor", "AnyLineArtPreprocessor_aux", "LineArtPreprocessor", "AnimeLineArtPreprocessor", "LineartStandardPreprocessor", "DWPreprocessor", "AnimalPosePreprocessor"],
|
||||
"expected": {"class_name": "准确API类", "input": "required/optional及相应字段配置", "output": "声明类型", "output_is_list": "如响应提供则原样保留;缺失不补造", "source_version": "接口未提供则保持unknown", "response_sha256": "脱敏后响应字节SHA,另说明是否脱敏"},
|
||||
"side_effects": "object_info/INPUT_TYPES会调用插件代码和动态枚举;可能访问文件/远端/初始化资源。GET和字段名不能保证无副作用,实际影响未知;不以本方案承诺GPU零影响",
|
||||
"accept": "只记录已确认范围内的当前声明;AIO输出单IMAGE和静态结果二项差异继续分列,不当真实结果证明",
|
||||
"reject": "需要执行生成、加载模型、调用付费接口、扩范围扫描或出现未批准初始化行为则停止并报告",
|
||||
"missing": "接口能力/实际行为未确认或风险不可接受时不调用,保留加载态schema unknown",
|
||||
"qualification_effect": "动态声明证据仍不填定稿/实跑时间,不自动启用"
|
||||
}
|
||||
],
|
||||
"deferred_not_required_for_this_readonly_proposal": [
|
||||
"完整运行环境/所有依赖安装与GPU可用性:仅在后续授权运行准备时逐项核",
|
||||
"原前端/UE准确版本和同原SHA导出时刻:仅恢复完整等价时需要",
|
||||
"模型/素材实际路径、存在、许可证:仅后续生成/素材使用准备需要;本次不读目录",
|
||||
"真实history、产物格式/画面/质量/性能:仅单独授权实跑后核,不要求用户现在运行"
|
||||
],
|
||||
"can_continue_without_user_machine": ["按取得文本复核分支引用和静态差异", "完善已列文件摘要接收表与脱敏/缺失记录合同", "准备上述有限方案供总管确认"],
|
||||
"product_proposal": "本次没有证据表明需修改本项目产品。不得因为AIO单声明/双result直接截断或拒绝返回;如以后实际目标版本不同或出现错误,先据准确版本与响应形成最小协议合同再交总管,当前不实施补丁。",
|
||||
"forbidden_now": ["目标连接/object_info请求", "端口扫描", "执行上游/插件/SDK", "模型素材目录读取", "POST /prompt或所谓干跑", "启停TTS/ComfyUI", "修改产品/资格", "启用或实跑", "推进179"]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"frozen_files": 19459,
|
||||
"changed_old_files": [],
|
||||
"exceptions": [],
|
||||
"exact_commit_texts": 8,
|
||||
"branch_rows": 26,
|
||||
"inert_shape_annotations": 2,
|
||||
"simulated_engine_runs": 0,
|
||||
"real_engine_tests": 0,
|
||||
"target_requests": 0,
|
||||
"csv_equal": true,
|
||||
"source_evidence_checked": true,
|
||||
"tools_ast": true
|
||||
}
|
||||
@@ -0,0 +1,109 @@
|
||||
"""Check bytes, evidence links, inert annotations, plan and freeze; never execute samples."""
|
||||
|
||||
import ast
|
||||
import base64
|
||||
import csv
|
||||
import hashlib
|
||||
import json
|
||||
import sys
|
||||
|
||||
from acquire import COMMITS, sha
|
||||
from build import HERE, ROOT, write
|
||||
|
||||
|
||||
def read(name):
|
||||
return json.loads((HERE / name).read_text())
|
||||
|
||||
|
||||
def main():
|
||||
baseline = read("baseline.json")
|
||||
assert all(sha((ROOT / r["path"]).read_bytes()) == r["sha256"] for r in baseline["files"])
|
||||
proofs = read("engine-sources.json") + read("direct-sources.json")
|
||||
for proof in proofs:
|
||||
assert proof["commit"] == COMMITS[proof["version"]]
|
||||
record = read("network/" + proof["request_key"] + ".json")
|
||||
body = (HERE / "network" / (proof["request_key"] + ".body")).read_bytes()
|
||||
assert sha(body) == record["sha256"] and len(body) == record["bytes"]
|
||||
assert record["requested_url"].endswith("/" + proof["path"] + "?ref=" + proof["commit"])
|
||||
item = json.loads(body)
|
||||
raw = (HERE / proof["file"]).read_bytes()
|
||||
assert base64.b64decode(item["content"]) == raw
|
||||
assert (
|
||||
hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
|
||||
== item["sha"]
|
||||
== proof["git_blob_sha1"]
|
||||
)
|
||||
assert sha(raw) == proof["sha256"] and proof["retrieved_at"] == record["finished_at"]
|
||||
ast.parse(raw)
|
||||
evidence = read("branch-evidence.json")
|
||||
aio_class = ast.parse(evidence["aux:AIO_Preprocessor"]["original_class"]["text"]).body[0]
|
||||
assert not aio_class.bases
|
||||
assert not any(
|
||||
isinstance(n, ast.Name) and n.id == "OUTPUT_IS_LIST" for n in ast.walk(aio_class)
|
||||
)
|
||||
for ct in ("DWPreprocessor", "AnimalPosePreprocessor"):
|
||||
tree = ast.parse(evidence["aux:" + ct]["original_class"]["text"])
|
||||
fn = next(
|
||||
n
|
||||
for n in tree.body[0].body
|
||||
if isinstance(n, ast.FunctionDef) and n.name == "estimate_pose"
|
||||
)
|
||||
returned = fn.body[-1].value
|
||||
assert isinstance(returned, ast.Dict)
|
||||
values = {ast.literal_eval(k): v for k, v in zip(returned.keys, returned.values)}
|
||||
assert set(values) == {"ui", "result"}
|
||||
assert isinstance(values["result"], ast.Tuple) and len(values["result"].elts) == 2
|
||||
matrix = read("protocol-matrix.json")
|
||||
for row in matrix["branches"]:
|
||||
fragment = evidence[row["evidence"]]
|
||||
text = (HERE / fragment["source"]["file"]).read_text()
|
||||
a, b = fragment["lines"]
|
||||
assert "\n".join(text.splitlines()[a - 1 : b]) == fragment["text"]
|
||||
assert sha(fragment["text"].encode()) == fragment["sha256"]
|
||||
assert all(row["anchor"] in text.splitlines()[i - 1] for i in row["lines"])
|
||||
assert not row["engine_executed"] and row["target_compatibility"] == "unknown"
|
||||
with (HERE / "protocol-matrix.csv").open(newline="") as stream:
|
||||
rows = [{k: json.loads(v) for k, v in row.items()} for row in csv.DictReader(stream)]
|
||||
assert rows == matrix["branches"] and len(rows) == 26
|
||||
branches = {r["branch"] for r in rows}
|
||||
samples = read("inert-samples.json")["samples"]
|
||||
for sample in samples:
|
||||
assert sample["symbolic_only"] is True and sample["upstream_invoked"] is False
|
||||
assert set(sample["observed_branches"]) <= branches
|
||||
assert sample["result_python_container"] == "tuple"
|
||||
assert sample["shape"]["result"] == ["<IMAGE_TOKEN>", "<POSE_LIST_TOKEN>"]
|
||||
plan = read("target-plan.json")
|
||||
assert plan["executed"] is False and plan["target_requests"] == 0
|
||||
assert plan["comfyui_base_url"] is None and plan["port"] is None
|
||||
assert len(plan["facts"][2]["api_classes"]) == 6
|
||||
for entry in read("reused-source-records.json"):
|
||||
proof = entry["original_record"]
|
||||
path = ROOT / "docs/hel-892/batch177-controlnet-provenance" / proof["file"]
|
||||
assert sha(path.read_bytes()) == proof["sha256"]
|
||||
for path in HERE.glob("*.py"):
|
||||
ast.parse(path.read_text())
|
||||
write(
|
||||
sys.argv[1] if len(sys.argv) == 2 else "verification.json",
|
||||
dict(
|
||||
frozen_files=len(baseline["files"]),
|
||||
changed_old_files=[],
|
||||
exceptions=[],
|
||||
exact_commit_texts=len(proofs),
|
||||
branch_rows=len(rows),
|
||||
inert_shape_annotations=len(samples),
|
||||
simulated_engine_runs=0,
|
||||
real_engine_tests=0,
|
||||
target_requests=0,
|
||||
csv_equal=True,
|
||||
source_evidence_checked=True,
|
||||
tools_ast=True,
|
||||
),
|
||||
)
|
||||
print(
|
||||
len(baseline["files"]),
|
||||
"old files frozen; 26 branch rows and inert annotations checked; engine tests 0",
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,11 @@
|
||||
# 下一步最小确认建议(仅方案,未执行)
|
||||
|
||||
请总管向用户确认:**case01 实际使用哪台现有 ComfyUI 服务、准确地址和访问方式,以及是否同意先由管理员提供有限的版本/文件摘要。** 项目只记录测试服务器192.168.200.15,尚不能认定它就是宿主;不沿用历史192.168.200.12:8188,不猜端口,也不扫描。
|
||||
|
||||
建议第一步仅看已有安装信息:core版本/commit、相关执行文件摘要,以及aux版本、注册/所用包装/schema文件摘要。具体文件白名单和响应样例在 `target-plan.json`。管理员从已知安装位置导出,不导入插件、不调用INPUT_TYPES,不查模型或素材目录;这只能补实际安装字节身份,不证明已加载或能运行。无Git时可仅提供相关摘要,缺项保持unknown,不索要整个环境。
|
||||
|
||||
如仍需当前已加载schema,再单独确认是否允许定义查询。范围仅case01的6类API节点及AIO所保存8种选择,采用已确认目标版本实际支持的接口;不先填假地址或固定端口。**object_info会调用插件INPUT_TYPES和动态枚举,可能访问文件、远端或初始化资源,GET不保证无副作用,无法承诺GPU零影响。** 如风险未明就不调用,保留unknown;本包没有发任何目标请求。
|
||||
|
||||
本次不需要用户停TTS、启动ComfyUI或预留机器窗口。不请求全套模型/素材/许可证、原前端恢复材料或真实history;这些分别留到真正需要恢复/运行的阶段。无需用户机器即可继续核对已取文本、分支引用和有限摘要接收表。
|
||||
|
||||
静态返回协议没有证明本项目需要补丁:两版core在无OUTPUT_IS_LIST时按实际result长度合并,AIO额外结果可保留;case01只用出口0。不能为了让单IMAGE声明“看起来一致”直接截掉第二项。所有实际版本/安装/依赖、真实输出与资格仍未认证;用户批准前不执行本方案,不改产品、启用或实跑。
|
||||
@@ -0,0 +1,57 @@
|
||||
# 第178包:AIO33/34返回协议条件结论
|
||||
|
||||
只核case01与aux1.1.5准确文本,以及core0.21.1/0.17.0各自准确commit。不把原图混合节点版本推成宿主引擎版本。以下是AST/文本分支分析;真实引擎测试0,目标请求0。
|
||||
|
||||
## 结论
|
||||
|
||||
aux的AIO.execute直接返回被选FUNCTION结果;其RETURN_TYPES只有IMAGE,DWPreprocessor和AnimalPosePreprocessor的estimate_pose实际源码都返回dict:ui.openpose_json为字符串列表,result为(out, self.openpose_dicts)二项tuple。AIO未重包装/截断,也没有OUTPUT_IS_LIST属性;不是把被调类的RETURN_TYPES自动继承给AIO。
|
||||
两版core的get_input_data、get_output_from_returns、merge_result_data三个函数AST相同。它们在dict无expand且有result、无ExecutionBlocker、无显式OUTPUT_IS_LIST的普通分支,按第一份实际result长度合并,因此两项都保留到构造的CacheEntry.outputs。仅凭AIO声明单IMAGE,不足以断言额外项必拒绝或必丢弃。
|
||||
case01只有33出口0→36.images、34出口0→37.images,未消费出口1。若另造索引1连线,验证用上游RETURN_TYPES索引,而AIO只声明一项,会产生IndexError,递归/外层验证捕获并影响相关输出。实际缓存多一项不使声明索引1合法;本轮没有改图或构造prompt。
|
||||
保留也有条件:显式OUTPUT_IS_LIST比实际结果短时zip可能截断;批次返回长度不一致可能越界;expand、V3 NodeOutput、ExecutionBlocker及未决任务另有分支。UI数据被拆分/合并/缓存或发送,不证明前端实际渲染。类型声明相容不证明实际张量、图像/姿态质量、依赖可用或整个case01执行成功。
|
||||
|
||||
## 两版分别列证(不能互代或认证当前宿主)
|
||||
|
||||
|版本/分支|条件|结果|错误或终止边界|证据函数/行|
|
||||
|---|---|---|---|---|
|
||||
|0.21.1:dict_ui|dict含ui;本案ui.openpose_json是字符串列表|uis追加ui,最后按首个UI字典的key合并;这是引擎UI数据,不证明前端展示|UI键不一致或值不可迭代可在合并处抛异常|0.21.1:get_output_from_returns [350]|
|
||||
|0.21.1:dict_result|dict有result且无expand;本案result为二项tuple|把完整result加入results,不按RETURN_TYPES裁剪|不是这一步拒绝额外返回;result形状错误会在后续合并出错|0.21.1:get_output_from_returns [360]|
|
||||
|0.21.1:expand|dict有expand(本案无)|has_subgraph,交subgraph_results,不走普通合并|不能把普通分支结论套到扩图|0.21.1:get_output_from_returns [352]|
|
||||
|0.21.1:tuple|普通tuple,非dict/NodeOutput/ExecutionBlocker|完整tuple加入results;本案包装返回dict,tuple在result内|非tuple对象不因本分支自动合法|0.21.1:get_output_from_returns [389]|
|
||||
|0.21.1:blocker|ExecutionBlocker或V3阻断(本案无)|阻断占位按声明RETURN_TYPES长度构造|这不等同普通额外返回按声明截断|0.21.1:get_output_from_returns [358, 363, 378, 383, 388]|
|
||||
|0.21.1:merge_actual_length|无OUTPUT_IS_LIST属性;准确aux AIO类无此属性且仅继承object|按首份实际result二项长度生成两个合并输出,不因单IMAGE声明拒绝或丢弃第二项|后续result比首份短可能IndexError;长于首份的尾项不会进入首份长度循环|0.21.1:merge_result_data [316]|
|
||||
|0.21.1:merge_override|存在显式OUTPUT_IS_LIST(本案AIO无)|zip长度取短;若显式列表仅一项则只合并第一项|额外项可能在此条件下丢弃;不是RETURN_TYPES导致|0.21.1:merge_result_data [321]|
|
||||
|0.21.1:cache|普通返回,无扩图/未决任务且未出错|CacheEntry的outputs保存完整合并output_data;graph cache_update/get_cache原样传CacheEntry|缓存provider、实际执行/缓存命中与后续持久性不在此认证|0.21.1:execute [601]|
|
||||
|0.21.1:consume|有缓存且索引未超实际outputs长度;case01分别33→36及34→37,均索引0|取实际缓存出口0,额外出口1未被本case01消费|缺缓存/越界先mark_missing;不等同自动成功或一定立刻抛错|0.21.1:get_input_data [182]|
|
||||
|0.21.1:declared_index|建立新增索引1输入连线时,AIO声明只有IMAGE一项|按上游RETURN_TYPES索引检查,索引1发生IndexError;实际缓存有两项不绕过此检查|由递归或外层validate_prompt捕获,形成inner_validation或validation异常;不认证新增连线可用|0.21.1:validate_inputs [905]|
|
||||
|0.21.1:type|声明类型与下游要求不相容且未由自定义input_types验证替代|记录return_type_mismatch并继续失败归因|类型吻合只证明声明校验,不证明真实值类型/质量|0.21.1:validate_inputs [910]|
|
||||
|0.21.1:execution_error|调用、拆分、UI合并或结果合并等执行路径抛异常|返回ExecutionResult.FAILURE与异常详情;中断有独立分支|不是将错误result静默裁为单项成功|0.21.1:execute [451, 614]|
|
||||
|0.21.1:validation_error|没有good_outputs|返回失败;如存在其它合法输出,可只忽略失败输出|不能泛称任一错误必然阻止所有独立输出|0.21.1:validate_prompt [1209]|
|
||||
|0.17.0:dict_ui|dict含ui;本案ui.openpose_json是字符串列表|uis追加ui,最后按首个UI字典的key合并;这是引擎UI数据,不证明前端展示|UI键不一致或值不可迭代可在合并处抛异常|0.17.0:get_output_from_returns [348]|
|
||||
|0.17.0:dict_result|dict有result且无expand;本案result为二项tuple|把完整result加入results,不按RETURN_TYPES裁剪|不是这一步拒绝额外返回;result形状错误会在后续合并出错|0.17.0:get_output_from_returns [358]|
|
||||
|0.17.0:expand|dict有expand(本案无)|has_subgraph,交subgraph_results,不走普通合并|不能把普通分支结论套到扩图|0.17.0:get_output_from_returns [350]|
|
||||
|0.17.0:tuple|普通tuple,非dict/NodeOutput/ExecutionBlocker|完整tuple加入results;本案包装返回dict,tuple在result内|非tuple对象不因本分支自动合法|0.17.0:get_output_from_returns [387]|
|
||||
|0.17.0:blocker|ExecutionBlocker或V3阻断(本案无)|阻断占位按声明RETURN_TYPES长度构造|这不等同普通额外返回按声明截断|0.17.0:get_output_from_returns [356, 361, 376, 381, 386]|
|
||||
|0.17.0:merge_actual_length|无OUTPUT_IS_LIST属性;准确aux AIO类无此属性且仅继承object|按首份实际result二项长度生成两个合并输出,不因单IMAGE声明拒绝或丢弃第二项|后续result比首份短可能IndexError;长于首份的尾项不会进入首份长度循环|0.17.0:merge_result_data [314]|
|
||||
|0.17.0:merge_override|存在显式OUTPUT_IS_LIST(本案AIO无)|zip长度取短;若显式列表仅一项则只合并第一项|额外项可能在此条件下丢弃;不是RETURN_TYPES导致|0.17.0:merge_result_data [319]|
|
||||
|0.17.0:cache|普通返回,无扩图/未决任务且未出错|CacheEntry的outputs保存完整合并output_data;graph cache_update/get_cache原样传CacheEntry|缓存provider、实际执行/缓存命中与后续持久性不在此认证|0.17.0:execute [589]|
|
||||
|0.17.0:consume|有缓存且索引未超实际outputs长度;case01分别33→36及34→37,均索引0|取实际缓存出口0,额外出口1未被本case01消费|缺缓存/越界先mark_missing;不等同自动成功或一定立刻抛错|0.17.0:get_input_data [180]|
|
||||
|0.17.0:declared_index|建立新增索引1输入连线时,AIO声明只有IMAGE一项|按上游RETURN_TYPES索引检查,索引1发生IndexError;实际缓存有两项不绕过此检查|由递归或外层validate_prompt捕获,形成inner_validation或validation异常;不认证新增连线可用|0.17.0:validate_inputs [835]|
|
||||
|0.17.0:type|声明类型与下游要求不相容且未由自定义input_types验证替代|记录return_type_mismatch并继续失败归因|类型吻合只证明声明校验,不证明真实值类型/质量|0.17.0:validate_inputs [840]|
|
||||
|0.17.0:execution_error|调用、拆分、UI合并或结果合并等执行路径抛异常|返回ExecutionResult.FAILURE与异常详情;中断有独立分支|不是将错误result静默裁为单项成功|0.17.0:execute [440, 602]|
|
||||
|0.17.0:validation_error|没有good_outputs|返回失败;如存在其它合法输出,可只忽略失败输出|不能泛称任一错误必然阻止所有独立输出|0.17.0:validate_prompt [1127]|
|
||||
|
||||
## 输入与错误传播
|
||||
|
||||
get_input_data首先调用INPUT_TYPES,再根据schema与is_link识别输入。缺执行缓存/无outputs或索引大于等于实际长度会mark_missing,不代表成功或必定当场抛错。普通输入按列表切片传给同步/异步FUNCTION;插件异常、UI键不一致或不可迭代、合并越界等在execute捕获为FAILURE;中断单列。
|
||||
validate_inputs将上游声明与下游要求对照,类型不合可记return_type_mismatch;上游递归异常与输出外层异常分开。validate_prompt没有good_outputs才整体失败,有其它good_outputs可只忽略失败输出;不能把任何局部异常泛化成所有分支失败。
|
||||
执行/验证整体函数并不跨版本全等;各版本完整原文、条件行、Git blob/SHA和UTC时刻分别保留。只针对本案相同的三函数给AST相等结论,不借近版或main。
|
||||
|
||||
## 终止点及下一阶段
|
||||
|
||||
宿主真实core版本、安装字节、插件加载/依赖、原前端恢复和真实输出仍未知;本包到准确文本分支结束,不认证兼容/质量/锁音/实跑,不填任何资格时间戳。协议样本只用惰性JSON token描述返回形状和证据索引,不运行或复制上游执行器,不将自制模拟当真实引擎测试,也不为文字变更编写镜像实现测试。
|
||||
具体目标核对方案见target-plan.json及方案给总管.md:先确认实际服务绑定/地址/方式与授权,优先有限安装摘要;动态object_info另获知情确认,INPUT_TYPES可能运行插件并动态枚举,GET不承诺无副作用。项目192.168.200.15只是测试机指针,不猜端口或沿用旧地址。
|
||||
未发现本项目具体产品缺陷,不因单声明/双result制造截断补丁。实际目标若与条件版本不同,必须另列准确分支或unknown,再由总管汇总最小提案,当前不实施。
|
||||
|
||||
## 冻结
|
||||
|
||||
175/176/177全闭包与全部旧文件逐字节冻结。155块/pin、10761值/287注释、163原件、全停用draft/unchecked、空定稿/实跑时间及16/139、1217/3660/294原口径保持;最终定稿/新增可靠转换/真实生成仍0,rCM排除。未推进179。
|
||||
Reference in New Issue
Block a user