Generated config contains invalid key: messages.queue.byProvider #5

Closed
opened 2026-02-15 17:04:26 -05:00 by yindo · 1 comment
Owner

Originally created by @schickling on GitHub (Jan 26, 2026).

Problem

The mkRoutingConfig function in the home-manager module generates a config with messages.queue.byProvider, but this key is not recognized by the clawdbot config schema.

Error

Invalid config at ~/.clawdbot/clawdbot.json:
- messages.queue: Unrecognized key: "byProvider"

Generated config

{
  "messages": {
    "queue": {
      "byProvider": {
        "discord": "queue",
        "telegram": "interrupt",
        "webchat": "queue"
      },
      "mode": "interrupt"
    }
  }
}

Impact

The clawdbot gateway fails to start because of this invalid config.

Suggested Fix

Either:

  1. Remove byProvider from mkRoutingConfig if it's not part of the schema
  2. Or update the clawdbot schema to accept this key

Workaround

Currently no easy workaround since configOverrides uses lib.recursiveUpdate which merges rather than replaces.

Originally created by @schickling on GitHub (Jan 26, 2026). ## Problem The `mkRoutingConfig` function in the home-manager module generates a config with `messages.queue.byProvider`, but this key is not recognized by the clawdbot config schema. ## Error ``` Invalid config at ~/.clawdbot/clawdbot.json: - messages.queue: Unrecognized key: "byProvider" ``` ## Generated config ```json { "messages": { "queue": { "byProvider": { "discord": "queue", "telegram": "interrupt", "webchat": "queue" }, "mode": "interrupt" } } } ``` ## Impact The clawdbot gateway fails to start because of this invalid config. ## Suggested Fix Either: 1. Remove `byProvider` from `mkRoutingConfig` if it's not part of the schema 2. Or update the clawdbot schema to accept this key ## Workaround Currently no easy workaround since `configOverrides` uses `lib.recursiveUpdate` which merges rather than replaces.
yindo closed this issue 2026-02-15 17:04:26 -05:00
Author
Owner

@joshp123 commented on GitHub (Feb 3, 2026):

[🤖 this message brought to you by codex] should be fixed in 952a04f3 (schema-only config + strip nulls). Closing for now — come and yell at me in #golden-path-deployments on discord if you're still having issues! Stability work continues; we are making this better every week.

@joshp123 commented on GitHub (Feb 3, 2026): [🤖 this message brought to you by codex] should be fixed in 952a04f3 (schema-only config + strip nulls). Closing for now — come and yell at me in #golden-path-deployments on discord if you're still having issues! Stability work continues; we are making this better every week.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/nix-openclaw#5