mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 13:53:18 +08:00
- 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>
14 lines
429 B
Markdown
14 lines
429 B
Markdown
---
|
||
name: session-bootstrap
|
||
description: 在智能体启动时注入会话唤醒上下文
|
||
metadata: {"oclaw":{"emoji":"🧭","events":["agent:bootstrap"]}}
|
||
---
|
||
|
||
# 会话唤醒 Hook
|
||
|
||
在 `agent:bootstrap` 事件触发时,注入一个虚拟 `SESSION_BOOTSTRAP.md` 文件,内容包含:
|
||
|
||
- 身份与行为参考(`SOUL.md`、`IDENTITY.md`)
|
||
- 最近会话记忆摘要
|
||
- 最新 Wiki 改进信号
|
||
- 一句话连续性欢迎语
|