fischer-agentkit/src/agentkit/evolution
chiguyong 0ccef7be5c feat: P0 production hardening — LLM cache, semantic routing, state persistence
U1: LLM Cache Core (exact + semantic match, InMemory + Redis backends)
U2: Cache integration into LLMGateway with CacheConfig
U3: Semantic Router as Layer 1.5 in CostAwareRouter
U4: UsageStore persistence (Redis Hash + InMemory fallback)
U5: CascadeStateStore persistence (Redis INCR + InMemory TTL)
U6: EvolutionStore interface unification (Protocol + PostgreSQL backend)
U7: Configuration integration + E2E tests

Code review fixes:
- P0: date iteration bug (day>=28), semantic router index never built,
      Redis connection leak (per-call → persistent pool)
- P1: cache degradation recovery, semantic_search degradation,
      double miss counting, asyncio.Lock for PG init, LIMIT on queries,
      __import__ anti-pattern → _utcnow()
- P2: InMemory TTL cleanup, embedding preservation on put(),
      data TTL = max(exact_ttl, semantic_ttl)
2026-06-14 15:16:00 +08:00
..
__init__.py feat: P0 production hardening — LLM cache, semantic routing, state persistence 2026-06-14 15:16:00 +08:00
ab_tester.py feat(agentkit): Phase 4 enterprise production upgrade — 12 Implementation Units 2026-06-06 21:51:04 +08:00
evolution_store.py feat: P0 production hardening — LLM cache, semantic routing, state persistence 2026-06-14 15:16:00 +08:00
experience_schema.py feat(phase1): implement core kernel and experience foundation (U1-U5) 2026-06-09 23:57:03 +08:00
experience_store.py fix: resolve key P2 findings from code review 2026-06-10 09:01:23 +08:00
fitness.py feat(evolution): U7 multi-objective fitness and extended strategy space 2026-06-06 22:42:54 +08:00
genetic.py feat(evolution): U6 GEPA genetic algorithm evolution framework 2026-06-06 22:38:55 +08:00
lifecycle.py feat: P0 production hardening — LLM cache, semantic routing, state persistence 2026-06-14 15:16:00 +08:00
llm_reflector.py fix(review): address P0+P1 findings from Tier 2 code review 2026-06-06 17:57:47 +08:00
models.py fix(review): address P0+P1 findings from Tier 2 code review 2026-06-06 17:57:47 +08:00
path_optimizer.py fix: resolve key P2 findings from code review 2026-06-10 09:01:23 +08:00
pg_store.py feat: P0 production hardening — LLM cache, semantic routing, state persistence 2026-06-14 15:16:00 +08:00
pitfall_detector.py fix: resolve key P2 findings from code review 2026-06-10 09:01:23 +08:00
prompt_optimizer.py feat(agentkit): Phase 4 enterprise production upgrade — 12 Implementation Units 2026-06-06 21:51:04 +08:00
reflector.py feat(agentkit): Phase 3 upgrade - persistence, memory, evolution, observability 2026-06-06 17:17:45 +08:00
strategy_tuner.py feat(agentkit): Phase 4 enterprise production upgrade — 12 Implementation Units 2026-06-06 21:51:04 +08:00