Skip to content

🐛 Fix: align AIDP knowledge base name validation - #3864

Merged
WMC001 merged 1 commit into
developfrom
codex/fix-aidp-kb-name-validation
Sep 7, 2026
Merged

🐛 Fix: align AIDP knowledge base name validation#3864
WMC001 merged 1 commit into
developfrom
codex/fix-aidp-kb-name-validation

Conversation

@cj2026-bit

Copy link
Copy Markdown
Collaborator

Problem

AIDP introduced validation for knowledge base names, but Nexent did not synchronize the frontend validation rules.

The name must:

  • Start with a Chinese character or an English letter
  • Contain only Chinese characters, English letters, digits, or underscores afterward
  • Be between 1 and 256 characters long

The previous frontend regex also contained a typo: 1-z should be a-z.

Fix

  • Corrected the knowledge base name regex
  • Added validation to the create and update knowledge base forms
  • Added detailed Chinese and English validation messages

Verification

img_v3_0215a_d48aa9f3-b34d-4164-9588-5411a75ad03g

@cj2026-bit cj2026-bit self-assigned this Sep 7, 2026
@cj2026-bit cj2026-bit changed the title Fix: align AIDP knowledge base name validation 🐛 Fix: align AIDP knowledge base name validation Sep 7, 2026
@WMC001
WMC001 merged commit 9a00d5c into develop Sep 7, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants