Skip to content

feat(gateway): route pairing and default approvals through the live owner; routing docs (routing 4/4) - #164075

Merged
steipete merged 3 commits into
mainfrom
dbasync/route4
Oct 3, 2026
Merged

steipete merged 3 commits into
mainfrom
dbasync/route4

Conversation

@steipete

@steipete steipete commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Pairing list/approve and default approval edits could access the selected installation's SQLite state directly while its Gateway was serving it. Listing pairing requests also mutates state by pruning expired or excess requests.

Solution

Reuse the merged physical-root owner routing and offline custody helper. Each operation requires its own capability and expected owner identity; a refusal or lost acknowledgement never triggers local fallback or replay. Pairing's code-based CLI variants require admin authority and preserve the existing code-free UI RPC shapes. Explicit blank account selectors are rejected. Approval writes keep their existing input normalization, compare-and-set hashes, and execution policy semantics; default reads preserve an absent approval document.

Native mutation owners recheck current authority inside their synchronous transaction and before commit. Pairing command-owner config bootstrap and optional notification run only after an acknowledged approval through their existing owners. The approvals CLI's local snapshot helpers now live in a focused sibling module, included in compiled-subprocess preparation.

Impact

New CLI commands use the same-root live owner, or retain exclusive offline custody. Older Gateways lacking the operation capability require an update or an intentional stop through their service owner. Explicit approval --gateway and --node targets retain their existing contracts. No schema, protocol version, configuration, retention, durability, or execution-grant policy changes.

The docs cover routing 1–2 and these commands, wire/result compatibility, refusal states, and retained bootstrap, credential, configuration, plugin, client-preference, raw SDK, and legacy-writer boundaries. This is not a claim that the Gateway is the only SQLite writer. Agent creation remains census debt because its staged auth/plugin/config commit cannot be represented by today's agents.create request. Session cleanup/agent deletion routing and the SDK workspace gate remain outside this PR.

Overlap checked: #137878 and #123867 touch other approvals CLI presentation/normalization functions; #163969 is incidental infrastructure cleanup. The routing hunks preserve those separate responsibilities.

Evidence

  • Initial review base: d5c4c19fe1863dc84badedec8cbbbec4906a4855; final PR base: c0c8363730facee6e6df6ee159e60f3e0e9e4fd9. Conflict-free main merges d9360fb95f8b602af5e8f28a77813ec3f75a8bec and 7cd771fe5fa0f02667a2fd4ac39df20d45a25b29 incorporated two already-landed published-driver fixture repairs. Route4 added/removed lines are unchanged; all 30 PR files at the final head are byte-identical to the fresh P2-reviewed candidate.

  • Handwritten production LOC: +273 / −61 / net +212 (334 changed lines) across 12 files. Tests/support, docs, and fixture inventory are separate.

  • T1 inventory: 1336 → 1336 globally; touched native owners remain 7 → 7. Routing removes no counted Gateway SQL sites. The six routed CLI operations execute zero caller-thread pairing/approval SQL.

  • Real two-process proof: 25 cases covering live/offline routing, each missing operation capability, owner refusal, lost acknowledgements, durable state, and absent-document read parity. One suite-level authenticated mock Gateway uses the real handlers and stores; each command runs in another process. Original CLI bodies fail all six live zero-SQL assertions (24 pairing, 16 approval-get, and 20 approval-write observations); baseline wall time 36.15s.

  • Final CLI/process proof: 69 tests passed, pnpm test src/cli/admin-state-owner.process.test.ts src/cli/exec-approvals-cli.test.ts src/cli/exec-approvals-cli.allowlist-json.test.ts --maxWorkers=1, 226.59s wall on the loaded host. This includes legacy string allowlist input, which failed at the strict RPC schema before normalization moved ahead of dispatch. Separate processes are required to prove the ownership/SQL boundary; the Gateway fixture is reused. The compiled-wrapper suite's 17 tests passed in the earlier combined 86-test / 138.66s command; its import closure is unchanged by the normalization follow-up.

  • Approval handler/store plus process proof: 71 tests passed, 110.43s wall. Pairing store: 10 passed, 15.91s wall. Pairing handler: 12 passed, 5.13s wall; both new blank-selector cases failed before the fix. Pairing CLI's 20 focused cases also passed.

  • node scripts/worktree-setup.mjs gateway, protocol registry/generation, Swift/Kotlin contract checks, docs link audit (0 broken links), and git diff --check: passed.

  • Madge: 0 cycles. Database-worker ratchet: passed against the pinned base. OPENCLAW_*: 477/477, zero new names.

  • node scripts/check-changed.mjs --base d5c4c19fe1863dc84badedec8cbbbec4906a4855: passed. The final normalization follow-up also passed focused lint and core typechecking. Initial failures were CLI line-cap growth (resolved by extraction), a missing version field, and an inefficient map/spread in test fixtures (fixed). The initial process fixture root mismatch was fixed by restoring its environment before each case; it did not require a product workaround.

  • Codex autoreview through P2, pinned base: scoped-clean, no accepted/actionable findings.

  • Prior author proof: actual published SDK [email protected]: passed in 6.642s using the npm artifact and its own dependencies. A released SDK child persisted pairing state while the candidate held a real Gateway lock; an independent read-only SQLite query verified the rows. Released async/synchronous pairing reads and synchronous approval snapshot/policy shapes remained intact. This confirms retained old-SDK direct-write behavior.

  • Prior author proof: actual published CLI 2026.9.8 → candidate-held root passed; approvals save 28.370s, pairing-list pruning 16.604s, and pairing approval 10.482s, with durable rows verified while the candidate lock stayed current. The reverse CLI cell also passes on the final head, as detailed below.

  • Published-driver 2026.9.8 × final candidate update cell: PASS at 7cd771fe5fa0f02667a2fd4ac39df20d45a25b29 on Blacksmith Testbox. The full canonical cell completed; see final landing validation below.

  • Final exact-head CI run 37109826487: PASS at 7cd771fe5fa0f02667a2fd4ac39df20d45a25b29, 21,528 summed job-seconds, no failed checks. No admin CI exception was needed.

  • Released SDK surface check against v2026.9.8: passed. The added optional authority callbacks belong to internal listChannelPairingRequests, approveChannelPairingCode, and updateExecApprovals[Sync]; their sync/async return shapes are unchanged. Released channel-pairing, conversation-runtime, the explicitly pinned infra-runtime exports, and api.runtime.channel.pairing do not expose those changed functions. Public pairing read/upsert and approval snapshot/policy signatures remain unchanged; no deprecation compatibility boundary is required.

Final landing validation

  • Published-driver update: PASS. The actual published 2026.9.8 updater completed in 171.630s. The canonical Docker cell verified successful durable update status, exact installed build identity, managed-service replacement, authenticated serving-version probe, readyz=200, and absence of startup/authority or canary/identity/lease failures. It used two synthetic agents and Doctor-seeded state. Main’s canonical fixture relabels the 2026.9.7 candidate metadata to 2026.9.8 when main lags npm latest; package integrity verification stays enabled.
  • Candidate CLI → published Gateway refusal/recovery: PASS. An authenticated health call reached the actual published 2026.9.8 Gateway. Pairing list/approve and approvals get/set/allowlist add/remove all refused the missing owner capability without changing independently queried pairing/approval rows or ownership. After an orderly stop and ownership release, candidate pairing list/approve and approvals get/set succeeded offline, with expected durable row changes and custody release. All ten cases passed and all owned processes settled.
  • Both cells ran through scripts/crabbox-wrapper.mjs and openclaw-testbox-env on lease tbx_01m40fad7npxgq3fb0ghc7rqdd, Testbox run 37111042578. The combined command took 15m54.229s, exited 0, and the lease is verified stopped. A workflow cancellation from external lease cleanup is not a payload failure. The wrapper verified source 7cd771fe5fa0f02667a2fd4ac39df20d45a25b29, tree 1ac888ec1ec91649a79cc91f8ad278c12ea14b15; build commit 5554a69b7d7eba166e784a7c3b6c3262184318b3 is its synthetic source carrier. The candidate tarball passed integrity/import checks, SHA-256 6db990f61c7aa2dc79ed132a5d2601b1ed48aa95a803014db934c4200d3348a7.
  • Fresh Codex autoreview through P2 was scoped-clean before the first main-merge commit. The second merge changed none of the 30 reviewed PR files. ClawSweeper completed the final-head review at 2026-10-03T08:36:45.861Z, with no actionable code or security findings; its remaining upgrade-proof requirement is now completed above.

Investigated failures

  • The initial PR context check required the template heading What Problem This Solves; changing only the body heading fixed it.
  • The first landing Testbox never executed. Run 37103916399 cancelled its unassigned, zero-step check job for a higher-priority request in shared budget slot 22. Its stale lease was stopped; the authorized retry acquired a runner.
  • Two inherited fixture defects surfaced in sequence: relabeling changed dist/build-info.json without refreshing its inventory hash, and then included diagnostic-only relabeledFrom in the expected installed identity. Existing main fixes 65d5066c6e901d64e57c2786956132862816fe27 (test(e2e): keep the relabeled candidate's dist content inventory truthful #164036) and 3f3bbcfea0b1c were integrated with merge commits. The final full cell passes without disabling integrity checks or weakening the build-identity assertion.
  • At prior head d9360fb, android-test-play had a five-second timeout at TalkModeManagerTest.withStartedTalk, line 3110, while joining the manager coroutine in cleanup. Since this is a finally block, the original log cannot establish the earlier test-body outcome. Android source and generated Kotlin protocol outputs are byte-identical between d9360fb and base 04d2853; final head 7cd771fe retains that Android source tree. Five completed scheduled-main Android jobs passed. Exactly five full-class runs per ref passed (10 × 109 tests, 0 failures/errors) on macOS/ARM64 with JDK 21.0.12.1, one fork, and uncached test execution: 912s head + 917s base command wall time, 555.553s test execution. Setup-incomplete archive attempts were excluded. This is an unreproduced, apparently unrelated teardown timeout, not an independently proven main failure or a fixed defect. No assertions, timeouts, or retry policy changed. The failed prior-head job was not rerun; final-head Android CI passed after the required fixture integration.

…wner

Route local pairing list/code approval and default approval snapshots and edits
through the selected root's serving Gateway, with operation capabilities,
current-owner guards, and retained offline custody. Preserve approval policy
and CAS semantics, legacy RPC results, and acknowledged pairing bootstrap.

Document the complete routed CLI/API contracts and retained raw and legacy
writer boundaries. Cover the real two-process routes and native transaction
rollback, including refusal and unknown-outcome behavior.
@clawsweeper

clawsweeper Bot commented Oct 3, 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.

@github-actions

github-actions Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components.

No secops approval is required. This comment is informational because the PR author has Maintain or Admin access.

  • Current SHA: 7cd771fe5fa0f02667a2fd4ac39df20d45a25b29
  • Maintainer: @steipete
  • Repository role: admin

These security sensitive changes were made:

  • packages/gateway-protocol/src/schema/exec-approvals.ts: Controls sandbox containment or tool execution authority. Check filesystem and network isolation, approval scope, and command allowlists.
  • src/gateway/server-methods/channel-pairing.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/server-methods/exec-approvals.ts: Controls sandbox containment or tool execution authority. Check filesystem and network isolation, approval scope, and command allowlists.
  • src/gateway/server/ws-connection/connect-hello.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/infra/exec-approvals-store.ts: Controls sandbox containment or tool execution authority. Check filesystem and network isolation, approval scope, and command allowlists.
  • src/pairing/pairing-store.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.

Carefully review these changes before merging.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime cli CLI command changes scripts Repository scripts docker Docker and sandbox tooling size: L labels Oct 3, 2026
@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: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 3, 2026
@steipete

steipete commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper

clawsweeper Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed October 3, 2026, 5:19 AM ET / 09:19 UTC (Revision 7).

ClawSweeper review

What this changes

Routes pairing commands and default execution-approval reads and edits through the serving Gateway or exclusive offline ownership, and documents the routing and compatibility contracts.

Merge readiness

⛔ Blocked before merge - 1 item remains

The PR remains useful: current main still accesses pairing and default approval state directly. The newly recorded published-driver update and recovery results resolve the previous blocker; no actionable correctness or security findings remain.

Priority: P2
Reviewed head: 7cd771fe5fa0f02667a2fd4ac39df20d45a25b29

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused owner-routing implementation with strong boundary and upgrade evidence and no remaining actionable findings.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The captured source-bound transcript exercises the changed CLI routing through real transport, production handlers, and SQLite owners, including refusal and lost acknowledgement without replay. Final-head published v2026.9.8 update and offline-recovery results satisfy the prior upgrade requirement; raw Testbox logs were unavailable to this reviewer. No stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The captured source-bound transcript exercises the changed CLI routing through real transport, production handlers, and SQLite owners, including refusal and lost acknowledgement without replay. Final-head published v2026.9.8 update and offline-recovery results satisfy the prior upgrade requirement; raw Testbox logs were unavailable to this reviewer. No stored-data contract changes.
Evidence reviewed 9 items Pinned introduced changes: Reviewed the merge-base-to-head delta, including routing, protocol schemas, handlers, transaction guards, tests, build-entry preparation, and documentation. The central production files are unchanged from the first reviewed head; the GitHub test merge is stale and was not used to infer merge-result regressions.
Still necessary on current main: Pinned main still calls the pairing store directly, and default approval snapshots and saves still use local store helpers. Some main blobs were unavailable through local Git; authenticated GitHub contents reads supplied the pinned source instead.
Latest release boundary: The v2026.9.8 pairing CLI also directly invokes the pairing store. The new ownership routing is not already supplied by that release.
Findings None None.
Security None None.

How this fits together

Pairing controls who can contact an agent, while execution approvals hold host command policy. Administrative CLI commands now select the process owning the installation’s state before reading or changing its SQLite records.

flowchart TD
 A[Administrative CLI commands] --> B[Selected state directory]
 B --> C{Discover current owner}
 C --> D[Serving Gateway]
 C --> E[Exclusive offline custody]
 D --> F[Check capability and live authority]
 E --> F
 F --> G[Existing SQLite records]
 F --> H[Result or explicit refusal]
 G --> H
Loading

Before merge

  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Source +212, Tests +640, Docs +207, Other +3. Total +1062 across 30 files.

View PR surface stats
Area Files Added Removed Net
Source 12 273 61 +212
Tests 10 651 11 +640
Docs 7 208 1 +207
Config 0 0 0 0
Generated 0 0 0 0
Other 1 3 0 +3
Total 30 1135 73 +1062

Review metrics

Metric Value Why it matters
Operation negotiation 4 new operation capabilities; 0 new CLI flags Older serving Gateways intentionally refuse these routes; the documented update and offline recovery paths are now proven.
Production versus test growth production +273/−61; tests and support +651/−11 Production growth implements owner routing and transaction guards; separate-process coverage protects the ownership boundary.

Stored data model

Persistent data-model change detected: unknown-data-model-change: packages/gateway-protocol/src/schema/channel-pairing.ts. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Use the existing physical-root owner for these administrative operations, preserving explicit refusal, offline recovery, legacy RPC compatibility, and unchanged execution policy.

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

Yes, from source: current main directly invokes mutation-capable pairing and approval stores from the CLI while a Gateway can own that root; the recorded baseline process checks expose caller-process SQL. This review did not execute the code.

Is this the best way to solve the issue?

Yes. Reusing the established owner-routing helper and existing stores avoids a competing state owner while retaining legacy wire contracts and tested mixed-version recovery.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a bounded administrative state-ownership improvement without evidence of an urgent user-facing regression.
  • merge-risk: 🚨 compatibility: New default commands refuse older serving Gateways, an explicitly accepted tradeoff covered by published-version update and offline-recovery proof.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The captured source-bound transcript exercises the changed CLI routing through real transport, production handlers, and SQLite owners, including refusal and lost acknowledgement without replay. Final-head published v2026.9.8 update and offline-recovery results satisfy the prior upgrade requirement; raw Testbox logs were unavailable to this reviewer. No stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The captured source-bound transcript exercises the changed CLI routing through real transport, production handlers, and SQLite owners, including refusal and lost acknowledgement without replay. Final-head published v2026.9.8 update and offline-recovery results satisfy the prior upgrade requirement; raw Testbox logs were unavailable to this reviewer. No stored-data contract changes.

Evidence

What I checked:

  • Pinned introduced changes: Reviewed the merge-base-to-head delta, including routing, protocol schemas, handlers, transaction guards, tests, build-entry preparation, and documentation. The central production files are unchanged from the first reviewed head; the GitHub test merge is stale and was not used to infer merge-result regressions. (src/cli/pairing-cli.ts:103, 7cd771fe5fa0)
  • Still necessary on current main: Pinned main still calls the pairing store directly, and default approval snapshots and saves still use local store helpers. Some main blobs were unavailable through local Git; authenticated GitHub contents reads supplied the pinned source instead. (src/cli/pairing-cli.ts:97, 99babf272543)
  • Latest release boundary: The v2026.9.8 pairing CLI also directly invokes the pairing store. The new ownership routing is not already supplied by that release. (src/cli/pairing-cli.ts:98, fc23bc864e45)
  • Authority and transaction boundary: CLI pairing branches require operator.admin and capture the existing live-owner guard. Pairing pruning/approval and approval-policy replacement recheck that guard inside the synchronous transaction and after writes before commit; rollback regressions verify unchanged durable state when authority ends. Existing UI branches and execution-policy semantics remain intact. (src/gateway/server-methods/channel-pairing.ts:197, 7cd771fe5fa0)
  • Production boundary proof: The captured PR body reports 25 two-process cases using a real transport client, production handlers, real stores, and a held Gateway lock. The inspected harness checks durable effects, zero caller-process administrative SQL, missing capabilities, owner refusal, lost acknowledgements without replay, offline custody, and absent-document parity. Tests were inspected, not executed during this review. (src/cli/admin-state-owner.process.test.ts:94, 7cd771fe5fa0)
  • Previous upgrade blocker completed: The captured final landing validation records the actual published v2026.9.8 updater completing in 171.630 seconds against this exact source, with installed identity, managed-service replacement, authenticated version probe, readyz=200, and durable status verified. It also records all ten candidate-CLI-to-published-Gateway refusal/offline-recovery cases passing with independently queried rows. https://github.com/openclaw/openclaw/actions/runs/37111042578 is a Testbox lease workflow, whose cancelled conclusion is distinguished from the recorded payload exit zero. Its log download was blocked by the environment’s storage-host allowlist; the detailed captured maintainer transcript remains the behavior evidence. (7cd771fe5fa0)

Likely related people:

  • Peter Steinberger: Raw commit 1b08795 adds src/cli/local-state-owner.ts:36 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 1b08795ae494; files: src/cli/local-state-owner.ts)

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 (6 earlier review cycles)
  • reviewed 2026-10-03T06:17:07.277Z sha 3c81688 :: blocked before merge. :: none
  • reviewed 2026-10-03T06:25:47.117Z sha 3c81688 :: blocked before merge. :: none
  • reviewed 2026-10-03T07:37:07.632Z sha 3c81688 :: blocked before merge. :: none
  • reviewed 2026-10-03T08:00:35.513Z sha d9360fb :: blocked before merge. :: none
  • reviewed 2026-10-03T08:36:45.861Z sha 7cd771f :: blocked before merge. :: none
  • reviewed 2026-10-03T09:11:07.486Z sha 7cd771f :: blocked before merge. :: none

@steipete

steipete commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete

steipete commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete
steipete merged commit 2fcecdb into main Oct 3, 2026
193 checks passed
@steipete
steipete deleted the dbasync/route4 branch October 3, 2026 09:32
@steipete

steipete commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 4, 2026
…wner (openclaw#164075)

Route local pairing list/code approval and default approval snapshots and edits
through the selected root's serving Gateway, with operation capabilities,
current-owner guards, and retained offline custody. Preserve approval policy
and CAS semantics, legacy RPC results, and acknowledged pairing bootstrap.

Document the complete routed CLI/API contracts and retained raw and legacy
writer boundaries. Cover the real two-process routes and native transaction
rollback, including refusal and unknown-outcome behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui cli CLI command changes docker Docker and sandbox tooling docs Improvements or additions to documentation gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts security-sensitive-changed size: L 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