oclaw/prompts/MAPPING.runtime.md
oliver 4a23b715a2 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。
本次迁移将网关/通道/工具/技能/脚本与协议资源集中到新结构,统一路径常量与脚本转发机制,减少顶层噪音并保证运行与测试行为一致。

Made-with: Cursor
2026-04-25 01:24:23 +08:00

27 lines
999 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Oclaw Prompt Mapping
该目录作为 Oclaw 风格提示词的唯一运行时来源(中文单份)。
## 设计目标
- 每个角色一个文件夹,便于独立维护和同步。
- 文件名与结构尽量稳定,后续可直接从上游模板搬运替换。
- 运行时不做 `zh/en` 分流,仅加载本目录中文文件。
## 目录约定
- `roles/manager/system.md`
- `roles/specialists/ops/system.md`
- `roles/specialists/generalist/system.md`
- `roles/specialists/image/system.md`
- `roles/specialists/memory_curator/system.md`
- `runtime/system_with_memory.md`
- `runtime/system_with_skills.md`
- `runtime/memory_context_block.md`
- `runtime/project_context_block.md`
- `shared/*`(复用片段)
## 同步规则
1. 以上游 Oclaw 规范为准,优先替换同名文件。
2. 本地仅允许:
- 路径适配(保持目录结构不变)
- 变量名与渲染占位符适配(`{{var}}`)
3. 不在业务代码中硬编码提示词正文;只通过 loader 渲染。