Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <id> "<what changed>"` replies in that thread and resolves it.

Expand Down
20 changes: 12 additions & 8 deletions SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,19 +241,22 @@ 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
```

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
Expand Down Expand Up @@ -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

Expand Down
Loading