Skip to content

[Bug]: OpenClaw 2026.5.28 (1panel/openclaw:latest) fails to start with "agents.list.*: Invalid input" - downgrade to 2026.5.27 works #89445

Closed as not planned

Description

@SkillGodAk

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

After upgrading to (version 2026.5.28), the OpenClaw gateway fails to start with the following error

Steps to reproduce

text
Gateway failed to start: Invalid config at /home/node/.openclaw/openclaw.json.
agents.list.0: Invalid input
agents.list.1: Invalid input
agents.list.2: Invalid input
agents.list.3: Invalid input

Downgrading to version 2026.5.27 resolves the issue completely

Version 2026.5.28 introduced a breaking change in how agents.list entries are validated. The new version appears to reject configuration formats that worked perfectly in 2026.5.27.

Possible causes:
Stricter validation on model field format
New required fields not documented
Incompatibility with existing subagents configuration structure

Request
Please provide the correct configuration format for OpenClaw 2026.5.28
Or fix the backward compatibility issue so that configurations working in 2026.5.27 are not rejected
Or update the documentation to reflect the breaking changes

Steps to Reproduce

Prerequisites
Docker installed on Linux (NAS or server)
1Panel installed (or direct Docker access)
Telegram Bot tokens (4 bots)

docker pull 1panel/openclaw:latest

docker run -d
--name OpenClaw
-p 18789:18789
-v openclaw-data:/home/node/.openclaw
1panel/openclaw:latest

{
"agents": {
"list": [
{
"id": "master",
"systemPromptOverride": "You are the trading team leader...",
"subagents": {
"allowAgents": ["hunter", "quant", "risk"]
}
},
{
"id": "hunter",
"systemPromptOverride": "You collect market news..."
},
{
"id": "quant",
"systemPromptOverride": "You perform technical analysis..."
},
{
"id": "risk",
"systemPromptOverride": "You assess risk levels..."
}
]
}
}

Expected behavior

I have already tried the following steps before reporting this issue:

  1. Backed up my existing openclaw.json
  2. Adjusted the agents.list configuration according to the latest OpenClaw documentation (added name field, tried different model formats)
  3. Ran openclaw doctor --fix multiple times — it completed successfully but did NOT resolve the startup failure

Unfortunately, none of these steps worked. The gateway still fails to start with the same error

Actual behavior

agents.list.0: Invalid input
agents.list.1: Invalid input
agents.list.2: Invalid input
agents.list.3: Invalid input

OpenClaw version

2026.05.28

Operating system

Linux

Install method

Docker (1panel/openclaw:latest)

Model

nvidia/stepfun-ai/step-3.5-flash nvidia/minimaxai/minimax-m2.7

Provider / routing chain

openclaw -> nvidia (via API)

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Activity

  1. clawsweeper commented on Jun 2, 2026

    @clawsweeper
    Contributor

    Thanks for the context here. I did a careful shell check against current main, and this is already implemented.

    Close: current main fixes the packaged-build regression that collapsed this issue’s validation output to bare Invalid input, and the supported migration path now makes the legacy configuration problem actionable rather than requiring a downgrade.

    So I’m closing this as already implemented rather than keeping a duplicate issue open.

    Review details

    Best possible solution:

    Keep the explicit packaged-build locale registration and use Doctor’s current migration guidance to remove unsupported legacy agent prompt overrides rather than restoring runtime compatibility for retired configuration.

    Do we have a high-confidence way to reproduce the issue?

    Yes for the opaque packaged-build diagnostic: the related report reproduced the same bundled Zod fallback and the merged fix restores the missing error detail. The exact reporter configuration is not needed to establish that the reported Invalid input failure mode is fixed.

    Is this the best way to solve the issue?

    Yes. Explicitly preserving Zod’s locale registration in the config schema fixes the packaged/source diagnostic divergence, while Doctor documentation identifies the reported legacy prompt-override field as removed instead of retaining a runtime compatibility shim.

    Security review:

    Security review: This is an issue triage review without a proposed patch security surface.

    AGENTS.md: found and applied where relevant.

    What I checked:

    Likely related people:

    • ObliviateRickLin: Authored the merged packaged-build diagnostic repair that explicitly names this report as an affected user case. (role: root-cause fix author; confidence: high; commits: 1922f6fb7c92, c749d714e9c7; files: src/config/zod-schema.ts, src/config/zod-schema.locale.test.ts)
    • vincentkoc: Merged the diagnostic fix and authored the current latest release tag supplied in the review context. (role: merger and release-adjacent contributor; confidence: medium; commits: c749d714e9c7, 2d2ddc43d0dc; files: src/config/zod-schema.ts)

    Codex review notes: model internal, reasoning high; reviewed against 903d8bc9d573; fix evidence: release v2026.7.1, commit c749d714e9c7.

  2. added
    P2Normal backlog priority with limited blast radius.
    impact:crash-loopCrash, hang, restart loop, or process-level availability failure.
    issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.
    clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.
    clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.
    clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.
    on Jun 2, 2026
  3. added
    issue-rating: 🦐 gold shrimpDecent issue quality, but reproduction details are still incomplete.
    clawsweeper:needs-infoClawSweeper needs more reporter information before it can verify this issue.
    and removed
    clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.
    issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.
    clawsweeper:needs-infoClawSweeper needs more reporter information before it can verify this issue.
    issue-rating: 🦐 gold shrimpDecent issue quality, but reproduction details are still incomplete.
    on Jun 15, 2026
  4. 1 remaining item

  5. openclaw-barnacle commented on Jul 6, 2026

    @openclaw-barnacle

    This issue has been automatically marked as stale due to inactivity.
    Please add updates or it will be closed.

  6. ObliviateRickLin commented on Jul 11, 2026

    @ObliviateRickLin
    Contributor

    The unactionable message shape here (agents.list.*: Invalid input with no hint which key or type is wrong) is root-caused in #104014: zod@4 ships sideEffects: false, so the bundler tree-shakes zod's implicit English-locale registration out of packaged builds, and every validation issue collapses to the bare Invalid input fallback. Source checkouts print the real messages, which is why this is hard to reproduce outside a packaged/container install. Fix: #104026 (live before/after transcripts inside) — with it, the same failures print e.g. Unrecognized key: "..." or Invalid input: expected number, received string, which should make the underlying config problem on 2026.5.28 self-explanatory.

  7. openclaw-barnacle commented on Jul 25, 2026

    @openclaw-barnacle

    This issue has been automatically marked as stale due to inactivity.
    Please add updates or it will be closed.

  8. steipete commented on Jul 29, 2026

    @steipete
    Contributor

    Closing per ClawSweeper review verdict implemented_on_main (decision packet 2026-07-27T21:17:40.750Z). This item was part of the audited close backlog (openclaw/clawsweeper#920) stranded by an apply-lane defect, drained manually after re-verification. If this is wrong, reopen and ClawSweeper will re-review.

  9. locked as resolved and limited conversation to collaborators on Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.bugSomething isn't workingclawsweeper-recovery-stuckclawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.regressionBehavior that previously worked and now fails

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions