Skip to content

[Bug]: node is spreading string array entries into exec-approvals.json on every write #9790

@yetibob402

Description

@yetibob402

Summary

What went wrong?
on node restart the allow lists are string arrays vs apps/files

the node is spreading string array entries into {"0":"t","1":"h"...} objects on every
write.

{
"version": 1,
"socket": {
"path": "/Users/yetibob/.openclaw/exec-approvals.sock",
"token": ""
},
"defaults": {},
"agents": {
"main": {
"mode": "allowlist",
"allowlist": [
{
"0": "t",
"1": "h",
"2": "i",
"3": "n",
"4": "g",
"5": "s",
"id": "61858aaa-7c55-4517-a391-7920b92bc553"
},
{
"0": "r",
"1": "e",
"2": "m",
"3": "i",
"4": "n",
"5": "d",
"6": "c",
"7": "t",
"8": "l",
"id": "ef370110-561e-4d89-b2fd-5c8003db965f"
},
{
"0": "m",
"1": "e",
"2": "m",
"3": "o",
"id": "70971871-706e-4fbe-88fd-4bee9acd6d52"
},
{
"0": "w",
"1": "h",
"2": "i",
"3": "c",
"4": "h",
"id": "cf2dd440-1742-4d6a-b49b-071b690555e4"
},
{
"0": "l",
"1": "s",
"id": "34a6abca-5173-4b9f-922c-d0af244fc3fc"
},
{
"0": "c",
"1": "a",
"2": "t",
"id": "f735e10b-2057-4d34-9f01-9e33c77ae088"
},
{
"0": "e",
"1": "c",
"2": "h",
"3": "o",
"id": "ad7708d4-4ad9-42e2-a620-56b56f66de69"
}
]
}
}
}

Environment

  • Clawdbot version:2026-2.3-1
  • OS: mac 26.1
  • Install method (pnpm/npx/docker/etc): brew

Logs or screenshots

Paste relevant logs or add screenshots (redact secrets).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions