Skip to content

✨ Add local TDD screenshot commands - #368

Merged
Robdel12 merged 2 commits into
mainfrom
rd/tdd-screenshots-local-cli
Sep 29, 2026
Merged

Robdel12 merged 2 commits into
mainfrom
rd/tdd-screenshots-local-cli

Conversation

@Robdel12

@Robdel12 Robdel12 commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Why

A local TDD run already writes screenshots under .vizzly, but reviewing them has depended on the report/server flow. Agents and people should be able to keep iterating after the run exits, open the current capture directly, and choose when they want to inspect a diff.

Approach

Add tdd screenshots list, latest, show, and accept. These commands read local report data, print usable image paths, and let a selected current capture become its local baseline. The shipped Vizzly skill now guides agents to inspect current images first, use diffs when they help, and accept baselines only when authorized.

Evidence

Dogfood exercised local capture review and baseline acceptance across the Vitest, Storybook, Ember, static-site, Ruby, and Swift examples. Focused CLI coverage and the production build pass. The Ruby example still has a repeatable 5.4% homepage difference with an unresolved cause; SwiftUI preview-specific dogfood could not run because the installed Xcode 27 does not match the runner's Xcode 26.6 requirement.

Let agents and humans inspect captures after a run without starting the TDD server. Keep baseline acceptance local and update the report so the selected comparison reflects the new baseline.
Point agents at captured images after a TDD run exits. Keep current-image iteration lightweight and make local baseline acceptance explicitly authorized.
@Robdel12
Robdel12 merged commit b15defc into main Sep 29, 2026
27 of 30 checks passed
@Robdel12
Robdel12 deleted the rd/tdd-screenshots-local-cli branch September 29, 2026 05:11
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