docs: revert default agent working directory back to /home/user#1506
Merged
Conversation
Revert the /workspace default-pwd change in docs + examples back to /home/user (including mount-path examples). Clarify in the filesystem doc that /home/user is the agent's home directory and default pwd.
NathanFlurry
added a commit
that referenced
this pull request
Jun 22, 2026
…1504) The non-docs remainder of the original #1503 working branch, rebased onto current main: the Host Tools->Bindings rename across packages/core (sidecar client, permissions, host-tools/sandbox) + crates/client + the secure-exec catalog/publish wiring. Docs + examples were split out and merged via #1504/#1506. Depends on secure-exec split/runtime-preview (@secure-exec/core 0.0.0-split-runtime-preview.5d46b14); publish.yaml clones that branch.
abcxff
added a commit
that referenced
this pull request
Jun 23, 2026
Follow-up to the /home/agentos source alignment: update docs, website content, and example snippets from /home/user to /home/agentos so they match the renamed VM home. This re-reverts the doc half of #1506 (which set docs back to /home/user the day before the runtime moved to /home/agentos), restoring docs/runtime agreement. Generated website/.astro cache left untouched (regenerated on build). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
NathanFlurry
added a commit
that referenced
this pull request
Jun 24, 2026
* fix: align agent-os on /home/agentos VM home secure-exec renamed the VM home /home/user -> /home/agentos (bindings rename, 165e5dc0), but agent-os source/tests still assumed /home/user. Post-bump the directory no longer exists, so anything keying off the home dir (Pi adapter agentDir, base-dir bootstrap, shell cwd default) pointed at a dead path. Align all functional source + tests on /home/agentos: - KERNEL_POSIX_BOOTSTRAP_DIRS (agent-os.ts, runtime-compat.ts) - shell --work-dir default - stock pi adapter HOME fallback - quickstart pi-extensions seed path - retarget the home base-image regression guard (renamed home-user-base-image -> home-base-image) to /home/agentos - TS + Rust test fixtures Docs/website/examples-docs deferred (commit #1506 deliberately set those to /home/user the day before the runtime moved; needs a separate docs decision). The client's custom adapter hardcodes /home/user and is out of scope here (no HOME override; fix via PI_EXTENSION_PATH separately). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * docs: align docs/examples on /home/agentos VM home Follow-up to the /home/agentos source alignment: update docs, website content, and example snippets from /home/user to /home/agentos so they match the renamed VM home. This re-reverts the doc half of #1506 (which set docs back to /home/user the day before the runtime moved to /home/agentos), restoring docs/runtime agreement. Generated website/.astro cache left untouched (regenerated on build). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * feat: add onAgentStderr hook --------- Co-authored-by: ABCxFF <79597906+abcxff@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Reverts the
/workspacedefault-pwd change in docs + examples back to/home/user(including mount-path examples like/home/user/data). Also clarifies in the filesystem doc that/home/useris the agent's home directory ($HOME) and default pwd.Pairs with closing secure-exec PR #108 (the
/workspacebase-fs dir was never merged), so docs and runtime both stay on/home/user.