Skip to content

Cherry-pick: Session Context & Hooks #648

@alexey-pelykh

Description

@alexey-pelykh

Upstream Cherry-Pick

Source: openclaw/openclaw
Scanned: 2026-03-10 (Batch 4)
Sync cursor: 14897e8ded82c042b0

Commits

Hash Subject Tier Author
6fd9ec97d fix(gateway): preserve turn-origin messageChannel in agent runs AUTO-PICK
a4408a917 fix: pass sessionKey to deliverOutboundPayloads for message:sent hook dispatch AUTO-PICK
4cb405399 fix: complete sessionKey forwarding for message:sent hook (openclaw#27584) (thanks @qualiobra) AUTO-PICK @qualiobra
a1628d89e refactor: unify outbound session context wiring AUTO-PICK

Adaptation Notes

  • sessionKey forwarding pair (a4408a94cb4053) should be applied together
  • Outbound context refactor (a1628d8) is a broad refactor touching delivery, cron, gateway, heartbeat, outbound, session-maintenance — apply last
  • New file: src/infra/outbound/session-context.ts
  • CHANGELOG.md entries should be skipped

Execution

Pick up with: /pick-from-openclaw pick up issue #<this>

Cherry-pick checklist:

  • Commits applied (4 commits)
  • Post-pick verification passed
  • Pick-notes written
  • Issue closed

Metadata

Metadata

Assignees

No one assigned

    Labels

    cherry-pickCherry-pick from upstream

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions