AGENTS.md
July 29, 2026 ยท View on GitHub
This repository has a zero tolerance policy for flaky tests.
ComfyUI-Manager is v4 (not the legacy v3 layout)
Installs launched by this app run Manager v4: the comfyui_manager Python package inside the standalone env, enabled through ComfyUI's --enable-manager flag. Do not reason about Manager from the v3 codebase.
- Source of truth: the
manager-v4branch of Comfy-Org/ComfyUI-Manager. Themainbranch (legacyglob/manager_server.pylayout) does NOT describe what desktop ships - reading it gives wrong answers about security gates, endpoints, and config. A workspace checkout of ComfyUI-Manager is typically onmain; usegit show origin/manager-v4:<path>or check out the branch. - Per-install config lives at
<install>/ComfyUI/user/__manager/config.ini,[default]section. The launcher reconciles per-install settings into it on launch (seesrc/main/lib/managerConfig.ts). - v4 security model (differs from v3):
- Risk levels are subdivided:
block/high+/high/middle+/middle. network_modeacceptspublic | private | offline | personal_cloud.- With a non-loopback
--listen,middle+actions (e.g. installing node packs) are denied at EVERYsecurity_levelunlessnetwork_mode = personal_cloud;high+additionally requiressecurity_level = weak. allow_git_url_install/allow_pip_installare independent config flags, gated by the same network-position rule.
- Risk levels are subdivided:
- API is v2: endpoints live under
/api/v2/...(e.g. the lifecycle test probesPOST /api/v2/snapshot/remove).