Skip to content

test(user-interface): eval cases for the web motion and interaction guidance #6791

Closed
4 of 4 issues completed
Closed

Description

@kyle-sexton

Summary

#6733 added a 7-bullet Motion and interaction section to plugins/user-interface/reference/types/web.md. No eval case checks that /user-interface:design applies it. Add a small claude plugin eval suite under plugins/user-interface/evals/ so a later edit or cut to that section has evidence behind it (the skill criteria require eval evidence for a cut).

Proposed cases

Each case is a web UI build or design prompt where the guidance changes the answer. A deterministic or judge grader checks the answer.

  1. Interruptible motion. A toggle or hover target that can change mid-animation. Pass: the answer continues from the current value and velocity, for example with a spring or a velocity-preserving transition, and does not restart a keyframe from zero.
  2. Expand to content height. An accordion with unknown content height. Pass: the answer uses display: grid with grid-template-rows going from 0fr to 1fr, and makes the collapsed content inert (or equivalent), instead of animating max-height or height: auto.
  3. No layout shift from appearance. A countdown or live counter. Pass: the answer uses tabular digits in a fixed-width slot. Loading skeletons match the final size.
  4. Corner shaping keeps focus. A request for smoothed or squircle corners on a focusable control. Pass: the answer does not use clip-path on the focusable element, or it restores a visible focus indicator.

Possible case shape: a "wrong vs right" pair, two variants side by side with the one-line fix, as the source posts show it.

Sources for each bullet are linked in web.md and in #6733.

Related

Sub-issues

Sub-issues

4 of 4 Issues completed
Loading 4 sub-issues

Activity

  1. added
    needs-triage
    on Oct 10, 2026
  2. github-actions commented on Oct 10, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Large
    Complexity: Low
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Understood: add a small eval suite under plugins/user-interface/evals/ checking that /user-interface:design applies the Motion and interaction guidance in web.md (interruptible motion, expand to content height, no layout shift, focus-safe corner shaping). The backlog split already filed this as one case per child: #7982, #7983, #7984 and #7985. This issue tracks those pieces. Nothing is missing, and I found no duplicates.

    Automated triage, applied by the lanes App.

  3. added
    needs-human
    on Oct 10, 2026
  4. removed
    needs-triage
    on Oct 12, 2026
  5. added theissue type on Oct 12, 2026
  6. kyle-sexton commented on Oct 13, 2026

    @kyle-sexton
    MemberAuthor

    Owner batch-ratified this admission in an attended session on 2026-10-12: work-class: scoped. The basis is the evidence pre-pass's agent route, with no owner input needed and no trust surface touched.

  7. added
    agent-ready
    and removed
    needs-human
    agent-ready
    on Oct 13, 2026
  8. kyle-sexton commented on Oct 18, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI during backlog shaping.

    This issue is split into 4 pieces, each sized for one lane PR. The premise holds: web.md has the Motion and interaction section and no user-interface eval mentions 0fr, grid-template-rows, squircle or tabular digits. Existing cases run 4 to 7 files each, so even two cases per PR would pass 10 files. That means one case per child, each lane-ready under the ratified scoped class.

    Filed pieces are sub-issues of this one, and the paced queue admits them to the lane. Unfiled pieces wait on the blocker shown. The owner approved this split in an attended backlog-shaping session on 2026-10-18.

  9. github-actions commented on Oct 25, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (attempt 1 of 2).

  10. added
    status: ready
    needs-owner-decision
    and removed
    status: ready
    on Oct 25, 2026
  11. melodic-automation-lanes commented on Oct 25, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: no trusted-human acceptance criteria: a listed human must put the confirmed - [ ] criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited; Size large: the split into sub-issues at intake is pending (owner Q93). Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  12. melodic-automation-lanes commented on Oct 25, 2026

    @melodic-automation-lanes
    Contributor

    The latest triage verdict holds nothing: admission moved the issue to status: needs-decision; its comment says why.

  13. melodic-automation-lanes commented on Oct 25, 2026

    @melodic-automation-lanes
    Contributor

    Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.

    Intended outcome: Close this tracking issue once the four child issues (#​7982 to #​7985) are closed, since the eval cases already exist in the checkout.

    Related work

    Open questions

    1. Should this tracking issue be closed, given that eval directories for all four proposed cases already exist under plugins/user-interface/evals/?
      RECOMMENDED: Yes, close it once #​7982 to #​7985 are closed. Check that PRs 8140, 8148 and 8130 were merged, because the candidates only show them as closed. Basis: plugins/user-interface/evals/web-interruptible-motion/prompt.md, plugins/user-interface/evals/web-expand-content-height/graders/grid-rows-0fr.md, plugins/user-interface/evals/appearance-keeps-layout-box/graders/tabular-digits.md, plugins/user-interface/evals/css-rule-corner-shape/graders/corners-keep-focus.md
    2. Does css-rule-corner-shape, which sits under the write-css evals, satisfy case 4, or does case 4 still need a /user-interface:design eval for focusable controls with squircle corners?
      RECOMMENDED: Treat case 4 as satisfied only if #​7985 was closed against css-rule-corner-shape. Otherwise leave #​7985 open for a design-skill case. Basis: plugins/user-interface/evals/css-rule-corner-shape/prompt.md

    Sources read

    • plugins/user-interface/evals/web-interruptible-motion/prompt.md: case for interruptible motion exists
    • plugins/user-interface/evals/web-expand-content-height/graders/grid-rows-0fr.md: grader for the grid 0fr to 1fr accordion exists
    • plugins/user-interface/evals/appearance-keeps-layout-box/graders/tabular-digits.md: grader for tabular digits exists
    • plugins/user-interface/evals/css-rule-corner-shape/graders/corners-keep-focus.md: grader for focus-safe corner shaping exists
    • Maintainer comment 2026-10-18: the issue was split into #​7982 to #​7985, all four marked filed

    Automated refinement by the lanes App. Answer with a comment whose first line is **Decision recorded.**.

  14. kyle-sexton commented on Oct 26, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI.

    Closing as completed: merged work carries all of it. Sub-issues #7982, #7983, #7984 and #7985 are closed as completed. Their eval cases were merged in #8140 (interruptible motion), #8148 (expand to content height), #8130 (appearance keeps the layout box) and #8144 (shaped corners keep the focus indicator). Nothing remains. The refinement's question, whether case 4 belongs under write-css, was answered when #7985 closed against #8144. Reopen if one of the four cases goes missing from the eval suite.

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

    needs-owner-decision

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions