fischer-agentkit/src/agentkit/memory
chiguyong 47f3bfecfc feat(documents): add document processing capability (U1-U9)
Implements end-to-end document generation, template filling, and reading:

- DocumentService: unified business layer for create/query/download
- Renderers: Word (Markdown->docx), Excel (Markdown/JSON->xlsx),
  PDF (Markdown->pdf with CJK font), Template (Jinja2 sandbox .docx fill)
- DocumentLoader: read PDF/Word/Excel/Markdown/HTML/text -> Document
- DocumentTool: Agent tool with action=create|read
- REST API: /api/v1/documents (create, upload-template, list, download)
- Frontend: DocumentPanel, DocumentCard, documents Pinia store,
  chat store tool_result detection
- Security: path traversal guard (Path.resolve + relative_to),
  SSTI guard (SandboxedEnvironment), API key auth, 50MB upload limit
- Bug fixes: template path traversal (400 not 500), TemplateRenderer
  lazy-load (no external registration dependency)
- Tests: 168 tests (unit + security + E2E F1/F2/F3 + bug hunt)
- Docs: README section 17, requirements + plan + test-plan docs

Requirements R1-R28 verified, F1-F3 user flows pass.
2026-06-23 15:05:01 +08:00
..
adapters fix: resolve key P2 findings from code review 2026-06-10 09:01:23 +08:00
__init__.py merge: integrate feat/agentkit-phase8-chat-adaptive (chat/gui commands + GUI mode) 2026-06-10 07:44:06 +08:00
base.py feat(agentkit): v2 Phase 1 - ReAct/LLM Gateway/Skill/Server + review fixes 2026-06-05 23:32:16 +08:00
chunking.py feat(phase3): implement knowledge base and RAG enhancement (U9-U11) 2026-06-10 00:45:17 +08:00
contextual_retrieval.py feat(memory): U2 Contextual Retrieval - LLM-generated context prefixes for chunks 2026-06-06 22:19:02 +08:00
document_loader.py feat(documents): add document processing capability (U1-U9) 2026-06-23 15:05:01 +08:00
embedder.py feat(agentkit): Phase 4 enterprise production upgrade — 12 Implementation Units 2026-06-06 21:51:04 +08:00
episodic.py fix(security): resolve all P0/P1 findings from code review 2026-06-10 07:12:41 +08:00
http_rag.py feat(memory): U2 Contextual Retrieval - LLM-generated context prefixes for chunks 2026-06-06 22:19:02 +08:00
knowledge_base.py feat(phase3): implement knowledge base and RAG enhancement (U9-U11) 2026-06-10 00:45:17 +08:00
local_rag.py fix: resolve key P2 findings from code review 2026-06-10 09:01:23 +08:00
models.py feat(memory): U3 EpisodicMemory ORM integration - EpisodeModel and session factory 2026-06-06 22:21:00 +08:00
multi_source_retriever.py feat(phase3): implement knowledge base and RAG enhancement (U9-U11) 2026-06-10 00:45:17 +08:00
profile.py feat: P0 production hardening — LLM cache, semantic routing, state persistence 2026-06-14 15:16:00 +08:00
query_transformer.py feat(memory): RAG pipeline optimization — 5 Implementation Units 2026-06-06 19:27:09 +08:00
rag_loop.py feat(memory): U1 RAG self-correction loop (CRAG) 2026-06-06 22:16:23 +08:00
relevance_scorer.py feat(memory): U1 RAG self-correction loop (CRAG) 2026-06-06 22:16:23 +08:00
retriever.py feat(phase3): implement knowledge base and RAG enhancement (U9-U11) 2026-06-10 00:45:17 +08:00
semantic.py feat(memory): RAG pipeline optimization — 5 Implementation Units 2026-06-06 19:27:09 +08:00
working.py feat(agentkit): v2 Phase 1 - ReAct/LLM Gateway/Skill/Server + review fixes 2026-06-05 23:32:16 +08:00