mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 20:40:43 +00:00
fix(sessions): avoid guarded route-only entries
This commit is contained in:
@@ -59,6 +59,13 @@ OpenClaw infers a pinned owner from `allowFrom` when all of these are true:
|
||||
In that mismatch case, OpenClaw still records inbound session metadata, but it
|
||||
skips updating the main session `lastRoute`.
|
||||
|
||||
## Guarded inbound recording
|
||||
|
||||
Channel plugins can mark an inbound session record as `createIfMissing: false`
|
||||
when a guarded path must not create a new OpenClaw session. In that mode,
|
||||
OpenClaw may update metadata and `lastRoute` for an existing session, but it
|
||||
does not create a route-only session entry just because a message was observed.
|
||||
|
||||
## Routing rules (how an agent is chosen)
|
||||
|
||||
Routing picks **one agent** for each inbound message:
|
||||
|
||||
Reference in New Issue
Block a user