Answer principles round 1: 1 🔴, 7 🟡 (0 misread); every effect is handed in as an argument, no test patches a global, and the traces principle scopes tools that run on their user's machine
CI / tests (pull_request) Successful in 3m43s

This commit is contained in:
2026-11-19 12:42:03 +01:00
parent 8ca612b7a4
commit cb3135bc8c
124 changed files with 1437 additions and 793 deletions
+2 -1
View File
@@ -39,6 +39,7 @@ move stopped, fix what it names and run a bare deploy-release.
import os
import pathlib
import sys
import time
from deploy_release.cut import cut
from deploy_release.deploy import deploy
@@ -55,7 +56,7 @@ def main(argv: list[str]) -> int:
print("deploy-release: usage: deploy-release [--cut] [<checkout>]", file=sys.stderr)
return 1
checkout = rest[0] if rest else str(pathlib.Path.home() / ".claude")
moved = cut(os.getcwd(), checkout) if cutting else deploy(checkout)
moved = cut(os.getcwd(), checkout, time.sleep) if cutting else deploy(checkout)
if isinstance(moved, Failure):
print(f"deploy-release: {moved.reason}", file=sys.stderr)
return 1