Repository navigation
feat(beam): preserve live logical conversation handoff - #192513
vincentkoc merged 14 commits into
Conversation
Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: 28e347fd-88da-4d15-904f-c687a853c002
|
🦞👀 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. |
|
Codex review: needs maintainer review before merge. What this changesThis PR adds explicit Beam source retirement and one durable Team conversation reused across continuation, retry, restart, and reopen. Example: Alice opens /beam/synthetic-alice-aaaaaaaaaaaa after releasing her published conversation.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: the prior boot-budget and deletion-guidance findings are resolved, and no new actionable defect was found; required CI remains pending. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Beam plugin receives authenticated transcript snapshots, stores publication and handoff state in plugin SQLite, and delegates destination creation, authorization, history import, and model selection to existing Gateway owners. flowchart LR
A[Source Beam client] --> B[Authenticated Beam receiver]
B --> C[Plugin SQLite ownership]
C --> D[Gateway catalog continuation]
D --> E[Session and model authorization]
E --> F[One Team conversation]
G[Control UI and client followups] --> E
Technical reviewBest possible solution: Use the existing plugin-state and Gateway session owners for one irreversible handoff, then land the pinned companion in the recorded receiver-first order. Do we have a high-confidence way to reproduce the issue? Current-main source establishes independent-copy behavior and restricted publisher viewing without continuation; no target code was executed during this read-only review. Is this the best way to solve the issue? The implementation extends existing ownership boundaries rather than adding a parallel session writer, and its durable claim states address demonstrated retry, restart, revocation, and deletion cases. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 79ea47fdf7cf. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +1240, Tests +4053, Docs +7, Other +6. Total +5306 across 69 files. Added test files: 8. View PR surface stats
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (2 earlier review cycles)
Reviewed November 4, 2026, 2:47 AM ET / 07:47 UTC (Revision 3). |
|
@clawsweeper re-review Please review exact head
No Team deployment or live-provider/account proof is claimed. Genuine Team screenshots remain deferred with no deployment; isolated UI proof is separately identified. Receiver lands before companion openclaw/agent-skills#356. Normal auth and the separately denied operator boundary remain enforced. |
|
🦞👀 Re-review progress:
|
|
Merged via squash auto-merge.
|
* fix(beam): let publishers continue from uploaded session links Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: 28e347fd-88da-4d15-904f-c687a853c002 * perf(ui): reuse catalog continuation policy inputs * feat(beam): retain one live logical conversation across handoff * fix(ui): fence catalog resolution across reconnects * fix(beam): retire source ownership and continue the bound conversation * test(beam): qualify native persistence and joined handoff diagnostics * test(beam): join canceled client polls and honor history selectors * fix(beam): bind resources to their disposal owners * perf(ui): resolve catalog query links without duplicate discovery * perf(ui): defer catalog continuation work to session actions * fix(test): align prompt fixtures with canonical JSON bytes Complete the snapshot-byte correction introduced upstream by111ae119613 (openclaw#192596). Preserve every parsed fixture value and carry its identical generator hunk for consistent head/merge qualification. Co-authored-by: RomneyDa <[email protected]> * perf(ui): load catalog continuation outside common action preloads * test(ui): model unbound catalog resolution in Gateway defaults * fix(beam): trim continuation boot work and verify stored upgrades --------- Co-authored-by: vincentkoc <[email protected]> Co-authored-by: Vincent Koc <[email protected]> Co-authored-by: RomneyDa <[email protected]>
An authorized Beam publisher could open the Team link but could not compose, and repeated adoption created independent transcript copies. Beam now transfers ownership explicitly and retains one live logical conversation for Team and the source client.
Fixes #192520. Receiver merged as
7552558bfb389d57c760cc37a641bbed7a250175from head81953d01bb3c95706940a20b9e53e1b7882aa9fc(treecea3dcd0491cf6b6d1d812a6c9d804c001329116). The companion openclaw/agent-skills#356 subsequently merged as4de04c55d02f57caea32176005c6a6c9517200dafrom pinned headb637385f21ab78ada03d87bba25e16aa9f192404.beam handoff. Release freezes source history and permanently retires source writes; archive or snapshot expiry cannot restore source ownership. Lost acknowledgments cannot recreate an expired publication.Validation
Final exact-head CI41793020965 succeeds, including all selected unit/browser/native, packaging, type/lint, prompt snapshot, Android and three PostgreSQL conformance jobs. Required
openclaw/ci-gatepasses. Exact-head ClawSweeper review has no findings or before-merge items.Dependency contracts personally checked in Codex revision414782450952a196bbb64b1605a458c2531c47b6: SessionMeta provider, turn model, destination model resolution, and account-filtered app-server catalog. No installed Team Codex revision is asserted.
Against original base868609a3f6cb9d736d89b577b57ebedb899d5d4f: production net+1242 (including2 generator lines); tests/support/routing+2336 (counted LF+2334), pinned MIT client proof fixture+1524, snapshot formatting+193; docs+17/-10. Production growth supplies durable ownership, canonical resolution and final-effect cleanup/security contracts. Independent-copy mutation and duplicate startup admission paths were removed.
This implements one-way retirement and normal-auth routing to the canonical conversation. It does not control a native runtime process or synchronize independent native transcript edits. No Team deployment or live-provider/account proof is claimed. Genuine Team media was deferred because no deployment occurred; isolated proof is separately identified. Privacy runtime qualification remains separately denied by the Gateway operator role; no policy or credential bypass was used.