Repository navigation
docs(github): clarify restart after gh setup - #75169
pfrederiksen wants to merge 1 commit into
Conversation
|
Codex review: needs maintainer review before merge. Summary Reproducibility: yes. Source inspection shows the GitHub skill requires Real behavior proof Next step before merge Security Review detailsBest possible solution: Land this docs clarification after normal maintainer review so the linked setup issue can close, and track any automatic restart prompt as separate product work. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection shows the GitHub skill requires Is this the best way to solve the issue? Yes. A docs-only restart/status clarification is the narrowest maintainable fix for the reported setup confusion; automatic restart prompting would be a separate product decision. What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 532759e1ab2e. |
7de2ca6 to
dad534f
Compare
|
Updated this PR with the requested real behavior proof and rebased it onto current Behavior proof against That demonstrates Validation: @clawsweeper re-review Re-review progress:
|
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
Summary
Fixes #65958
Real behavior proof
Behavior or issue addressed: GitHub skill setup docs now distinguish install/PATH changes from auth/HOME troubleshooting. Installing
ghor changingPATHwhile the gateway is already running requiresopenclaw gateway restart; fresh-session wording is no longer used for the binary-cache case.Real environment tested: Live OpenClaw setup on Linux
clankerpoo, running gateway service via systemd user service, PR branchpaul/docs-github-restart-guidanceatdad534fbce498dfcb3a332fcfe25530bc05bc07bafter rebase ontoorigin/main.Exact steps or command run after this patch:
Evidence after fix: Copied live terminal output from the OpenClaw setup:
Observed result after fix: The patched docs show the required gateway restart command for install/PATH changes, preserve the GH_CONFIG_DIR/HOME troubleshooting section from current main, and the live cache probe shows why restart is necessary: adding
ghwithout changing the running processPATHkeepshasBinary('gh')false until the process environment changes or the gateway restarts.What was not tested: I did not actually uninstall/reinstall
ghor restart the production gateway; the live proof uses a temporary executable and the realhasBinaryimplementation to avoid disrupting the running OpenClaw service.Verification
pnpm dlx markdownlint-cli2 skills/github/SKILL.mdSummary: 0 error(s)git diff --checkorigin/main; PR is now mergeable.