Skip to content

bug(annotator): reject invalid zero-dimension assets #877

Description

@JArmandoAnaya

Problem

The annotation asset path can currently coerce missing or invalid dimensions to 0 × 0. That can allow an invalid descriptor frame to reach suggestion preparation instead of failing at the boundary that owns asset validation.

This was observed during the Phase F browser-suggestion work and is intentionally separate from the Phase G model registry/cache work in #876.

Desired outcome

  • Identify where valid asset dimensions are lost or defaulted to zero.
  • Reject or repair invalid dimensions at the appropriate existing boundary.
  • Add regression coverage for the affected server and browser suggestion paths.
  • Preserve the current annotation and suggestion contracts for valid assets.

This task should not redesign browser model acquisition or persistence.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions