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

@ -196,7 +196,7 @@ def _run_startup_hooks(app: FastAPI) -> None:
# NOTE: skill role binding is an optional feature. For ops, we rely on:
# - role workspace system prompt (ROLE_SYSTEM.md) requiring the playbook
# - skill being present under runtime/skills/_workspace/ops/
# - skill being present under skills/_workspace/ops/
try:
warm_expert_workspace_cache()
except Exception: