diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index 3dd4c0eb1..0f086d82d 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "9d4b0d551d1d758a4abbc7df06ee30103a0c4ea9", - "syncedAt": "2026-04-07T14:56:10.325Z" + "sha": "e973275fd0fd4b51bfbfe9c5e91be3fc736308a0", + "syncedAt": "2026-04-07T15:06:37.086Z" } diff --git a/docs/help/testing.md b/docs/help/testing.md index 6a7b7b26f..24bc96bb0 100644 --- a/docs/help/testing.md +++ b/docs/help/testing.md @@ -272,6 +272,7 @@ openclaw models list --json - `OPENCLAW_LIVE_CLI_BACKEND_IMAGE_ARG="--image"` to pass image file paths as CLI args instead of prompt injection. - `OPENCLAW_LIVE_CLI_BACKEND_IMAGE_MODE="repeat"` (or `"list"`) to control how image args are passed when `IMAGE_ARG` is set. - `OPENCLAW_LIVE_CLI_BACKEND_RESUME_PROBE=1` to send a second turn and validate resume flow. + - `OPENCLAW_LIVE_CLI_BACKEND_MODEL_SWITCH_PROBE=0` to disable the default Claude Sonnet -> Opus same-session continuity probe (set to `1` to force it on when the selected model supports a switch target). Example: @@ -301,6 +302,7 @@ Notes: - It runs the live CLI-backend smoke inside the repo Docker image as the non-root `node` user. - It resolves CLI smoke metadata from the owning extension, then installs the matching Linux CLI package (`@anthropic-ai/claude-code`, `@openai/codex`, or `@google/gemini-cli`) into a cached writable prefix at `OPENCLAW_DOCKER_CLI_TOOLS_DIR` (default: `~/.cache/openclaw/docker-cli-tools`). - The live CLI-backend smoke now exercises the same end-to-end flow for Claude, Codex, and Gemini: text turn, image classification turn, then MCP `cron` tool call verified through the gateway CLI. +- Claude's default smoke also patches the session from Sonnet to Opus and verifies the resumed session still remembers an earlier note. ## Live: ACP bind smoke (`/acp spawn ... --bind here`) @@ -448,7 +450,7 @@ Live tests discover credentials the same way the CLI does. Practical implication - Per-agent auth profiles: `~/.openclaw/agents//agent/auth-profiles.json` (this is what “profile keys” means in the live tests) - Config: `~/.openclaw/openclaw.json` (or `OPENCLAW_CONFIG_PATH`) - Legacy state dir: `~/.openclaw/credentials/` (copied into the staged live home when present, but not the main profile-key store) -- Live local runs copy the active config, per-agent `auth-profiles.json` files, legacy `credentials/`, and supported external CLI auth dirs into a temp test home by default; `agents.*.workspace` / `agentDir` path overrides are stripped in that staged config so probes stay off your real host workspace. +- Live local runs copy the active config, per-agent `auth-profiles.json` files, legacy `credentials/`, and supported external CLI auth dirs into a temp test home by default; staged live homes skip `workspace/` and `sandboxes/`, and `agents.*.workspace` / `agentDir` path overrides are stripped so probes stay off your real host workspace. If you want to rely on env keys (e.g. exported in your `~/.profile`), run local tests after `source ~/.profile`, or use the Docker runners below (they can mount `~/.profile` into the container).