AI-powered hardware inventory management for homelab environments
Find a file
Mikkel Georgsen 1764c7b06a feat(05-02): add TestHandler with 3 cable-test endpoints + router wiring
- TestHandler: POST /api/test/cable, GET /api/test/events, GET /api/test/recent
- POST /api/test/cable: DisallowUnknownFields (T-05-03), creates NetBox cable,
  auto-prints with 1s rate limit (T-05-05), prepends to 20-item ring buffer
- GET /api/test/events: SSE, 30s keepalive, exits on context cancel (T-05-04)
- GET /api/test/recent: thread-safe ring buffer, returns [] when empty
- AttachStream() wires StreamingTesterDriver channel to SSE broadcaster
- Router: three /api/test/* routes added to NewRouter signature
- main.go: constructs TestHandler, wires USB Manager event loop stub
- All handler tests pass race-clean (7 test cases)
2026-04-10 07:15:30 +00:00
.planning docs(05-01): complete TesterDriver interface + mock drivers plan 2026-04-10 07:08:46 +00:00
cmd/hwlab feat(05-02): add TestHandler with 3 cable-test endpoints + router wiring 2026-04-10 07:15:30 +00:00
internal feat(05-02): add TestHandler with 3 cable-test endpoints + router wiring 2026-04-10 07:15:30 +00:00
scripts feat(01-03): add location hierarchy provisioning and provision CLI script 2026-04-10 05:22:02 +00:00
web fix(03): resolve TypeScript type mismatches from merged plans 2026-04-10 06:27:11 +00:00
.env.example chore: add environment config 2026-04-10 00:48:19 +00:00
.gitignore feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
ai_config.json feat(02-01): AI package foundation — types, interface, mock, prompts, config extension 2026-04-10 05:45:13 +00:00
assets.go feat(01-foundation-01): Go module init, chi server, go:embed SPA scaffold 2026-04-10 01:17:03 +00:00
CLAUDE.md docs: create roadmap (7 phases) 2026-04-10 00:04:27 +00:00
config.json feat(01-foundation-01): viper config loader and SPA fallback fix 2026-04-10 01:27:54 +00:00
go.mod Merge commit 'bec54df' 2026-04-10 06:47:55 +00:00
go.sum Merge commit 'bec54df' 2026-04-10 06:47:55 +00:00
Makefile feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00