No description
Find a file
Christopher Mühl 16e9c891a8 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
.claude test: E2E test suite + handoff documentation 2026-02-26 20:53:08 +01:00
e2e test: E2E test suite + handoff documentation 2026-02-26 20:53:08 +01:00
src feat: all route pages — dashboard, scan, items, locations, labels, settings 2026-02-26 16:22:19 +01:00
static chore: scaffold SvelteKit project with Capacitor and Tailwind 2026-02-26 14:50:10 +01:00
.gitignore chore: add Forgejo PR workflow 2026-02-26 17:10:07 +01:00
ADDENDUM_V2.md chore: scaffold SvelteKit project with Capacitor and Tailwind 2026-02-26 14:50:10 +01:00
bun.lock test: E2E test suite + handoff documentation 2026-02-26 20:53:08 +01:00
capacitor.config.ts chore: scaffold SvelteKit project with Capacitor and Tailwind 2026-02-26 14:50:10 +01:00
CLAUDE.md chore: add Forgejo PR workflow 2026-02-26 17:10:07 +01:00
flake.lock feat: integrate sd-card for interactive spec generation (#2) 2026-02-26 23:07:38 +00:00
flake.nix feat: integrate sd-card for interactive spec generation (#2) 2026-02-26 23:07:38 +00:00
HANDOFF.md test: E2E test suite + handoff documentation 2026-02-26 20:53:08 +01:00
package.json test: E2E test suite + handoff documentation 2026-02-26 20:53:08 +01:00
PROJECT_SPECIFICATION.md chore: scaffold SvelteKit project with Capacitor and Tailwind 2026-02-26 14:50:10 +01:00
RESEARCH_SUMMARY.md chore: scaffold SvelteKit project with Capacitor and Tailwind 2026-02-26 14:50:10 +01:00
solidhaus.ttl chore: scaffold SvelteKit project with Capacitor and Tailwind 2026-02-26 14:50:10 +01:00
svelte.config.js chore: scaffold SvelteKit project with Capacitor and Tailwind 2026-02-26 14:50:10 +01:00
tsconfig.json chore: scaffold SvelteKit project with Capacitor and Tailwind 2026-02-26 14:50:10 +01:00
vite.config.ts chore: scaffold SvelteKit project with Capacitor and Tailwind 2026-02-26 14:50:10 +01:00
vitest.config.ts feat: UI components — ItemCard, ItemForm, LocationTree, LocationPicker 2026-02-26 15:36:56 +01:00