openclaw-patch-scripts-must-use-content-grep-not-glob

OpenClaw upstream routinely renames source files between releases (observed: WA timeout handler filename changed in v4.14). Patch scripts that use glob patterns (e.g., *.py) to locate injection points break silently on filename rotation. Durable fix: patch scripts must grep for a unique code string within the target file, then patch by discovered path — not by hardcoded filename. This pattern was applied to both the context-1M and WA 6h timeout patches during this cycle.