Why: MiniMax-M3 emits XML-RPC-style {"item": ...} single-key wrappers on
array fields (kv/cells/items), bare scalar table cells, and page
submission delegated to the general sub-agent had no generative-ui
tool - observed live on dev (events seq 1395/1396/2171) where every
present with kv/table/list nodes failed invalid-spec and the delegated
retry reported the tool missing.
Evidence: red test reproducing the exact production error
(.nodes.1.kv of type [][2]string) goes green after the repair; full
genui/prompts/runtime/runmgr suites pass (SELF); mismatched-length
cells stay untouched by a dedicated guard test.
Impact: generative-ui pages with kv/table/list nodes save successfully
again; the general sub-agent can submit pages (tool resolves only when
the plugin exposes it, so absent plugins are unaffected).
Refs: dev task card feature/genui-spec-repair; dev conversation
激活验证-1012.
weichen
merged commit b160515905 into main2026-10-12 03:09:35 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Why: dev 实测(2026-10-12,事件 seq 1395/1396/2171)MiniMax-M3 对 kv/cells/items 数组字段输出 {"item":…} 单键包装、表格 cells 裸标量数组,present 全部 invalid-spec;且页面提交被委派给 general 子代理时其工具集无 generative-ui.present,重试必然空手。
改动:①genui 修复层新增 repairItemWrappers(children 形状修复之后递归解包单键 item;规范词汇无 item 字段,安全)+ repairTableCells(裸标量 cells 按列 key 配对,长度不匹配不动);②agent-sub-general v3:tools 加 generative-ui.present,提示词补页面化产物提交指引(插件不在时白名单条目自动无效)。
Evidence: 红测复现线上原错(.nodes.1.kv of type [][2]string)→ 修复后绿;genui/prompts/runtime/runmgr 全绿(SELF);CI 重放(GATE)。
Impact: 生成页(kv/表格/列表节点)恢复可落库;子代理可提交页面。配套 Dev 仓 pin bump 随后。
Refs: Dev 任务卡 feature/genui-spec-repair。
Why: MiniMax-M3 emits XML-RPC-style {"item": ...} single-key wrappers on array fields (kv/cells/items), bare scalar table cells, and page submission delegated to the general sub-agent had no generative-ui tool - observed live on dev (events seq 1395/1396/2171) where every present with kv/table/list nodes failed invalid-spec and the delegated retry reported the tool missing. Evidence: red test reproducing the exact production error (.nodes.1.kv of type [][2]string) goes green after the repair; full genui/prompts/runtime/runmgr suites pass (SELF); mismatched-length cells stay untouched by a dedicated guard test. Impact: generative-ui pages with kv/table/list nodes save successfully again; the general sub-agent can submit pages (tool resolves only when the plugin exposes it, so absent plugins are unaffected). Refs: dev task card feature/genui-spec-repair; dev conversation 激活验证-1012.