Skip to content

test(user-interface): eval case for shaped corners that keep the focus indicator #7985

Closed

Description

@kyle-sexton

Refs: #6791

Agent Brief

Type: Task
Summary: Add one claude plugin eval case showing that /user-interface:design shapes a focusable control's corners without clipping its focus outline.

Current behavior:
The web type reference says a clip-path cuts off an element's focus outline and shadow, so corners are shaped with border-radius, plus a native feature such as corner-shape as an enhancement. No eval case checks it.

Desired behavior:
A new case, in the shape of the existing css-rule-motion case, asks for smoothed or squircle corners on a button. A pass answer uses border-radius, optionally with corner-shape, and no clip-path on the focusable element, or it restores a visible focus indicator. A fail answer puts a clip-path on the button and leaves no visible focus.

Key interfaces:

  • The new eval case: prompt frontmatter, graders, and pass and fail samples.

Acceptance criteria:

  • A new case directory holds a prompt.md whose expected_outcome names border-radius or corner-shape with the focus indicator kept.
  • It holds a grader that fails a clip-path on the focusable control, plus a skill-fired grader.
  • The samples include a fail answer that clips the button with clip-path.
  • No sample holds a raw session transcript.
  • scripts/check-changelog-fragments.sh passes.

Out of scope:

  • Editing the web type reference or the design skill.
  • The other three motion cases.
  • A paid eval run: done after merge.

This was generated by AI during backlog shaping. Split from #6791; the owner approved filing it in an attended backlog-shaping session on 2026-10-18.

Activity

  1. added
    needs-human
    on Oct 18, 2026
  2. added theissue type on Oct 18, 2026
  3. added
    agent-ready
    and removed
    needs-human
    on Oct 18, 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

    agent-ready

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions