From 52b839c614e403d017fe1834bd59d737d0e4bc69 Mon Sep 17 00:00:00 2001 From: kang Date: Wed, 20 May 2026 13:56:20 +0800 Subject: [PATCH] docs: record dialog conversion deployment --- .memory/worklog.json | 52 ++++++++++++++++++++++---------------------- RULES.md | 1 + 2 files changed, 27 insertions(+), 26 deletions(-) diff --git a/.memory/worklog.json b/.memory/worklog.json index 56d7b10..57f782f 100644 --- a/.memory/worklog.json +++ b/.memory/worklog.json @@ -1,31 +1,5 @@ { "entries": [ - { - "files_changed": 1, - "message": "Codex 会话活跃 · 最近命令:codex · 分支 main · 1 项未提交变更 · 最近提交:fix: harden product view parsing", - "ts": "2026-05-17T12:38:29Z", - "type": "session-heartbeat" - }, - { - "files_changed": 4, - "hash": "db24822", - "message": "auto-save 2026-05-17 20:47 (~4)", - "ts": "2026-05-17T20:47:53+08:00", - "type": "commit" - }, - { - "files_changed": 2, - "message": "Codex 会话活跃 · 最近命令:codex · 分支 main · 2 项未提交变更 · 最近提交:auto-save 2026-05-17 20:47 (~4)", - "ts": "2026-05-17T12:48:29Z", - "type": "session-heartbeat" - }, - { - "files_changed": 2, - "hash": "096f201", - "message": "feat: add storyboard script rewriting", - "ts": "2026-05-17T20:52:52+08:00", - "type": "commit" - }, { "files_changed": 1, "message": "Codex 会话活跃 · 最近命令:codex · 分支 main · 1 项未提交变更 · 最近提交:feat: add storyboard script rewriting", @@ -3251,6 +3225,32 @@ "message": "auto-save 2026-05-20 13:45 (~5)", "hash": "f07bd21", "files_changed": 5 + }, + { + "ts": "2026-05-20T13:50:56+08:00", + "type": "commit", + "message": "auto-save 2026-05-20 13:50 (+1, ~3)", + "hash": "4d73a06", + "files_changed": 4 + }, + { + "ts": "2026-05-20T13:53:19+08:00", + "type": "commit", + "message": "feat: make subject conversion dialog-driven", + "hash": "d82175f", + "files_changed": 6 + }, + { + "ts": "2026-05-20T05:53:39Z", + "type": "session-heartbeat", + "message": "Claude 会话活跃 · 最近命令:claude · 分支 main · 1 项未提交变更 · 最近提交:feat: make subject conversion dialog-driven", + "files_changed": 1 + }, + { + "ts": "2026-05-20T05:53:58Z", + "type": "session-heartbeat", + "message": "Codex 会话活跃 · 最近命令:codex · 分支 main · 1 项未提交变更 · 最近提交:feat: make subject conversion dialog-driven", + "files_changed": 1 } ] } diff --git a/RULES.md b/RULES.md index 9be18f0..be23ddb 100644 --- a/RULES.md +++ b/RULES.md @@ -22,6 +22,7 @@ - 最近部署验证(2026-05-20):`2366662` 已推送并部署到 `/opt/skg-marketing-studio`;本地 `python3 -m py_compile api/main.py`、`web/npm run build` 通过,生产 Docker 重建后 `./scripts/verify-prod-docker.sh` 通过。容器内后处理探针确认白底小主体保存为 `1152x2048` 时有效主体高度占比从约 0.60 可放大到 `0.906`,主体 6 视图 prompt 已注入同一份 pack bible。 - 最近部署验证(2026-05-20):`7acbfd5` 已推送并部署到 `/opt/skg-marketing-studio`;本地 `python3 -m py_compile api/main.py`、`web/npm run build` 通过,生产 Docker 重建后 `./scripts/verify-prod-docker.sh` 通过(web/API 容器 Up、`/login/` 200、缺失 `_next` 资源 404、未登录 `/api/health` 401、容器内 `api:health ok`)。转换层主体提示词记忆和生图模型偏好改为按 `job.id` 隔离;有参考帧的 `reconstruction_mode=similar` 会先生成 source brief,再把参考帧作为 `/images/edits` 的 `image[]` 参考提交;自主描述空文本切到 `reconstruction_mode=same` 源形象锁定路径。 - 最近部署验证(2026-05-20):`e10b1a6` 已推送并部署到 `/opt/skg-marketing-studio`;本地 `python3 -m py_compile api/main.py`、`web/npm run build` 通过,生产 Docker 重建后 `./scripts/verify-prod-docker.sh` 通过(web/API 容器 Up、`/login/` 200、缺失 `_next` 资源 404、未登录 `/api/health` 401、容器内 `api:health ok`)。转换层改为项目内生图对话智能体,新增 `Job.subject_agent` 和 `/subject-agent/analyze`、`/subject-agent/message`,GPT / Gemini 改为成套控制分析、对话和生图模型,数量与要求修改进入对话状态后再调用主体套图生成;Pydantic `model_bundle` protected namespace warning 已消除。 +- 最近部署验证(2026-05-20):`d82175f` 已推送并部署到 `/opt/skg-marketing-studio`;本地 `python3 -m py_compile api/main.py`、`web/npm run build` 通过,生产 Docker 重建后 `./scripts/verify-prod-docker.sh` 通过(web/API 容器 Up、`/login/` 200、缺失 `_next` 资源 404、未登录 `/api/health` 401、容器内 `api:health ok`)。转换层去掉方向卡片、卡通风格下拉和独立数量按钮,保留单一参考区 + 生图对话;后端 `/subject-agent/message` 从对话中识别 `selected_mode` 和 `quantity` 后再驱动主体套图生成。 - 主站 / 前端:`https://marketing.skg.com` - API / 后端:`https://marketing.skg.com/api` - 代码仓库 / Gitea:`https://git.kang-kang.com/kangwan/20260512-skg-tk`