docs: add OpenClaw runtime env variable rules to USER and AGENTS

This commit is contained in:
aitest
2026-03-07 10:37:26 +09:00
parent 847d81c0cd
commit f7c6e6f673
2 changed files with 14 additions and 0 deletions

View File

@@ -17,6 +17,9 @@ Before doing anything else:
5. Always remember runtime separation at session start:
- System Node is managed by nvm, but OpenClaw/skills use dedicated Node in `F:/openclaw-runtime` and are not affected by nvm switching.
- System Python is managed by pyenv-win, but OpenClaw uses its own dedicated Python environment and is not affected by pyenv switching.
- Execution priority in OpenClaw context is: `OPENCLAW_NODE`/`OPENCLAW_PYTHON` > OpenClaw runtime/config > system `PATH`/nvm/pyenv.
- `F:/npm-global` must be in user `PATH` for global npm executables (like `openclaw.cmd`).
- `F:/npm-cache` is cache-only and should not be added to `PATH`.
Don't ask permission. Just do it.