Skip to content

feat: share selected sessions read-only with a paired team Gateway - #136253

Merged
steipete merged 7 commits into
mainfrom
steipete/gateway-linking-domains-ec9546
Sep 12, 2026
Merged

steipete merged 7 commits into
mainfrom
steipete/gateway-linking-domains-ec9546

Conversation

@steipete

@steipete steipete commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Operators cannot show selected native OpenClaw sessions from one Gateway in another Gateway's Control UI. Existing coding-session catalogs do not publish native Gateway sessions.

Why This Change Was Made

The disabled-by-default session-share plugin publishes explicitly selected session groups through two read-only paired-node commands. The receiver displays those sessions in its existing catalog UI while the source retains transcript and execution ownership. A persistent node command allowlist limits the connection to the selected commands and suppresses unrelated machine capabilities and publications.

This revision uses the existing catalog audience contract with session-viewers; Beam retains its existing gateway-operators behavior. Reads recheck source publication and receiver roles after asynchronous work. Configured source stores remain authoritative, including cursor and revocation identity. Established paired-node reconnects use their cached node credential without transmitting a colocated Gateway's configured password; explicit environment credentials and retargeting keep their documented behavior.

Maintainer acceptance: Peter approved landing the bundled optional plugin, its configuration, the persisted command allowlist, and the role-scoped catalog audience. The allowlist extends the existing nodeHost.config machine-state value; there are no new database tables or schema versions. Existing configurations remain unrestricted unless an allowlist is selected. Do not downgrade a restricted node to a version that cannot enforce its allowlist while that connection remains enabled.

User Impact

Put selected source sessions into a group, configure share.groups, and pair the source with --commands openclaw.sessions.list.v1,openclaw.sessions.read.v1. Authorized receiver viewers see an OpenClaw sessions section grouped by source device. Transcripts remain view-only: no continuation, archival, terminal, or worker execution is granted.

Removing a session from a published group revokes subsequent reads. Incognito, draft, and adopted catalog sessions are excluded. Empty groups publish nothing. Unnamed cold transcripts remain listable without restoring source storage; cold or oversized transcript reads explain that the operator must inspect them on the source. Source reads have an 8 MiB raw-page bound and never silently skip oversized entries. Sharing refreshes by polling and requires the source node to remain connected.

Evidence

  • Refreshed against September 12 main; focused validation passed 582 tests across 39 files, covering native SQLite transcripts, custom fixed/template stores, paging and source rebinding, cold storage, byte bounds, receiver roles/revocation, Beam behavior, node command restrictions, paired reconnects, and service/CLI wiring.
  • New regressions failed on the pre-fix code for the intended failures: reading a default-store decoy, sending the source Gateway password on reconnect, rejecting an unnamed cold title, and materializing oversized raw entries. The restricted-node test also caught newly inherited host-metric publication before its correction.
  • pnpm build and pnpm tsgo:all passed before the final rebase and handler extraction. After that refresh, 148 affected tests, core typechecking, targeted lint, full standalone pnpm lint, root integration-test lint, and the import-cycle check (zero cycles) passed. Three independent P0–P2 reviews found no actionable issues; the latest reviewed the current head.
  • check:changed passed its guards and type lanes before an ancestor dependency lookup failed the nested maintainer worktree lint stage. The identical tree passed the remaining lint, import-cycle, and root integration-test gates in a standalone checkout with its own installation. No guard was disabled and no ancestor dependencies were changed.
  • Exact-head CI passed: run 34714858183. Real installed-node upgrade proof passed on an isolated Linux Testbox: published npm [email protected] drove the update to this exact candidate. Native service stops and MainPID=0 checks preceded update --no-restart. Existing default commands and device identity survived; reconnect used the stored node token with zero colocated Gateway-password leaks; exactly two restricted commands survived restart and a second actual package activation; --all-commands restored the full surface durably across restart and option-free reinstall. Final run exited 0.
  • An earlier maintenance attempt left the Gateway running: candidate Doctor refused its live lifecycle lock, and the published updater verified package rollback. The successful cell uses the same stopped-service maintenance sequence as the managed source deployment; it is not evidence of a zero-downtime live-node upgrade.
  • The second activation used the same frozen source with fresh metadata generated by the native build-info writer and canonical repack; its distinct build ID forced a real swap (status: ok) with the restriction already installed. Second tarball SHA-256: e4a0baca1f6cedab56b4212a70b40ab03a0fbde1dece77464cf657b9e2b93b46.
  • Initial candidate tarball SHA-256: 6f4566ee0c5c8199fa8382eae66d6d29ad7e191d4be5a7b1749b44b1edb96acc; isolated Testbox provisioning run.
  • The generated configuration baseline adds 28 plugin entries for the approved Session Share settings; core and channel counts and hashes are unchanged.

Earlier synthetic two-Gateway/UI proof from the original feature head demonstrates the catalog presentation; the refreshed revision's executable proof is listed above.

Receiver sidebar with two shared synthetic sessions

Shared synthetic transcript opened view-only

session-share-proof.mp4

@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime cli CLI command changes commands Command implementations agents Agent runtime and tooling plugin: file-transfer plugin: beam Beam session sharing plugin size: XL maintainer Maintainer-authored PR labels Sep 2, 2026
@steipete
steipete marked this pull request as ready for review September 2, 2026 10:44
@steipete
steipete requested a review from a team as a code owner September 2, 2026 10:44
@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Sep 2, 2026
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Dependency Guard

This PR changes dependency-related files. Maintainers should confirm these changes are intentional.

Changed files:

  • extensions/session-share/package.json
  • pnpm-lock.yaml

Maintainer follow-up:

  • Review whether the dependency changes are intentional.
  • Inspect resolved package deltas when lockfiles or workspace dependency policy changes are present.
  • Treat pnpm-lock.yaml and package-lock.json diffs as dependency security-review surfaces.
  • Run pnpm deps:changes:report -- --base-ref origin/main --markdown /tmp/dependency-changes.md --json /tmp/dependency-changes.json locally for detailed release-style evidence.

@github-actions

github-actions Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Dependency graph changes noted

This PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin, a member of @openclaw/openclaw-secops, or an OpenClaw organization member with Maintain or Admin repository access.

  • Current SHA: 513352dc37f1d4e8f105ff9209a6f8cde60b2aa1
  • Trusted actor: @steipete
  • Trusted role: pull request author; openclaw-secops

Security review is still recommended before merge when the dependency graph change is intentional.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 2, 2026
@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 12, 2026, 3:52 PM ET / 19:52 UTC (Revision 14).

ClawSweeper review

What this changes

Adds an optional plugin for sharing selected native sessions read-only between paired Gateways, with persistent node command restrictions and role-aware viewing.

Merge readiness

⛔ Blocked before merge - 3 items remain

This remains useful, maintainer-sponsored work absent from current main. The earlier code findings are addressed, and no new blocking correctness defect was established.

Priority: P2
Reviewed head: 513352dc37f1d4e8f105ff9209a6f8cde60b2aa1

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The implementation and regression coverage are solid; installed-service upgrade validation remains the material readiness gap.
Proof confidence 🌊 off-meta tidepool Not applicable: The ordinary contributor-proof gate is exempt for this maintainer-authored PR. Inspected original-feature screenshots demonstrate the receiver catalog and view-only transcript; focused regressions cover forbidden viewers and revocation, while installed-service upgrade evidence remains a separate requirement.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The ordinary contributor-proof gate is exempt for this maintainer-authored PR. Inspected original-feature screenshots demonstrate the receiver catalog and view-only transcript; focused regressions cover forbidden viewers and revocation, while installed-service upgrade evidence remains a separate requirement.
Evidence reviewed 10 items Pinned scope and live PR identity: Reviewed the merge-base-to-head changes rather than endpoint drift. The live GitHub read confirms the pinned head remains open, unmerged, and assigned to steipete.
Source publication authorization: The registered read command selects a currently published session, reads its configured store, and rechecks group eligibility, agent, store, key, and session identity before returning text. Integration coverage includes private/draft/incognito exclusions and store changes during a read.
Receiver permissions and prior findings: Receiver visibility is checked again after provider reads. Focused regression coverage rejects owner-only and unprofiled restricted viewers, denies reads after role revocation, and prevents source keys from becoming local adoption claims. The current worker also omits headless command restrictions, and receiver identities use the invoked node’s namespace.
Findings None None.
Security None None.

How this fits together

Session Share reads selected session groups from the source Gateway’s storage through a restricted paired node. The receiving Gateway applies viewer permissions and presents the transcripts in its existing session catalog.

flowchart LR
  A[Selected source groups] --> B[Source session storage]
  B --> C[Publication and identity checks]
  C --> D[Restricted paired node]
  D --> E[Receiver viewer permissions]
  E --> F[Read-only session catalog]
Loading

Before merge

  • Resolve merge risk (P1) - Installed-node upgrade behavior remains unverified through a published updater: existing settings and command restrictions must survive, and paired reconnects must avoid sending a colocated Gateway’s configured credentials.
  • Resolve merge risk (P1) - Older runtimes cannot enforce the new persisted allowlist; the recorded downgrade restriction must remain explicit for operators.
  • Complete next step (P2) - Provide published-updater-to-candidate evidence showing installed nodes retain their settings, reconnect with the intended credentials, and preserve command restriction/reset behavior.
Agent review details

Security

None.

PR surface

Source +1541, Tests +1902, Docs +288, Config +19, Generated 0, Other +5. Total +3755 across 69 files.

View PR surface stats
Area Files Added Removed Net
Source 33 1825 284 +1541
Tests 16 1913 11 +1902
Docs 14 294 6 +288
Config 2 19 0 +19
Generated 2 3 3 0
Other 2 6 1 +5
Total 69 4060 305 +3755

Review metrics

Metric Value Why it matters
Persistent command selection 2 CLI flags; 1 optional persisted field The selection and reset must agree across foreground execution, service installation, and restart.
Production versus regression coverage Production TypeScript +1,487 net; tests/support +1,902 net The growth supports the accepted plugin, transcript projection, command restriction, and authorization contracts.

Merge-risk options

Maintainer options:

  1. Verify installed-node upgrades (recommended)
    Attach published-updater-to-candidate evidence covering preserved settings, paired reconnects, and restriction/reset behavior before landing.

Technical review

Best possible solution:

Keep source-owned publication and receiver-owned permissions on the existing catalog contracts, with demonstrated installed-node upgrade safety and an explicit downgrade boundary.

Do we have a high-confidence way to reproduce the issue?

Not applicable to the feature request; source inspection confirms the missing native publication capability, and no new patch defect was established. Tests were inspected, not executed during this read-only review.

Is this the best way to solve the issue?

Yes: the accepted optional plugin reuses paired-node transport and catalog presentation while retaining source storage ownership; installed-service upgrade validation remains incomplete.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against a1e5797a4268.

Labels

Label justifications:

  • P2: This is an optional, explicitly enabled team-sharing improvement without evidence of an urgent existing-user outage.
  • merge-risk: 🚨 compatibility: Persistent command selection and service credential precedence require upgrade validation, and older runtimes cannot enforce the allowlist.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The ordinary contributor-proof gate is exempt for this maintainer-authored PR. Inspected original-feature screenshots demonstrate the receiver catalog and view-only transcript; focused regressions cover forbidden viewers and revocation, while installed-service upgrade evidence remains a separate requirement.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The ordinary contributor-proof gate is exempt for this maintainer-authored PR. Inspected original-feature screenshots demonstrate the receiver catalog and view-only transcript; focused regressions cover forbidden viewers and revocation, while installed-service upgrade evidence remains a separate requirement.

Evidence

What I checked:

  • Pinned scope and live PR identity: Reviewed the merge-base-to-head changes rather than endpoint drift. The live GitHub read confirms the pinned head remains open, unmerged, and assigned to steipete. (513352dc37f1)
  • Source publication authorization: The registered read command selects a currently published session, reads its configured store, and rechecks group eligibility, agent, store, key, and session identity before returning text. Integration coverage includes private/draft/incognito exclusions and store changes during a read. (extensions/session-share/src/node-commands.ts:148, 513352dc37f1)
  • Receiver permissions and prior findings: Receiver visibility is checked again after provider reads. Focused regression coverage rejects owner-only and unprofiled restricted viewers, denies reads after role revocation, and prevents source keys from becoming local adoption claims. The current worker also omits headless command restrictions, and receiver identities use the invoked node’s namespace. (src/gateway/server-methods/session-catalog-read.ts:31, 513352dc37f1)
  • Local command enforcement: The node checks incoming commands against its restricted manifest before dispatch. Preparation suppresses unrelated capabilities, worker hosting, skills, and MCP startup; connection handling suppresses host metrics. Tests exercise allowed reads and rejected execution commands. (src/node-host/runtime.ts:508, 513352dc37f1)
  • Upgrade boundary remains relevant: The optional commands array is persisted in the existing nodeHost.config value; omission preserves it and --all-commands removes it. Service arguments also carry the selection. Root policy requires published-driver-to-candidate proof for service lifecycle changes. The captured body reports focused tests, builds, and earlier UI proof, but no installed-service upgrade run. (src/node-host/config.ts:269, 513352dc37f1)
  • Maintainer acceptance and review continuity: The captured PR body records acceptance of the bundled plugin, configuration, persisted allowlist, and catalog audience, including the older-runtime downgrade limitation. The September 12 comment requests review without repair or automerge: feat: share selected sessions read-only with a paired team Gateway #136253 (comment). The previous completed review’s upgrade-evidence request remains applicable to the current service/config changes. Earlier-head comparison was unavailable, so no unchanged-code or late-finding claim is made. (513352dc37f1)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • fuller-stack-dev: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Attach published-updater-to-candidate evidence for existing node settings, paired reconnects, and restriction/reset behavior.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (13 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-02T15:19:45.849Z sha 23064a0 :: found issues before merge. :: [P1] Keep the headless allowlist out of the private macOS worker
  • reviewed 2026-09-02T15:52:55.054Z sha 4e817d6 :: needs changes before merge. :: [P1] Keep the headless allowlist out of the private macOS worker
  • reviewed 2026-09-02T19:42:07.710Z sha 68152be :: needs changes before merge. :: [P1] Revalidate published reads after deferred source work
  • reviewed 2026-09-02T20:23:13.303Z sha 68152be :: needs real behavior proof before merge. :: [P1] Revalidate published reads after deferred source work
  • reviewed 2026-09-02T21:03:43.362Z sha daa8de5c2faa6ec1337b82d8471b37a6100fd44d :: needs maintainer review before merge. :: none
  • reviewed 2026-09-02T21:16:34.407Z sha fb73c92b0964172f7bb9492c3478625ab6123e63 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-02T21:44:39.232Z sha fa46cb8 :: blocked before merge. :: none
  • reviewed 2026-09-12T19:32:51.574Z sha 2fc5ecf20d34ee8f5386b06ec7c91b07a0687925 :: blocked before merge. :: none

@steipete
steipete force-pushed the steipete/gateway-linking-domains-ec9546 branch from 4bfd324 to f04672d Compare September 2, 2026 11:04
@clawsweeper clawsweeper Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Sep 2, 2026
@steipete
steipete force-pushed the steipete/gateway-linking-domains-ec9546 branch from f04672d to b6e6024 Compare September 2, 2026 11:44
@steipete

steipete commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Addressed the ClawSweeper P1 (no supported way to clear a saved --commands allowlist) in 2522a848225 (folded into the node-host commit; head now b6e602409a6f).

Decision: a declarative reset rather than an empty-list spelling. --all-commands on openclaw node run, openclaw node install, and openclaw connect advertises the full default surface and removes the saved commands key from the durable node-host config; for installed services the replacement argv no longer carries --commands. Combining it with --commands is a usage error. Covered by real-parser tests on all three commands, a config-store test that the key is absent after reset, and service-argv persistence tests; docs updated in docs/cli/connect.md, docs/cli/node.md, docs/nodes/index.md, and the Session Share troubleshooting section.

On the "stored data model" note: the only persisted change is an optional commands string array on the existing nodeHost.config machine-state JSON row; older readers ignore unknown keys and nothing else changes shape.

@clawsweeper clawsweeper Bot added merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 🎥 video Contributor real behavior proof includes video or recording evidence. and removed merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Sep 2, 2026
@openclaw-barnacle openclaw-barnacle Bot closed this Sep 2, 2026
@clawsweeper

clawsweeper Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

Persist exact node command selection and restrict ancillary publication and hosting. Preserve the unchanged assertion baseline under the work-order stop rule; check:changed requests removing the obsolete runtime.ts count (2 to 0).
Expose bounded read-only native display pages and portable attribution through the existing runtime subpath. Keep pagination scoped to the original active transcript branch and allow an explicit bounded native cursor length.
… gateways

Publish explicitly selected native session groups through two paired node commands. Validate the closed wire contract, reject remote profile claims, and keep receiver identity binding opt-in and display-only.
Let publication consent satisfy catalog read visibility for roles allowed to view others, while owner-only and unprofiled callers stay hidden. Preserve published attribution without accepting a remote local-session adoption claim. Regression tests reproduce four pre-fix failures; final validation stopped at the work-order baseline gate.
Document sessions-only node setup, explicit publication groups, receiver attribution, view-scoped catalog access, and read-only limits. Add the bundled plugin inventory and generated reference entry. Live proof runbook remains outside the repository; build and rig execution are blocked by the work-order baseline restriction.
Respect configured stores through listing, paging, and revocation. Keep cold listings available and bound raw transcript reads. Prefer the established paired node credential on service restart, suppress unrelated host metrics, and refresh the approved plugin configuration docs.
@clawsweeper clawsweeper Bot added the proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. label Sep 12, 2026
Keep the catalog dispatcher within its owned scope and preserve post-read role checks and sender projection. Align the rebased tests with their shared setup and imports.
@steipete
steipete force-pushed the steipete/gateway-linking-domains-ec9546 branch from 2fc5ecf to 513352d Compare September 12, 2026 19:40
@steipete
steipete merged commit 5278a8f into main Sep 12, 2026
189 checks passed
@steipete
steipete deleted the steipete/gateway-linking-domains-ec9546 branch September 12, 2026 20:35
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 13, 2026
…penclaw#136253)

* feat(node-host): advertise an explicit node command allowlist

Persist exact node command selection and restrict ancillary publication and hosting. Preserve the unchanged assertion baseline under the work-order stop rule; check:changed requests removing the obsolete runtime.ts count (2 to 0).

* feat(plugin-sdk): session transcript catalog reader

Expose bounded read-only native display pages and portable attribution through the existing runtime subpath. Keep pagination scoped to the original active transcript branch and allow an explicit bounded native cursor length.

* feat(session-share): read-only OpenClaw session catalog across paired gateways

Publish explicitly selected native session groups through two paired node commands. Validate the closed wire contract, reject remote profile claims, and keep receiver identity binding opt-in and display-only.

* fix(gateway): show published session catalogs to view-scoped roles

Let publication consent satisfy catalog read visibility for roles allowed to view others, while owner-only and unprofiled callers stay hidden. Preserve published attribution without accepting a remote local-session adoption claim. Regression tests reproduce four pre-fix failures; final validation stopped at the work-order baseline gate.

* docs: session sharing across gateways

Document sessions-only node setup, explicit publication groups, receiver attribution, view-scoped catalog access, and read-only limits. Add the bundled plugin inventory and generated reference entry. Live proof runbook remains outside the repository; build and rig execution are blocked by the work-order baseline restriction.

* fix(session-share): preserve source storage and paired reconnects

Respect configured stores through listing, paging, and revocation. Keep cold listings available and bound raw transcript reads. Prefer the established paired node credential on service restart, suppress unrelated host metrics, and refresh the approved plugin configuration docs.

* refactor(gateway): separate authorized catalog reads

Keep the catalog dispatcher within its owned scope and preserve post-read role checks and sender projection. Align the rebased tests with their shared setup and imports.
hbjydev pushed a commit to hbjydev/phoebe that referenced this pull request Sep 20, 2026
…26.9.5) (#696)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/openclaw/openclaw](https://openclaw.ai) ([source](https://github.com/openclaw/openclaw)) | patch | `2026.9.4` → `2026.9.5` |

---

### Release Notes

<details>
<summary>openclaw/openclaw (ghcr.io/openclaw/openclaw)</summary>

### [`v2026.9.5`](https://github.com/openclaw/openclaw/releases/tag/v2026.9.5): openclaw 2026.9.5

[Compare Source](openclaw/openclaw@v2026.9.4...v2026.9.5)

#### 2026.9.5

##### Highlights

- **Safer upgrades and retained history:** Doctor preserves session history and repeated-repair state, finishes upgrades with invalid retained histories, and avoids repeatedly stalling or stopping a Gateway that is still starting. ([#&#8203;149741](openclaw/openclaw#149741), [#&#8203;149956](openclaw/openclaw#149956), [#&#8203;148901](openclaw/openclaw#148901), [#&#8203;149308](openclaw/openclaw#149308), [#&#8203;149823](openclaw/openclaw#149823), [#&#8203;149760](openclaw/openclaw#149760)) Related [#&#8203;149822](openclaw/openclaw#149822) Thanks [@&#8203;masatohoshino](https://github.com/masatohoshino).
- **Live plugin management:** install and reload supported plugins without restarting the Gateway, update tools in active agent and managed Codex conversations, and manage multiple plugins in one CLI command. ([#&#8203;145484](openclaw/openclaw#145484), [#&#8203;145710](openclaw/openclaw#145710), [#&#8203;145713](openclaw/openclaw#145713), [#&#8203;145648](openclaw/openclaw#145648), [#&#8203;145917](openclaw/openclaw#145917), [#&#8203;149910](openclaw/openclaw#149910)) Related [#&#8203;149909](openclaw/openclaw#149909) Thanks [@&#8203;obviyus](https://github.com/obviyus).
- **Clearer multi-agent work:** distinguish execution from result delivery, use private parent completion handoffs, resume scoped session inventories, and deliver one answer for each steered input. ([#&#8203;147571](openclaw/openclaw#147571), [#&#8203;147206](openclaw/openclaw#147206), [#&#8203;150065](openclaw/openclaw#150065), [#&#8203;148051](openclaw/openclaw#148051), [#&#8203;149925](openclaw/openclaw#149925)) Related [#&#8203;27445](openclaw/openclaw#27445), [#&#8203;147955](openclaw/openclaw#147955) Thanks [@&#8203;good-warning](https://github.com/good-warning), [@&#8203;nicknmorty](https://github.com/nicknmorty), [@&#8203;obviyus](https://github.com/obviyus), [@&#8203;VACInc](https://github.com/VACInc), and [@&#8203;vincentkoc](https://github.com/vincentkoc).
- **A desktop-first Systems workspace:** manage Gateway connections through web login and switch saved Gateways independently of Primary, with sidebar switching on iOS and Android. ([#&#8203;147519](openclaw/openclaw#147519), [#&#8203;148526](openclaw/openclaw#148526), [#&#8203;147684](openclaw/openclaw#147684), [#&#8203;146641](openclaw/openclaw#146641), [#&#8203;148209](openclaw/openclaw#148209)) Related [#&#8203;147217](openclaw/openclaw#147217), [#&#8203;147576](openclaw/openclaw#147576), [#&#8203;148205](openclaw/openclaw#148205) Thanks [@&#8203;IWhatsskill](https://github.com/IWhatsskill), [@&#8203;Solvely-Colin](https://github.com/Solvely-Colin), and [@&#8203;vincentkoc](https://github.com/vincentkoc).
- **More flexible live voice:** use GPT Live across calls and meetings, choose account-specific Talk defaults, and change voices during an active Talk or Discord call. ([#&#8203;145382](openclaw/openclaw#145382), [#&#8203;146546](openclaw/openclaw#146546), [#&#8203;146676](openclaw/openclaw#146676)) Related [#&#8203;145071](openclaw/openclaw#145071).
- **Citations and review in context:** preview cited sources in web and native chats, turn selected chat text into editable comments, reference selected Android review lines, and toggle word wrapping in Review. ([#&#8203;148431](openclaw/openclaw#148431), [#&#8203;148904](openclaw/openclaw#148904), [#&#8203;148906](openclaw/openclaw#148906), [#&#8203;148649](openclaw/openclaw#148649), [#&#8203;144101](openclaw/openclaw#144101), [#&#8203;143972](openclaw/openclaw#143972)) Related [#&#8203;144093](openclaw/openclaw#144093), [#&#8203;148409](openclaw/openclaw#148409) Thanks [@&#8203;ansxor](https://github.com/ansxor), [@&#8203;IWhatsskill](https://github.com/IWhatsskill), [@&#8203;Marvinthebored](https://github.com/Marvinthebored), [@&#8203;Patrick-Erichsen](https://github.com/Patrick-Erichsen), and [@&#8203;shakkernerd](https://github.com/shakkernerd).
- **Simpler model sign-in and selection:** align native sign-in with runtime choices, sign in without changing the model, choose across agent harnesses, and connect Radius models with browser sign-in and native streaming. ([#&#8203;143588](openclaw/openclaw#143588), [#&#8203;144329](openclaw/openclaw#144329), [#&#8203;147994](openclaw/openclaw#147994), [#&#8203;145377](openclaw/openclaw#145377)) Thanks [@&#8203;obviyus](https://github.com/obviyus).

##### Changes

- **Conversation navigation:** native sidebars preview pending requests, while macOS, iOS, Android, and web chat can collapse completed work so replies and older history remain easier to read. ([#&#8203;149811](openclaw/openclaw#149811), [#&#8203;147540](openclaw/openclaw#147540), [#&#8203;148002](openclaw/openclaw#148002), [#&#8203;148050](openclaw/openclaw#148050), [#&#8203;147295](openclaw/openclaw#147295)) Related [#&#8203;147271](openclaw/openclaw#147271), [#&#8203;149682](openclaw/openclaw#149682) Thanks [@&#8203;vyctorbrzezowski](https://github.com/vyctorbrzezowski).

- **Agent setup and teams:** start from role templates and a team preset, show every agent and its sessions in team mode, and use a roster-first Agents home. ([#&#8203;145712](openclaw/openclaw#145712), [#&#8203;141476](openclaw/openclaw#141476), [#&#8203;141097](openclaw/openclaw#141097)) Thanks [@&#8203;hannesrudolph](https://github.com/hannesrudolph).

- **Group conversations:** coordinate bounded multi-agent group threads across channels and share selected sessions read-only with a paired team Gateway. ([#&#8203;141411](openclaw/openclaw#141411), [#&#8203;136253](openclaw/openclaw#136253))

- **Activity and run artifacts:** show rolling session recaps, Git changes and PR previews, and select assistant-delivered files by the run that produced them. ([#&#8203;147441](openclaw/openclaw#147441), [#&#8203;145530](openclaw/openclaw#145530), [#&#8203;147682](openclaw/openclaw#147682)) Related [#&#8203;145529](openclaw/openclaw#145529), [#&#8203;147383](openclaw/openclaw#147383) Thanks [@&#8203;onlyysaurabh](https://github.com/onlyysaurabh) and [@&#8203;vincentkoc](https://github.com/vincentkoc).

- **Browser and dashboards:** download assets from the Browser sidebar, share browser dashboards with agents, embed websites in full-screen session dashboards, and save shared split/full-screen defaults. ([#&#8203;144480](openclaw/openclaw#144480), [#&#8203;146702](openclaw/openclaw#146702), [#&#8203;146312](openclaw/openclaw#146312), [#&#8203;146475](openclaw/openclaw#146475)) Related [#&#8203;144477](openclaw/openclaw#144477), [#&#8203;146303](openclaw/openclaw#146303), [#&#8203;146308](openclaw/openclaw#146308), [#&#8203;146577](openclaw/openclaw#146577) Thanks [@&#8203;Patrick-Erichsen](https://github.com/Patrick-Erichsen).

- **Desktop interaction:** control Gateway desktops without a paired node, match virtual worker displays to their viewport, and watch live desktops in Picture-in-Picture. ([#&#8203;147275](openclaw/openclaw#147275), [#&#8203;143938](openclaw/openclaw#143938), [#&#8203;143836](openclaw/openclaw#143836)) Related [#&#8203;143829](openclaw/openclaw#143829), [#&#8203;147274](openclaw/openclaw#147274) Thanks [@&#8203;vincentkoc](https://github.com/vincentkoc).

- **Remote workspaces:** start remote sessions without a repository, select repository-defined source checkouts, and reduce source storage through filesystem snapshots, APFS clones, and ReFS clones. ([#&#8203;147773](openclaw/openclaw#147773), [#&#8203;149581](openclaw/openclaw#149581), [#&#8203;146251](openclaw/openclaw#146251), [#&#8203;146338](openclaw/openclaw#146338), [#&#8203;146403](openclaw/openclaw#146403)) Related [#&#8203;146250](openclaw/openclaw#146250), [#&#8203;146288](openclaw/openclaw#146288), [#&#8203;149580](openclaw/openclaw#149580) Thanks [@&#8203;fuller-stack-dev](https://github.com/fuller-stack-dev) and [@&#8203;obviyus](https://github.com/obviyus).

- **Code mode:** find MCP tools by task, reuse results between code cells, retain oversized results for later cells, and infer result shape from the requested action. ([#&#8203;147134](openclaw/openclaw#147134), [#&#8203;147154](openclaw/openclaw#147154), [#&#8203;147278](openclaw/openclaw#147278), [#&#8203;147291](openclaw/openclaw#147291))

- **Plugin state and background work:** offer asynchronous task/flow reads and worker-backed keyed and conditional state operations without removing the supported synchronous SDK paths. ([#&#8203;145851](openclaw/openclaw#145851), [#&#8203;146557](openclaw/openclaw#146557), [#&#8203;147891](openclaw/openclaw#147891))

- **Hot policy changes:** apply browser control policy, Telegram access/reply policy, and renewed TLS certificates without restarting their running services. ([#&#8203;146100](openclaw/openclaw#146100), [#&#8203;146129](openclaw/openclaw#146129), [#&#8203;146267](openclaw/openclaw#146267))

- **Model providers:** support OpenRouter sign-in from private chat, explicit consent before exposing restricted provider models, and opt-in stored HTTP continuation for compatible Responses endpoints. ([#&#8203;144491](openclaw/openclaw#144491), [#&#8203;144468](openclaw/openclaw#144468), [#&#8203;128633](openclaw/openclaw#128633)) Related [#&#8203;123215](openclaw/openclaw#123215) Thanks [@&#8203;hartmark](https://github.com/hartmark), [@&#8203;obviyus](https://github.com/obviyus), and [@&#8203;Patrick-Erichsen](https://github.com/Patrick-Erichsen).

- **Codex interaction:** answer asynchronous questions while other agent work continues, view usage beside saved logins, and expose slow or failed catalog phases with retained-request correlation. ([#&#8203;144664](openclaw/openclaw#144664), [#&#8203;132453](openclaw/openclaw#132453), [#&#8203;132454](openclaw/openclaw#132454), [#&#8203;148639](openclaw/openclaw#148639), [#&#8203;148735](openclaw/openclaw#148735), [#&#8203;149616](openclaw/openclaw#149616)) Related [#&#8203;144643](openclaw/openclaw#144643), [#&#8203;148629](openclaw/openclaw#148629), [#&#8203;148728](openclaw/openclaw#148728) Thanks [@&#8203;jesse-merhi](https://github.com/jesse-merhi).

- **Daybreak fallback:** retry supported cyber-refused turns on Daybreak, surface cyber notices, and announce successful retries. ([#&#8203;143761](openclaw/openclaw#143761), [#&#8203;145291](openclaw/openclaw#145291), [#&#8203;147146](openclaw/openclaw#147146)) Thanks [@&#8203;VACInc](https://github.com/VACInc).

- **Triage handoffs:** add Muse, Grok, Cursor, Kimi Code, and Qwen Code handoffs through the existing triage workflow. ([#&#8203;149703](openclaw/openclaw#149703), [#&#8203;149877](openclaw/openclaw#149877))

- **Automation history:** query and paginate run history from the CLI, show readable timer wake timestamps, and list matches when an automation name is ambiguous. ([#&#8203;141777](openclaw/openclaw#141777), [#&#8203;141742](openclaw/openclaw#141742), [#&#8203;150082](openclaw/openclaw#150082)) Related [#&#8203;58574](openclaw/openclaw#58574), [#&#8203;141745](openclaw/openclaw#141745) Thanks [@&#8203;Alix-007](https://github.com/Alix-007), [@&#8203;Celthi](https://github.com/Celthi), [@&#8203;Patrick-Erichsen](https://github.com/Patrick-Erichsen), and [@&#8203;shakkernerd](https://github.com/shakkernerd).

- **Structured channel questions:** answer an agent question directly from its offered Mattermost option or LINE tap. ([#&#8203;135350](openclaw/openclaw#135350), [#&#8203;133421](openclaw/openclaw#133421)) Related [#&#8203;133288](openclaw/openclaw#133288), [#&#8203;133418](openclaw/openclaw#133418) Thanks [@&#8203;edenfunf](https://github.com/edenfunf) and [@&#8203;Patrick-Erichsen](https://github.com/Patrick-Erichsen).

- **Chat composition and files:** keep drafting while history loads, offer emoji shortcodes, retain file previews in tabs with HTML rendering, and display image attachments inline in the TUI. ([#&#8203;143625](openclaw/openclaw#143625), [#&#8203;146737](openclaw/openclaw#146737), [#&#8203;146672](openclaw/openclaw#146672), [#&#8203;146644](openclaw/openclaw#146644)) Related [#&#8203;143607](openclaw/openclaw#143607), [#&#8203;146590](openclaw/openclaw#146590), [#&#8203;146610](openclaw/openclaw#146610), [#&#8203;146655](openclaw/openclaw#146655) Thanks [@&#8203;VACInc](https://github.com/VACInc), [@&#8203;vincentkoc](https://github.com/vincentkoc), and [@&#8203;vyctorbrzezowski](https://github.com/vyctorbrzezowski).

- **Review and workboards:** inspect CI jobs and steps from PR chips and select or update multiple workboard cards together. ([#&#8203;148070](openclaw/openclaw#148070), [#&#8203;144756](openclaw/openclaw#144756)) Related [#&#8203;147952](openclaw/openclaw#147952) Thanks [@&#8203;vyctorbrzezowski](https://github.com/vyctorbrzezowski).

- **Personalization:** choose an avatar during agent hatching, use custom SVG session icons, and distinguish plugin activity with compact icons. ([#&#8203;146669](openclaw/openclaw#146669), [#&#8203;147442](openclaw/openclaw#147442), [#&#8203;147333](openclaw/openclaw#147333), [#&#8203;143711](openclaw/openclaw#143711)) Related [#&#8203;143683](openclaw/openclaw#143683) Thanks [@&#8203;Patrick-Erichsen](https://github.com/Patrick-Erichsen).

- **Gateway visibility:** show ping and shared activity graphs, a browser-tab status dot, and compact System busyness widgets with all three metrics. ([#&#8203;146755](openclaw/openclaw#146755), [#&#8203;147388](openclaw/openclaw#147388), [#&#8203;147760](openclaw/openclaw#147760), [#&#8203;147840](openclaw/openclaw#147840)) Related [#&#8203;147343](openclaw/openclaw#147343), [#&#8203;147757](openclaw/openclaw#147757), [#&#8203;147829](openclaw/openclaw#147829) Thanks [@&#8203;vyctorbrzezowski](https://github.com/vyctorbrzezowski).

- **Native desktop layout:** unify Tauri setup, Quick Chat themes, title bars, and window controls; the macOS app defaults to the web experience while retaining its experimental native experience. ([#&#8203;148808](openclaw/openclaw#148808), [#&#8203;147097](openclaw/openclaw#147097), [#&#8203;149763](openclaw/openclaw#149763)) Related [#&#8203;147096](openclaw/openclaw#147096).

- **Diagnostics:** report when the runtime was built from a different commit than HEAD, expose administrative CPU profiles, and inspect native FreeBSD rc.d service discovery. ([#&#8203;144499](openclaw/openclaw#144499), [#&#8203;148004](openclaw/openclaw#148004), [#&#8203;148875](openclaw/openclaw#148875)) Related [#&#8203;148003](openclaw/openclaw#148003) Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;vincentkoc](https://github.com/vincentkoc).

- **Provider and channel configuration:** expose official channel labels/docs in JSON listings, allow a Discord API URL override, and show comparative cost analysis in the Control UI. ([#&#8203;93265](openclaw/openclaw#93265), [#&#8203;118067](openclaw/openclaw#118067), [#&#8203;100432](openclaw/openclaw#100432)) Related [#&#8203;100405](openclaw/openclaw#100405) Thanks [@&#8203;fuller-stack-dev](https://github.com/fuller-stack-dev), [@&#8203;obviyus](https://github.com/obviyus), and [@&#8203;RomneyDa](https://github.com/RomneyDa).

- **Execution options:** configure approval-reviewer thinking and fast mode, and default parallel-session capacity to four runs per available CPU. ([#&#8203;147192](openclaw/openclaw#147192), [#&#8203;147423](openclaw/openclaw#147423)) Thanks [@&#8203;VACInc](https://github.com/VACInc).

- **Plugin SDK migration — Gateway V2:** the existing Gateway handler and node-session imports now expose physical WebSocket, generic framed, and HTTP polling capabilities honestly. Before WebSocket-only operations, narrow `node.client.webSocket`; narrow `node.client.socket` separately for framed operations. Polling nodes remain visible, and the node wire protocol is unchanged. Migration details: `/plugins/sdk-migration/compatibility-policy#gateway-node-transport-sdk-v2`. Thanks [@&#8203;vincentkoc](https://github.com/vincentkoc) and [@&#8203;RomneyDa](https://github.com/RomneyDa).

##### Fixes

- **Identity and authorization:** stop inferring forwarded sender identity from message text, stop MiniMax token requests after chat-login permission is revoked, and preserve attachments whose content types use prototype-like names. ([#&#8203;138579](openclaw/openclaw#138579), [#&#8203;149140](openclaw/openclaw#149140), [#&#8203;143673](openclaw/openclaw#143673)) Related [#&#8203;149139](openclaw/openclaw#149139) Thanks [@&#8203;LiuwqGit](https://github.com/LiuwqGit), [@&#8203;masatohoshino](https://github.com/masatohoshino), [@&#8203;obviyus](https://github.com/obviyus), and [@&#8203;xialonglee](https://github.com/xialonglee).

- **Transcript and session ownership:** prevent stale companion/cloud transcript writes, preserve context and ownership across compaction, and track new sessions before their first transcript write. ([#&#8203;149997](openclaw/openclaw#149997), [#&#8203;149840](openclaw/openclaw#149840), [#&#8203;149712](openclaw/openclaw#149712))

- **Final replies and completed work:** retain completed tool receipts through text-only finalization and empty-answer retries without repeating completed actions or recording internal continuation prompts as new user messages. Thanks [@&#8203;vincentkoc](https://github.com/vincentkoc) and [@&#8203;RomneyDa](https://github.com/RomneyDa).

- **Large-history responsiveness:** keep large session detail and chat metadata reads responsive, avoid blocking the Gateway during memory index publication, and reduce retention work and startup/Doctor memory pressure. ([#&#8203;149749](openclaw/openclaw#149749), [#&#8203;149853](openclaw/openclaw#149853), [#&#8203;149901](openclaw/openclaw#149901), [#&#8203;149754](openclaw/openclaw#149754), [#&#8203;149704](openclaw/openclaw#149704)) Thanks [@&#8203;fuller-stack-dev](https://github.com/fuller-stack-dev).

- **Update and Doctor recovery:** preserve shared WAL after a refused restore, unblock shared-state repair for July upgrades, and avoid false pending migrations for bundled runtimes. ([#&#8203;149918](openclaw/openclaw#149918), [#&#8203;149753](openclaw/openclaw#149753), [#&#8203;149653](openclaw/openclaw#149653)) Thanks [@&#8203;obviyus](https://github.com/obviyus).

- **Service upgrades:** preserve Gateway authentication when reinstalling legacy services and avoid timing out systemd restart inspection. ([#&#8203;149686](openclaw/openclaw#149686), [#&#8203;149970](openclaw/openclaw#149970))

- **Managed-service updates:** fix service environment refresh failures when upgrading from 2026.9.4 to 2026.9.5 with `openclaw update`. ([#&#8203;151977](openclaw/openclaw#151977))

- **Subagent continuation:** inherit the active model at spawn, enforce fork limits against current context, and resume tasks after output-limited tool calls. ([#&#8203;149036](openclaw/openclaw#149036), [#&#8203;149666](openclaw/openclaw#149666), [#&#8203;149844](openclaw/openclaw#149844)) Thanks [@&#8203;vincentkoc](https://github.com/vincentkoc).

- **Channel shutdown:** finish accepted Telegram work, Discord introductions, and deferred Slack replay before shutdown, while preserving Telegram spool settlement ownership. ([#&#8203;150080](openclaw/openclaw#150080), [#&#8203;150072](openclaw/openclaw#150072), [#&#8203;150073](openclaw/openclaw#150073), [#&#8203;149953](openclaw/openclaw#149953)) Thanks [@&#8203;obviyus](https://github.com/obviyus).

- **Channel startup and routing:** avoid blocking Discord startup on persisted bindings and allow cross-provider messaging by default. ([#&#8203;149861](openclaw/openclaw#149861), [#&#8203;149875](openclaw/openclaw#149875))

- **Plugin reloads:** reuse the published inbound registry and bundled setup code, keep Lossless usable after settings reload, and validate source reloads under Bun. ([#&#8203;149648](openclaw/openclaw#149648), [#&#8203;149646](openclaw/openclaw#149646), [#&#8203;149675](openclaw/openclaw#149675), [#&#8203;150088](openclaw/openclaw#150088)) Thanks [@&#8203;Patrick-Erichsen](https://github.com/Patrick-Erichsen).

- **Provider execution:** retain disabled-plugin CLI backend capabilities during inspection, reject incomplete compatible reply streams, and preserve the configured transport during authentication refresh. ([#&#8203;149837](openclaw/openclaw#149837), [#&#8203;149842](openclaw/openclaw#149842), [#&#8203;150003](openclaw/openclaw#150003)) Related [#&#8203;149854](openclaw/openclaw#149854), [#&#8203;149855](openclaw/openclaw#149855) Thanks [@&#8203;obviyus](https://github.com/obviyus), [@&#8203;zhangguiping-xydt](https://github.com/zhangguiping-xydt), and [@&#8203;SunnyShu0925](https://github.com/SunnyShu0925).

- **Codex startup and catalogs:** prevent service refresh from repeatedly aborting startup, bound catalog memory while retaining tied rows, and avoid repeated scans across multiple homes. ([#&#8203;149365](openclaw/openclaw#149365), [#&#8203;150112](openclaw/openclaw#150112), [#&#8203;149879](openclaw/openclaw#149879)) Thanks [@&#8203;bdjben](https://github.com/bdjben) and [@&#8203;obviyus](https://github.com/obviyus).

- **Automation correctness:** prevent extra event-schedule runs, reject ambiguous exact-name lookups, and keep selected automation history and edits attached to the intended task. ([#&#8203;149902](openclaw/openclaw#149902), [#&#8203;149958](openclaw/openclaw#149958), [#&#8203;149955](openclaw/openclaw#149955), [#&#8203;150129](openclaw/openclaw#150129)) Thanks [@&#8203;Alix-007](https://github.com/Alix-007).

- **Session navigation:** retain archive confirmation after leaving Sessions, preserve pagination when switching agents during deletion, and keep newer selections when older mutations finish. ([#&#8203;150108](openclaw/openclaw#150108), [#&#8203;150125](openclaw/openclaw#150125), [#&#8203;149959](openclaw/openclaw#149959))

- **Chat state:** keep your own messages right-aligned through refresh and reconnect, and clear resolved queued-message reorder conflicts. ([#&#8203;147634](openclaw/openclaw#147634), [#&#8203;149962](openclaw/openclaw#149962)) Related [#&#8203;147511](openclaw/openclaw#147511) Thanks [@&#8203;keith9681](https://github.com/keith9681), [@&#8203;obviyus](https://github.com/obviyus), and [@&#8203;SunnyShu0925](https://github.com/SunnyShu0925).

- **Files and selection:** keep workspace files readable, preserve Files selection during directory refreshes, retain parent navigation for unavailable folders, and preserve model searches during text composition. ([#&#8203;149499](openclaw/openclaw#149499), [#&#8203;149900](openclaw/openclaw#149900), [#&#8203;150118](openclaw/openclaw#150118), [#&#8203;149845](openclaw/openclaw#149845))

- **Windows paths and credentials:** preserve state roots during database admission and worker startup, retain credential reads, and read exact configuration filenames containing whitespace. ([#&#8203;149976](openclaw/openclaw#149976), [#&#8203;150035](openclaw/openclaw#150035), [#&#8203;149124](openclaw/openclaw#149124), [#&#8203;149629](openclaw/openclaw#149629)) Related [#&#8203;149630](openclaw/openclaw#149630) Thanks [@&#8203;obviyus](https://github.com/obviyus) and [@&#8203;zhangguiping-xydt](https://github.com/zhangguiping-xydt).

- **Workspace safety:** keep file tools aligned with overlapping sandbox mounts and preserve work through worktree creation and cleanup races. ([#&#8203;148893](https://github.com/openclaw/openclaw/issues/148893), [#&#8203;149914](https://github.com/openclaw/openclaw/issues/149914)) Thanks [@&#8203;vincentkoc](https://github.com/vincentkoc).

- **Legacy updater handoffs:** keep the Node runner resolver independent of candidate runtime imports, complete changed-plugin Doctor work through the correct parent/child owner, and inspect copied Doctor contracts in private rehearsals while leaving live installation paths protected. Thanks [@&#8203;vincentkoc](https://github.com/vincentkoc) and [@&#8203;RomneyDa](https://github.com/RomneyDa).

- **Plugin SDK authoring:** retain released boolean memory-search `enabled` values and undefined per-channel `responseUsage` entries without changing runtime resolution or persisted configuration schemas. Thanks [@&#8203;vincentkoc](https://github.com/vincentkoc) and [@&#8203;RomneyDa](https://github.com/RomneyDa).

- **Shipped SDK compatibility:** preserve full-config and readonly roster inputs, versioned legacy model-selection authoring, Discord component registration's `void` return, and Gateway plugin metadata notifications through their existing lifecycle and restart owners. The deprecated model-policy `allowsKey` member remains source-only and is never used for authorization; asynchronous completion and errors remain owned after a void call returns. Thanks [@&#8203;vincentkoc](https://github.com/vincentkoc) and [@&#8203;RomneyDa](https://github.com/RomneyDa).

##### Complete contribution record

The full contribution record is available in the tag-pinned [CHANGELOG.md](https://github.com/openclaw/openclaw/blob/v2026.9.5/CHANGELOG/records/2026.9.5.md#complete-contribution-record).

##### Release verification

- npm package: <https://www.npmjs.com/package/openclaw/v/2026.9.5>
- registry tarball: <https://registry.npmjs.org/openclaw/-/openclaw-2026.9.5.tgz>
- integrity: `sha512-TCO/ImVLh5HkF4tdfo7iriIa7kT6iYkIr/jR5ZOkePGFGhUx5Oe7DE716Y1DzzG2teRAVDdCjgJDu1A24Yta7w==`
- release SHA: `ec9c1a13db8938e5a3eaa51fca2e981cde2395a9`
- full release CI report: <https://github.com/openclaw/releases/blob/main/evidence/2026.9.5/release-evidence.md>
- release publish: <https://github.com/openclaw/openclaw/actions/runs/35414217443>
- npm preflight: <https://github.com/openclaw/openclaw/actions/runs/35382454474>
- full release validation: <https://github.com/openclaw/openclaw/actions/runs/35381634370>
- plugin npm publish: <https://github.com/openclaw/openclaw/actions/runs/35414496234>
- plugin ClawHub submission: <https://github.com/openclaw/openclaw/actions/runs/35414501298>; public artifact verification follows successful release-parent completion
- plugin ClawHub bootstrap: dispatched separately, not awaited by this proof: <https://github.com/openclaw/openclaw/actions/runs/35414503229>
- Stable soak waived by operator: "Operator-approved by Peter for 2026.9.5: soak-only live/E2E lanes blocked by infrastructure and main-owned fixture failures; non-soak Full Release Validation [`3538163`](openclaw/openclaw@35381634370) attempt 2 green; 9.4 to 9.5 update proven on systemd-service and plain installs."
- npm Telegram beta E2E: not supplied
- Android APK: skipped — apps/android/version.json is 2026.8.2, release train is 2026.9.5; run the shared mobile cutter (scripts/mobile-release-version.ts --prepare) before the next tag.

</details>

---

### Configuration

📅 **Schedule**: (in timezone Europe/London)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjEwNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL3BhdGNoIl19-->

Reviewed-on: https://git.hayden.moe/hayden/phoebe/pulls/696
obviyus added a commit that referenced this pull request Oct 10, 2026
## What Problem This Solves

Fixes paired nodes failing to authenticate after `openclaw connect <join-url> --service` when the machine already has credentials for another Gateway.

## User Impact

A node reconnecting to its saved Gateway uses its paired device token instead of an unrelated Gateway token or password from the machine's environment, configuration, or state-directory `.env`. Paired service installations no longer persist those ambient credentials.

Intentional shared-token/password connections remain supported through `openclaw node run --auth-from-env` and `openclaw node install --auth-from-env --force`. This exposes the existing foreground override and records that explicit choice for installed services. If it displaces an available paired credential, the warning names the selected environment variable, never its value. No new configuration keys or token migration are introduced.

## Why This Change Was Made

The node credential owner already recognized a saved pairing but still treated every populated `OPENCLAW_GATEWAY_TOKEN` / `OPENCLAW_GATEWAY_PASSWORD` as an explicit override. The service planner also persisted those ambient values. Environment variables loaded from `env.vars` or the state-directory `.env` therefore had the same effect as an intentional override.

The runtime and service planner now share the same saved-endpoint eligibility check. Default reconnects leave device-token selection and refresh with `GatewayClient`; explicit shared auth uses the existing environment-only path. GatewayClient's trusted-endpoint retry policy is unchanged.

This retains the intent of [#31122](#31122) (intentional service environment credentials survive restarts), [#136253](#136253) (a co-located Gateway must not displace paired-node auth), and [#159360](#159360) (expired fallback setup codes may only resume the saved pairing; no expired bootstrap or shared-auth fallback).

## Evidence

- On baseline `e40606fdea9`, an isolated Gateway issued a real join URL and a second isolated machine state completed bootstrap pairing through `connect --service`. The first handshake of the restarted real install-plan command failed authentication for process-env token, process-env password, config `env.vars`, and state-directory `.env`. All four sources were persisted into the service environment. CWD `.env` was already blocked by workspace policy; plain co-located `gateway.auth.*` was already correctly skipped.
- The repaired replay connected on the first handshake for all six sources, without persisting any ambient token/password. The explicit `--auth-from-env` shared-token control also connected, retained its selected credential in the generated service environment, and retained the explicit service argument.

  | Credential source | Baseline first handshake | Repaired first handshake | Repaired ambient credential persisted |
  | --- | --- | --- | --- |
  | Process token | Auth rejection | Connected | No |
  | Process password | Auth rejection | Connected | No |
  | Config `env.vars` token | Auth rejection | Connected | No |
  | State-directory `.env` token | Auth rejection | Connected | No |
  | CWD `.env` token | Connected (already blocked) | Connected | No |
  | Co-located `gateway.auth.*` | Connected (already skipped) | Connected | No |
  | Explicit shared-token flag | — | Connected | Yes, intentionally |

Sanitized authentication excerpts (ephemeral port replaced):

```text
baseline, ambient token:
node host gateway connect failed: unauthorized: gateway token mismatch (provide gateway auth token)

candidate, ambient token:
node host gateway connected: ws://127.0.0.1:<isolated-port>

candidate, explicit shared-token override:
node host: --auth-from-env selects OPENCLAW_GATEWAY_TOKEN instead of the paired device token
node host gateway connected: ws://127.0.0.1:<isolated-port>
```

- **Published-driver × candidate proof:** npm `[email protected]` performed real enrollment and generated service plans for both a join-enrolled node carrying unrelated ambient credentials and an intentional shared-token node without a cached device token. Candidate Doctor migrated their published schema 19 state to schema 20, then the candidate install planner/restart path connected both: the first using its paired token without retaining ambient auth; the second using the explicitly persisted shared token and `--auth-from-env`. Device identity, durable node settings, and the co-located Gateway settings were preserved in both cells.
- The no-cache shared-auth fixture used the published production auth-store owner to remove only its local node-token cache after the published connection; its identity and Gateway-side pairing remained intact. No raw database edits were used.
- **Revocation/final-effect proof on frozen head `dded84b33f34516638a4d2cad8b748be58521734`:** an explicitly approved `system.which` invocation returned `{"bins":{"true":"/usr/bin/true"}}`. After `devices revoke --role node`, restarting the same node with the valid shared Gateway token still present in its environment failed with `AUTH_DEVICE_TOKEN_MISMATCH`; the node never completed hello, and the real invocation returned `{"ok":false,"error":{"type":"cli_error","message":"node pairing changed while invocation was active"}}`. Device identity was unchanged. The live assertions completed; the initial report formatter rejected the CLI's trailing diagnostic footer, so the retained leading JSON objects were independently decoded and asserted.

```text
node host gateway connect failed: unauthorized: device token mismatch (rotate/reissue device token)
node host gateway reconnect paused after close (1008): unauthorized: device token mismatch (rotate/reissue device token) detail=AUTH_DEVICE_TOKEN_MISMATCH; waiting for operator action
```


- The runner regression failed on baseline for all three nonempty ambient credential combinations. The install-plan regression failed because ambient auth was persisted and the explicit service flag was absent.
- Six focused owner suites passed: runner, node runtime/install plan, install helper, node registration/lifecycle, and connect CLI. Existing GatewayClient and candidate-connection suites also passed, including trusted retry and refusal to retry untrusted token mismatches.
- Independent adversarial review returned **LAND** on final head `dded84b33f3`. `git range-diff` confirmed the two commits are patch-identical to the pre-rebase reviewed/proven version `8a906bd94e3`; the published-driver cells ran before that rebase, and the final authorization proof ran against a separately built, frozen checkout of `dded84b33f3`.

**Proof limitation:** the production canonical-home guard correctly refuses an OS-service installation under an isolated temporary HOME. The accepted isolation proof therefore executes the real `buildNodeInstallPlan` output (persisted command and environment) as the second process, against a live isolated Gateway. This is not a claim of exercising an actual OS supervisor. No existing Gateway, node service, or laptop installation was modified.
The published planner is private in the shipped bundle. Its isolation harness loaded a byte-identical copy of the shipped daemon chunk with **only** `export { buildNodeInstallPlan };` appended; authentication, service planning, and guards were not changed. Original chunk: 12,991 bytes, SHA-256 `7d67af30e747f36ea91d87f7b00fffb16ca7111e13dd1d4ce6195812b6de55da`. The actual published CLI performed enrollment. The temporary exported copy was removed afterward.

Final exact-head CI is **green**: [run 38089699521](https://github.com/openclaw/openclaw/actions/runs/38089699521). The previous inherited boundary failure was fixed on `main`, and this branch was rebased onto that fix. Local changed checks passed formatting, ratchets, core types, and core-test types, then stopped on pre-existing unrelated model-auth/solid-lint dead exports; the final hosted gates passed.


## Bounded cost

The runtime reuses the existing saved-endpoint/token eligibility read; only the explicit environment-override path additionally checks whether its warning displaces a pairing. Service installation adds bounded read-only checks of existing node state, identity, and token. No new tables, polling, retries, model calls, or background services are introduced. The new install-plan cases took 26 ms of test execution in the focused run; the six-suite invocation took 325.65 seconds including cold worker compilation.

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to KrillDD6869/openclaw that referenced this pull request Oct 10, 2026
## What Problem This Solves

Fixes paired nodes failing to authenticate after `openclaw connect <join-url> --service` when the machine already has credentials for another Gateway.

## User Impact

A node reconnecting to its saved Gateway uses its paired device token instead of an unrelated Gateway token or password from the machine's environment, configuration, or state-directory `.env`. Paired service installations no longer persist those ambient credentials.

Intentional shared-token/password connections remain supported through `openclaw node run --auth-from-env` and `openclaw node install --auth-from-env --force`. This exposes the existing foreground override and records that explicit choice for installed services. If it displaces an available paired credential, the warning names the selected environment variable, never its value. No new configuration keys or token migration are introduced.

## Why This Change Was Made

The node credential owner already recognized a saved pairing but still treated every populated `OPENCLAW_GATEWAY_TOKEN` / `OPENCLAW_GATEWAY_PASSWORD` as an explicit override. The service planner also persisted those ambient values. Environment variables loaded from `env.vars` or the state-directory `.env` therefore had the same effect as an intentional override.

The runtime and service planner now share the same saved-endpoint eligibility check. Default reconnects leave device-token selection and refresh with `GatewayClient`; explicit shared auth uses the existing environment-only path. GatewayClient's trusted-endpoint retry policy is unchanged.

This retains the intent of [#31122](openclaw/openclaw#31122) (intentional service environment credentials survive restarts), [#136253](openclaw/openclaw#136253) (a co-located Gateway must not displace paired-node auth), and [#159360](openclaw/openclaw#159360) (expired fallback setup codes may only resume the saved pairing; no expired bootstrap or shared-auth fallback).

## Evidence

- On baseline `e40606fdea9`, an isolated Gateway issued a real join URL and a second isolated machine state completed bootstrap pairing through `connect --service`. The first handshake of the restarted real install-plan command failed authentication for process-env token, process-env password, config `env.vars`, and state-directory `.env`. All four sources were persisted into the service environment. CWD `.env` was already blocked by workspace policy; plain co-located `gateway.auth.*` was already correctly skipped.
- The repaired replay connected on the first handshake for all six sources, without persisting any ambient token/password. The explicit `--auth-from-env` shared-token control also connected, retained its selected credential in the generated service environment, and retained the explicit service argument.

  | Credential source | Baseline first handshake | Repaired first handshake | Repaired ambient credential persisted |
  | --- | --- | --- | --- |
  | Process token | Auth rejection | Connected | No |
  | Process password | Auth rejection | Connected | No |
  | Config `env.vars` token | Auth rejection | Connected | No |
  | State-directory `.env` token | Auth rejection | Connected | No |
  | CWD `.env` token | Connected (already blocked) | Connected | No |
  | Co-located `gateway.auth.*` | Connected (already skipped) | Connected | No |
  | Explicit shared-token flag | — | Connected | Yes, intentionally |

Sanitized authentication excerpts (ephemeral port replaced):

```text
baseline, ambient token:
node host gateway connect failed: unauthorized: gateway token mismatch (provide gateway auth token)

candidate, ambient token:
node host gateway connected: ws://127.0.0.1:<isolated-port>

candidate, explicit shared-token override:
node host: --auth-from-env selects OPENCLAW_GATEWAY_TOKEN instead of the paired device token
node host gateway connected: ws://127.0.0.1:<isolated-port>
```

- **Published-driver × candidate proof:** npm `[email protected]` performed real enrollment and generated service plans for both a join-enrolled node carrying unrelated ambient credentials and an intentional shared-token node without a cached device token. Candidate Doctor migrated their published schema 19 state to schema 20, then the candidate install planner/restart path connected both: the first using its paired token without retaining ambient auth; the second using the explicitly persisted shared token and `--auth-from-env`. Device identity, durable node settings, and the co-located Gateway settings were preserved in both cells.
- The no-cache shared-auth fixture used the published production auth-store owner to remove only its local node-token cache after the published connection; its identity and Gateway-side pairing remained intact. No raw database edits were used.
- **Revocation/final-effect proof on frozen head `dded84b33f34516638a4d2cad8b748be58521734`:** an explicitly approved `system.which` invocation returned `{"bins":{"true":"/usr/bin/true"}}`. After `devices revoke --role node`, restarting the same node with the valid shared Gateway token still present in its environment failed with `AUTH_DEVICE_TOKEN_MISMATCH`; the node never completed hello, and the real invocation returned `{"ok":false,"error":{"type":"cli_error","message":"node pairing changed while invocation was active"}}`. Device identity was unchanged. The live assertions completed; the initial report formatter rejected the CLI's trailing diagnostic footer, so the retained leading JSON objects were independently decoded and asserted.

```text
node host gateway connect failed: unauthorized: device token mismatch (rotate/reissue device token)
node host gateway reconnect paused after close (1008): unauthorized: device token mismatch (rotate/reissue device token) detail=AUTH_DEVICE_TOKEN_MISMATCH; waiting for operator action
```

- The runner regression failed on baseline for all three nonempty ambient credential combinations. The install-plan regression failed because ambient auth was persisted and the explicit service flag was absent.
- Six focused owner suites passed: runner, node runtime/install plan, install helper, node registration/lifecycle, and connect CLI. Existing GatewayClient and candidate-connection suites also passed, including trusted retry and refusal to retry untrusted token mismatches.
- Independent adversarial review returned **LAND** on final head `dded84b33f3`. `git range-diff` confirmed the two commits are patch-identical to the pre-rebase reviewed/proven version `8a906bd94e3`; the published-driver cells ran before that rebase, and the final authorization proof ran against a separately built, frozen checkout of `dded84b33f3`.

**Proof limitation:** the production canonical-home guard correctly refuses an OS-service installation under an isolated temporary HOME. The accepted isolation proof therefore executes the real `buildNodeInstallPlan` output (persisted command and environment) as the second process, against a live isolated Gateway. This is not a claim of exercising an actual OS supervisor. No existing Gateway, node service, or laptop installation was modified.
The published planner is private in the shipped bundle. Its isolation harness loaded a byte-identical copy of the shipped daemon chunk with **only** `export { buildNodeInstallPlan };` appended; authentication, service planning, and guards were not changed. Original chunk: 12,991 bytes, SHA-256 `7d67af30e747f36ea91d87f7b00fffb16ca7111e13dd1d4ce6195812b6de55da`. The actual published CLI performed enrollment. The temporary exported copy was removed afterward.

Final exact-head CI is **green**: [run 38089699521](https://github.com/openclaw/openclaw/actions/runs/38089699521). The previous inherited boundary failure was fixed on `main`, and this branch was rebased onto that fix. Local changed checks passed formatting, ratchets, core types, and core-test types, then stopped on pre-existing unrelated model-auth/solid-lint dead exports; the final hosted gates passed.

## Bounded cost

The runtime reuses the existing saved-endpoint/token eligibility read; only the explicit environment-override path additionally checks whether its warning displaces a pairing. Service installation adds bounded read-only checks of existing node state, identity, and token. No new tables, polling, retries, model calls, or background services are introduced. The new install-plan cases took 26 ms of test execution in the focused run; the six-suite invocation took 325.65 seconds including cold worker compilation.

Co-authored-by: Ayaan Zaidi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling cli CLI command changes commands Command implementations dependencies-changed PR changes dependency-related files docs Improvements or additions to documentation gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. plugin: file-transfer proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant