mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 03:30:48 +08:00
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:
parent
396dba76ea
commit
beb52006d8
298 changed files with 51 additions and 51 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue