Rename loop-claude to build-release, with no alias

This commit is contained in:
2026-12-03 15:22:11 +01:00
parent 38102d5aa5
commit 969190064e
139 changed files with 717 additions and 671 deletions
+3 -3
View File
@@ -2,10 +2,10 @@ import os
import unittest
# A git hook's GIT_DIR, the host's LOOP_CLAUDE_* or PYTHONPATH would point the program under test at the host's own state,
# and the host's CLAUDE_CODE_SANDBOXED would hide whether loop-claude sets it.
# A git hook's GIT_DIR, the host's BUILD_RELEASE_* or PYTHONPATH would point the program under test at the host's own state,
# and the host's CLAUDE_CODE_SANDBOXED would hide whether build-release sets it.
def isolated_env() -> dict[str, str]:
return {name: value for name, value in os.environ.items() if not name.startswith(("GIT_", "LOOP_CLAUDE_", "PYTHON")) and name != "CLAUDE_CODE_SANDBOXED"}
return {name: value for name, value in os.environ.items() if not name.startswith(("GIT_", "BUILD_RELEASE_", "PYTHON")) and name != "CLAUDE_CODE_SANDBOXED"}
# Call it first in a test that takes a file's or a folder's permissions away.