docs(design): record video form fix integration
This commit is contained in:
@@ -4,6 +4,8 @@ This file is the integrated default-branch snapshot. Feature tasks record progre
|
||||
|
||||
## Integrated Through
|
||||
|
||||
- 2026-09-27:从 `0eed70fa637f70b22be5eda7af400a702ee4a7f2` 无冲突快进合入 Design 客户端源 `bbea6eba82a625f3d8b34ecb3d2747e7a19766e3`。未保存视频时长不再显示默认 6 秒,参数保存失败恢复已接受值;缺少内部分镜改为 AI 准备动作引导,保留其他阻断与确认边界。产品/测试与已验证源一致,沿用 71 项相关测试、3 项跨前后端离线流程、2 项 Electron 交互及 typecheck、lint、构建证据。三份外来文档原样保留;未推送、打包、安装或调用收费生成。本次无需数据库或环境变更,不包含独立服务端 Reasoner 修复。见[源任务](tasks/20260927-design-video-form-d2b96e41.md)和[集成记录](tasks/20260927-merge-design-video-form-9af51c63.md)。
|
||||
|
||||
- 2026-09-27:从 `220e899` 无冲突快进合入浏览器修复源 `a52e747a00fb5c6ff680bb7e4e691c07d003e34f`。首次打开新浏览器仍等待真实视口;切回操作对话后保留工具访问,重复 open/导航不强制切到作品页。隐藏截图按需请求一帧,保留截图参数且不转移焦点。明确关闭、项目/模块切换、窗口隐藏/休眠及 sandbox/CDP 限制保持。产品、测试、README 和源记录与已验证版本完全一致,沿用 134 项相关测试、4 个 Electron 用例、标准 typecheck/build;额外 Main 全量检查有既有 66 项诊断,无新增。3 份外来文档原样保留;未推送、打包或安装。见[源任务](tasks/20260927-browser-tab-focus-5c92d7a1.md)和[集成记录](tasks/20260927-merge-browser-focus-6edcb784.md)。本条澄清“隐藏作品标签”与“关闭浏览器/隐藏窗口”的区别。
|
||||
|
||||
- 2026-09-27:无冲突合入已独立审查源 `56cefe84e7b654bcc20f2b8fde7f97336134fec8`,包含工具活动去重 `8a74721`。三个只读工具提供按层目录、连续 UTF-8 原文及精确续读位置;协议 2 采用 12 批/64 KiB 累计成功结果/8 KiB 单页,额度耗尽后消费最后结果并进入回答。同一逻辑工具跨 Run 只显示一项,暂停不再重复显示失败。产品、测试、README 和源记录与审查版本一致;沿用源 72 项客户端测试、Renderer 类型检查及 Vite 构建,Main 全量检查的既有 97 项诊断无新增。原 3 份外来文档原样保留。未推送、打包或安装;先部署配套 Yuxi API/worker,再更新客户端,真实模型验收另行完成。见[源任务](tasks/20260926-teacher-read-expired-087d82f7.md)和[集成记录](tasks/20260926-merge-teacher-read-ml-616605aa.md)。本条更新新客户端额度,旧条目保留为历史。
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
# Task: Integrate saved video settings presentation fix
|
||||
|
||||
## Identity
|
||||
|
||||
- Task ID: 20260927-merge-design-video-form-9af51c63
|
||||
- Mode: Integration
|
||||
- Branch: main
|
||||
- Worktree: D:\Datas\OthersProjects\makelore
|
||||
- Base commit: 0eed70fa637f70b22be5eda7af400a702ee4a7f2
|
||||
- Owner: codex
|
||||
- Status: Ready for Integration
|
||||
|
||||
## Scope
|
||||
|
||||
- Integrate only client source bbea6eba82a625f3d8b34ecb3d2747e7a19766e3 into local main. Promote its saved-duration and AI-owned motion preparation clarification, without changing tested product code or merging the separate server Reasoner result.
|
||||
|
||||
## Intent And Constraints
|
||||
|
||||
- Project Context Loaded / Concurrent and Planning Gates Passed: official check/start/status match this task, integration mode, main, root D:/Datas/OthersProjects/makelore and exact base above. Read startup entry, own/source records, positioning, integrated current state, Design ADR-007, relevant architecture/domain/evidence/reflection/commitments and README.
|
||||
- Refreshed 123 peer task records read-only; 122 prior scope sections unchanged, completed source scope re-read. Historical undefined scopes remain unknown but no concrete dependency or semantic conflict affects this exact fast-forward. Current integrated browser/consultation work remains unchanged.
|
||||
- User explicitly authorized releasing completed task 20260927-merge-browser-focus-6edcb784, adopting the three existing foreign documents, and force-releasing this integration after completion. They must remain byte-for-byte unchanged, untracked and outside all commits.
|
||||
- Plan: verify source ancestry and target paths, fast-forward exact source, compare product/tests with source, promote matching public behavior in README/domain/current state, pass documentation/whitespace gates and commit only owned integration documents. Reuse source validation when tested bytes are identical. No push, deployment, packaging, paid generation, subagent or unapproved cleanup.
|
||||
|
||||
## Outcome
|
||||
|
||||
- Fast-forwarded local main from 0eed70fa637f70b22be5eda7af400a702ee4a7f2 to exact source bbea6eba82a625f3d8b34ecb3d2747e7a19766e3 without conflicts. Product/tests and imported source record are unchanged.
|
||||
- Promoted the saved-duration and AI-owned shot-preparation clarification into README, business rules and current state. Existing ADR-007 already requires saved supported values and server-owned preparation; no architecture reversal or separate ADR amendment was necessary.
|
||||
- Preserved the three adopted foreign documents unchanged and uncommitted. No server change, push, package, installation, deployment, live paid request or deletion.
|
||||
|
||||
## Verification
|
||||
|
||||
- Exact source ancestry and git diff comparison of product/test/dependency paths passed; there was no product merge resolution or implementation edit.
|
||||
- Reused exact-source evidence: 71 related client tests, 3 real client/store-to-server offline preparation flows, 2 Electron cases, typecheck, scoped ESLint and Vite build passed. Companion server preparation suite passed 10 tests. Model/provider/transport portions remain fixtures; no installed/live-generation acceptance is claimed.
|
||||
- Official task-aware documentation boundary and whitespace checks passed. Direct byte comparison confirmed all three foreign documents remain identical to their pre-integration contents and untracked; they are excluded from the integration commit.
|
||||
|
||||
## Follow-ups
|
||||
|
||||
- Source task 20260927-design-video-form-d2b96e41 remains in its clean managed worktree pending cleanup confirmation. A rebuilt client is required to deliver this change to installed users.
|
||||
- Complete and release this integration lock under the current user's explicit authorization after committing only the owned integration documents. The three foreign documents remain untouched.
|
||||
|
||||
## Promotion Candidates
|
||||
|
||||
- Source proposal accepted as a clarification of the existing single-Specification and prepare-before-quote boundary. Applied to README/domain/current state; source records remain read-only.
|
||||
@@ -179,6 +179,7 @@
|
||||
- 客户端更新检查由 Electron Main 持有。缺少当前平台正式稳定 manifest 必须保持错误并提示稍后重试或从官网下载,不得宣称“已是最新版”;设置页只显示一条中文用户提示,原始堆栈、URL、路径和错误码只保留在 Main 日志。
|
||||
- 一个 AI Design Workspace 公开一个 current Direction、一个 persistent Agent Session 和一个 Current Specification;conversation timeline 不是独立创建或选择的权威对象。
|
||||
- Living Form 只能投影服务端 Current Specification。Chat、direct edit、decision、proposal、lock、Asset binding 与 restore 必须通过同一 V2 reducer;Renderer drafts 在 accepted 前保持本地。
|
||||
- 视频时长未写入 Current Specification 时显示明确的未选择状态,不以默认数字冒充已保存选择;参数保存失败后控件恢复已接受值。缺少内部分镜应展示 AI 准备动作的引导,不要求用户填写内部 Shot;真正的输入缺项和服务端编译/Quote 确认校验保持。
|
||||
- AI Design 必须以自然对话帮助用户描述清楚需求:先提取和复述已明确内容,每次最多推进一个真正影响作品的问题。客户端 Current Specification 投影是辅助摘要和可选手动调整,不得把内部字段、缺项或普通 Decision Prompt 变成用户必须逐项填写的表单。
|
||||
- 每个 mutation 使用稳定 command 与 semantic operation identity。transport-unknown 只能重放原命令;business rejection、timeout 或用户再次点击不能自动生成新的业务意图。
|
||||
- Direction projection 是 Specification 真值。event cursor、assistant delta、Task progress 与 Asset event 只用于传输/资源收敛,不得推进或覆盖 canonical specification revision。
|
||||
|
||||
@@ -40,7 +40,7 @@ Makelore 是一个面向软件、视觉创作、智能机器人与个人云智
|
||||
- 会话观察同步:本地编程会话在一轮问答完成并进入空闲后,后台通过个人资料 PUT 上传该会话截至当前的完整问答快照;只保留用户/助手自然语言文本,过滤代码、路径、日志、工具调用、附件与产物。同步只从本地上行,云端不回写、不恢复或删除本地会话;失败数据留在本地等待重试。
|
||||
- AI 绘画:一个 Workspace 固定对应一个设计方向、一条 Agent Session 和一份持久 Living Form。中央使用与 AI 编程一致的低干扰对话布局:助手回复不套独立卡片,底部输入器是唯一强调层级;当前制作方案以对话内轻量编辑稿呈现,而不是独立硬模块。聊天提取、用户修改创作提示词和制作参数都提交到同一个服务端 reducer,并由方向版本、字段来源和决策状态形成权威投影。创作提示词是公开规格 `content.concept` 的可编辑投影;媒介、画幅、时长和数量始终以紧凑控件直接显示,不用折叠面板隐藏。
|
||||
- AI 绘画生成:服务端从当前规格编译专业图片或视频指令并返回不可变 Quote;客户端只展示创作提示词、参考图绑定、媒介、画幅、数量、格式、时长、警告和设计点,不展示或改写供应商 Prompt、模型、价格原子或存储地址。修改方案会先提交规格并重新核价,确认时只提交 Quote 身份;确认后的方案不再常驻,而是进入可展开的历史作品记录,桌面端位于右侧全高栏,紧凑窗口保留在时间线中。参考图行只负责缩略图、`@图片N` 状态、替换和删除,保留什么、改变什么等语义统一由创作提示词表达。任务与资产始终属于 Workspace。
|
||||
- 视频制作:类型、画幅、时长和数量依据服务端真实能力显示。用户可以上传图片或从历史作品选择视频开始画面,绑定状态不依赖提示词中是否出现 `@图片N`。制作前先由 Agent 整理动作与可执行方案,再按最新方案核价;整理失败不继续报价,也不创建任务。只有用户确认 Quote 后才开始制作。历史视频提供播放、放大预览和下载;切回图片会清理隐藏的视频参数,不能使用的参考用途须由用户显式移除,图片素材不被删除。
|
||||
- 视频制作:类型、画幅、时长和数量依据服务端真实能力显示。尚未保存时长时明确显示“请选择时长”,不把默认数字当作已选值;参数保存失败后恢复服务端已接受的值。用户可以上传图片或从历史作品选择视频开始画面,绑定状态不依赖提示词中是否出现 `@图片N`。制作前先由 Agent 整理动作与可执行方案,再按最新方案核价;缺少内部分镜时引导点击“准备制作方案”,不要求用户填写分镜字段。整理失败不继续报价,也不创建任务。只有用户确认 Quote 后才开始制作。历史视频提供播放、放大预览和下载;切回图片会清理隐藏的视频参数,不能使用的参考用途须由用户显式移除,图片素材不被删除。
|
||||
- AI 绘画健壮性:Renderer 为每次命令生成稳定 operation id,网络结果未知时保留原命令供原样重试,不把未知写入当失败或创建第二次生成。Main 负责 Token 刷新、Agent Gateway REST 提交和有界 Run 查询,并将可恢复事件流投影为 Host API SSE;断线后按事件游标续接并重新读取权威 Workspace。Canvas 只使用 Works Square 云端 V2 契约,没有本地语义适配器或降级路径,上游不可用时明确报错。
|
||||
- AI 绘画左侧项目栏只展示 Workspace,桌面设计模式下固定为 256px 且不提供收纳入口,不再在项目下创建独立设计会话;右侧全高历史作品栏同为 256px,展示当前 Workspace 的任务与生成资产。紧凑窗口则把项目列表放进左侧抽屉并在中央时间线保留历史记录。删除时必须完整输入项目名称;删除后项目、Living Form、任务、参考图和生成作品会从账户中隐藏且无法访问,不影响用户已另存到磁盘的副本。删除当前项目后自动打开最近更新的剩余项目,删除最后一个项目后进入空状态。
|
||||
- 项目资源设置:项目配置页顶部以一横排三张资源卡提供模型、知识与插件入口,不再提供独立的本地 Skill 入口。模型列表完整显示具体模型名称,以及服务端或已验证模型档案声明的可选思考强度;未知能力不做猜测。插件抽屉把插件与 Skill 统一为“可选 / 已安装”两个页签:可选页展示云端目录及仍待安装的账号能力,已安装页同时展示官方 Release、随应用提供的插件和用户自行安装的 loose `SKILL.md` / Pi 包。每项提供“查看详情”和当前真实生命周期对应的添加、安装、添加到项目、启用或状态按钮。详情只展示介绍、主要能力、使用方式和必要设置,不暴露版本、包、权限标识、运行方式或计费实现字段。深链仍使用 `/project-config/plugins`;旧 `/plugins`、Marketplace、My Plugins、Project Plugins URL 会确定性落入对应页签。来源身份保持 `official:`、`local:`、`retained:` 分离,账号获取、官方设备交付和项目启用仍分别写入既有 authority,不会自动推进下一步;本机 Skill/Pi 插件仍只能通过对话安装,页面只管理已安装包。
|
||||
|
||||
Reference in New Issue
Block a user