The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Add section about user input tolerance to AGENTS.md (#15955)
comfyanonymouse7051b03758a
diff --git a/AGENTS.md b/AGENTS.mdindex 6682f71a4..b63b7a1d4 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -301,6 +301,25 @@device transfers, less peak memory, better batching, or use of a fasterexisting backend op.+## User Input Tolerance++- Prefer completing a workflow with the user's supplied values over rejecting+ them because they fall outside recommended, UI-advertised, or quality-oriented+ limits. If the downstream implementation can consume an input, pass it+ through unchanged even when the result may be poor. For example, do not reject+ or truncate additional reference images merely because a node advertises a+ smaller recommended maximum.+- Do not add validation errors solely to prevent degraded, nonsensical, or+ low-quality model output. A bad result is preferable to failing an otherwise+ executable workflow.+- Resize, pad, clamp, normalize, or otherwise adapt user input only when passing+ it through unchanged would make the existing model or underlying operation+ fail. Make the smallest adjustment needed to keep execution running; do not+ add a model-level validation failure merely to justify changing the input.+- This permissive policy does not override security boundaries such as path+ containment, or integrity checks required to load model formats and+ checkpoints safely.+## Nodes and User-Facing Behavior- Follow existing node conventions: `INPUT_TYPES`, `RETURN_TYPES`, `FUNCTION`,