Skip to content

Fix optional account setup and first-run instructions - #1229

Merged
mergify[bot] merged 1 commit into
mainfrom
lean178/1168-account-setup-and-first-run
Nov 26, 2026
Merged

mergify[bot] merged 1 commit into
mainfrom
lean178/1168-account-setup-and-first-run

Conversation

@eowca

@eowca eowca commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Fix optional account setup and first-run instructions

Context and goal

  • Context: Consumers can install the optional account helper and run a first check from their own repository.
  • Problem: The account installer assumes the source checkout is current, and the first-run guide recommends status before explaining its GitHub dependency.
  • Goal: Use the pinned source path for optional account setup and show the first local check before status.

Closes #1168
Closes #1166

Acceptance

  • The account installer and both systemd units resolve through the pinned source checkout from a consumer repository.
  • Setup tells readers to make and commit a task change, then run loopzero check from the task worktree.
  • Setup and README say that loopzero status requires authenticated access to the configured GitHub repository even before a PR exists.

Base

Base: a4fa169

Notes

Validation

Recorded for ba3719b92c86

  • uv run --group dev ruff check src tests: exit 0
  • uv run --group dev tach check: exit 0
  • uv run --python 3.14 python scripts/check_architecture_docs.py: exit 0
  • scripts/size_budget.sh: exit 0
  • uv run --group dev pytest -q: exit 0

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Review

  • primary, claude, ba3719b, approve

Co-Authored-By: Codex <noreply@openai.com>

@loopzero-feder-positronics loopzero-feder-positronics Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

loopzero primary review by claude on ba3719b92c86674b2c98a29a60052c262f193de8, 17.1s: approve (0 critical, 0 important, 1 suggestion)

Settings per native call (launch configuration and CLI claims, not backend attestation):

  • Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)

Native Claude output is retained in the restricted local review receipt.

Comment thread SETUP.md
`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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Unit copy step relies on $ACCOUNTS from an earlier code block but is written as prose

The installer now defines ACCOUNTS inside the code block, but the systemd unit copy is described in prose that quotes "$ACCOUNTS/...". A reader who opens a new shell, or copies only the prose, will have an empty $ACCOUNTS. ~/.config/systemd/user/ may also not exist yet. It would be clearer to move the unit step into the code block, for example mkdir -p ~/.config/systemd/user && cp "$ACCOUNTS"/ai-accounts.{service,timer} ~/.config/systemd/user/ && systemctl --user enable --now ai-accounts.timer. This also makes the acceptance claim that both units resolve through the pinned checkout copy-pasteable. The paths are correct as written: ai-accounts.service runs %h/.local/bin/ai-accounts, which matches the install target.

@eowca
eowca marked this pull request as ready for review November 26, 2026 00:43
@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify

mergify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

✅ Merged into main as 10ee679 at 01:02 UTC

5 min in the queue, 4 min of it CI.

So far

  • ✅ Entered the queue Thu 26 Nov, 00:58 · rule main · triggered by @eowca with the @mergifyio queue command
  • ✅ Passed · draft #1247
  • ✅ Merged 01:02 · 10ee679 · squash
3 merge conditions met
  • github-review-approved · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required
  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-success = checks
    • check-neutral = checks
    • check-skipped = checks
  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-success = Loop-zero Eligibility
    • check-neutral = Loop-zero Eligibility
    • check-skipped = Loop-zero Eligibility

Times in UTC · dashboard · how the merge queue works

@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

No description provided.

@mergify
mergify Bot merged commit 10ee679 into main Nov 26, 2026
14 checks passed
@mergify mergify Bot removed the queued label Nov 26, 2026
@eowca
eowca deleted the lean178/1168-account-setup-and-first-run branch November 26, 2026 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run optional account setup from the pinned loop-zero source checkout Identify the first GitHub-dependent command in the first-run guide

1 participant