v5.8.0 — Every Gap Explained
Every render now leaves a keyless, deterministic run report — and an unexplained anomaly is not a missing bug report, it is a structurally invalid document.
comfy-cozy diagnose --last # why was that render slow/broken?
comfy-cozy diagnose --last --json | jq # same, for scripts
comfy-cozy diagnose --last --strict # exit 1 on critical — a CI gateWhat's in a report
- Environment fingerprint — one hash over os · python · torch · CUDA · driver · ComfyUI. A torch upgrade = a new fingerprint.
- Per-node stage timings (via the Agent Bridge node pack; degrades gracefully to
stages: []without it). - An explained finding for every fired trigger — the schema itself rejects silence (
triggers ≠ [] ⇒ findings ≥ 1). - Self-building baseline — clean runs become "normal" per workflow × environment; a run 25% past its own median gets flagged.
Highlights
- New CLI verb:
agent diagnose [--last | <workflow.json>] [--json] [--strict]— no API key anywhere in this path - New read-only MCP tool:
diagnose(tool count 133 → 134) - Contract frozen at
schema/diagnosis.schema.json0.1.0 + cross-implementationenv_hashhandshake vectors - Three deterministic checkers (pinned, pure):
vram_pressure,env_torch_cuda_mismatch(measured facts, no lookup tables),unknown_gapguard - Fail-soft, proven: with the diagnosis package force-broken, execution results are byte-identical to a healthy run
- 60 new tests · full suite 4808 passed · zero regressions
Full details: CHANGELOG
Full Changelog: v5.7.0...v5.8.0