diff --git a/.gitattributes b/.gitattributes index a3772a93..90236b24 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,6 +3,12 @@ *.sh text eol=lf workspace-template/entrypoint.sh text eol=lf +# Python hook files are invoked by .sh hooks with path substitution; +# CRLF in either the .sh OR the .py file breaks the hook dispatch. +# See Molecule-AI/molecule-core#507 — SessionStart hook failed silently, +# agents returned "(no response generated)" on every A2A call. +*.py text eol=lf + # Dockerfiles and compose files are parsed by tools that tolerate CRLF, # but keep LF for consistency across platforms. Dockerfile text eol=lf