chiguyong
|
38b9602964
|
refactor: classify except Exception in Wave 1 files (144 sites)
- 58 sites in server/app + cli/chat + bus (27 narrowed, 31 kept+guard)
- 86 sites in evolution + memory + skills + quality + session + chat
- health_check/list_sources/parsers keep except Exception (design intent)
- All kept except Exception have asyncio.CancelledError guard
Tests: 1139 passed, 0 regressions
ruff: 20 errors (all pre-existing, 0 new)
|
2026-07-01 03:39:43 +08:00 |
chiguyong
|
6e362a8ae7
|
feat(agentkit): Phase 4 enterprise production upgrade — 12 Implementation Units
Phase A (P0): EpisodicMemory pgvector search+EmbeddingCache, ReAct timeout+CancellationToken, evolution system fix (A/B test+LLMPromptOptimizer+StrategyTuner), AnthropicProvider native Messages API
Phase B (P1): RetryPolicy+CircuitBreaker, chat_stream fallback chain, WebSocket endpoint, SSE stream fix, Evolution+Memory API routes (7 endpoints), embedding cache+Enhanced Search per-KB degradation fix
Phase C (P2): GeminiProvider native generateContent API, Agent state lock+config hot-reload
Tests: 1301 passed, 18 skipped, 0 failed
|
2026-06-06 21:51:04 +08:00 |
chiguyong
|
9a6d6fee4e
|
feat: initial fischer-agentkit package with unified agent architecture
- BaseAgent with handle_task() pattern (execute template moved up)
- Protocol: TaskMessage, TaskResult, HandoffMessage, EvolutionEvent
- Tool system: FunctionTool, AgentTool, ToolRegistry with versioning
- Memory system: WorkingMemory (Redis), EpisodicMemory (pgvector), SemanticMemory (RAG adapter), MemoryRetriever (hybrid)
- Evolution engine: Reflector, PromptOptimizer (DSPy-style), StrategyTuner, ABTester, EvolutionStore
- Orchestrator: PipelineEngine (parallel DAG), PipelineLoader (YAML), HandoffManager, DynamicPipeline
- MCP: Server (FastAPI), Client (httpx), MCPTool
- Prompts: PromptTemplate, PromptSection
- Exceptions: full hierarchy including Tool, Schema, Handoff, Evolution errors
- Tests: unit tests for core, tools, protocol, evolution, pipeline
|
2026-06-04 22:24:06 +08:00 |