feat(ops): add UME alarm playbook skill and tool guardrails

- Add ops-netx-ume-playbook skill (zh-CN) with presets, paging and SQL safety defaults
- Strengthen ops identity disclosure rules (always 'oclaw智能运维')
- Improve netx UME anchor context and add raw/aggregate/SQL tooling ergonomics

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-05-09 00:05:23 +08:00
parent 5b925854f0
commit f538409c08
6 changed files with 636 additions and 48 deletions

View file

@ -192,6 +192,10 @@ def _run_startup_hooks(app: FastAPI) -> None:
_log_info(f"[skills] root={diag.get('skills_root')} total={diag.get('skills_total')}")
except Exception:
pass
# 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/
try:
warm_expert_workspace_cache()
except Exception: