Skip to content

Bug: Feishu channel text commands (/reset, /status) not recognized #10965

@tender404

Description

@tender404

Summary

Text commands like /reset, /status, /new sent via Feishu channel are not recognized as commands. Instead, they are passed to the agent as regular messages.

Environment

  • OpenClaw Version: 2026.2.3-1
  • OS: Windows 10 (x64)
  • Channel: Feishu (飞书)
  • DM Policy: allowlist

Configuration

{
  "commands": {
    "native": "auto",
    "nativeSkills": "auto",
    "text": true,
    "restart": true
  },
  "channels": {
    "feishu": {
      "enabled": true,
      "dmPolicy": "allowlist",
      "allowFrom": ["ou_xxx"]
    }
  }
}

Steps to Reproduce

  1. Configure Feishu channel with allowlist policy
  2. Send /reset or /status as a standalone message in Feishu DM
  3. Observe behavior

Expected Behavior

The command should be recognized and processed by Gateway:

  • /reset should reset the session
  • /status should return status information

Actual Behavior

  • Commands are not recognized
  • Messages are passed to the agent as regular text
  • Gateway logs show Received Feishu message event followed by embedded run start (indicating the message was sent to the model)
  • No command-related log entries

Investigation

  1. commands.text is explicitly set to true
  2. User is in allowlist
  3. Feishu plugin declares nativeCommands: false (expected, as Feishu doesn't support native command menus)
  4. According to docs, text commands should work on surfaces without native commands

Possible Cause

Feishu messages may be in rich text (post) format rather than plain text, causing the command parser to not recognize the / prefix at the start of the message.

Workaround

Use WebChat (http://127.0.0.1:18789/) to send commands instead of Feishu.

Related Documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleMarked as stale due to inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions