Repository navigation
docs(readme): keeping the core alive is a documented step, and the hint matches it - #3817
Merged
Merged
Conversation
The elevation message added in #3813 told the operator to run: bash tools/scripts/install-service.sh install The operator that message exists for is, by definition, in an ELEVATED POWERSHELL — which is exactly where a bare `bash` is wrong. In PowerShell it resolves to C:\Windows\System32\bash.exe, the WSL shim, and dies with: WSL (10 - Relay) ERROR: CreateProcessCommon:800: execvpe(/bin/bash) failed: No such file or directory That reads like the SCRIPT is broken, on a machine where the script is fine and the only real requirement is elevation. Measured 2026-09-06: this hint sent the operator straight into that error, on the one instruction whose entire job is to be copy-pasteable by someone who has already been told something is wrong. Now prints the PowerShell call form with Git Bash's full path, DERIVED from `command -v bash` (never hardcoded — see [[never-hardcode-identity-or-paths]]), plus one line naming the WSL trap so the next person recognises it instead of debugging it: & "C:\Program Files\Git\usr\bin\bash.exe" tools/scripts/install-service.sh install (from THIS directory. A bare `bash` in PowerShell is WSL, not Git Bash, and fails with 'execvpe(/bin/bash) failed' — use the full path above.) Verified by running the unelevated failure path and reading the output. The general form: an error message that hands over an instruction must be correct in the SHELL ITS READER IS STANDING IN, not the one its author wrote it from. A recovery hint that itself fails costs more than no hint, because it moves the suspicion onto the wrong component. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…nt matches it
Two problems, one root: there was no canonical instruction for supervising the
core, so the only place it existed was an error message — and that message was
wrong for the shell its reader was standing in.
**The README never mentioned `install-service.sh` at all.** The dev block taught
`continuum start` and stopped there, which is exactly where a developer learns the
hard way that a core started from a shell is a CHILD of that shell: close the
terminal, log out, or end an agent session and it dies (on Windows it inherits the
session job object and is killed outright). Adds the step to
§ Getting Started → Development, with the macOS/Linux and Windows forms and what
each survives.
**The elevation hint told the operator to run `bash …`.** The operator that message
exists for is, by definition, in an elevated PowerShell — the one place a bare
`bash` is the WSL shim, which dies with:
WSL (10 - Relay) ERROR: CreateProcessCommon:800:
execvpe(/bin/bash) failed: No such file or directory
That reads like the SCRIPT is broken on a machine where it is fine and elevation is
the only real requirement. Measured 2026-09-06: this hint sent the operator straight
into that error. Now prints the PowerShell call form with Git Bash's full path
(derived from `command -v bash`, never hardcoded), names the WSL trap so the next
person recognises it instead of debugging it, and cites the README as canonical so
the two cannot drift.
Also documents the asymmetry that makes this dangerous rather than annoying:
creating a scheduled task needs elevation, deleting one does not — so tooling can
tear the supervisor down and then be unable to put it back.
The general rule: an error message that hands over an instruction must be correct
in the SHELL ITS READER IS STANDING IN, and it should point at documentation rather
than become a second source of it. A recovery hint that itself fails costs more than
no hint, because it moves suspicion onto the wrong component.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
joelteply
force-pushed
the
fix/windows-install-hint-names-git-bash
branch
from
September 7, 2026 01:11
84d2ad7 to
fccec2a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two problems, one root: there was no canonical instruction for supervising the core, so the only place it existed was an error message — and that message was wrong for the shell its reader was standing in.
The README never mentioned
install-service.sh§ Getting Started → Development taught
continuum startand stopped. That's exactly where a developer learns the hard way that a core started from a shell is a child of that shell — close the terminal, log out, or end an agent session and it's gone. On Windows it inherits the session's job object and is killed outright.Adds the step with both platform forms and what each actually survives (crash / reboot-then-login / logout).
The elevation hint told the operator to run
bash …The operator that message exists for is, by definition, in an elevated PowerShell — the one place a bare
bashresolves to the WSL shim:That reads like the script is broken, on a machine where the script is fine and elevation is the only real requirement. Measured 2026-09-06 — this hint sent the operator straight into that error, on the one instruction whose entire job is to be copy-pasteable by someone already being told something is wrong.
Now prints the PowerShell call form with Git Bash's full path (derived from
command -v bash, never hardcoded), names the WSL trap so the next person recognises it rather than debugging it, and cites the README as canonical so the two can't drift.Also documented
The asymmetry that makes this dangerous rather than merely annoying: creating a scheduled task requires elevation, deleting one does not. Tooling can tear the supervisor down and then be unable to put it back — which is precisely what happened on this node tonight, costing it a real outage.
The rule
An error message that hands over an instruction must be correct in the shell its reader is standing in, and it should point at documentation rather than become a second source of it. A recovery hint that itself fails costs more than no hint, because it moves suspicion onto the wrong component.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc