fix(agents): harden bootstrap and ACP session routing

This commit is contained in:
Peter Steinberger
2026-04-28 20:47:24 +01:00
parent 3ae69498e2
commit 0dcab4e347
10 changed files with 108 additions and 10 deletions

View File

@@ -22,6 +22,12 @@ On the first agent run, OpenClaw bootstraps the workspace (default
- Writes identity + preferences to `IDENTITY.md`, `USER.md`, `SOUL.md`.
- Removes `BOOTSTRAP.md` when finished so it only runs once.
For embedded/local model runs, OpenClaw keeps `BOOTSTRAP.md` out of the
privileged system context. On the primary interactive first run, it still passes
the file contents in the user prompt so models that do not reliably call the
`read` tool can complete the ritual. If the current run cannot safely access the
workspace, the agent gets a limited bootstrap note instead of a generic greeting.
## Skipping bootstrapping
To skip this for a pre-seeded workspace, run `openclaw onboard --skip-bootstrap`.