Sully
|
53e0065e3e
|
refactor(api): TOML 配置 SSOT、统一错误契约、Auth/事务加固与可观测性 (#33)
配置 SSOT(TOML + .env)
统一错误契约
Auth 与事务边界
Redis / Celery 可靠性:业务 Redis(DB/0)与 Celery broker/backend(DB/1)显式拆分;连接池、sync client
可观测性(OpenTelemetry + LGTM)
|
2026-05-22 13:44:50 +08:00 |
|
Kevin
|
eabda2c6a9
|
chore: resolve WIP after merging internal/development
- .gitignore: keep api/uploads ignore and copyright_source_listing.pdf path
- auth: keep COS avatar upload URL; delete prior COS object when applying preset
- i18n: regenerate resources.ts (includes profile tapAwayToClose)
- Avatar/COS tests and personal-info remain from prior local work
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-05-18 15:34:50 +08:00 |
|
Kevin
|
53d9e003af
|
feat(api): 叙事 prompt、职业上下文、读路径章节、WS 解耦与错误脱敏
- 回忆录:事实边界补充允许清单;传记文体示例与 JSON 叙事要求对齐
- default 职业提示 occupation_context;cadre/military 退休语境
- GET 章节读路径零写入,prepare_chapter_read_view + markdown_for_response
- 文本归一抽到 core/text_normalize;移除弃用 reply 策略与 recompose_chapters_for_story
- ConversationService:WS 连接/用户段落/结束对话;对外错误固定文案
- 测试:HTTP 脱敏契约、章节读视图、occupation 与 background_voice
|
2026-04-01 11:55:52 +08:00 |
|