Skip to content

Comments

fix(web): add post-generation verification step and harden generated spec handling#130

Open
21pounder wants to merge 1 commit intovercel-labs:mainfrom
21pounder:main
Open

fix(web): add post-generation verification step and harden generated spec handling#130
21pounder wants to merge 1 commit intovercel-labs:mainfrom
21pounder:main

Conversation

@21pounder
Copy link

Summary

This PR fixes generation reliability issues reported in #129 and adds a quick verification + feedback step in the
playground after generation.

Problems

  • Generated Rating could become read-only in feedback/form scenarios.
  • Generated Select/Radio options could render as [object Object].
  • No quick post-generation verification/feedback loop for users.

Changes

  • Made Rating interactive in playground registry (state binding + on.change support).
  • Added option normalization for Select/Radio to handle object-shaped options safely.
  • Added spec verification module (structural + semantic checks).
  • Added verification panel in playground with actions:
    • Looks good
    • Fix issues (regenerate with issue-aware repair prompt)
    • Regenerate
  • Tightened generation prompt rules for interactive rating and select/radio option shape.
  • Updated README with verification capability note.

Validation

  • Ran pnpm type-check successfully.

@vercel
Copy link
Contributor

vercel bot commented Feb 21, 2026

@21pounder is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant