Repository navigation
refactor(normalization): reuse trimmed list helpers - #113295
Merged
Merged
Conversation
vincentkoc
marked this pull request as ready for review
July 24, 2026 09:31
Member
Author
|
Land-ready proof for
Known proof gaps: none. |
Member
Author
|
Merged via squash.
|
vincentkoc
added a commit
that referenced
this pull request
Jul 24, 2026
…omic-publication-20260724 * origin/main: refactor(memory-lancedb): remove dead legacy path scan (#113299) fix(test): satisfy no-map-spread in exec approvals (#113303) fix: keep OAuth refresh failures terminal [AI] (#112957) fix: reusable exec approvals apply to approved arguments (#112946) refactor(agents): split tool search internals (#113296) fix: keep inline eval approvals one-shot [AI] (#112956) refactor(normalization): reuse trimmed list helpers (#113295) fix(openai): fail fast on invalid TLS certificates (#111818) fix: recognize more shell wrappers [AI] (#112955) fix(i18n): correct Indonesian seconds labels chore(i18n): refresh native locales fix: block opaque exec dispatch wrappers (#112953)
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Slack error handling and model-catalog normalization carried five private copies of string trimming and array filtering behavior already owned by normalization-core. Those copies increased drift risk, and the model-catalog file retained a max-lines suppression after the duplicated code was removed.
Why This Change Was Made
Reuse the existing normalization-core helpers directly in model-catalog-core and through the public Plugin SDK barrel in Slack. Remove the now-unused
max-linesdirective and its ratchet baseline entry in the same cleanup; no dependency, public API, or runtime topology is added.User Impact
No intended user-visible behavior change. Slack scope handling and model-catalog parsing preserve their existing trimming, invalid-entry filtering, ordering, and optional-list semantics while sharing one implementation.
Evidence
tbx_01ky9jm875qf0et5qbc7x66dg5:pnpm test:serial extensions/slack/src/send.identity-fallback.test.ts packages/model-catalog-core/src/model-catalog-normalize.test.ts packages/normalization-core/src/string-normalization.test.ts— 66 tests passed.pnpm check:changedpassed across core, core tests, extensions, extension tests, and tooling lanes.autoreview --mode local: clean, no accepted/actionable findings, correctness 0.94.git diff --checkpassed after rebasing onto currentorigin/main.