docs(architecture): 技术决策版补 2 处远期标记(L227/L119) + 修 doc-organizer args 兜底

doc-organizer skill 首次 dry-run 产出:分析(5 agent workflow)+对抗评审逮出上轮人工重写漏的 2 处真漂移——§2.3 三模式表「全自定义编排」行(L227) + 角色权限表「专业创作者」行(L119):把未建的「可视化/工作流编排」当现行、无 future-state 标记,与 L180/L815/L122(P1)自相矛盾 → 补「(远期)」对齐,不删 Dify(其余处系有意决策史)。

doc-organizer-analyze.mjs:修 Workflow 透传 args 为 JSON 字符串时不解析的坑(加 typeof string→JSON.parse 兜底),dry-run 实证(首跑 0 agent 空转→修后 5 agent 真跑 340K tok)。证据目录归档(低优先)按创始人决定延后。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
zizi 2026-06-16 15:01:27 +00:00
parent 51c6811e11
commit 2cd9bff52c
2 changed files with 5 additions and 3 deletions

View File

@ -8,7 +8,9 @@ export const meta = {
}
// args = { candidates:[{file,lines,type}], staleDocs:[{file,suspect}], ledgerGap }
const A = args || {}
// 防御:Workflow 工具有时把 args 当 JSON 字符串透传(非对象)→ 字符串则解析,保证 candidates/staleDocs 取得到。
let A = args || {}
if (typeof A === 'string') { try { A = JSON.parse(A) } catch (e) { A = {} } }
const candidates = Array.isArray(A.candidates) ? A.candidates : []
const staleDocs = Array.isArray(A.staleDocs) ? A.staleDocs : []

View File

@ -116,7 +116,7 @@ graph TB
| 访客 | 浏览游戏流 + 试玩(无需登录) | game-studio |
| 玩家 | +点赞/收藏/分享/举报/评论 | game-studio(登录后) |
| 创作者 | +创建项目/生成/编辑/发布/数据看板/收益 | game-studio |
| 专业创作者 | +批量生成/工作流编排/素材市场/B端接单 | game-studio(高级功能) |
| 专业创作者 | +批量生成/工作流编排(远期)/素材市场/B端接单 | game-studio(高级功能) |
| 运营 | 审核/推荐/下架/精选/内容安全 | game-admin |
| 管理员 | +系统配置/用户管理/权限/字典/监控 | game-admin |
| B端客户 | 需求提交/进度查看/验收/报告 | 独立 B 端门户(P1) |
@ -224,7 +224,7 @@ sequenceDiagram
|---|---|---|---|
| **一句话生成** | 纯小白 | Prompt → 一键出成品 | AI 主导,人确认 |
| **资产驱动创作** | 进阶创作者 | 先设计资产,再组装游戏 | AI 辅助生成单项资产 |
| **全自定义编排** | 专业创作者 | 可视化编排工作流 + 手动调参 | AI 按需调用 |
| **全自定义编排**(远期能力,MVP 暂不提供) | 专业创作者 | 可视化编排面=远期(对齐 §2.3 模式C/L815;现行专业路径=按需调 SAA 裸 StateGraph)+ 手动调参 | AI 按需调用 |
##### 创作者资产管理体系