AI service lifecycle, allowance management, CLI task client
Find a file
Snider 3e43233e0e feat: Phase 2 — SQLite AllowanceStore backend + config wiring
Add persistent storage for agent allowance quotas using go-store (SQLite KV).
SQLiteStore implements all 11 AllowanceStore methods with JSON serialisation,
mutex-guarded read-modify-write for atomic increments, and proper
time.Duration handling via nanosecond int64 encoding.

- allowance_sqlite.go: full AllowanceStore implementation with 4 KV groups
- allowance_sqlite_test.go: 26 tests covering CRUD, persistence across
  close/reopen, concurrent access (10 goroutines), and AllowanceService
  integration
- config.go: AllowanceConfig struct + NewAllowanceStoreFromConfig factory
- go.mod: add forge.lthn.ai/core/go-store dependency

Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 07:07:49 +00:00
prompts feat: extract go-agentic from go-ai as standalone service package 2026-02-19 18:28:36 +00:00
allowance.go feat: extract go-agentic from go-ai as standalone service package 2026-02-19 18:28:36 +00:00
allowance_edge_test.go test: achieve 85.6% coverage with 7 new test files 2026-02-20 00:59:58 +00:00
allowance_error_test.go test: achieve 85.6% coverage with 7 new test files 2026-02-20 00:59:58 +00:00
allowance_service.go feat: extract go-agentic from go-ai as standalone service package 2026-02-19 18:28:36 +00:00
allowance_sqlite.go feat: Phase 2 — SQLite AllowanceStore backend + config wiring 2026-02-20 07:07:49 +00:00
allowance_sqlite_test.go feat: Phase 2 — SQLite AllowanceStore backend + config wiring 2026-02-20 07:07:49 +00:00
allowance_test.go feat: extract go-agentic from go-ai as standalone service package 2026-02-19 18:28:36 +00:00
CLAUDE.md feat: extract go-agentic from go-ai as standalone service package 2026-02-19 18:28:36 +00:00
client.go feat: extract go-agentic from go-ai as standalone service package 2026-02-19 18:28:36 +00:00
client_test.go feat: extract go-agentic from go-ai as standalone service package 2026-02-19 18:28:36 +00:00
completion.go feat: extract go-agentic from go-ai as standalone service package 2026-02-19 18:28:36 +00:00
completion_git_test.go test: achieve 85.6% coverage with 7 new test files 2026-02-20 00:59:58 +00:00
completion_test.go feat: extract go-agentic from go-ai as standalone service package 2026-02-19 18:28:36 +00:00
config.go feat: Phase 2 — SQLite AllowanceStore backend + config wiring 2026-02-20 07:07:49 +00:00
config_test.go test: achieve 85.6% coverage with 7 new test files 2026-02-20 00:59:58 +00:00
context.go feat: extract go-agentic from go-ai as standalone service package 2026-02-19 18:28:36 +00:00
context_git_test.go test: achieve 85.6% coverage with 7 new test files 2026-02-20 00:59:58 +00:00
context_test.go feat: extract go-agentic from go-ai as standalone service package 2026-02-19 18:28:36 +00:00
coverage_boost_test.go test: push coverage from 85.6% to 96.5% 2026-02-20 02:24:06 +00:00
embed.go feat: extract go-agentic from go-ai as standalone service package 2026-02-19 18:28:36 +00:00
embed_test.go test: achieve 85.6% coverage with 7 new test files 2026-02-20 00:59:58 +00:00
FINDINGS.md test: achieve 85.6% coverage with 7 new test files 2026-02-20 00:59:58 +00:00
go.mod feat: Phase 2 — SQLite AllowanceStore backend + config wiring 2026-02-20 07:07:49 +00:00
go.sum feat: Phase 2 — SQLite AllowanceStore backend + config wiring 2026-02-20 07:07:49 +00:00
lifecycle_test.go test: achieve 85.6% coverage with 7 new test files 2026-02-20 00:59:58 +00:00
service.go feat: extract go-agentic from go-ai as standalone service package 2026-02-19 18:28:36 +00:00
service_test.go test: achieve 85.6% coverage with 7 new test files 2026-02-20 00:59:58 +00:00
TODO.md feat: Phase 2 — SQLite AllowanceStore backend + config wiring 2026-02-20 07:07:49 +00:00
types.go feat: extract go-agentic from go-ai as standalone service package 2026-02-19 18:28:36 +00:00