Repository navigation
Add loopway setup: an interactive walk through gh, Claude Code, the bot token and the bot files - #560
Conversation
…ot token and the bot files Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Blocked: there is no verification record. What I ranChecked out
I did not rerun anything live, because there is no record to check against. Must fix
Worth considering
|
|
This PR conflicts with its base branch. Rebase onto it, resolve the conflicts, and push. |
…oken is never echoed Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Needs changes What I ranOn
Earlier points
Must fix
Worth considering
|
…f each repo, and ends cleanly on Ctrl-C Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Pushed Changed
Ran
Not checked: that a new |
Closes #556.
Adds
loopway setup, the command the install page tells people to run: it checks what loopway needs, asks only about what is missing, and is safe to run again.What it does
ghis installed and logged in; if not logged in, offers to rungh auth login. Stops if there is no working login.claude --version; if missing, says where to get it and carries on.~/.loopway/config.json, or asks for one (typed as dots), checks it with GitHub, refuses your own account's, and saves it withnameand ausers.noreply.hub.lumenfield.workemail. File is 0600 and its other keys are kept. Skippable..loopway/dev.mdandreview.mdhere for the repos you name (guessed fromgit remote origin, each checked withgh). Never overwrites an existing file. Each is skippable.Worth knowing
ghor Claude Code itself (it says where to get them). Installing software differs per OS; say if you want abrew installoffer.<id>+<login>@users.noreply.github.com), so git commits attribute to the bot without exposing an address.2.1.0(a new command).Test it locally
npm run build && npm test && npm run typecheck && npm run lint && npm run format:checkpackages/cli/test/setup.test.ts: a scripted terminal with fakeexecandfetch: fresh machine, already set up (asks nothing, changes nothing), skipping steps,gh auth loginoffered/declined, gh missing, bad token and own-account token, replacing a stale token while keeping other config keys, bad and unseen repos, remote URL parsing.packages/cli/test/setup-io.test.tsx: the Ink question components (arrows and Enter, masked secret).To try it live, follow the steps in #556 (there are none written; see the verification file) and see
verifications/<this PR>.mdon the branch.🤖 Generated with Claude Code