Files
yuan-lab-llm--clawmanager/docs/scheduled-task-bootstrap-acceptance.md
heranran 6ab0fef99c Feat/skill hub hardened (#172)
* feat(skill-hub): add Skill Hub catalog, publish flow, and lite materialize pipeline

Introduce Skill Hub for browsing, importing, publishing, and installing skills, with lite instance package materialization and runtime sync support.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(skill-hub): remove token-governance hooks from Skill Hub PR

Strip validateManagedRuntimeEnvironmentOverrides, network lock policy sync,
and egress proxy audit wiring that belong to the upcoming token-usage work,
so the Skill Hub branch compiles independently.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(skill-hub): update migration number in materialize docs

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(skill-hub): make RuntimeAgentClient test stub and hub tests compile-safe

Add ResyncInstanceSkills to the runtime pool handler fake client, and harden
skill hub payload helpers/tests against nil storage/instance repos so go test passes.

Co-authored-by: Cursor <cursoragent@cursor.com>

* feat: add Skill Hub hardening with session usage tracking and egress governance

Unify Skill Hub runtime sync improvements with session-token observability,
egress network policy, and admin/instance usage reporting for reopenable PR.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(skill-hub): repair CI tests and nested skill install

* fix(ci): restore release deployment configuration

* feat(skill-hub): 支持 Skill 批量安装与 Hermes 导入

* 定时任务开发,Skill hub功能优化,最新Hermes版本适配

---------

Co-authored-by: heshengran <heshengran@ieisystem.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 18:27:15 +08:00

1.5 KiB

Scheduled Task Bootstrap Acceptance

Manual checklist after rebuilding ClawManager + OpenClaw/Hermes runtime images.

Shared setup

  1. In Resource Management, create a scheduled_task with format task/openclaw-cron@v1.
  2. Configure one announce job (delivery.mode=announce) and one webhook job (delivery.mode=webhook with an http(s) URL).
  3. Create instances with those resources selected (manual or bundle).

Matrix

For each of: OpenClaw Lite, OpenClaw Pro, Hermes Lite, Hermes Pro:

  1. Instance reaches running and agent/gateway is healthy.
  2. Managed jobs appear with ids cm-st-{resource_id}:
    • OpenClaw: ~/.openclaw/cron/jobs.json
    • Hermes: ~/.hermes/cron/jobs.json
    • Owner must be the instance Linux UID/GID (200000 + instance_id), not root. A root:root jobs.json causes Control UI cron pages to fail with EACCES.
  3. Announce job fires and delivers to the configured channel/origin.
  4. Webhook job fires and POSTs (OpenClaw native delivery, or Hermes prompt+local outbox/cron/webhooks/*.url path).
  5. Restart instance / recreate Lite gateway:
    • identical bootstrap payload skips rewrite (or remains idempotent)
    • user-created non-cm-st-* cron jobs remain
  6. Invalid scheduled-tasks env (if injected manually) logs an error and does not prevent startup.

Notes

  • Hermes ignores OpenClaw wakeMode / sessionTarget; expect ignored_fields in bootstrap state.
  • Platform save validation remains strict; only runtime apply is soft-fail.