Skip to content

[Bug] OpenClaw plugin config: observationFeed blocked #1332

@xqicxx

Description

@xqicxx

Bug Description

The observationFeed configuration in claude-mem plugin is rejected by OpenClaw gateway due to JSON Schema validation.

Error

When configuring observationFeed in plugins.entries.claude-mem:

{
  "plugins": {
    "entries": {
      "claude-mem": {
        "enabled": true,
        "observationFeed": {
          "enabled": true,
          "channel": "telegram",
          "to": "USER_ID"
        }
      }
    }
  }
}

OpenClaw returns:

Config invalid at ~/.openclaw/openclaw.json:
  × plugins.entries.claude-mem: Unrecognized key: "observationFeed"

Root Cause

The plugin's openclaw.plugin.json has "additionalProperties": false in its configSchema, but the schema correctly defines observationFeed as a valid property.

However, OpenClaw's core validation has a bug where it rejects any custom configuration keys in plugin entries, regardless of whether they're defined in the plugin's schema.

Similar Issues in OpenClaw

This is a known issue in OpenClaw:

  • Issue #38217: Feishu plugin config validation fails
  • Issue #39101: voice-call staleCallReaperSeconds missing
  • Issue #39192: OpenAI TTS plugin schema missing properties

Workaround

Manual fix: Modify ~/.openclaw/extensions/claude-mem/dist/index.js to hardcode the observationFeed config, then restart the worker.

Expected Behavior

The observationFeed configuration should be accepted when defined in plugins.entries.claude-mem, as it's a valid property defined in the plugin's schema.

Environment

  • OpenClaw: 2026.3.8
  • claude-mem: 1.0.0
  • Platform: Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions