Skip to content

v3.8.0 — CI + Deploy Doctor

Latest

Choose a tag to compare

@iPythoning iPythoning released this 07 Jun 10:40

Summary

v3.8.0 evolves the template from local validation into continuous and post-deploy validation. It adds CI for every push/PR, a deploy doctor for remote health checks, and configurable remote OpenClaw paths for non-root or custom-path deployments.

Added

  • GitHub Actions workflow: .github/workflows/validate.yml runs npm test on pushes and pull requests to main.
  • deploy/doctor.sh: SSH-based post-deploy health checks for Node/npm, OpenClaw CLI, openclaw.json permissions, workspace context files, local skills, Gateway service, Gateway /health, and Chroma memory.
  • Remote path configuration in deploy/config.sh.example:
    • REMOTE_HOME
    • REMOTE_OPENCLAW_HOME
    • REMOTE_CONFIG_HOME
    • REMOTE_WORKSPACE_DIR

Fixed / Improved

  • deploy/generate-config.sh now writes agents.defaults.workspace from the configured remote workspace path instead of hardcoding /root/.openclaw/workspace.
  • deploy/deploy.sh now uses configured remote paths for OpenClaw home, workspace uploads, systemd user service location, generated config deployment, and skill installation.
  • deploy/ip-isolate.sh now uses configured OpenClaw and systemd user paths when injecting Gateway proxy settings.
  • README quick-start now shows the correct working-directory flow: cd .. && npm test, then cd deploy && ./deploy.sh, then ./doctor.sh.
  • npm test now verifies CI workflow presence, doctor script presence, current b2b_trade skill count, and non-root workspace path generation.

Verified

  • npm test
  • bash deploy/doctor.sh --dry-run with generated validation config
  • bash deploy/deploy.sh validation-client --dry-run with generated validation config
  • git diff --check

Next Evolution Ideas

  • Add deploy doctor --json for machine-readable health checks in automation.
  • Add one validated industry pack next: landing/product KB + first-touch messages + lead-discovery queries.
  • Add an issue template for new industry packs so contributors submit complete, testable packs.