Commit graph

2 commits

Author SHA1 Message Date
e68b8a3a09 feat: integrate sd-card for interactive spec generation
## Changes

- Replaced forgejo-workflow with sd-card flake input
- Added `nix run .#dev` command - starts Vite with annotation proxy
- Updated dev shell with sd-card tools (tea, playwright, nodejs)

## Usage

**Start dev server with annotation widget:**
```bash
FORGEJO_TOKEN="your-token" nix run .#dev
```

Opens SvelteKit on random ports with ✦ widget injected.

**Interactive annotation with Claudezilla:**
Ask Claude to open the app in Firefox and interact naturally:
- "Open http://localhost:5173"
- "Click the add item button"
- "This should show a form"

Claude generates Gherkin scenarios from the interactive session.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-27 00:04:36 +01:00
ba68fb456a test: E2E test suite + handoff documentation
50 Playwright E2E tests across 13 spec files covering all routes and
user flows (items CRUD, check-out/in, locations, labels, scanning,
search/filter). Uses vitest as runner with playwright-core for browser
automation (bun-compatible alternative to @playwright/test).

Includes Gherkin .feature files as living documentation, test support
infrastructure (IDB seeding, item factories, assertion helpers, layout
measurement), and HANDOFF.md covering project state, deployment, and
open design decisions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 20:53:08 +01:00