Getting Started
This guide covers everything you need to develop and deploy the Hermes cPanel Agent.
Prerequisites
- Gitea account with push access to
wmj/hermes-cpanel-agent
- WordPress admin access to
ummah.falahos.my
- (For CI/CD) cPanel Git SSH key
Development Setup
Plugin Structure
Security Rules
NEVER use these in plugin code (cPanel blocks them anyway):
Making Changes
- Branch from
main
- Make changes
- Push and open PR
- CI runs: PHP lint, security scan, schema validation
- Merge → auto-deploys via Gitea Actions
API Key Setup
The plugin needs an OpenClaw API key configured via WP Admin:
- Go to Settings → Hermes AI Bridge
- Enter OpenClaw API key
- Save
Or via REST API:
Troubleshooting
- HTTP 401: Need valid Application Password
- HTTP 403 Nonce: Cookie session expired — re-login
- HTTP 404: Endpoint not deployed — check plugin is active
- Plugin not found: Check
/wp-admin/plugins.php — manually activate