Repository navigation
Conversation
Fixes openclaw#86743. Implements raw external session alias preservation during gateway session key canonicalization to prevent session splitting after internal agent activity.
|
Thanks for the contribution. This PR still needs the requested real-behavior proof, and the branch has been idle since that ask. Close as stalled and unproven: this external PR has had an expired real-behavior-proof ask, no new head work, and the patch still only covers the migration hook rather than the full session-state writer surface. Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. So I’m closing this for now to keep the review queue honest. Please reopen or open a fresh PR with real-behavior proof (a live run, logs, or a reproducible validation transcript) and it will be reviewed again. Review detailsBest possible solution: Keep the refreshed canonical issue open and land one repaired raw/canonical alias contract at the session storage boundary, with coverage for lookup, patch, reset, delete, compaction, resolver, node-event, and plugin host-hook mutations. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main canonicalizes structured raw keys into agent-scoped keys and prunes noncanonical aliases, matching the reported session split path. I did not run a live external-channel replay in this read-only review. Is this the best way to solve the issue? No. Migration-only alias preservation is a useful start, but the best fix needs one storage-boundary alias contract that keeps raw and canonical entries synchronized across every persisted mutation path. Security review: Security review cleared: No concrete security or supply-chain concern was found; the diff is limited to gateway session-store TypeScript with no workflow, dependency, secret, or third-party execution changes. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against 785ab7477982. |
|
ClawSweeper PR egg 🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat. Where did the egg go?
|
This comment was marked as spam.
This comment was marked as spam.
|
@bladin thanks for the PR. ClawSweeper is still waiting on real behavior proof before this can move forward. Useful proof can be a screenshot, short video, terminal output, copied live output, linked artifact, or redacted logs that show the changed behavior after the fix. Please redact private tokens, phone numbers, private endpoints, customer data, and anything else sensitive. Once proof is added to the PR body or a comment, ClawSweeper or a maintainer can re-check it. |
|
ClawSweeper applied the proposed close for this PR.
|
Fixes #86743.
Summary
Implements raw external session alias preservation to prevent session splitting when internal agent activity touches the same logical conversation.
Changes
Related