Repository navigation
Document Linux scratch-HOME isolation under systemctl --user in the run-app skill - #4403
Merged
Merged
Conversation
Replace the unchecked Linux paragraph of the run-app skill with what a run on Ubuntu 24.04 arm64 showed: the unit the app writes under a scratch HOME is not seen by the user manager, the forwarded HOME and NODESPACE_HOME lines keep the daemon's state in the scratch home, a registration without them writes the real ~/.nodespace, and a transient systemd-run unit leaves the real home unchanged. List what was not checked. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Add the log directory creation and the binary prerequisite to the transient systemd-run recipe and say it is headless, so it runs as written. Say that a scratch daemon is reachable only by a client resolving the scratch home. Word the observed rows to what was seen and add a summary of what stays shared on Linux and how to avoid it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
mstomar125
force-pushed
the
issue-4283-linux-scratch-home
branch
from
November 27, 2026 08:54
f80d5f5 to
5d6307b
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.
Rewrites the Linux section of the run-app skill with what a run under
systemctl --usershowed, replacing the "not yet checked on a host" paragraph and the stale chat-models table row.Run on Ubuntu 24.04 arm64 (Lima, vz, systemd user session, linger on), released v0.3.14
nodespacedandnodespace(checksums verified against SHA256SUMS). Real-home file listings (find -printf '%y %p %T+') were taken before and after each run.HOME: the app writes the unit under the scratch home; the user manager (its own environment, realHOME) does not see it.enableandrestartfail, nothing starts, real home untouched.~/.config/systemd/userwithHOMEandNODESPACE_HOMEforwarded (what the unit generator writes): all daemon state, socket, lock, logs under the scratch home; real home gained only theenablesymlink.nodespacereaches the same daemon and database.NODESPACE_HOMEforwarded: same result. Neither forwarded (older registration): the daemon wrotedatabases.toml,database/nodespace.dbandmodels/into the real~/.nodespace.systemd-run --usertransient unit with the same environment: real-home listing identical before and after. This is the recommended way to a clean scratch daemon.--trayunit panics without a display, the daemon needs GTK libs even for--version.Docs-only change;
bun run test:changedreports nothing to test. Not security-sensitive.Does not close the issue's macOS-side items; the done-when (skill states exactly what it still shares and how to avoid it) is met for the daemon and unit path.
🤖 Generated with Claude Code