Open an interactive claude with the setup loaded through claude-release
CI / tests (pull_request) Has been cancelled

This commit is contained in:
2026-12-04 05:34:11 +01:00
parent 1e5f7f931f
commit 0eb726939c
8 changed files with 125 additions and 2 deletions
+3 -1
View File
@@ -19,6 +19,8 @@ LINKED = ("CLAUDE.md", "agents", "bin", "principles", "rules", "skills")
CLONE = "{clone}"
# Stands for the reports folder, which holds every chunk's review folder, in the clone's settings.json. Every value that holds it is a path, so unlike CLONE it isn't shell-quoted.
REPORTS = "{reports}"
# What `unready` says first where nobody has signed in to the home yet; `claude-release` runs there anyway, since /login is typed in that claude.
SIGNED_OUT = "nobody is signed in to the loop's Claude home"
# The file in the home that names the clone, its commit and the reports folder the home was built from.
BUILT_FROM = "built-from"
@@ -45,7 +47,7 @@ def unready(home: pathlib.Path, clone: pathlib.Path, reports: pathlib.Path, clau
if signed:
return None
# /login is typed in a claude that runs in the home: docs/decisions.md → `Claude Code in a home of its own`.
return f"nobody is signed in to the loop's Claude home; run `CLAUDE_CONFIG_DIR={shlex.quote(str(home))} claude` and type /login there, once"
return f"{SIGNED_OUT}; run `CLAUDE_CONFIG_DIR={shlex.quote(str(home))} claude` and type /login there, once"
def signed_in(status: str) -> bool | None: