Commit graph

5 commits

Author SHA1 Message Date
Virgil
1ec0ea4d28 fix(ratelimit): align module metadata and repo guidance
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-27 04:23:34 +00:00
Snider
a003e532f7 fix(ratelimit): update CLAUDE.md and raise test coverage to 95%
All checks were successful
Security Scan / security (pull_request) Successful in 7s
Test / test (pull_request) Successful in 1m10s
- Update error format docs: fmt.Errorf → coreerr.E from go-log
- Update dependencies list: add go-io and go-log
- Add tests for SQLite error paths (trigger-based exec errors,
  schema corruption, closed DB, load/persist via limiter)
- Add tests for Iter early break, NewWithConfig HOME error,
  MigrateYAMLToSQLite save-error paths
- Coverage: 87.8% → 95.0%

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 08:56:53 +00:00
Snider
9cddfe46b7 docs: add CLAUDE.md project instructions
All checks were successful
Security Scan / security (push) Successful in 7s
Test / test (push) Successful in 56s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-13 13:38:02 +00:00
Snider
cde6443e4c docs: graduate TODO/FINDINGS into production documentation
Replace internal task tracking (TODO.md, FINDINGS.md) with structured
documentation in docs/. Trim CLAUDE.md to agent instructions only.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-20 15:01:55 +00:00
Snider
fa1a6fc030 feat: extract go-ratelimit from core/go pkg/ratelimit
Token counting, model quotas, sliding window rate limiter.
Zero external dependencies (stdlib only).
Module: forge.lthn.ai/core/go-ratelimit

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-19 16:09:13 +00:00