Skip to content

Commit 2157052

Browse files
committed
chore: refresh test proof after mainline UI fix
2 parents 7e0b67e + 127a2ba commit 2157052

76 files changed

Lines changed: 2316 additions & 659 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎config/knip.config.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ const rootEntries = [
161161
"src/commands/status.ts!",
162162
"src/cli/daemon-cli.ts!",
163163
"src/agents/code-mode.worker.ts!",
164+
// The local exec bootstrap launches credential resolution by computed subprocess URL.
165+
"src/agents/github-exec-launcher.ts!",
164166
// Worker-thread and script entrypoints import contracts that production Knip cannot trace.
165167
"src/agents/compaction-planning.worker.ts!",
166168
"scripts/print-cli-backend-live-metadata.ts!",

‎docs/automation/index.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,17 @@ See [Heartbeat](/gateway/heartbeat).
123123
- **Task Flow** coordinates multi-step flows above individual tasks.
124124
- **Tasks** automatically track all detached work so you can inspect and audit it.
125125

126+
## Retired inferred commitments
127+
128+
The inferred commitments experiment has been removed: OpenClaw no longer
129+
extracts follow-ups from conversations or delivers them through heartbeat.
130+
The `openclaw commitments` maintenance CLI is also gone. The database migration
131+
discards the old commitment rows and removes their table and indexes.
132+
133+
For reminders or scheduled work, create an explicit
134+
[automation](/automation/cron-jobs). Automations are an alternative with a
135+
schedule and instructions you choose; they do not restore inferred follow-ups.
136+
126137
## Related
127138

128139
- [Automations](/automation/cron-jobs) — precise scheduling and one-shot reminders

‎docs/concepts/session.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,17 @@ they share a session.
6969

7070
Verify your setup with `openclaw security audit`.
7171

72+
## Retired channel docking
73+
74+
Channel docking and manual cross-channel reply focus have been removed. The
75+
`/dock-*` commands no longer move a session's reply destination to another
76+
channel.
77+
78+
Use `session.identityLinks` to associate a person's identities for DM session
79+
routing, or [thread-bound sessions](/tools/subagents#thread-bound-sessions) to
80+
keep a supported conversation attached to a subagent. These are separate
81+
features; neither restores manual cross-channel docking.
82+
7283
## Group and room routing
7384

7485
`session.groupScope` controls where non-direct peers store conversation

‎docs/docs.json‎

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,53 @@
5252
]
5353
},
5454
"redirects": [
55+
{
56+
"source": "/cli/commitments",
57+
"destination": "/en/automation#retired-inferred-commitments"
58+
},
59+
{
60+
"source": "/concepts/commitments",
61+
"destination": "/en/automation#retired-inferred-commitments"
62+
},
63+
{
64+
"source": "/concepts/channel-docking",
65+
"destination": "/en/concepts/session#retired-channel-docking"
66+
},
5567
{
5668
"source": "/install/clawdock",
57-
"destination": "/install/docker#clawdock-migration"
69+
"destination": "/en/install/docker#clawdock-migration"
70+
},
71+
{
72+
"source": "/plan/swarms",
73+
"destination": "/en/tools/swarm"
74+
},
75+
{
76+
"source": "/plugins/reference/linux-canvas",
77+
"destination": "/en/platforms/linux#retired-linux-canvas"
78+
},
79+
{
80+
"source": "/plugins/reference/open-prose",
81+
"destination": "/en/prose"
82+
},
83+
{
84+
"source": "/plugins/reference/workspaces",
85+
"destination": "/en/web/dashboards#retired-workspaces"
86+
},
87+
{
88+
"source": "/providers/qwen-oauth",
89+
"destination": "/en/providers/qwen#retired-qwen-portal-authentication"
90+
},
91+
{
92+
"source": "/refactor/canvas",
93+
"destination": "/en/platforms/mac/canvas"
94+
},
95+
{
96+
"source": "/reference/templates/TOOLS.dev",
97+
"destination": "/en/reference/templates/AGENTS.dev#tools"
98+
},
99+
{
100+
"source": "/web/workspaces",
101+
"destination": "/en/web/dashboards#retired-workspaces"
58102
},
59103
{
60104
"source": "/concepts/message-lifecycle-refactor",

‎docs/gateway/config-tools.md‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,9 @@ Controls elevated exec access outside the sandbox:
216216

217217
GitHub CLI identity is native by default. When `tools.github` is omitted, local agent tools, the Codex harness, and Agent Settings follow normal `gh` resolution: `GH_TOKEN` or `GITHUB_TOKEN` from the Gateway process takes precedence, followed by the runtime user's `gh` keyring/config. The Git author comes from the selected agent's workspace.
218218

219-
Use **Agents → Tools → GitHub Identity → Connect GitHub** for the recommended setup. OpenClaw displays a one-time user code with a **Copy code** button beside it; clicking the code selects it in full for manual copying. Open the fixed `https://github.com/login/device` link, paste the code, and approve `repo`, `workflow`, `read:org`, and `gist`. The latter two are part of GitHub CLI's minimum classic-token contract. The Gateway owns the device code, token exchange, account verification, private managed `gh` profile, and rotating refresh token. None of those credentials enter browser responses, config, logs, command arguments, transcripts, or model environments.
219+
Use **Agents → Tools → GitHub Identity → Connect GitHub** for the recommended setup. OpenClaw displays a one-time user code with a **Copy code** button beside it; clicking the code selects it in full for manual copying. Open the fixed `https://github.com/login/device` link, paste the code, and approve `repo`, `workflow`, `read:org`, and `gist`. The latter two are part of GitHub CLI's minimum classic-token contract. The Gateway owns the device code, token exchange, account verification, private managed `gh` profile, and rotating refresh token. Setup and refresh do not return credentials in browser responses or place them in config, logs, command arguments, transcripts, or the model runtime environment. OpenClaw-owned local exec receives an access token only through its private process-launch environment, as described below.
220220

221-
OAuth access tokens expire after about eight hours. The Gateway refreshes them before expiry, verifies the durable GitHub account ID, and atomically replaces the credential inside the same private profile so already-running local tools continue using that identity. An expired or rejected refresh token is shown as **Reconnect required**. Refresh never blocks Gateway startup.
221+
OAuth access tokens expire after about eight hours. The Gateway refreshes them before expiry, verifies the durable GitHub account ID, and atomically replaces the credential inside the same private profile. New local exec launches use the refreshed credential; an already-running local exec keeps its launch token until it exits. Restart a long-running shell after its access token expires. An expired or rejected refresh token is shown as **Reconnect required**. Refresh never blocks Gateway startup.
222222

223223
**Use a PAT instead** preserves the fine-grained personal access token setup as an explicit fallback. The browser places the pasted token in the secret store as a one-use handoff. The Gateway hard-deletes that handoff before passing its value to `gh auth login` on stdin. Both setup paths verify `/user`, publish an account-owned managed profile, default Git authorship to the account's canonical GitHub noreply identity, and store only secret-free config:
224224

@@ -248,11 +248,17 @@ OAuth access tokens expire after about eight hours. The Gateway refreshes them b
248248

249249
Omitting `agents.entries.<id>.tools.github` inherits the system identity. An agent object is a complete managed override. Settings shows the effective identity and the selected configuration scope separately, so editing **System** never masquerades as an agent override. If a configured managed profile is missing or unusable, GitHub status reports `configured_unavailable`; it never falls back to the native profile.
250250

251-
Managed identity applies to the `gh` CLI/API account and optional Git author/committer metadata in local OpenClaw exec and the local Codex harness. OpenClaw supplies a private `GH_CONFIG_DIR`, clears ambient `GH_TOKEN` and `GITHUB_TOKEN` precedence, and applies configured author fields through process-local environment and Git config overlays. It does not install a credential helper, rewrite SSH remotes, add HTTP authorization headers, or otherwise override an existing repository's Git network credentials. OAuth refresh keeps the same profile path and atomically replaces only its credential after verifying the durable account ID, so admitted local processes see the refreshed token on their next `gh` command. Choosing a different identity or inheritance target creates or selects another profile for new runs; existing processes keep their prior selected profile until they close. Retired profile files are cleaned on the next Gateway restart, so changing this setting is not immediate credential revocation.
251+
Managed identity selects the `gh` CLI/API account and optional Git author/committer metadata. OpenClaw prepares a non-secret overlay containing the private `GH_CONFIG_DIR`, ambient token scrubs, and configured author fields. It does not install a credential helper, rewrite SSH remotes, add HTTP authorization headers, or otherwise override an existing repository's Git network credentials. Commands still use the existing `gh` on `PATH`, including any operator-managed protection or caching wrapper.
252+
253+
For OpenClaw-owned `exec` with `host=gateway`, including Pi `exec` and Codex `gateway_exec`, the local launch owner reads and validates the selected profile immediately before each process launch. It places that access token in `GH_TOKEN` only in the private child environment and clears `GITHUB_TOKEN`; approval payloads, shared run environments, and worker payloads remain non-secret. A missing, tokenless, or insecure profile refuses the local execution before the command starts instead of permitting native-keyring fallback. This also applies to commands that might invoke `gh` indirectly. Reconnect or change the GitHub Identity selection before retrying. A launched command retains its selected credential even if the profile later disappears; the next exec launch reads the profile again.
254+
255+
**Codex-native shell is a separate boundary.** Native `exec_command` and shell execution still receive the non-secret profile overlay, not the private launch-time credential binding. `GH_CONFIG_DIR` does not isolate the OS keyring: if the selected profile disappears or loses its token, GitHub CLI can fall back to native keyring credentials. Use `gateway_exec` when the launch-bound managed identity guarantee is required. GitHub status and Gateway-owned publication guarantees do not extend to native shell execution.
256+
257+
Choosing a different identity or inheritance target selects another profile for new runs. An admitted run keeps its prior profile selection, and already-launched local exec processes keep their launch token until they exit. Retired profile files are cleaned on the next Gateway restart, so changing this setting is not immediate credential revocation.
252258

253259
Managed profiles provide execution and coordination identity; they are not an OS-user security sandbox. A process with unrestricted host execution under the same OS account can access account-owned files, including managed `gh` profiles. Use an OpenClaw sandbox, a dedicated host, or a dedicated OS user when adversarial isolation is required.
254260

255-
The profile is not forwarded to node hosts, OpenClaw sandboxes, remote-exec placements, or cloud workers; those environments remain credential-free. The `github_publish` tool instead records a bounded publication request. For cloud and remote-exec turns, the Gateway waits until the exact workspace result is reconciled and accepted, then commits remaining changes as the verified effective GitHub user, pushes the authoritative session branch through a one-shot HTTPS credential helper, and creates or reuses a draft pull request. The tool and worker payload contain no repository authority or credential.
261+
The Gateway's managed profile and credentials are not forwarded to node hosts, OpenClaw sandboxes, remote-exec placements, or cloud workers. Those execution hosts own their own environment and credential policy. The `github_publish` tool instead records a bounded publication request. For cloud and remote-exec turns, the Gateway waits until the exact workspace result is reconciled and accepted, then commits remaining changes as the verified effective GitHub user, pushes the authoritative session branch through a one-shot HTTPS credential helper, and creates or reuses a draft pull request. The tool and worker payload contain no repository authority or credential.
256262

257263
Local session-owned worktrees can use the same **Publish PR** action in the Control UI. The Gateway derives the managed worktree, repository, branch, base, and head from current session ownership. It never accepts those authority facts from the browser or model. Publication retries use a durable request ID, an exact commit marker, remote branch observation, and pull-request lookup by head branch so a Gateway restart or lost response does not create duplicate commits, pushes, or pull requests.
258264

‎docs/gateway/doctor.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ That stages grounded durable candidates into the short-term dreaming store while
254254

255255
Other commands that encounter legacy keys still ask you to run `openclaw doctor`. Doctor explains the issues, shows its migrations, and rewrites `~/.openclaw/openclaw.json` with the updated schema. Cron job store migrations are also handled by `openclaw doctor --fix`; automatic config-key migration does not import legacy session stores or repair services.
256256

257+
Per-agent migrations apply to both keyed `agents.entries` and legacy `agents.list` rosters, including rosters that already set `agents.ownership: "explicit"`. For example, Doctor preserves an agent's legacy `memorySearch` settings under `memory.search` and converts `sandbox.perSession` to `sandbox.scope`. Existing values at the current config paths take precedence.
258+
257259
<Note>
258260
Doctor only carries automatic migrations for roughly two months after a
259261
key is retired. Older legacy keys (for example the original

‎docs/gateway/security/index.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ The Control UI generates device identity with pure-JS Ed25519, so pairing works
765765
## Deployment and host trust
766766

767767
- Full-disk encryption on the gateway host; prefer a dedicated OS user account for the Gateway if the host is shared.
768-
- Published package dependency lock: source checkouts use `pnpm-lock.yaml`; the published `openclaw` npm package and OpenClaw-owned npm plugin packages include `npm-shrinkwrap.json` so installs use the reviewed transitive dependency graph from the release instead of resolving a fresh graph at install time. This is a supply-chain hardening and release reproducibility boundary, not a sandbox - see [npm shrinkwrap](/gateway/security/dependency-locking).
768+
- Published package dependencies: `pnpm-lock.yaml` is the reviewed source dependency graph. Plugin packages bundle runtime dependencies by default; native-heavy plugins resolve them at install time from exact-pinned direct dependencies, and the root `openclaw` package also resolves dependencies at install time. Root and plugin tarballs ship neither `npm-shrinkwrap.json` nor `package-lock.json`. See [Dependency locking](/gateway/security/dependency-locking).
769769
- Secure file operations: OpenClaw uses `@openclaw/fs-safe` for root-bounded file access, atomic writes, archive extraction, temp workspaces, and secret-file helpers. Optional native acceleration defaults **off**; set `OPENCLAW_FS_SAFE_NATIVE_MODE=auto` to use an installed platform binding or `require` to fail closed when native support is unavailable. Details: [Secure file operations](/gateway/security/secure-file-operations).
770770
- Shared Slack workspace risk: if everyone in Slack can message the bot, the core risk is delegated tool authority - any allowed sender can induce tool calls (`exec`, browser, network/file tools) within the agent's policy, prompt/content injection from one sender can affect shared state/devices/outputs, and if the shared agent has sensitive credentials/files, any allowed sender can potentially drive exfiltration via tool usage. Use separate agents/gateways with minimal tools for team workflows; keep personal-data agents private.
771771
- Company-shared agent (acceptable pattern): fine when everyone using the agent is in the same trust boundary (for example one company team) and the agent is strictly business-scoped. Run it on a dedicated machine/VM/container, use a dedicated OS user + dedicated browser/profile/accounts, and do not sign that runtime into personal Apple/Google accounts or personal password-manager/browser profiles. Mixing personal and company identities on the same runtime collapses the separation and increases personal-data exposure risk.

‎docs/platforms/linux.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,14 @@ Camera devices must be readable by the service user, commonly through the `video
245245

246246
`camera.snap` and `camera.clip` also require explicit Gateway arming through `gateway.nodes.commands.allow`. See [Camera capture](/nodes/camera) and [Location command](/nodes/location-command) for payloads, limits, and errors.
247247

248+
## Retired Linux Canvas
249+
250+
The bundled Linux Canvas bridge and its desktop Canvas window have been removed.
251+
For inline widgets in the Control UI, use [`show_widget`](/tools/show-widget).
252+
The separate [macOS widget panel](/platforms/mac/canvas) requires a connected
253+
Mac and is render-only. These widget surfaces do not restore the former Linux
254+
Canvas bridge or its A2UI push commands.
255+
248256
## Install
249257

250258
- [Getting Started](/start/getting-started)

‎docs/plugins/codex-harness-runtime.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ marked `catalogMode: "direct-only"` use `openclaw_direct`, which Codex keeps
6969
directly model-visible as `DirectModelOnly` instead of exposing it to nested
7070
Code Mode execution.
7171

72+
For a [managed GitHub identity](/gateway/config-tools#toolsgithub), `gateway_exec` uses OpenClaw's private local process-launch credential binding. Native Codex shell instead receives only the non-secret `GH_CONFIG_DIR` and token-clearing overlay; a missing or tokenless profile can still let GitHub CLI fall back to the OS keyring. Status and Gateway-owned publication guarantees do not cover that native shell path. Use `gateway_exec` when launch-bound managed GitHub credentials are required.
73+
7274
## Recovery after a hard Gateway stop
7375

7476
On POSIX systems, OpenClaw checks for registered orphaned Codex app-server

0 commit comments

Comments
 (0)