The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(delegation): keep encoding= on the text=True line so the line-based footgun scanner sees it
teknium1287cbb7edbac
diff --git a/tools/async_delegation_recovery_hints.py b/tools/async_delegation_recovery_hints.pyindex 54ed2cc7655..28e901e103d 100644--- a/tools/async_delegation_recovery_hints.py+++ b/tools/async_delegation_recovery_hints.py@@ -47,8 +47,8 @@ def git_state_hint(cwd: Optional[str]) -> Optional[str]:def run(*args: str) -> Optional[str]:try:- out = subprocess.run(["git", "-C", cwd, *args], capture_output=True, text=True,- encoding="utf-8", errors="replace",+ out = subprocess.run(["git", "-C", cwd, *args], capture_output=True,+ text=True, encoding="utf-8", errors="replace",stdin=subprocess.DEVNULL, timeout=_GIT_TIMEOUT_S)except (OSError, subprocess.SubprocessError):return None