docs: correct the data-end packaging description

This commit is contained in:
unanmed 2026-09-21 16:39:02 +08:00
parent bbf8d9c038
commit 9b51b6a1ce
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@
## Context
- **技术栈**:TypeScript 6 + Vue 3 + 自研 WebGL2 渲染器 + Vite 7 + pnpm 12 monorepo;数据端独立打包为 IIFE 供 Node 回放验证。
- **技术栈**:TypeScript 6 + Vue 3 + 自研 WebGL2 渲染器 + Vite 7 + pnpm 12 monorepo;数据端独立打包为库,验证系统现场引入并调用其接口完成验证。
- **重构背景**:从旧 mota-js 运行时(`public/`)逐步重构,通过 `Patch` 桥接 legacy 全局变量。渲染端先完成重构;数据端 L0–L3 已落地,并通过 Phase 3 / Phase 6 / Phase 7 的独立 Node replay、单测与质量门禁验收。
- **双端约束**:数据端无 DOM;渲染相关代码必须用 `r()`/`rf()` 门控或走 `hook` 事件,渲染端被动、不向数据端推送更新。
- **协作模型**:接口/架构设计由用户主导;AI 负责接口实现与单元测试;AI 可在验证通过后自行创建 git commit,无需用户逐次审批。

View File

@ -103,7 +103,7 @@
**Production:**
- Static HTML5 game: `pnpm build:game` produces `dist/` (deployable static bundle) and `dist.zip`.
- Deployment target: GitHub Pages via `.github/workflows/page.yml` (builds `dist` folder to `gh-pages` branch).
- The data layer (`src/data.ts`) is built separately as an IIFE bundle (`data.process.js`) usable for replay verification in Node.
- The data layer is built separately as a library; the verification system imports it at runtime and calls its interfaces to verify.
---