Skip to content

shep-kit: improve evidence collection to use main app and capture video for ui flows #321

@arielshad

Description

@arielshad

Problem

Currently, the evidence collection during implementation gathers evidence from Storybook. While this is useful for component-level verification, it has limitations:

  1. Storybook-only evidence — screenshots come from isolated Storybook stories, not the actual running application. This misses integration behavior, real data flows, routing, and how components work together in context.
  2. No video evidence for UI flows — for multi-step UI interactions (e.g., opening a drawer, submitting a form, navigating between views), static screenshots don't capture the full user experience. Video recordings would provide much stronger evidence.

Expected Behavior

1. Evidence from the main app

  • Fine-tune the evidence collection prompt so it prioritizes capturing evidence from the actual running Next.js app (pnpm dev:web) rather than defaulting to Storybook
  • Evidence should show the feature working in its real context — with real routing, layout, data fetching, and integration with surrounding components
  • Storybook evidence can supplement but should not be the primary source

2. Video evidence for UI flows

  • When the feature involves UI interactions (clicks, transitions, drawer open/close, form submissions, navigation), capture short video recordings as evidence
  • Videos should demonstrate the complete user flow, not just the end state
  • Use Playwright or similar tooling to record browser interactions programmatically

Acceptance Criteria

  • Evidence collection prompt updated to target the main app for primary evidence
  • Screenshots captured from the running Next.js app showing features in real context
  • Video recordings captured for UI-related flows demonstrating multi-step interactions
  • Storybook evidence retained as supplementary (component isolation) but not primary
  • Evidence artifacts (screenshots + videos) stored alongside spec deliverables

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions