-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Persist observed room events as bare transcript rows for durable ambient group awareness #99257
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.enhancementNew feature or requestNew feature or requestimpact:data-lossCan lose, corrupt, or silently drop user/session/config data.Can lose, corrupt, or silently drop user/session/config data.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maintainerMaintainer-authored PRMaintainer-authored PRmaturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.enhancementNew feature or requestNew feature or requestimpact:data-lossCan lose, corrupt, or silently drop user/session/config data.Can lose, corrupt, or silently drop user/session/config data.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maintainerMaintainer-authored PRMaintainer-authored PRmaturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Type
Fields
Priority
None yet
Ambient group awareness is capped by the per-turn window: observed room events should persist as bare transcript rows
Current behavior
With ambient group mode (
room_eventturns), the agent evaluates every unmentioned group message but is required to forget it:src/auto-reply/reply/get-reply-run.tssetssuppressNextUserMessagePersistenceandsuppressTranscriptOnlyAssistantPersistencefor every room event, so neither the observed message nor the silent decision ever reaches the session transcript.The agent's group knowledge is therefore only the per-turn chat-window snapshot: bounded (
historyLimit, default 50), rebuilt from the message cache on every turn, and carried in the uncached tail of each prompt. Consequences:historyLimitto widen awareness multiplies per-turn cost linearly in active chats.Expected behavior
In ambient mode the transcript should become the durable chat log: each observed room event appends one bare envelope row (
#44791 bh.ai: ...-style, no metadata prefix, no window snapshot, no assistant row when the turn stays silent) to the session transcript.Prior art: hermes-agent persists observed group chatter as
observed: truetranscript rows reclassified at replay; this proposal is the OpenClaw-shaped equivalent (single canonical history surface, channel-agnostic seam).Design constraints
resumableText) andstrip-inbound-metamust treat bare ambient rows as plain conversation, not metadata to strip.Impact
Ambient-mode deployments get durable full-chat awareness with better cache economics than today's window, and silent turns finally leave a decision trail (the agent can see it already chose not to reply to a thread).