AI-powered hardware inventory management for homelab environments
Find a file
Mikkel Georgsen 8c03780230 feat(02-01): AI package foundation — types, interface, mock, prompts, config extension
- internal/ai/types.go: IntakeRequest, IntakeResult, TierConfig, AIConfig domain types
- internal/ai/client.go: AIClient interface + TierClient (go-openai, BaseURL tier-routing)
- internal/ai/mock.go: MockAIClient test double with HighConfidenceResult/LowConfidenceResult fixtures
- internal/ai/prompts/intake.go: BuildIntakePrompt() JSON-extraction prompt template
- internal/config/config.go: Config.AI AIConfig field, tier defaults, env bindings, ai_config.json merge
- ai_config.json: template config with placeholder Tier2 API key
- .gitignore: add ai_config.local.json pattern for real keys (T-02-01 mitigation)
- All tests pass: TestMockAIClient, TestMockAIClientError, TestTierClientConstruction, TestAIConfigDefaults
2026-04-10 05:45:13 +00:00
.planning docs(02): create phase 2 AI pipeline plans (4 plans, 4 waves) 2026-04-10 05:40:22 +00:00
cmd/hwlab feat(01-05): WAQ retry worker and graceful shutdown wiring 2026-04-10 05:22:10 +00:00
internal feat(02-01): AI package foundation — types, interface, mock, prompts, config extension 2026-04-10 05:45:13 +00:00
scripts feat(01-03): add location hierarchy provisioning and provision CLI script 2026-04-10 05:22:02 +00:00
web/dist feat(01-foundation-01): Go module init, chi server, go:embed SPA scaffold 2026-04-10 01:17:03 +00:00
.env.example chore: add environment config 2026-04-10 00:48:19 +00:00
.gitignore feat(02-01): AI package foundation — types, interface, mock, prompts, config extension 2026-04-10 05:45:13 +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 feat(02-01): AI package foundation — types, interface, mock, prompts, config extension 2026-04-10 05:45:13 +00:00
go.sum feat(02-01): AI package foundation — types, interface, mock, prompts, config extension 2026-04-10 05:45:13 +00:00
Makefile feat(01-foundation-01): viper config loader and SPA fallback fix 2026-04-10 01:27:54 +00:00