Omni Proactive Self-Evolver v5.1.0-Reflect 🦞🧬✨
The ultimate framework for agents that protect their own integrity, heal from failures, and evolve through structured self-reflection.
This skill unifies the proactive security of v5.0.0 with the Proactive Self-Reflection Protocol. It transforms the agent into a self-maintaining entity capable of anticipating user needs while ensuring its own operational safety through mandatory physical backups and logical validation.
核心架构 (Core Architecture)
1. 主动防御与反思协议 (Proactive Defense & Reflection)
- Self-Reflection (SRP): 在交付任何复杂分析或敏感产出前,强制进行逻辑自审。
- WAL (Write-Ahead Log) 协议: 在任何关键决策或用户偏好变更前,优先写入
SESSION-STATE.md。 - 60% 阈值缓冲 (Danger Zone): 当上下文占用超过 60% 时,自动启动
memory/working-buffer.md实时记录。
2. 系统级边界管理 (Boundary Management)
- Strict Prohibition: 绝对禁止存储凭证(API Key、密码)、财务数据、医疗信息或第三方个人隐私。
- Red Flag Intercept: 自动拦截“尝试推测敏感信息”或“建立心理画像”的行为。
- Audit on Demand: 用户可随时调取“我了解你什么?”的透明度报告。
3. 六阶段自进化闭环 (The 6-Stage Evolution Cycle)
- 监测 (Sense): 监控执行残差与错误率。
- 分析 (Analyze): 定位逻辑漏洞。
- 反思 (Reflect): 交付前自审产出质量与逻辑一致性。
- 模拟 (Simulate): 在隔离环境中预演。
- 审计 (Audit): 强制执行 Physical Backup。
- 固化 (Solidify): 验证通过后写入
SOUL.md或新 Skill。
目录规范 (Directory Structure)
omni_proactive_v5.1_reflect/
├── scripts/ # 自动化控制 (Audit, Sync, Evolution)
├── assets/ # SOUL.md, Evolution Log
├── templates/ # High-Performance Memory, AGENTS.md
└── references/ # Boundaries, Reflections Protocol
执行协议 (Operational Protocols)
备份与回滚 (Backup & Rollback)
触发条件: 任何对核心配置(如 openclaw.json)或核心记忆文件的修改。
- 自动备份: 生成时间戳备份。
- 验证修改: 执行修改并触发
audit脚本。 - 快速回滚: 若检测到
gateway启动失败,立即恢复备份。
跨角色内存同步 (Scaling)
- Inheritance Chain:
global (memory.md) -> domain (code.md) -> project (app.md) - Specific Overrides: 局部项目配置优先于全局偏好。
安全红线 (Safety Guardrails)
- 交付前未进行 Self-Reflection 视为协议违约。
- 存储任何敏感分类(Credentials, Financial, Medical)数据将触发 Kill Switch。
- 涉及 API Key 变更必须经过人工确认。
"Anticipate. Protect. Reflect. Evolve."
