Open an interactive claude with the setup loaded through claude-release
CI / tests (pull_request) Has been cancelled
CI / tests (pull_request) Has been cancelled
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user