Features:
- PromptService enhancement: enhanceWithKnowledge(), loadFullKnowledge(), ragSearch()
- FULL mode: Load entire knowledge base content
- RAG mode: Vector search based on user query
- Knowledge config API: PUT /:code/knowledge-config
- Test render with knowledge injection support
- Frontend: Knowledge config UI in Prompt editor
Bug fixes:
- Fix knowledge config not returned in getPromptDetail
- Fix publish button 400 error (empty request body)
- Fix cache not invalidated after publish
- Add detailed logging for debugging
Documentation:
- Add development record 2026-01-28
- Update ADMIN module status to Phase 4.6
- Update system status document to v4.5
Co-authored-by: Cursor <cursoragent@cursor.com>