Commit graph

1 commit

Author SHA1 Message Date
a1b0cdbd91 feat: integrate sd-card for interactive spec generation (#2)
## Summary

Integrated **sd-card** workflow for interactive specification generation:

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

## Usage

### Widget-based annotation
```bash
FORGEJO_TOKEN="your-token" nix run .#dev
```

Opens SvelteKit with ✦ widget injected on every page.

### Interactive annotation (recommended)
Ask Claude to interact with the app via Claudezilla:
```
User: "Open solidhaus"
Claude: [opens in Firefox]
User: "Click the scan barcode button"
Claude: [clicks, shows screenshot]
User: "This should open the camera"
Claude: [generates Gherkin scenario]
```

## Test Plan

- [x] Flake builds successfully
- [x] `nix run .#dev` starts dev server with proxy
- [x] Widget injects on pages
- [x] Claudezilla can open and interact with app
- [x] Dev shell includes all sd-card tools

🤖 Generated with Claude Code

Reviewed-on: toph/solidhaus#2
Co-authored-by: Christopher Mühl <toki@toph.so>
Co-committed-by: Christopher Mühl <toki@toph.so>
2026-02-26 23:07:38 +00:00