539 Commits

Author SHA1 Message Date
zizi
67ad750abe feat(frontend): game-studio 前端脊柱(双闭环 + 宿主×SDK×Runtime,mock 验收通过)
- 单 SPA 双区(玩家 feed/play/share + 创作 create/project),Vue3 + Vant + Vite8 + Pinia
- 三相 Workflow 并行建成(A1 地基 + A2 宿主引擎 ∥ → B1/B2/B3 业务页 ∥)→ 主 agent Phase C 验证门
- 双闭环 + 三方链路(GamePlayer iframe × HuijingGameSDK × Canvas Runtime 3.5KB) + ad 桩经 /browse 实证
- npm run build + vue-tsc -b 绿(验证门修复 2 处类型 bug);自写 mock 中间件(dev+preview 双 hook)
- 4 个 contractGaps 已上报、骨架 mock 兜底,待 staging 真实联调前补

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 09:10:38 +00:00
zizi
c4e2d73300 feat(backend): Wave1 后端脊柱 5 模块 + 8 类契约 + yudao-cloud fork 接线
- game-cloud:yudao-cloud fork(裁剪至 system/infra)+ 5 业务模块 project/aigc/runtime/feed/telemetry
- 黄金模块 game-module-project + 克隆 4 脊柱模块;46 单测绿 + 41 模块集成编译绿
- contracts/:8 类契约锁定(5 API YAML + sdk-interface.d.ts + game-package.schema + events 等)
- yudao-server 接线:全局组件扫描 + @MapperScan + Flyway V1-V5(baseline-version=0)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 09:10:05 +00:00
zizi
f5deecb060 docs: 技术护城河复盘 + 对外话术双版本
- 复盘 BP 六项技术能力:投资人口径↔工程实现对照,结论=无独立技术护城河
- IP 三轮压力测试:王蓝莓非独家+人脉获取 → IP 是点火燃料而非护城河
- 护城河重定位:不公平起跑(资本效率/点火燃料/全栈整合)+ 数据飞轮与创作者生态(未来式)
- 交付对外话术双版本:投资人面 A / 技术 DD 面 B,口径互锁

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 07:28:55 +00:00
zizi
9735142518 docs: 文档治理——单一事实源去冲突 + 版本历史清理 + 文件名去日期
- 删除 4 个已过时文档(v2 架构选型审阅版 / v2 模块架构与MVP覆盖度 / 2 份已归档 review),
  架构文档收敛为 6 份、agent-specs 收敛为 1 份
- 消除冲突与陈旧值:基础设施成本 ¥3,800→¥4,300;生成成功率 85% 消歧为
  "远期蓝图 / MVP 验收 80%";技术决策版架构图补 studio(12→13 模块);
  契约口径全仓统一为 8 类(7 个 Day-0 contracts/ 文件 + Prompt Registry 第 8 类)
- 清理各文档内部历史/迁移/changelog 段落与失效引用(已删"业务能力全景"章节号引用、
  LayaAir 导出快手等事实错误)
- 8 个保留文档文件名去日期,全仓 markdown 链接与蒸馏来源引用联动更新;
  AGENTS.md 必读清单(7→5 份)与 CLAUDE.md 目录结构同步
- docs/memorys/ 按全局约定豁免(保留带日期归档),docs-design/ 不在本次范围

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 17:46:17 +00:00
zizi
824183864e docs(architecture): 重构为产品/技术/映射三文档 + MVP 迁移产品功能口径
- 去版本化:能力清单拆为三文档(产品需求清单/技术架构与模块/需求模块映射),
  文件名去 v2.1 版本号为唯一权威副本;删除混合视角旧档《业务能力全景与模块归属》,
  ~20 处交叉引用重定向(git 留史)
- 模块 12→13:新增 game-module-studio(创作编排域),aigc 收敛为无状态生成原子;
  锁风门 Gate(owner=compliance)、专区 Zone(owner=project) 两横切显式建模
- MVP 口径迁移:验收单位由"能力项(131)"改为 Doc A 的 55 项 P0 产品功能,
  工作量≈137 技术项;CLAUDE/AGENTS/mvp-scope/执行 spec §7/工作流 全链同步
- 三轮评审(人工 + 3 独立 Opus)findings 已修复:0 断链/0 孤儿/0 重复 ID,
  计数 155/204/137 实测自洽;glossary 补锁风门/专区/创作会话/资产图术语
- 新增 docs/memorys 任务记忆与 agent-specs 重划/prompt 治理评审依据

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 12:38:14 +00:00
zizi
ec85754ca0 docs(mvp): add MVP execution spec — 10 people × 3 weeks × 131 P0 capabilities
Full execution specification for MVP delivery:
- 5 parallel workstations (WS1-WS5), 2 people each
- Contract-first approach (Day 0 lock API/DB/SDK/Event schemas)
- Daily task breakdown for 15 working days
- 5 milestone checkpoints (M0-M5)
- 131 P0 capabilities mapped to workstations with zero cuts
- Risk mitigation and fallback strategies
2026-06-07 08:46:55 +08:00
zizi
4207917bd2 docs(architecture): v2.0 complete architecture design documents
Add full architecture documentation suite for v2.0 redesign:

- 架构选型审阅版: Yudao Cloud + Vue3 + Vant tech stack decision
- 业务能力全景与模块归属: 12 modules, 299 capabilities
- 系统概要设计-技术决策版: full system design with SDK, tool chain, engineering governance
- 系统概要设计-投资人版: capital efficiency narrative and competitive moat
- 系统概要设计-开发团队版: developer handbook
- 模块架构与MVP覆盖度: directory structure and PRD coverage
- 竞品分析报告: 8 competitors deep analysis

Key decisions: Dify+OpenGame(AI), LayaAir CLI(export), ComfyUI(assets),
lightweight runtime <15KB(game feed).
2026-06-07 00:54:54 +08:00
zizi
77f6937c2c chore: wipe v1 implementation for architecture redesign
Remove all S0-S5 stage code, specs, plans, memorys, harness, packages,
and infrastructure. Retain only docs-design/ (original product/business
requirements) and .gitignore as the starting point for v2.0 architecture.

v1 implementation preserved on branch dev/1.0.0.
2026-06-06 17:10:24 +08:00
zizi
14748491fe feat(web): add M0 product shell and M1 creator-flow wiring
M0 (product shell / user entry): /login page, app-shell nav with current user + role + logout, real project list (replaces hardcoded demoProjects), create-project + auto first-version, role-aware home entries. Auth uses native-form + 303 PRG redirect + HttpOnly huijing_api_token cookie; new proxies for auth(login/logout/me) and projects(create/version).

M1 (creator flow): surface deterministic-generator demo label; switch prompt/save/compile routes from raw-JSON passthrough to PRG redirect back to workbench + status banner; 401/403 -> /login, empty-state create-version fallback. M1-T5 (per-version playable preview) deferred to M2 (Path A): verified blockers = stub logic compiler + no package-serving endpoint + tested S2 boundary; workbench honestly labels preview as a later capability and links the fixture as a clearly-marked platform sample (no orphan jump, S2 boundary untouched).

Verification (@huijing/web): typecheck + lint + 88 unit tests + next build + git diff --check all green. End-to-end (DB-backed create/generate/save/compile) requires real Postgres and is not claimed verified in-sandbox.

Docs: docs/agent-specs/2026-06-06-MVP用户可试用M0M1-执行版.md (execution plan + status), docs/agent-specs/2026-06-06-M1T5预览试玩-审阅版.md (M1-T5 review/decision), docs/memorys/2026-06-06-MVP可试用M0M1执行版.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-06 01:55:47 +00:00
zizi
7c7879cfe8 feat(s4): add opt-in webgl render surface
- 新增 packages/web-runtime 渲染面抽象 RenderSurface + Canvas2D/WebGL 两实现 + createRenderSurface 工厂。
- WebGL 仅作内部可替换渲染器,挂在 RuntimeSdkContract.Canvas.submitRenderCommands 接缝后;
  不改 RuntimeSdkContract / GameLogicModule,逻辑模块拿不到 GL/canvas/2d 句柄。
- Canvas2D 仍为默认;?renderer=webgl 显式 opt-in(page 改 async server 组件 +
  新增 PreviewRuntimeClient 客户端包装),WebGL 不可用/初始化失败自动回退 Canvas2D 并产出诊断。
- 新增/扩展单测:WebGL clear/rect/text 非空、可交互、回退+诊断;createRenderSurface 选择;
  WebPlatformAdapter renderer 选择/回退;preview opt-in 决策;controller stop()/失败 catch 接线 dispose。
- docs/memorys:WebPlayable 里程碑审计 + MVP 剩余清单与路线。
  S6/S7/S8 仍 not_started;微信/抖音 DevTools 导入认证仍 No-Go,未伪造任何 passed evidence。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 23:47:58 +00:00
zizi
ba40cf4db8 docs(s5): defer devtools import certification 2026-06-05 20:09:26 +08:00
zizi
1f1bf63074 merge(s5): integrate mini-game conversion prep 2026-06-05 17:49:31 +08:00
zizi
7874ca4122 feat(s5): add final verification cli 2026-06-05 17:25:33 +08:00
zizi
5fd4f66217 feat(s5): add devtool import evidence 2026-06-05 16:33:41 +08:00
zizi
1671914cea feat(s4): add runtime smoke 2026-06-05 15:59:16 +08:00
zizi
1acc959180 feat(s5): add static gate 2026-06-05 14:49:19 +08:00
zizi
a22a388efa feat(s4): add preview runtime UI 2026-06-05 13:41:32 +08:00
zizi
617a75b19a feat(s5): add mini-game project builder 2026-06-05 13:41:08 +08:00
zizi
086a01845c feat(s5): add platform adapters 2026-06-05 12:35:01 +08:00
zizi
1bf0a37564 feat(s4): add web runtime sdk 2026-06-05 12:16:13 +08:00
zizi
f73819f39f feat(s5): add mini-game conversion contracts 2026-06-05 11:45:46 +08:00
zizi
574ebc3fa1 feat(s4): add web package builder 2026-06-05 11:09:52 +08:00
zizi
9b3d13c43a feat(s4): add game package contract 2026-06-05 10:24:31 +08:00
zizi
0b19885763 feat(s4): add phase scope gate 2026-06-05 09:45:48 +08:00
zizi
76d244451b fix(s3): reject global in game logic validator 2026-06-05 09:04:53 +08:00
zizi
5d023c0b3d docs(s3): add runtime backend presearch 2026-06-05 08:09:47 +08:00
zizi
b0fe408bcb test(s3): add game logic consumer contract 2026-06-04 22:44:14 +08:00
zizi
9fe3e277ba feat(s3): add game logic validator 2026-06-04 22:24:32 +08:00
zizi
991fc3d6bb feat(s3): add simulation logic compiler 2026-06-04 21:46:14 +08:00
zizi
490f2a3b25 feat(s3): add game config compiler 2026-06-04 21:13:41 +08:00
zizi
bbfb672490 feat(s3): add shared runtime contracts 2026-06-04 20:40:34 +08:00
zizi
006f65ec9b feat(s3): align harness logic contracts 2026-06-04 18:26:06 +08:00
zizi
e90bf2d692 feat(s3): add phase-aware scope gate 2026-06-04 18:03:58 +08:00
zizi
e81e4334e6 docs(s3): pass spec plan gate 2026-06-04 17:18:58 +08:00
zizi
8ffeba9120 docs(s2): prepare creator workbench handoff
Clarify the S1 handoff, require a phase-aware S2 scope gate, and keep S2 P0 agent/generator boundaries explicit before implementation.
2026-06-04 07:03:10 +08:00
zizi
9294101611 chore(s1): finalize task9 scope gate
Harden the final S1 scope scanner and record the Task9 review and full verification evidence before S2 starts.
2026-06-04 07:03:02 +08:00
zizi
bba5e13a73 feat(s1): add app foundation 2026-06-02 20:50:36 +08:00
zizi
6e363ae351 feat(harness): add lifecycle validation baseline 2026-06-02 20:50:13 +08:00
zizi
ba058fb61c docs: define game generation platform roadmap 2026-06-02 20:49:58 +08:00