Skip to content

Feature Request: Per-group session reset configuration #8122

@tylerliu612

Description

@tylerliu612

Summary

Support configuring session reset settings at the per-group level, not just globally or by type/channel.

Use Case

I have dedicated TTS (text-to-speech) groups where each message is an independent translation task with no need for conversation context. I'd like these groups to auto-reset after 1 minute idle, while keeping other groups (like family chats) with normal session continuity.

Current Behavior

Session reset can only be configured at:

  • Global level (session.reset)
  • By type (session.resetByType.group) — affects all groups
  • By channel (session.resetByChannel.telegram) — affects all Telegram

Proposed Solution

Add per-group session configuration, e.g.:

{
  "channels": {
    "telegram": {
      "groups": {
        "-5117810383": {
          "requireMention": false,
          "session": {
            "reset": {
              "mode": "idle",
              "idleMinutes": 1
            }
          }
        }
      }
    }
  }
}

Environment

  • OpenClaw version: 2026.2.1
  • Channel: Telegram

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper 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:source-reproClawSweeper found a high-confidence source-level issue reproduction.enhancementNew feature or requestimpact:session-stateSession, 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.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions