用agent.md + manifest解决目录对齐问题
This commit is contained in:
@@ -11,7 +11,9 @@
|
||||
### 0. 初始化 Sentinel 检查(必须最先执行)
|
||||
|
||||
检查 `.opencode/.init-done` 是否存在:
|
||||
- **不存在** → 暂存用户原始请求,提示用户需先完成 opencode 初始化,加载 `opencode-init` Skill 并执行阶段 0→7
|
||||
- **不存在** → 暂存用户原始请求,提示用户需先完成 opencode 初始化,
|
||||
1. 【强制】`read .opencode/canonical-manifest.json` 加载规范清单 — 必须通过 read 工具读取,不得凭记忆或 Skill 描述摘要做文件分组
|
||||
2. 加载 `opencode-init` Skill 并执行阶段 0→7
|
||||
- **已存在** → 跳过,进入后续自检项
|
||||
|
||||
用户主动触发全流程的关键词:`初始化opencode` / `opencode init` / `重置 opencode` / `reset opencode`
|
||||
|
||||
Reference in New Issue
Block a user