refactor: move bundled skills tree to repo root skills/

- Relocate runtime/skills -> skills/; runtime_skills_root() prefers oclaw/skills
  with fallback to legacy runtime/skills for unmigrated trees.
- session-bootstrap hook handler resolves repo root via PROJECT_ROOT.
- Update architecture/migration docs and in-tree skill references.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-05-10 11:35:57 +08:00
parent 396dba76ea
commit beb52006d8
298 changed files with 51 additions and 51 deletions

View file

@ -16,7 +16,7 @@
- `runtime/core/`:可复用执行内核(如 agent 执行管线聚合入口)。
- `runtime/app/`:应用侧入口组织(面向外部流程的 runtime 编排)。
- `runtime/agents|chat|orchestration|workers`:领域能力模块。
- `runtime/skills|hooks|extensions`:可扩展能力载体。
- `skills/`、`runtime/hooks`、`runtime/extensions`:可扩展能力载体(技能包在仓库根 `skills/`)。
- `runtime/operations/scripts`:运维脚本与生成器。
## 路径规范

View file

@ -20,8 +20,8 @@ Use this checklist to verify readiness and post-delete safety for `oclaw/app_ser
- [x] Runtime role context now loads from `oclaw/runtime/workspaces/*`.
- [x] Skill root priority still effective:
- [x] `AIA_SKILLS_ROOT`
- [x] `oclaw/runtime/skills`
- [x] `skills/` fallback
- [x] `oclaw/skills`(仓库根)
- [x] `oclaw/runtime/skills`(旧路径回退)
## Extension policy checks
- [x] Primary extension source remains `oclaw/extensions/`.

View file

@ -74,6 +74,6 @@ This repository now uses **repo-root relative** runtime wiring.
- Role context is loaded from `oclaw/runtime/workspaces/*`.
- Skills root priority:
1. `AIA_SKILLS_ROOT`
2. `oclaw/runtime/skills`
3. `skills/` (legacy fallback)
2. `oclaw/skills`(仓库根)
3. `oclaw/runtime/skills`(旧布局,若仍存在则 `runtime_skills_root()` 会回退)