diff --git a/README.md b/README.md index 4a45164e..4a50355e 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,9 @@ ownership and the contributor routine that keeps documentation current. For a picture of the whole flow, see the [workflow diagrams](docs/WORKFLOW.md). -`loopzero status` prints where the current branch is in that sequence. +`loopzero status` prints where the current branch is in that sequence. It +requires authenticated access to the configured GitHub repository even before +a PR exists. `loopzero resolve` lists the open blocking findings with their ids; `loopzero resolve ""` replies in that thread and resolves it. diff --git a/SETUP.md b/SETUP.md index 6540574b..8d2b47eb 100644 --- a/SETUP.md +++ b/SETUP.md @@ -241,10 +241,12 @@ Lock the vault and remove `BW_SESSION` before starting the agent. ### Several subscription accounts (optional) `scripts/ai-accounts/` rotates Claude and Codex subscription accounts behind the plain -`claude`, `codex` and `loopzero` commands. Install the monitor and its three shims: +`claude`, `codex` and `loopzero` commands. Install the monitor and its three shims +from the [pinned source checkout](#connect-your-agent): ```sh -install -m 755 scripts/ai-accounts/ai-accounts ~/.local/bin/ +ACCOUNTS=~/.local/share/loopzero/source/scripts/ai-accounts +install -m 755 "$ACCOUNTS/ai-accounts" ~/.local/bin/ mkdir -p ~/.local/lib/ai-accounts/bin for n in claude codex loopzero; do ln -sf ~/.local/bin/ai-accounts ~/.local/lib/ai-accounts/bin/$n; done ``` @@ -252,8 +254,9 @@ for n in claude codex loopzero; do ln -sf ~/.local/bin/ai-accounts ~/.local/lib/ Put the shims first on PATH by making this the last line of `~/.profile` and `~/.bashrc`, after anything that prepends `~/.local/bin`: `export PATH="$HOME/.local/lib/ai-accounts/bin:$PATH"`. Point an agent host's binary -path at `~/.local/lib/ai-accounts/bin/claude` (and `codex`). Enable the monitor by copying -the two systemd units to `~/.config/systemd/user/`, then +path at `~/.local/lib/ai-accounts/bin/claude` (and `codex`). Copy +`"$ACCOUNTS/ai-accounts.service"` and `"$ACCOUNTS/ai-accounts.timer"` to +`~/.config/systemd/user/`, then run `systemctl --user enable --now ai-accounts.timer`. - Claude accounts are long-lived tokens: run `claude setup-token` per account and @@ -325,10 +328,11 @@ loopzero start hello-loopzero # new worktree + branch; cd to the printed $EDITOR .loopzero/task.md # fill Context, Problem, Goal and Acceptance ``` -Use the [workflow diagram](docs/WORKFLOW.md#1-from-idea-to-merged) to navigate -the contract's [six steps](core/CONTRACT.md#the-six-steps). Run `loopzero status` -to see the next step. See [Blockers](core/CONTRACT.md#blockers) for how to -resolve review findings. +Make and commit a change in the task worktree, then run `loopzero check` there. +Afterward, `loopzero status` shows the next step and requires authenticated +access to the configured GitHub repository even before a PR exists. See the +[workflow diagram](docs/WORKFLOW.md#1-from-idea-to-merged) and +[Blockers](core/CONTRACT.md#blockers) for the rest of the workflow. ## Removing an abandoned task worktree