Skip to content

refactor(config): simplify allowed-value formatting - #129064

Merged
steipete merged 2 commits into
mainfrom
codex/cleanup4-config-allowed-values-owner-20260824
Aug 25, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/cleanup4-config-allowed-values-owner-20260824

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Summary

  • Simplify the existing allowed-value formatting owner by removing duplicated private formatting and deduplication logic.
  • Preserve both public exports, null-versus-object handling, six mixed-type distinctions, UTF-16 truncation, the 12-value cap, exact stringify side effects, and duplicate warning suppression.
  • Remove 13 production lines without changing configuration contracts, schemas, public APIs, or tests.

Verification

  • Four real owner, Zod, TypeBox, and configuration-plugin suites passed: 133 tests.
  • Exported-boundary differential proof covered 17 hostile input families, mixed types, UTF-16 limits, the cap, and exactly three custom stringify calls.
  • Focused formatting, direct owner lint, and whitespace checks passed.
  • Independent source review and fresh structured autoreview reported no actionable findings.

@clawsweeper

clawsweeper Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Aug 25, 2026
@steipete
steipete merged commit 041d48e into main Aug 25, 2026
227 checks passed
@steipete
steipete deleted the codex/cleanup4-config-allowed-values-owner-20260824 branch August 25, 2026 07:22
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 26, 2026
* refactor(config): simplify allowed-value formatting

* chore(config): tighten allowed-value assertion baseline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant