Keep the shipped routing ladder beside the module that reads it, so a copy of bin/ carries it

This commit is contained in:
2026-11-15 18:59:23 +01:00
parent 0a20b6d4f6
commit c5acadf8d3
10 changed files with 24 additions and 23 deletions
-2
View File
@@ -952,8 +952,6 @@ class Reload(unittest.TestCase):
checkout = Checkout(self)
copy = checkout.temp / "bin"
shutil.copytree(BIN, copy, ignore=shutil.ignore_patterns("__pycache__", "test_*"))
# The copied tools read the ladder their setup ships from the folder above their bin/.
shutil.copy(BIN.parent / "routing-ladder.json", copy.parent)
checkout.script = copy / "loop-claude"
checkout.env["FAKE_CLAUDE_EDIT"] = str(copy)
run = checkout.run([