重构世界模拟器为模块化配方架构,完善创作编排、会话运行时与 Web UI,并清理过时技能。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,40 +1,41 @@
|
||||
# Skill 包索引
|
||||
|
||||
总管 skill 以 `orchestrator.md` + `registry.yaml` 注册后才会出现在启动列表。
|
||||
本目录下 **仅有 README 的文件夹** 为规划占位,AI 不会加载。
|
||||
> 用户侧术语:**导演 / 剧本 / 演员 / 能力**(见 `docs/ui-glossary.md` §0)。
|
||||
> 系统内核见 `docs/architecture.md`。
|
||||
|
||||
## 业务 stage 通则
|
||||
当前仅注册 **`world-simulator`**(`registry.yaml`)。
|
||||
|
||||
每个 skill 包内 orchestrator 应区分:
|
||||
## 结构(一层包)
|
||||
|
||||
```text
|
||||
instantiate(实例化) 启动询问 / setup worker → prerequisite tags;现 stageId 常叫 brief
|
||||
run(运行) 生产 worker 流水线(write / review / outline …)
|
||||
done finish → 确认稿归档 Book
|
||||
skills/
|
||||
registry.yaml
|
||||
dialogue/
|
||||
world-simulator/ # 默认 skill 包(内部英文 id)
|
||||
orchestrator.md # 导演调度 manifest
|
||||
recipes/ # 【导演】选项(用户新建时选)
|
||||
modules/ # 【能力】共用工序
|
||||
workers/ # 创作期磁盘演员
|
||||
design-flow/
|
||||
design-step/
|
||||
opening-generator/
|
||||
worker-templates/ # 游玩演员默认契约(合并进 Worker 集)
|
||||
```
|
||||
|
||||
详见 `docs/tag-blackboard.md` §2。
|
||||
## 运行(简)
|
||||
|
||||
## 已启用
|
||||
```text
|
||||
用户选【导演】
|
||||
→ design-flow:编排【剧本】增量 DAG(设计.创作流程,可追加/可反复)
|
||||
→ design-step:逐步执行能力 → … → 设计.worker集
|
||||
→ (可选)opening-generator
|
||||
→ 用户手动进 play → 按声明调度【演员】
|
||||
```
|
||||
|
||||
| 包 | 路径 | instantiate → run |
|
||||
|---|---|---|
|
||||
| basic | `novel/basic/` | `book.brief` → outline |
|
||||
| weird-rules-short | `novel/weird-rules-short/` | `book.brief` → write-rules + 双 review |
|
||||
| roleplay-game-theory | `dialogue/roleplay-game-theory/` | instantiate → world-engine + role-decide × N + present-round(多 AI 可选) |
|
||||
路径 / `run_worker` id **保持英文**;中文只出现在 `name` / `declaration` / 正文。
|
||||
|
||||
## 规划中(TODO)
|
||||
## 相关
|
||||
|
||||
| 包 | 路径 | 说明 |
|
||||
|---|---|---|
|
||||
| quick-write | `novel/quick-write/` | 简易档:弱化 tag,全量 LLM |
|
||||
| interactive-novel | `novel/interactive-novel/` | 长篇:多 tag instantiate + 多轮 run |
|
||||
| novel-standard | `novel/novel-standard/` | 标准流水线(或与 interactive 合并) |
|
||||
| scene-roleplay | `dialogue/scene-roleplay/` | 扮演:角色/世界 instantiate + 互动 run |
|
||||
| world-simulator | `dialogue/world-simulator/` | 世界模拟器:Step1–14 实例化设计 + run(大工程,设计期) |
|
||||
|
||||
**已取消独立包:** `character-card-author` / `character-card-play` — 角色设定与互动并入 `scene-roleplay` 的 instantiate / run,跨 Session 复用走 Book。
|
||||
|
||||
占位目录 `dialogue/character-card-*` 仅保留说明,不注册。
|
||||
|
||||
标签命名规范等细节以后补 `docs/tag-vocabulary.md`(低优先级)。
|
||||
- 作者清单:`docs/world-simulator-modules.md`
|
||||
- 包内说明:`dialogue/world-simulator/README.md`
|
||||
- 创作方法长文:`docs/design-orchestrator-guide.md`(部分章节仍写旧分步名,以本包为准)
|
||||
|
||||
Reference in New Issue
Block a user