Repository navigation
feat(rust): add authenticated node sidecar bridge - #116863
Conversation
|
Codex review: needs maintainer review before merge. Reviewed September 16, 2026, 2:28 PM ET / 18:28 UTC (Revision 22). ClawSweeper reviewWhat this changesAdds an authenticated, bounded Rust bridge that lets a separate node-runtime process negotiate configuration and dispatch commands through a product-owned adapter. Merge readiness✅ Ready for maintainer review This remains a distinct, useful addition. The merged prerequisites resolve the earlier stack-wide adoption concern, and the reviewed sidecar delta has no actionable correctness or security finding. Priority: P3 Review scores
Verification
How this fits togetherThe Rust node host receives Gateway-authorized commands and runs native handlers through its bounded command runtime. The sidecar layer adds authenticated framing, immutable configuration, and local admission while leaving credentials, process supervision, and platform permissions with the embedding product. flowchart TD
A[Product supervisor] --> B[Authenticated handshake]
B --> C[Immutable configuration]
C --> D[Sidecar bridge]
E[Gateway invocation] --> D
D --> F[Local admission]
F --> G[Native adapter]
G --> H[Bounded result or cancellation]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +753, Docs +229, Other +4387. Total +5369 across 13 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep the bridge within the unpublished node-host runtime, with production bootstrap, native permissions, packaging, and rollout owned by separately reviewed product integrations. Do we have a high-confidence way to reproduce the issue? Not applicable: this proposes a new bridge rather than repairing a reported bug; the submitted boundary scenarios demonstrate its intended behavior. Is this the best way to solve the issue? Yes, for this bounded layer: it reuses the merged command-runtime owner and keeps product-specific process and permission decisions outside the protocol. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b31ad046ef90. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (21 earlier review cycles; latest 8 shown)
|
8d0a1b0 to
8ead00a
Compare
73d9956 to
3a8784a
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
3a8784a to
5f504e4
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]> Copilot-Session: 2c44506f-c357-47e5-a867-91775df2093d
Co-authored-by: Copilot <[email protected]> Copilot-Session: 2c44506f-c357-47e5-a867-91775df2093d
5f504e4 to
833c929
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Adds the bounded authenticated sidecar bridge on the merged Rust node runtime. The unique sidecar delta passed focused Rust and process proof, and exact-head ClawSweeper review found no actionable code or security issue.
Depends on #116450.
Summary
Adds the authenticated sidecar runtime bridge on the merged node-host stack. This PR is based on #116450 merge commit
29069179def687067d1362df98da9d673b3fdab2.Its standalone incubation and conformance source is giodl73-repo/openclaw-rust-node#16, stacked on #15. The architecture and repository-placement decision remain tracked in openclaw/rfcs#54.
Scope
This layer contains only:
Gateway authority remains with OpenClaw. The sidecar does not own endpoint selection, pairing, signing, issued-token acquisition or persistence, manifest authorization, or product policy.
Product-selected IPC, protected bootstrap, executable verification, process supervision, packaging, rollout/rollback, Windows integration, worker/session hosting, workspace transfer, plugins, host statistics,
system.run, PTY, MCP, and skills remain outside this PR.Byte-exact fixture evidence
0b22c949fa53078106f6c7196f0c07f2fa1c0504fad7e133a2b27c588fea72310e543f1f284528015081e7321a74d427d1aac4c4de5bb691425f3ba333c1435763ad9e5edb1149d56bc88ad6bab34f00Validation
833c9293b1729cb2383b409494b82ded70f15572;29069179def687067d1362df98da9d673b3fdab2;-D warnings, rustdoc-D warnings, andgit diff --checkpassed; andAuthority proof
SidecarRuntimeBridgeruns through the publicCommandRuntime::runpath and a real WebSocket node session. The proof observes one allowed native effect, local denial with no adapter invocation, and channel retirement during awaited adapter work with no later native effect.