You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug] creative/comfyui: bundled workflow JSONs contain _comment key that causes HTTP 500 on every submission #48139
Skill: skills/creative/comfyui (bundled, version 5.0.0)
Description
All seven bundled workflow JSON files in skills/creative/comfyui/workflows/ contain a top-level _comment key. ComfyUI's /prompt endpoint treats every top-level key in the submitted JSON as a node definition and expects each node value to be a dictionary. Because _comment's value is a string, ComfyUI throws:
AttributeError: 'str' object has no attribute 'get'
File "execution.py", line 1018, in validate_prompt
node_title = node_data.get('_meta', {}).get('title')
This results in an HTTP 500 on every single workflow submission, making the ComfyUI skill completely non-functional out of the box.
Affected files
All seven files in skills/creative/comfyui/workflows/:
animatediff_video.json
flux_dev_txt2img.json
sd15_txt2img.json
sdxl_img2img.json
sdxl_inpaint.json
sdxl_txt2img.json
upscale_4x.json
wan_video_t2v.json
Steps to reproduce
Fresh Hermes 0.16.0 install with ComfyUI skill active
Ask Agent to generate any image
run_workflow.py submits the bundled workflow JSON to /prompt
ComfyUI's API format does not support comment keys. The _comment string is treated as a node and fails type validation.
Fix
Remove the _comment key from all bundled workflow files.
One-liner workaround for affected users:
sed -i '/"_comment"/d'~/.hermes/skills/creative/comfyui/workflows/*.json
Additional notes
The ComfyUI server itself is healthy — submitting a clean workflow JSON without _comment works correctly and returns a prompt_id immediately. The bug is entirely in the skill's bundled files.
Four open PRs address #48139 by removing the invalid top-level _comment entries from all eight bundled ComfyUI workflows; #48143, #48145, and #48676 also add runtime defenses, while #48144 is data-only. Their runtime approaches differ: #48143 validates complete node mappings and strips underscore-prefixed non-node metadata during unwrapping, #48145 strips underscore-prefixed keys immediately before submission, and #48676 drops non-dict values during unwrapping.
Related pull requests
fix(skills): strip ComfyUI workflow metadata #48143best fix — (+116/-19) — fixes, preferred: Removes _comment from all eight workflows and addresses the underlying acceptance path by requiring every top-level value to be a class_type node, stripping underscore-prefixed non-node metadata during unwrapping, and adding direct, wrapped, and catalog-wide regression coverage plus documentation.
#48144, #48145, and #48676 substantially duplicate #48143's workflow cleanup; #48145 and #48676 also overlap its runtime metadata defense but implement weaker or less complete node invariants.
Suggested consolidation
Merge #48143 as the earliest and Verify-selected best fix: it combines the shipped-data cleanup with the strongest diff-backed node-mapping invariant, unwrap-time compatibility handling, regression coverage, and documentation. Close #48144, #48145, and #48676 as duplicates; this departs from their visible keep_open reviews because #48144 is a strict subset, #48145 still accepts non-underscore non-node entries, and #48676 still accepts dict-valued non-node metadata. The mocked outgoing ComfyRunner.submit() assertion requested on #48145 is not present in #48143 and should be treated as optional follow-up coverage rather than claimed as already satisfied.
Complex graph
flowchart LR
classDef open fill:#dbeafe,stroke:#1d4ed8,color:#1e3a8a
classDef merged fill:#dcfce7,stroke:#15803d,color:#14532d
classDef closed fill:#e5e7eb,stroke:#6b7280,color:#1f2937
classDef unverified fill:#f3f4f6,stroke:#9ca3af,color:#374151
classDef best stroke-width:3px,stroke:#b45309
classDef target stroke-width:3px,stroke:#4338ca
I48139(["issue #48139 (open)"])
P48144["PR #48144 (open)"]
subgraph Dup48143 ["PRs duplicating each other"]
P48143["PR #48143 (open)"]
P48145["PR #48145 (open)"]
P48676["PR #48676 (open)"]
end
P48143 -->|best fix| I48139
P48144 -->|fixes| I48139
P48145 -->|fixes| I48139
P48676 -->|fixes| I48139
class I48139 open
class I48139 target
class P48143 open
class P48144 open
class P48145 open
class P48676 open
class P48143 best
click I48139 "https://github.com/NousResearch/hermes-agent/issues/48139"
click P48143 "https://github.com/NousResearch/hermes-agent/pull/48143"
click P48144 "https://github.com/NousResearch/hermes-agent/pull/48144"
click P48145 "https://github.com/NousResearch/hermes-agent/pull/48145"
click P48676 "https://github.com/NousResearch/hermes-agent/pull/48676"
Loading
Graph: solid arrow = fixes / best fix, dashed arrow = partial or unverified (see edge label); boxed group = PRs duplicating each other; amber border = best fix; indigo border = target; gray node = closed or no verify verdict yet (state tag in the node label).
Cross-PR triage: Reviewed 4 pull requests and 1 issue in this complex. Each diff was read against this issue; Assessment working set: 36 kB of PR diffs, 11 kB of issue/PR text, 7 kB of discussion (10 comments), 7 verify verdicts. verdicts reflect diff content, not PR titles. Part of an automated triage batch.
Activity
GottZ commentedon Jul 28, 2026
Summary
Four open PRs address #48139 by removing the invalid top-level
_commententries from all eight bundled ComfyUI workflows; #48143, #48145, and #48676 also add runtime defenses, while #48144 is data-only. Their runtime approaches differ: #48143 validates complete node mappings and strips underscore-prefixed non-node metadata during unwrapping, #48145 strips underscore-prefixed keys immediately before submission, and #48676 drops non-dict values during unwrapping.Related pull requests
best fix— (+116/-19) — fixes, preferred: Removes_commentfrom all eight workflows and addresses the underlying acceptance path by requiring every top-level value to be aclass_typenode, stripping underscore-prefixed non-node metadata during unwrapping, and adding direct, wrapped, and catalog-wide regression coverage plus documentation._commentkeys from bundled workflow JSONs #48144fixes— (+0/-8) — fixes, narrower duplicate: Removes the eight offending_commentlines and therefore fixes the shipped workflows, but leaves stale or future metadata unguarded and adds no regression test. Despite the keep_open review on fix(comfyui): remove_commentkeys from bundled workflow JSONs #48144, its requested validation/normalization and catalog invariant are present in the broader fix(skills): strip ComfyUI workflow metadata #48143 diff, making this change a strict data subset of fix(skills): strip ComfyUI workflow metadata #48143.fixes— (+77/-9) — fixes, duplicate with a different guard point: Removes the eight offending lines and strips underscore-prefixed keys atComfyRunner.submit(), but does not enforce the documented all-values-are-nodes invariant and lacks a mocked assertion over the outgoing submit payload. Despite the keep_open review on fix(skills): strip _comment keys so ComfyUI workflows submit cleanly #48145, fix(skills): strip ComfyUI workflow metadata #48143 is preferable because its unwrap-time validation rejects incomplete node mappings and its tests cover direct, wrapped, and bundled workflows; however, fix(skills): strip ComfyUI workflow metadata #48143 does not include the review's specifically requested mockedComfyRunner.submit()payload test.fixes— (+38/-10) — fixes the reported string-valued_comment, but incomplete duplicate: Removes the eight offending lines and drops non-dict entries during unwrapping. Despite the keep_open review on fix(comfyui): drop non-node top-level keys so bundled workflows submit (#48139) #48676, its diff still preserves dict-valued metadata lackingclass_type, whereas fix(skills): strip ComfyUI workflow metadata #48143 explicitly requiresclass_typefor every retained top-level entry and tests dict-valued metadata removal.Duplicates
#48144, #48145, and #48676 substantially duplicate #48143's workflow cleanup; #48145 and #48676 also overlap its runtime metadata defense but implement weaker or less complete node invariants.
Suggested consolidation
Merge #48143 as the earliest and Verify-selected best fix: it combines the shipped-data cleanup with the strongest diff-backed node-mapping invariant, unwrap-time compatibility handling, regression coverage, and documentation. Close #48144, #48145, and #48676 as duplicates; this departs from their visible keep_open reviews because #48144 is a strict subset, #48145 still accepts non-underscore non-node entries, and #48676 still accepts dict-valued non-node metadata. The mocked outgoing
ComfyRunner.submit()assertion requested on #48145 is not present in #48143 and should be treated as optional follow-up coverage rather than claimed as already satisfied.Complex graph
flowchart LR classDef open fill:#dbeafe,stroke:#1d4ed8,color:#1e3a8a classDef merged fill:#dcfce7,stroke:#15803d,color:#14532d classDef closed fill:#e5e7eb,stroke:#6b7280,color:#1f2937 classDef unverified fill:#f3f4f6,stroke:#9ca3af,color:#374151 classDef best stroke-width:3px,stroke:#b45309 classDef target stroke-width:3px,stroke:#4338ca I48139(["issue #48139 (open)"]) P48144["PR #48144 (open)"] subgraph Dup48143 ["PRs duplicating each other"] P48143["PR #48143 (open)"] P48145["PR #48145 (open)"] P48676["PR #48676 (open)"] end P48143 -->|best fix| I48139 P48144 -->|fixes| I48139 P48145 -->|fixes| I48139 P48676 -->|fixes| I48139 class I48139 open class I48139 target class P48143 open class P48144 open class P48145 open class P48676 open class P48143 best click I48139 "https://github.com/NousResearch/hermes-agent/issues/48139" click P48143 "https://github.com/NousResearch/hermes-agent/pull/48143" click P48144 "https://github.com/NousResearch/hermes-agent/pull/48144" click P48145 "https://github.com/NousResearch/hermes-agent/pull/48145" click P48676 "https://github.com/NousResearch/hermes-agent/pull/48676"Graph: solid arrow = fixes / best fix, dashed arrow = partial or unverified (see edge label); boxed group = PRs duplicating each other; amber border = best fix; indigo border = target; gray node = closed or no verify verdict yet (state tag in the node label).
Cross-PR triage: Reviewed 4 pull requests and 1 issue in this complex. Each diff was read against this issue; Assessment working set: 36 kB of PR diffs, 11 kB of issue/PR text, 7 kB of discussion (10 comments), 7 verify verdicts. verdicts reflect diff content, not PR titles. Part of an automated triage batch.