lhk229
|
360cedf4c0
|
合并隔离分支的M1C-1与M1C-2a改动
|
2026-08-17 03:10:18 +00:00 |
|
lhk229
|
4498c15f90
|
完成 M1C-2a验收前置门
固定 plan 根 Goal Contract 与唯一 Fast GDD 验收节点。
记录并校验 Supervisor 根 Run 的完整分页 file.read 证据。
接通认领后三态审批前置门、幂等 pending 恢复与完成门。
修复审批后 session 校验及 pending/receipt 优先级边界。
补齐恢复、finalization、身份冲突和工作包边界回归。
同步 Fast GDD 技术方案与项目决策日志。
|
2026-08-17 02:40:11 +00:00 |
|
lhk229
|
d96fa7b755
|
Merge remote-tracking branch 'web/master' into feat/five_min_design
Project CI / Repository checks (pull_request) Successful in 1m24s
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
|
2026-08-15 12:03:01 +00:00 |
|
lhk229
|
f45e90e36b
|
M1C-1:落地 Fast GDD 审批闭环与完成门
新增 plan-gdd approval receipt、pending、审批命令及三动作幂等投影。
接入 receipt 恢复、generic submit 锚点精确消费与 terminal observation 完整性校验。
接入 exact plan-root completion blocker,并补充 pending、recovery、作用域和 identity 回归。
同步 Fast GDD 技术方案与项目决策记录。
|
2026-08-15 12:00:57 +00:00 |
|
kdletters
|
080c3ebc4f
|
修复预览部署结果字段冲突
Project CI / Frontend tests (push) Successful in 3m49s
Project CI / Backend tests (push) Failing after 3m50s
Project CI / Repository checks (push) Successful in 1m11s
Project CI / Native shell tests (push) Successful in 14m44s
使用权威 branch 和 resolvedCommit 字段解析 Jenkins 产物
移除与附加 source 字段冲突的旧别名
保留状态解析错误上下文以便安全排障
|
2026-08-15 19:18:49 +08:00 |
|
kdletters
|
c75fcbf023
|
修复预览构建状态解析与工作进程恢复
Project CI / Repository checks (push) Successful in 55s
Project CI / Frontend tests (push) Successful in 3m35s
Project CI / Backend tests (push) Successful in 4m38s
Project CI / Native shell tests (push) Successful in 15m53s
限制 Jenkins 状态接口只返回监控所需字段
避免完整构建 JSON 触发反序列化递归深度限制
让预览外部生成工作进程在身份初始化后自动重启
补充定向测试、防回归检查和技术说明
|
2026-08-15 18:52:10 +08:00 |
|
kdletters
|
cf5eac1c63
|
修复Jenkins成功收尾状态竞态
Project CI / Repository checks (push) Successful in 53s
Project CI / Frontend tests (push) Successful in 3m36s
Project CI / Native shell tests (push) Successful in 15m35s
Project CI / Backend tests (push) Successful in 4m19s
为队列、构建状态和部署产物查询增加有限重试
避免 Jenkins 瞬态无效响应永久覆盖成功部署状态
增加构建收尾竞态回归测试和技术说明
|
2026-08-15 18:38:59 +08:00 |
|
kdletters
|
ea81d8ebb5
|
修复预览数据库容器内存不足
Project CI / Native shell tests (push) Has been cancelled
Project CI / Backend tests (push) Has been cancelled
Project CI / Frontend tests (push) Has been cancelled
Project CI / Repository checks (push) Successful in 1m20s
将分支预览 SpacetimeDB 内存上限覆盖为 2 GiB
保留生产与压测 Compose 的原有资源基线
增加预览内存覆盖防回归检查和故障说明
|
2026-08-15 18:33:30 +08:00 |
|
kdletters
|
d0a8f254b3
|
修复预览环境非交互发布
Project CI / Repository checks (push) Successful in 1m0s
Project CI / Backend tests (push) Successful in 4m16s
Project CI / Frontend tests (push) Successful in 3m27s
Project CI / Native shell tests (push) Successful in 17m18s
允许 SpacetimeDB 向受控容器网络地址非交互发布
固定预览结果使用内网主机地址
补充发布参数与内网地址防回归检查和文档
|
2026-08-15 18:30:08 +08:00 |
|
kdletters
|
a312ee20b5
|
修复预览流水线空提交参数
Project CI / Repository checks (push) Successful in 56s
Project CI / Frontend tests (push) Has been cancelled
Project CI / Backend tests (push) Has been cancelled
Project CI / Native shell tests (push) Has been cancelled
允许 Jenkins 检出阶段安全读取未导出的可选参数
显式使用 bash 执行源码检出脚本
增加空提交参数与脚本执行方式防回归检查
|
2026-08-15 18:17:21 +08:00 |
|
kdletters
|
1a61c0bea7
|
修复Jenkins构建地址归一化
Project CI / Repository checks (push) Successful in 59s
Project CI / Backend tests (push) Has been cancelled
Project CI / Native shell tests (push) Has been cancelled
Project CI / Frontend tests (push) Has been cancelled
将 Jenkins 返回的外部构建路径重绑定到受信本机 origin
增加外部 Jenkins URL 的状态与产物轮询回归测试
|
2026-08-15 18:12:39 +08:00 |
|
kdletters
|
7cd8b39593
|
Revert "修复预览部署可选提交参数"
Project CI / Repository checks (push) Successful in 1m2s
Project CI / Frontend tests (push) Successful in 3m46s
Project CI / Backend tests (push) Successful in 4m22s
Project CI / Native shell tests (push) Failing after 13m9s
This reverts commit d2366bc40a.
|
2026-08-15 18:09:04 +08:00 |
|
kdletters
|
5e7ff450b6
|
Revert "修复预览部署脚本执行方式"
This reverts commit 7fc739fad0.
|
2026-08-15 18:09:04 +08:00 |
|
kdletters
|
7fc739fad0
|
修复预览部署脚本执行方式
Project CI / Repository checks (push) Successful in 1m23s
Project CI / Frontend tests (push) Successful in 4m28s
Project CI / Backend tests (push) Successful in 4m22s
Project CI / Native shell tests (push) Successful in 17m7s
通过 bash 显式调用 Jenkins 源码检出脚本
增加脚本执行方式防回归门禁
同步预览部署执行合同文档
|
2026-08-15 18:03:49 +08:00 |
|
kdletters
|
d2366bc40a
|
修复预览部署可选提交参数
Project CI / Repository checks (push) Successful in 1m40s
Project CI / Frontend tests (push) Successful in 2m59s
Project CI / Backend tests (push) Successful in 4m5s
Project CI / Native shell tests (push) Successful in 18m44s
修复 Checkout 阶段在严格 shell 下展开未定义 COMMIT_HASH 的失败
增加预览流水线参数归一化防回归门禁
同步预览部署参数合同与项目决策文档
|
2026-08-15 18:00:05 +08:00 |
|
lhk229
|
23559b1b1c
|
修复 CI 五条失败:三处校验的位置错误放大了作用域
Project CI / Repository checks (pull_request) Failing after 8s
Project CI / Backend tests (pull_request) Failing after 9s
Project CI / Frontend tests (pull_request) Successful in 3m10s
Project CI / Native shell tests (pull_request) Successful in 18m42s
撤回 M1B-2 对 tool-plan 交接判据的跨 loop 上提并补正向回归
恢复扫描的锚点探测器不再对不可读 state 强读,交还下游 fail-closed 兜底
planning 存储把链接路径统一分类为 PLAN_UNTRUSTED_PATH
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
2026-08-15 09:45:44 +00:00 |
|
kdletters
|
7400c706f8
|
修复预览流水线空参数校验
Project CI / Repository checks (push) Successful in 50s
Project CI / Frontend tests (push) Successful in 3m14s
Project CI / Backend tests (push) Successful in 4m5s
Project CI / Native shell tests (push) Successful in 15m22s
在严格 shell 模式下归一化首次触发的空参数
避免 STATUS 与未指定 commit 的请求误报未定义变量
|
2026-08-15 17:39:07 +08:00 |
|
kdletters
|
6befa3c33a
|
补全预览流水线首次触发参数
Project CI / Repository checks (push) Successful in 1m13s
Project CI / Frontend tests (push) Successful in 4m7s
Project CI / Backend tests (push) Successful in 5m4s
Project CI / Native shell tests (push) Failing after 12m44s
在 Jenkins Job 配置中预声明部署参数
增加 buildWithParameters 首次触发合同检查
|
2026-08-15 17:29:25 +08:00 |
|
kdletters
|
1746c77cb1
|
修复预览控制台子路径静态资源
Project CI / Repository checks (push) Successful in 1m3s
Project CI / Frontend tests (push) Successful in 3m1s
Project CI / Backend tests (push) Successful in 3m46s
Project CI / Native shell tests (push) Failing after 12m48s
让控制服务原生托管 /build 页面与静态资源
保持内网 Nginx 路径透传并补充部署合同检查
|
2026-08-15 17:25:40 +08:00 |
|
kdletters
|
41874ab391
|
新增内网容器预览部署控制面
Project CI / Repository checks (push) Successful in 1m16s
Project CI / Frontend tests (push) Successful in 3m1s
Project CI / Backend tests (push) Successful in 4m2s
Project CI / Native shell tests (push) Successful in 17m2s
新增分支与指定提交的预览部署 SPA 和 Jenkins 代理服务
新增多实例 Docker 预览流水线、端口租约、实时健康状态和卸载能力
新增 /build 内网路由、systemd 部署资产和运维文档
修正容器 Nginx 健康检查探针
|
2026-08-15 17:18:10 +08:00 |
|
lhk229
|
ecfc6f1a2a
|
Merge remote-tracking branch 'web/master' into feat/five_min_design
Project CI / Repository checks (pull_request) Successful in 1m32s
Project CI / Frontend tests (pull_request) Successful in 3m5s
Project CI / Backend tests (pull_request) Successful in 4m12s
Project CI / Native shell tests (pull_request) Failing after 11m20s
|
2026-08-15 08:12:43 +00:00 |
|
lhk229
|
f93103760a
|
M1C-0b:合并原分支最新修复
合入 Agent 主循环栈溢出修复
保留 M1C-0b 静态委派状态前向兼容实现
|
2026-08-15 08:08:01 +00:00 |
|
lhk229
|
53f2ba30c3
|
修复 Agent 主循环栈溢出:专用 worker 判据从枚举入口改为不变量
Project CI / Backend tests (pull_request) Failing after 14s
Project CI / Repository checks (pull_request) Failing after 14s
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
CI 上 background_agent_runtime_recovers_stale_running_before_pending_task 在
tokio-rt-worker 栈溢出。根因是 recovery_scan.rs 手写 tauri::async_runtime::spawn 直接
跑 drain_game_creator_agent_background_tasks——正是仓库规定必须上 16 MiB 专用 worker
的那个 future。pitfalls 2026-08-03 按入口枚举了三个(普通后台任务、静态委派子任务、
manifest ready-task 首次执行),恢复重启是第四个,从未被列进去;漏掉一个入口不会产生
任何信号,故判据改写为不变量:所有会进入 Agent 主循环的 future 必须在
agent-runtime-worker-* 专用线程上轮询。
改动:
- 统一常量 AGENT_RUNTIME_BACKGROUND_WORKER_STACK_BYTES
- spawn_next_*_with_lock 改用专用线程;签名保持 -> (),8 个调用点不动。该入口是
best-effort 幂等语义(拿不到锁即返回、后续 wake 重试),建线程失败只需记录并随闭包
释放锁,无需交还锁、也就不需要握手
- recovery_scan.rs 两处手写 spawn 收敛为 helper 调用。恢复重启顺带补上首轮轮询握手:
原写法把执行锁 move 进一个无人保证会被轮询的 future,运行时关停时 run 会永远停在
running 且无主
回归钉不变量而非钉余量:drain 入口在 cfg(test) 下记录线程名,用例断言必须以
agent-runtime-worker- 开头。变异验证——改回手写 spawn 且 RUST_MIN_STACK=16MiB(因而不
溢出)时,用例仍以 ["tokio-rt-worker", "tokio-rt-worker"] 失败。
实测(同机、二分 RUST_MIN_STACK,默认栈 2048 KiB):
- started 变体:master 需 1536-1792 KiB,修复前 HEAD 需 2048-2176 KiB
- 队列 drain:master 需 1280-1536 KiB,修复前 HEAD 需 1792-1856 KiB,余量已不足 256 KiB
- 修复后两条用例在 1024 KiB(半个默认栈)下通过
同过滤器 A/B(runtime_actions + collaboration,同一 skip):
- 修复前 HEAD:19 failed,且在 planning_strategy 处栈溢出 abort
- 修复后:289 passed / 0 failed
修复前分支实际有三处溢出点(recovery、response_stream::provider_handoff_*、
planning_strategy::tool_planning::*),CI 只报了最先撞上的那个;三处修复后均通过。
共享 tokio pool 不再被长时间占用,mock LLM 超时类失败同时大幅减少。
需回流 master:master 同样存在恢复重启走默认栈与 drain_next_* 余量偏低,只是尚未触发。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
2026-08-15 08:04:06 +00:00 |
|
lhk229
|
89bbfd135a
|
M1C-0b:补齐静态委派状态前向兼容
- 未知 contractStatus 保留为 Unknown(raw) 并接入完成屏障、等待、返工与谱系门禁
- 补齐 planning Provider、自治 liveness 与终态扫描的 fail-closed 消费路径及回归
- 保持已知状态和损坏 sidecar 行为不变,更新技术方案与共享决策记录
|
2026-08-15 07:04:40 +00:00 |
|
kdletters
|
aa5221abcf
|
修复Jenkins Web依赖安装
Project CI / Repository checks (push) Successful in 1m8s
Project CI / Frontend tests (push) Successful in 3m0s
Project CI / Backend tests (push) Successful in 3m40s
Project CI / Native shell tests (push) Successful in 13m52s
Web构建同时安装根目录与AGC独立lockfile依赖
Full流水线同步RUN_NPM_CI参数说明
生产运维门禁锁定双依赖安装顺序
运维文档补充故障原因与依赖边界
|
2026-08-15 14:15:03 +08:00 |
|
lhk229
|
deae1e08ce
|
立项策划:裁决 M1C-1 三条开工前置,前向兼容粒度另拆 M1C-0b
Project CI / Repository checks (pull_request) Successful in 1m5s
Project CI / Frontend tests (pull_request) Successful in 2m54s
Project CI / Backend tests (pull_request) Successful in 3m59s
Project CI / Native shell tests (pull_request) Failing after 11m27s
对 2026-08-14「M1C-0 合入复核」留下的三条前置逐条读实代码后定稿:
① barrier:补,且必须是独立的第六个计数 user_revision_pending_count。
不能并进 repair_required_count——它带 repair_of_delegation_id.is_none()
只算原始委派,而用户第 2 次修订的父节点自身就是 repair 节点,并进去会让
第 2 次及以后的修订全部不阻塞。判据形状照 user_input_required_count。
另有四处逐字段读 barrier 的调用点不走 is_clear(),加字段不会自动传播。
② 正向一致性:复用 EvidenceReady 的三条客观证据约束,并把该处 if/else-if
链改成穷尽 match;但不得更严——该函数在每次读取时都跑,过严会把写入方的
一个 bug 变成 delivery 永久读不出来。同时订正:这不是既有漏洞,唯一派生点
产不出该变体,约束的是 M1C-1 引入的第二个写入方。
③ 前向兼容粒度:订正 08-14 自己写的「二选一」——「单条跳过并告警」不安全,
barrier 是计数,跳过一条损坏的 Dispatched 记录会让 Supervisor 在仍有未完成
委派时收束,把可用性故障换成正确性故障。改走第三条路(损坏仍整体锁死,
前向不兼容解析进显式 Unknown 并最大化阻塞),并另开 M1C-0b 承接——该改动
触及 master 已发布机制的所有读路径,不得塞进 M1C-1 的 diff。
另记两条比 08-14 更糟的事实:锁死半径是整个项目目录而非单个 run;
.json.previous 备份只在 primary NotFound 时回退,损坏但存在的 primary 不回退。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
2026-08-15 05:57:12 +00:00 |
|
lhk229
|
f45db359bd
|
合并最新 master 到 feat/five_min_design,并修复 master 的 Windows 构建中断
Project CI / Repository checks (pull_request) Successful in 1m15s
Project CI / Native shell tests (pull_request) Failing after 10m29s
Project CI / Frontend tests (pull_request) Successful in 2m55s
Project CI / Backend tests (pull_request) Successful in 3m58s
master 侧 5 个提交(8e78be766..9f5c84ee7)。仅一处冲突:
src/view/home/index.tsx 的 react import——我们这侧对该文件只有 prettier 格式化
改动,master 新增的 useRef 在合并后正文里用了 2 次,取 master 那行。
修复 master 带来的 Windows 构建中断(E0658):
project/manifest.rs 的 #[cfg(windows)] 分支用了 std 未稳定 API
`MetadataExt::number_of_links`(rust-lang#63010),而 rust-toolchain.toml 锁在
stable 1.96.0。该文件与 origin/master 逐字节相同,即 master 自身在 Windows 上就
构建不过——Linux CI 上 #[cfg(windows)] 整块不参与编译,所以 CI 全绿。
改为本仓库既有写法:自声明 ByHandleFileInformation 调 GetFileInformationByHandle
(另见 runner/endpoint.rs、tool_plan_handoff/storage_windows.rs 等六处)。保留原
错误文案与 fail-closed 语义(取不到句柄信息与确实是硬链接同等拒绝),并按
endpoint.rs 先例一并拒绝 directory / reparse point。
该修复目前只在本分支,须回流 master,否则下次合并会再撞一次。踩坑记录见
pitfalls.md 2026-08-15 条。
验证:
- cargo check --offline --all-targets 通过(修复前 E0658,修复后 Finished)
- cargo fmt --check 通过
- 定向 Rust 测试 project::manifest / godot / static_delegate /
collaboration::static_deliveries 65 passed / 0 failed
- agc:typecheck 通过;check:encoding 通过(5376 files);git diff --check 干净
- 前端 vitest apps/ai-game-creator-shell/tests:738 passed / 1 failed,唯一失败是
已知的 Windows symlink EPERM(agentSwarmTestEntry),非本次回归
两条既有环境失败,已核实与本次合并无关:
- command_exec::tests 两条报「找不到受信任的 rg 可执行文件」,该文件相对合并基线
逐字节相同
- npm run check:native-shells 在合并前的 master worktree 上失败得一模一样
(spawnSync npm.cmd EINVAL,脚本 spawn npm.cmd 未带 shell: true)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
2026-08-15 05:37:00 +00:00 |
|
lhk229
|
1d4d77ef3d
|
立项策划:落地 M1C-0 合入复核结论,三条 M1C-1 前置与一条哨兵订正
Project CI / Repository checks (pull_request) Failing after 13s
Project CI / Backend tests (pull_request) Failing after 14s
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
生产代码零改动(delegation.rs 三个 hunk 全在 mod tests 内),本次只补回归与文档。
复核确认「今天行为零变化」成立且可证:contract_status 生产赋值点只有两处且都从
客观事实派生;StaticDelegateClaimRecord 全仓库唯一构造点是运行时构造,不是 agent
提交的 JSON;durable sidecar 在 .agent/runtime/** 下被 file_ops 与 filesystem 各
三处拒写;前端无 contractStatus 消费者。lineage 三个 fail-closed 出口全部返回
(u32::MAX, u32::MAX),新分支的哨兵检查接得住。
三条 M1C-1 前置写进技术方案第 23.7、23.8 节与 decision-log:
① UserRevisionRequested 不进 repair_required_count / user_input_required_count
任一 barrier,写入方落地即意味着 Supervisor run 可在用户修订未派出时完成;
② validate_static_delegate_structured_result 对该变体只有否定约束,缺正向一致性
分支,UserRevisionRequested + failed + 缺产物 能通过校验落盘;
③ 前向兼容失败粒度是整个子系统——list_static_delegate_deliveries_at 逐条 ? 上抛,
一条解析失败即整个目录枚举失败。bump schema version 救不了(版本校验在 parse 之后)。
文档订正:STATIC_DELEGATE_LINEAGE_MAX_HOPS = 32 限的是链上节点数不是跳数
(判据排在入链之前),真实跳数上限 31,第 23.7 节原写 32 跳已订正。
测试:
- static_delegate_user_revision_preserves_existing_clarification_round 名不副实,
它把 UserRevisionRequested 放在目标位置,而计数循环只遍历父节点集合,新分支
从未被执行。改名为 ..._parent_hop_preserves_depth_and_clarification_round,补
一跳真正以用户修订为父的续跑并加反证;原断言留作对照组并注明性质。
- 新增 concurrent_user_revision_dispatch_creates_exactly_one_delivery,父节点为
UserRevisionRequested 且 depth 已为 1,两侧同时钉住并发下恰好放行一条。
- user_revision_continuation_... 补兄弟检查断言(depth 门对用户修订失效后,它是
该路径上唯一剩下的扇出约束)。
变异测试:摘掉 counters 分支 4 条变红(含新增反证 left (2,0) / right (1,1));
摘掉 gate 分支 3 条变红(并发用例 left 0 / right 1)。两处守卫各自有回归覆盖。
验证:定向 41 passed / 0 failed;npm run check:encoding 通过(5374 files);
git diff --check 干净。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
2026-08-15 05:17:39 +00:00 |
|
lhk229
|
8c4acaaad5
|
文档:记录 M1B-2 已合入原分支
Project CI / Backend tests (pull_request) Failing after 14s
Project CI / Repository checks (pull_request) Failing after 14s
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
更新 Fast GDD 技术方案与 decision-log 的工作包状态和验收快照
|
2026-08-15 04:42:21 +00:00 |
|
kdletters
|
9f5c84ee71
|
重构AGC项目管理界面
Project CI / Repository checks (push) Successful in 1m40s
Project CI / Frontend tests (push) Successful in 3m27s
Project CI / Native shell tests (push) Successful in 14m20s
Project CI / Backend tests (push) Successful in 4m17s
参考成熟桌面项目管理器重构紧凑项目表、搜索和行尾菜单
支持Windows路径及Godot根目录和一层子目录工程识别与导入
修复1280×720页面溢出、列表滚动和末行菜单裁切
补充项目页回归测试、PRD、技术方案和项目记忆
|
2026-08-15 11:43:58 +08:00 |
|
lhk229
|
27c3eb847a
|
立项策划:完成 M1B-2 GDD 提交与恢复
接入 plan.submit_gdd 原生工具及 exact planning Provider 绑定与结构化注入
实现 create-only GDD 提交点、索引 Markdown session 恢复与策划子 run 收口
补齐定向门禁与阶段文档记录,审批 receipt UI 和构建准入留待后续
|
2026-08-14 14:23:58 +00:00 |
|
kdletters
|
578f8019fc
|
优化AGC项目入口并识别Godot工作区
Project CI / Repository checks (push) Successful in 1m14s
Project CI / Frontend tests (push) Successful in 3m9s
Project CI / Native shell tests (push) Successful in 14m6s
Project CI / Backend tests (push) Successful in 3m58s
项目页只保留打开项目和新建项目并统一原生目录选择
按根目录及一层子目录识别project.godot并记录相对Godot根
保持.agent位于用户选择的工作区根并补齐Windows构建门禁
补充响应式布局、测试、技术方案和共享项目记忆
|
2026-08-14 21:53:43 +08:00 |
|
lhk229
|
4d3f87cd39
|
修复完美像素无法识别自身产物的网格 (#169)
Project CI / Repository checks (push) Successful in 1m21s
Project CI / Backend tests (push) Successful in 3m57s
Project CI / Frontend tests (push) Successful in 2m54s
Project CI / Native shell tests (push) Successful in 14m7s
边缘 profile 用的是跨度 2 的中心差分,硬块边界落在列 b-1|b 之间时
profile[b-1] 与 profile[b] 逐位相等:两者跨的是同一条边,逐行被加数
相同、求和顺序相同。峰值判定两侧都用严格大于,会把这个 2 宽平台的
两端一起丢掉,于是最干净的输入反而 0 个峰、被判为未识别到网格——
完美像素处理不了自己的输出。
estimate_step_size 左邻比较放宽为 >=,右邻保持严格 >:平台只保留
一个索引,且是右端,正好是左闭右开语义下的真实块边。两侧都放宽则
会把长度 K 的常数段整段判为峰。
walk 与 snap_uniform_cuts 的 argmax 同样改为 >=,取等值段的最后一
个索引。取第一个会让每条切线落在真实边界左边 1px,每个 cell 因此
混进 1/4 的邻块。实测在 266x253 的最近邻放大像素画上,切线命中真实
块边从 2.6% 升到 98.5%,左右镜像、上下翻转、180° 旋转下一致;龙图
内容区内 134/134 全中。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/169
Co-authored-by: Linghong <ink29535@proton.me>
Co-committed-by: Linghong <ink29535@proton.me>
|
2026-08-14 20:42:58 +08:00 |
|
k88936
|
d901945c77
|
移除视频快速编辑支持 (#157)
Project CI / Repository checks (push) Successful in 1m20s
Project CI / Backend tests (push) Successful in 3m56s
Project CI / Native shell tests (push) Successful in 14m1s
Project CI / Frontend tests (push) Successful in 2m53s
当前实现: 视频快速编辑错误地复用了图片快速编辑的panel, 然后发起一个实际是生成视频的请求
策划建议删除.
因为后端没有实际意义上的视频快速编辑, 所以api 后端代码没有改动, 只在前端删除入口和处理
---------
Co-authored-by: kdletters <kdletters@qq.com>
Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/157
Co-authored-by: 王德宇 <kvtodev@outlook.com>
Co-committed-by: 王德宇 <kvtodev@outlook.com>
|
2026-08-14 18:52:56 +08:00 |
|
kdletters
|
d155e303bd
|
实现AGC回车自动创建工作区
Project CI / Repository checks (push) Successful in 1m3s
Project CI / Frontend tests (push) Successful in 3m9s
Project CI / Backend tests (push) Successful in 4m17s
Project CI / Native shell tests (push) Failing after 11m3s
首页普通回车自动分配系统文档目录下的唯一工作区并启动项目总控
保留加号按钮手动选择目录和Shift回车换行语义
统一Windows Linux与macOS默认项目路径解析并移除产品态tmp默认值
补充自动工作区安全测试 首页交互回归与技术方案说明
|
2026-08-14 17:45:27 +08:00 |
|
lhk229
|
a17f725834
|
立项策划:合入 M1C-0 用户修订 lineage 分类
Project CI / Repository checks (pull_request) Successful in 1m25s
Project CI / Frontend tests (pull_request) Successful in 2m53s
Project CI / Backend tests (pull_request) Successful in 3m55s
Project CI / Native shell tests (pull_request) Failing after 10m40s
M1C-0 在隔离 worktree 上以 09c7d7af8(M1A-2 收口)为基线开发,缺 M1A-4、
M1A 残余收口、M1A-2 回归修复与 M1B-1 共六个提交,故走 merge 而非 fast-forward。
代码零冲突:本包改顶层 src-tauri/src/delegation.rs,M1A-4 改
src-tauri/src/agent/runtime_tools/delegation.rs,同名不同文件;
tests/collaboration/static_deliveries.rs 两侧各自追加测试,自动合并。
两处文档状态句冲突,按「原分支事实优先」解决:保留 M1A-4 与 M1B-1 的已落地
事实,删去本包基线上「.agent/planning 存储仍未实现」「M1B-1 及之后仍未开始」
两句已被 M1B-1 推翻的表述;顺带把状态句和第 23.6 节第五行遗漏的 M1A-4 补回。
decision-log 的 M1C-0 条补一段合入说明,并订正其关联行里自指的 M1C-0 为 M1C-1。
合入后验证:cargo check --offline --all-targets 通过,npm run check:encoding
通过(5373 files),git diff --check 干净。定向测试与逐项复核另行跟进。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
2026-08-14 07:10:02 +00:00 |
|
lhk229
|
ad3c460a28
|
文档:补齐 M1B-1 验收表提交状态
- 将 M1B-1 工作包表格同步为已提交于隔离分支 f453c2ca2。
- 保留待合回原分支及 M1B-2 后续边界。
|
2026-08-14 06:50:56 +00:00 |
|
lhk229
|
56e0a73ca4
|
文档:记录 M1B-1 隔离分支提交状态
- 将 M1B-1 的验收记录更新为已提交于隔离分支 f453c2ca2。
- 明确原分支仍待后续合回,保留 plan.submit_gdd 与审批闭环的后续边界。
|
2026-08-14 06:49:20 +00:00 |
|
lhk229
|
f453c2ca27
|
立项策划:落地 M1B-1 planning storage 与写入隔离
- 新增 plan GDD、index、session 与提交输入的 strict schema、canonical JSON 和 typed 指纹。
- 落地 GDD 连续版本链、index 权威对账与锁内 recovery、session CAS/原子替换/受限恢复。
- 封锁 planning sidecar 与 fast_gdd 投影的通用写入、patch、删除和 checkpoint restore,并校验专用 writer 身份。
- 同步 Fast GDD 技术方案、决策记录与排障记忆。
|
2026-08-14 06:47:14 +00:00 |
|
lhk229
|
323db581fa
|
修复 M1A-2 引入的回归:未知工具名不是身份违规
Project CI / Repository checks (pull_request) Successful in 1m9s
Project CI / Frontend tests (pull_request) Successful in 2m54s
Project CI / Backend tests (pull_request) Successful in 3m56s
Project CI / Native shell tests (pull_request) Failing after 10m41s
background_agent_runtime_persists_receipts_for_rejected_actions 在本分支
恒失败(3/3),master 通过。首个 tool-plan 请求能收到,动作被拒绝后第二次
Provider follow-up 不再发出,测试等待超时。不是已知的 mock-LLM 本机 flake。
根因是 M1A-2 给主循环加身份门时用了 agent_runtime_tool_allowed_for_agent,
而该函数对非 project-planning 的 Agent 退化成「这个工具名是否已知」。于是
普通 Agent 调用一个不存在的工具(模型编名字,常见协议错误)被判成身份违规,
main_loop 直接 mark_needs_reconciliation 并返回 NeedsReconciliation,整个
run 中断。现役语义是未知工具产出一条 rejected observation、run 继续、由下
一轮 tool-plan 收束。
两类必须分开:身份禁止某个已知工具是安全边界,命中即硬拒;工具名根本不存在
是可恢复的协议错误,不得升级成中断整个 run。
新增 agent_runtime_tool_rejected_by_agent_identity,只在「该 Agent 带 exact
allowlist 且工具不在其中」时为真。三个命中即中断或整体拒绝的调用点改用它:
main_loop(本次回归直接原因)、provider_action_batch 的 identity_block(原会
把普通 Agent 的未知工具从 rejected 误判成 blocked)、runtime_tools/policy
(原本就正确限定 planning,改为复用同一判据以免再次分叉)。parallel_ledger
内部批次资格判定不变,其下一行的 command_id 检查本就拦得住。
planning 侧约束未放松,两条单测分别钉死普通 Agent 与 planning 两侧。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
2026-08-14 06:35:45 +00:00 |
|
lhk229
|
5fa662be30
|
立项策划:收口 M1A 复核残余,retry 强判据前置且身份哨兵改为编译期约束
retry 强判据必须排在全部分支之前。plan 分支原先排在 delegated 与
autonomous-game-build 之后,两支都能绕开
reject_supervisor_plan_root_retry_without_identity:
一是 plan source 配伪造 parent 会落 delegated 支,直接返回
agent-delegate-retry,强判据根本不执行。二是 binding.source 是 plan 配
autonomous profile 会落 autonomous 支,因 plan 在可信集合内而被原样取回,
复活启动路径 reject_supervisor_plan_autonomous_profile 明令禁止的组合。
两者都要 durable 状态先畸变才可达,但强判据存在的意义正是对畸变状态
fail closed。守卫提到函数开头无条件执行,合法 plan 根 run 对它恒真;
plan 分支不再重复读 durable 状态。autonomous 支另加一次
reject_supervisor_plan_autonomous_profile,兜住顶部守卫按 task.source
判定所挡不住的那一种。回归已用变异测试确认去掉任一守卫即变红。
__all_agents__ 身份哨兵改为编译期约束。四个不带 agentId 的 wrapper 会以
哨兵跳过按身份的工具面收窄与原始工具 identity 复核,M1A-2 之后调用点只剩
测试,但将来新增生产调用点漏改是静默拿全量目录而非编译失败。四个 wrapper
与对应 re-export 一并加 cfg(test)。该哨兵已扩散到两个文件,是正在复制的
模式而非单点遗留。
订正 M1A-3 决策条里「agent-background-task 唯一构造点」的错误结论:
task_start 与 recovery_scan 各还有一处同形状的空 source 兜底,且
recovery_scan 那条不经过 plan 根强判据。经复核有意不改,理由随条记录。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
2026-08-14 05:20:18 +00:00 |
|
lhk229
|
c22b929080
|
立项策划:落地 M1A-4,plan 根 run 只能委派策划子 Agent
Project CI / Backend tests (pull_request) Successful in 3m53s
Project CI / Native shell tests (pull_request) Failing after 10m38s
Project CI / Repository checks (pull_request) Successful in 1m17s
Project CI / Frontend tests (pull_request) Successful in 2m52s
补 M1A-2 的反方向。原先只做了「目标是 project-planning 时要求父是
plan 根」,反过来「父是 plan 根时目标必须是 project-planning」没做,
也没记为 deferred。后果是 plan 根 run 可以委派任意专业 Agent,而被
委派者拿常规 standard 工具面(能写文件、跑命令),第 24 节「策划全程
零构建」当时只由 Prompt 兜底。
执行层:observe_agent_runtime_agent_delegate 补对称分支;
observe_agent_runtime_agent_spawn_isolated 对 plan 根 run 一律拒——它是
第二条造子 Agent 的通道,只堵 delegate 等于留后门。两条共用 typed
kind=plan-root-child-target-unsupported。
强弱判据分工与 M1A-3 一致:弱判据从 task journal 读 source 决定是否
管辖,强判据 validate_project_supervisor_plan_root_binding_at 决定是否
合法,其 Err 永远落进拒绝分支。不可写成 is_ok() 当作「不是 plan 根」,
那会在 binding 损坏时放行任意子 Agent 创建。
上下文层:plan source 下不拼 supervisorIntro 与 $visualContract。不改
.md 内容,不新增 composition key。
三条有意保留的取舍已冻结进 decision-log,非待办:
$isolatedAgentTemplates 仍列出专业角色名(被执行层硬拒后的死文本,
上下文层收窄边界到此为止);task journal 读取失败对所有 source
fail closed(改成放行是新的 fail-open);plan 根 prompt 断言偏弱
(执行层是该场景唯一保障)。
同步方案 §22 证据表、§23.8 PR 表、§24 不变量,并订正 M1A-2 决策条里
含糊的「Supervisor 根 run 继续使用现役工具面」。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
2026-08-14 05:02:46 +00:00 |
|
lhk229
|
7db5118e27
|
立项策划:落地 M1C-0 用户修订 lineage 分类
新增 UserRevisionRequested durable 状态并保持未知状态 serde fail-closed
区分用户修订、澄清 continuation 与质量返工的 lineage 计数及深度门
补充连续修订、真实 agent.delegate、32-hop 和历史兼容回归
同步 Fast GDD、Runtime 文档与 M1C-0 决策记录
|
2026-08-14 04:02:53 +00:00 |
|
lhk229
|
09c7d7af8d
|
立项策划:收口 M1A-2 工具面与角色提示
Project CI / Repository checks (pull_request) Successful in 1m1s
Project CI / Frontend tests (pull_request) Successful in 3m27s
Project CI / Backend tests (pull_request) Successful in 3m53s
Project CI / Native shell tests (pull_request) Failing after 3m10s
收紧 planning 子 Agent 原生工具目录与 MCP/web search 边界
增加静态委派父根身份与 fail-closed 执行校验
补齐 planning Prompt Bundle、final-reply 终态约束与解析层拒绝
保留项目权限 deny/confirm 并同步恢复归一化策略
同步技术方案与项目决策记录
|
2026-08-14 02:58:18 +00:00 |
|
lhk229
|
84f6e6ec20
|
合入原分支最新改动
|
2026-08-13 14:16:25 +00:00 |
|
lhk229
|
17f7152f70
|
立项策划:落地 M1A-3,plan 根 run retry 保源且身份失败不降级
新增 plan 根 run 强判据,核 durable binding 而非只看内存 source
retry 在 generic 兜底前保留 project-supervisor-plan
身份校验失败返回 plan-root-retry-identity-unsupported
gui 与 delegate 对照回归保持现役兜底
同步 Fast GDD 方案、decision-log 与 pitfalls
|
2026-08-13 14:11:34 +00:00 |
|
lhk229
|
fa42d4e490
|
文档:订正 M1A-1 的 retry 复核结论,plan 根 run 保源单列为 M1A-3
Project CI / Repository checks (pull_request) Successful in 1m30s
Project CI / Frontend tests (pull_request) Successful in 2m58s
Project CI / Backend tests (pull_request) Successful in 3m59s
Project CI / Native shell tests (pull_request) Failing after 10m47s
M1A-1 把 resolve_game_creator_agent_runtime_retry_configuration_at 判成
「已被 profile 挡住、本包不改函数」。该结论只对了一半:它确实不会让 plan
误得 autonomous 语义,但复核模板只问了「plan 进 matcher 后会不会误得不该
有的语义」,没问「plan 落到通用兜底后会不会丢掉该有的语义」。这个调用点
既是判据也是 run 构造器,两个方向都要问。
缺陷:plan 根 run 是 standard + 顶层无 parent,两个特例分支都不命中,落
agent-background-task 兜底。run_profile 由 agent_runtime_run_profile_identity_at
原样返回,实际只丢 source——第 22 节证据表原写「保留 source/profile」会
误导实现者去修一个没坏的东西,一并订正。
降级无声:retry 走 start_game_creator_agent_background_task_with_link_in_
session_lane_at,该路径对 source 无门禁;validate_agent_runtime_run_profile_
binding_record 也只在 autonomous-game-build 档要求可信 source。于是造出一个
正规启动路径造不出来的状态。
后果分两类。放行类:reject_supervisor_plan_root_steer 只认精确 source,
重试后不再命中,steer 重新放开,违反第 4.1 / 23.1 节裁决。死路类:
root_control_authority 转 false 后广告层删掉 agent.goal_contract 与
agent.acceptance_update,validate_goal_contract_record 也拒绝建约,重试后
的根 run 建不出 Goal Contract,第 13.0 节审批前置门的取证永远收敛不了。
agent.delegate 不受该权限影响、委派照发,所以故障要到审批那一步才暴露。
处置:不回改已合入的 M1A-1,第 23.8 节新列 M1A-3,一并交付第 4.1 节要求的
强判据函数与 generic fallback 前的 exact plan root 分支;M1C-2a 依赖随之改为
M1C-1、M1A-3。修法边界写死:gui/cli 根 run 的现役降级行为不在范围,只能在
兜底之前插分支、不得改兜底默认值。
decision-log 原条目对应半句加删除线并挂指针,避免后续 PR 沿用旧结论。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
2026-08-13 13:50:24 +00:00 |
|
lhk229
|
65f471210f
|
立项策划:落地 M1A-1,plan source 进可信 matcher 且 steer 独立否决
Project CI / Repository checks (pull_request) Successful in 1m31s
Project CI / Frontend tests (pull_request) Successful in 3m0s
Project CI / Backend tests (pull_request) Successful in 4m3s
Project CI / Native shell tests (pull_request) Failing after 10m53s
新增 project-supervisor-plan 常量并加入可信 matcher
启动路径拒绝 plan 与 autonomous-game-build 的组合
steer 用独立于 matcher 的显式否决
补消费点复核与定向回归
同步 Fast GDD 方案、decision-log 与 pitfalls
|
2026-08-13 13:22:37 +00:00 |
|
lhk229
|
91888bfd9e
|
文档:传导拆包与广告层更正,修四处自相矛盾
均为上一轮拆包与第 19 节改写后未传导到位所致。
第 23.7 节:原写「变体、判据、receipt 写入必须同一个 PR」,与第 23.8 节
拆出 M1C-0 矛盾。改为判据在 M1C-0(惰性、无写入方、行为零变化),
写入方与 receipt 在 M1C-1 同进同退;这样拆全程不产生半状态。
第 24 节第 8 条:不变量摘要仍写「广告层仍可见」,而第 19 节第 2 条已改为
目标态两层都拒。第 24 节是终态合同,留旧目标态会把 M1A-2 带偏。
第 23.8 节:审批前置门的门禁原挂在 M1C-1,但取证顺序是协议时序问题,
归 M1C-2a;M1C-1 只做 receipt。门禁随之对调。
第 12 节:原写 submit 分支「随后把顶层 run 投影为 waiting-for-user-input」,
与第 13.0 节冲突。这是 D9/D10 单 run 拓扑残留——D11 下调用 submit 的是
策划子 run,提交完即终态结束;审批等待属 Supervisor 根 run 且必须等
取证通过后才创建。提交分支现只负责校验、定版、写 GDD、追加 index、渲染。
第 4.3 节与 D10 作废条目的「广告层仍放行」保留但标注为 M1A-2 之前的现状。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
2026-08-13 12:46:50 +00:00 |
|
lhk229
|
9605f31440
|
文档:对齐 M1 开工前的四处口径,并把 PR 结构冻结进方案
Project CI / Repository checks (pull_request) Successful in 1m32s
Project CI / Frontend tests (pull_request) Successful in 2m59s
Project CI / Native shell tests (pull_request) Failing after 3m22s
Project CI / Backend tests (pull_request) Successful in 3m46s
第 19 节第 2 条改写:原文要求回归钉死「执行层拒绝」与「广告层仍放行」
两半,与第 4.3 节「allowlist 的作用是让它在广告层就消失」直接冲突,
且两节互相引用却结论相反。更正为:那段描述的是 M1 之前的现状不是目标态;
目标态两层都拒,回归第二半从「仍放行」翻为「不再出现」,纵深防御纪律保留。
第 23.8 节新增 M1 的 PR 结构与合入门禁:11 个 PR、依赖顺序与各自门禁。
PR 划分属工程流程契约,须团队可见——PR 描述不得引用个人工作稿,
原第 23.6 步骤五只有一句「未开始」,并行开工时无可引用的 DAG。
其中 M1C-0 与 M1C-1 拆开,因两者风险类别不同:前者改 master 已发布的
静态委派机制,后者是新增功能;合并会让「做游戏返工额度未被误放宽」
这条关键回归淹没在审批闭环 diff 里。M1C-2 拆 a/b,因失败模式无关。
第 23.6 步骤三订正:身份登记的代码已于 2026-08-13 合入,
原文仍写「代码落地属 M1」,进度过期。
第 23.1 订正:steer 资格判据在 goal_contract_root_steer_task_at
(steering.rs:747,判据 763 行),原文误记为同文件 714 行的
goal_contract_root_steer_replacement_run_id——行号对但函数名错。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
2026-08-13 12:38:58 +00:00 |
|