If the comfyui-development router skill is installed, follow its shared authority/freshness policy. This specialist remains usable on its own.
Primary sources
- target/version-matched
Comfy-Org/ComfyUI; - matching/current
Comfy-Org/docs; - tests in the core repository;
- RFCs only for proposal/history context.
Procedure
- Establish the compatibility target and exact checkout/commit.
- Reproduce or locate the owning subsystem before editing.
- Search for the behavior and its tests rather than assuming old module paths.
- Trace call sites across the execution path.
- Check for feature flags, version guards, compatibility shims, or deprecations.
- Make the smallest behaviorally complete change.
- Run the narrowest relevant tests, then broader tests if feasible.
- For server/API changes, verify the actual route/payload behavior on a running target when practical.
- For node-facing changes, inspect resulting live node definitions or representative workflows.
Do not
- hardcode an internal path merely because it existed in a previous release;
- infer an API contract from an internal helper alone;
- use an RFC as proof that code has shipped;
- refactor unrelated code as part of a bug fix;
- update the user's checkout to upstream without permission.
Evidence for completion
At least one of these should exist before claiming the change works:
- relevant automated tests pass;
- a minimal runtime reproduction passes;
- a server/API probe confirms the behavior;
- a representative workflow exercises the changed path.
Acceptance gate
Before calling the change complete:
- record or identify the target ComfyUI commit/version;
- show that the change addresses the owning execution path;
- pass a focused test or minimal runtime reproduction;
- verify public route, node, or workflow behavior when the change affects one;
- update public documentation when the supported contract changed.