{"agent":"claude","input":"Write interaction tests for the stories in this Storybook project. Read package.json, .storybook/main.ts, .storybook/preview.ts, .storybook/vitest.setup.ts, vite.config.ts, the tsconfig files and every component and story under src first. State how stories run as tests here and which command runs them. List every story, whether it has a play function, and which component behaviour no story asserts. Add play functions to the existing story files in the style they already use: queries by role and accessible name, userEvent for clicks and typing, expect from storybook/test, and the fn() spies already declared in args. Cover each callback prop (called once, with the right arguments, and no other spy called), each prop that changes what renders, and each state change a user can cause. Add a story where a state has none, and keep one behaviour per story with a name that says what it shows. Do not change component source to make a test pass and do not add a new test library. Install with yarn install --immutable, install Chromium with yarn playwright install --with-deps chromium, and run the stories with Vitest's storybook project. For each new assertion, break the component once, confirm the test fails, and restore it. Add a test script to package.json that runs the storybook project. Run yarn tsc -b and yarn build-storybook. Open a pull request listing each story you added or extended and what it asserts, with the output of the test run, the type check and the build. If a test exposes behaviour that looks wrong, keep the test, mark it in the description and leave the fix to us.","resources":[{"url":"https://github.com/your-org/your-app"}]}