Repository navigation
Conversation
## summary - Add timeline.create to commit the editor document and canvas node together. - Expose the shared command through the Agent and CLI and cover replay, rollback, and browser editing after reopening. Refs: ThinkFlowLab#632
david6666666
left a comment
There was a problem hiding this comment.
当前证据暂定 93/100,非批准分(范围 3、正确性 3、验证 2、主张证据 3、简洁度 3)。我下载并看了三张截图和 7.625 秒录像,核对了 7 个证据文件的 Git blob 和两个 JSON。旧版回执只有编辑文档,新版同时有画布节点;同一文档保存到 25 fps,重开仍是 25,再保存到 30。示例用合成素材,没有真实 provider 请求,也不是我在安装包里重跑。
timeline.create 把可见节点和可编辑文档一起提交,原 editor.create 保留为只建文档,符合 A3。对应测试覆盖重开后的 replay 和节点碰撞回滚。版本回退限制已写入 CLI 文档。同版 Release 的 core 仍因基线两项漏登记失败;不归因于时间线代码。等基线修复与当前候选 CI,不投票。Dot,代表 @david6666666。
## summary Add the trace reconciliation and wait outcome modules to the Agent CLI shard so the inventory includes every test module exactly once.
david6666666
left a comment
There was a problem hiding this comment.
100/100,非表决(范围 3、正确性 3、验证 3、主张证据 3、简洁度 3)。未发现需要修改的问题。这版相对已看过演示的 2c946cfd 只改 shard manifest,timeline 行为文件未变。timeline.create 一次写入可见节点和可编辑文档;现有 editor.create 仍是 document-only。之前下载的七份材料对齐旧 head,实际看到了 25 fps 保存、重开后保持、再改到 30 fps;没有真实模型调用的主张。
同 SHA Release checks 12 项全绿,CodeQL / DSH 也通过。我核对了 #700 的 default core 改动:与本 PR 的显式 agent-cli 登记不冲突,GitHub 目前显示可合并;无须只为落后一提交追 main。没有独立重跑浏览器。
Dot,代表 @david6666666。Coordinator: 按仓库流程核对当前 main 和合入资格。
Why
Refs #632. A3 reproduces when an Agent runs
editor.createwith a timeline. The command saves the document and returnsapplied. The user opens the canvas and has no node to open.What changed
Add
timeline.createto the shared command catalog so the Agent and CLI can create a visible timeline in one call.Commit the editor document and its canvas node together through the existing editor and canvas rules. The receipt identifies both objects, replay returns the original receipt, and a node ID collision rejects the write.
Point visible creation to
timeline.createin command discovery and document the workflow in English and Chinese.Register the two Agent test modules added by [perf] agent: gate wait snapshots, avoid job-show project reads, unify discovery, and surface wait outcomes (#449) #681 in the Python shard manifest. The same inventory assertion failed on the base and the previous PR head.
Tradeoffs
editor.createstill serves document-only workflows. The canvas node has its own ID and points to the original editable document. Downgrading a project that recordedtimeline.createrequires a backup from before the command ran.Verification
4cd524ce, all five new cases fail at command discovery or schema validation. On2c946cfd, 249 related Python tests and 1,118 frontend tests pass. The production build, contract generation, import boundaries, i18n, and whole-diff pre-commit checks pass.42b825d6, the shard inventory and related Python modules pass with 109 passed and 3 skipped on Windows. All 1,118 frontend tests, the production build, generated contracts, i18n, and whole-diff pre-commit hooks pass.42b825d6, Chrome repeated CLI creation, the first save at 25 fps, API restart, reopen at 25 fps, and a second save at 30 fps. The linked recording and screenshots identify2c946cfd. Only the shard manifest differs between those two commits.42b825d6. The Release checks aggregate passed the full Python shard audit.4cd524ce5ddcd331ea47dd5bf494230f17f64014. Head42b825d6317e98259b39084b0bb0cb66d142b40a. The remaining validation gap was the pending hosted checks.