Skip to content

create_seller_profile validation gaps #159

Description

@dmeiser

Synthesized from full-repo review (KW-REVIEW-SYNTHESIS).

  • Severity: Medium
  • Location: src/handlers/scout_operations.py:42-103
  • Summary: sellerName has no length limit, unitType is not validated against the enum, and unexpected exceptions are converted to RuntimeError instead of AppError.
  • Recommendation: Add length/enum validation and normalize errors to AppError.
  • Source reviews: deepseek-v4-pro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions