Skip to content

bug(ui): Agent name has no length ceiling, no format hint and no preview of the sanitized slug #3463

Closed

Description

@vybe

Summary

No slug preview, no inline error, no counter and no maxlength for any value; Create stays enabled even for an empty name. (The backend deliberately sanitizes and accepts, so what is created differs from what was typed, unannounced.)

Category: functional · Severity: Medium · Validated: observed twice (2026-09-13 and 2026-10-09)

Context

Found by the click-through UI sweep of a local instance (dev @ c90c711ee, 1.0.0-rc1), fixture agents only.

Repro

  1. Open Library → Create Blank Agent (or Use Template).
  2. Type Bad Name!, an upper-case name, a 300-character name.

Expected

"a named validation error or a previewed sanitized slug before submit".

Observed

No slug preview, no inline error, no counter and no maxlength for any value; Create stays enabled even for an empty name. (The backend deliberately sanitizes and accepts, so what is created differs from what was typed, unannounced.)

Validation

Observed in two runs; src/frontend/src/components/CreateAgentModal.vue sets maxlength only on the display-name field (line 44).

Acceptance Criteria

  • The repro above gives the Expected result at 1440 and 768, in light and dark.
  • A regression test pins the behaviour (unit or Playwright, whichever tier can observe it).
  • No new raw-palette classes or hand-rolled primitives are introduced by the fix (docs/memory/design-system-contract.md).

Technical Notes

Evidence screenshots (kept on the machine that ran the sweep; the evidence folder is gitignored because the repository is public):

  • docs/testing/ui-sweep/evidence/2026-10-09-all/1cbc0f01-1.png

Found by /ui-sweep --all @ c90c711

Activity

  1. added
    priority-p2
    type-bug
    theme-ui-ux
    status-ready
    on Oct 9, 2026
  2. added
    status-in-dev
    on Oct 11, 2026
  3. removed
    status-ready
    on Oct 12, 2026
  4. removed
    status-in-dev
    on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority-p2theme-ui-uxtype-bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions