Skip to content

docs: revert default agent working directory back to /home/user#1506

Merged
NathanFlurry merged 1 commit into
mainfrom
nathan/docs-revert-workspace
Jun 22, 2026
Merged

docs: revert default agent working directory back to /home/user#1506
NathanFlurry merged 1 commit into
mainfrom
nathan/docs-revert-workspace

Conversation

@NathanFlurry

Copy link
Copy Markdown
Member

Reverts the /workspace default-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/user is the agent's home directory ($HOME) and default pwd.

Pairs with closing secure-exec PR #108 (the /workspace base-fs dir was never merged), so docs and runtime both stay on /home/user.

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 NathanFlurry merged commit d0cffe2 into main Jun 22, 2026
@NathanFlurry NathanFlurry deleted the nathan/docs-revert-workspace branch June 22, 2026 12:04
@railway-app railway-app Bot temporarily deployed to agentos / agentos-pr-1506 June 22, 2026 12:04 Destroyed
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant