openclaw/docs/web
Gio Della-Libera 260e1e138b
fix(ui): drop unrestorable redacted config placeholders
Summary:
- Sanitize Control UI form-mode config submissions after schema coercion and before config.set/config.apply.
- Drop stale redacted placeholders only when the loaded form also had the redaction sentinel and the original raw config lacks that path.
- Preserve restorable saved secrets and user-entered literal sentinels so the gateway's fail-closed validation remains authoritative.

Verification:
- node scripts/run-vitest.mjs ui/src/ui/controllers/config.test.ts ui/src/ui/controllers/config/form-utils.node.test.ts
- pnpm exec oxfmt --check --threads=1 ui/src/ui/controllers/config.ts ui/src/ui/controllers/config/form-utils.ts ui/src/ui/controllers/config.test.ts ui/src/ui/controllers/config/form-utils.node.test.ts docs/web/control-ui.md CHANGELOG.md
- git diff --check origin/main...HEAD
- pnpm check:changed
- GitHub PR checks green on head b35a5b975d
2026-05-14 05:33:20 -05:00
..
control-ui.md fix(ui): drop unrestorable redacted config placeholders 2026-05-14 05:33:20 -05:00
dashboard.md fix(auth): align operator bootstrap scopes 2026-05-11 14:14:33 -05:00
index.md docs: batch fix filler Note/page openers and one TUI auth Warning 2026-04-26 22:12:17 -07:00
tui.md Route Codex message tool replies back to WebChat and TUI (#81586) 2026-05-14 11:55:54 +09:00
webchat.md Route Codex message tool replies back to WebChat and TUI (#81586) 2026-05-14 11:55:54 +09:00