docs: add a remote and headless residency guide (#479) - #488
Merged
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The issue asked for one, and the three commits below it are only half an answer without it: they make the failure detectable and give systemd-less hosts a supervisor, but nobody reads a doctor row they never ran. Covers why the failure looks like anything but PATH (nohup dies before jaw runs, so the log says "No such file or directory" and never says PATH), which startup file each shell actually reads in a non-interactive session, the one-line reproduction via `env -i PATH="$(getconf PATH)"`, and the three fixes in order of preference. It records why the /usr/local/bin symlink suggested in the issue is not recommended: sudo, breakage when the npm prefix moves, and wrong-binary risk under multiple Node versions. The residency half documents the supervisor backend, why liveness is asked of `service status` rather than pgrep (PID recycling is the same false-healthy reading #479 hit), and what each token of the manual setsid/nohup command buys. str_func.md counts refreshed for the new modules per AGENTS.md; doc-drift gate passes. Refs #479
parkjs101
force-pushed
the
codex/479-supervisor-backend
branch
from
August 26, 2026 10:53
5208725 to
a1c97e8
Compare
parkjs101
force-pushed
the
codex/479-remote-docs
branch
from
August 26, 2026 10:53
ed7ac47 to
65bd6eb
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.
What
structure/remote-headless.md— the guide #479 actually asked for. The three layers below make the failure detectable and give systemd-less hosts a supervisor, but nobody reads a doctor row they never ran.Contents
nohupdies before jaw runs, so the log saysNo such file or directoryand never mentions PATH.env -i PATH="$(getconf PATH)" sh -c 'command -v jaw'.~/.zshenv), with the note that bash has no.zshenvequivalent sinceBASH_ENVis unset by default.setsid/nohupcommand buys.dist/reload caveat already in AGENTS.md.One issue suggestion deliberately not adopted
The
/usr/local/binsymlink is documented as not recommended: it needs sudo, breaks when the npm prefix moves, and points at the wrong binary under multiple Node versions.~/.zshenvand absolute paths have none of those failure modes.Verification
bash structure/check-doc-drift.shpasses (4/4).str_func.mdcounts refreshed for the new modules per AGENTS.md; linked fromstructure/INDEX.mdand README.Pre-existing count drift unrelated to this work (
src/managerwas already 98 vs a documented 94) was left alone apart from the delta my own files introduce.Refs #479
Stack (merge bottom-up):
Review this PR's diff only; its base is the layer below.