Implemented
24/7 Autonomous Operations
Set up continuous development with cron-based scheduling, GitHub webhooks, and task templates.
Architecture
How it works
An event-driven system for autonomous task execution.
Triggers
Cron schedules, webhooks, or manual API calls
Queue
Priority-based task queue (critical, high, normal, low)
Executor
Template-based execution with worker spawning
Notify
Slack, Teams, Discord, or custom webhooks
Status
Implementation Progress
Current status of autonomous operations features.
Complete
Core Scheduler
- Cron-based scheduling with parser
- Priority-based task queue
- Task template engine
- REST API for control
Complete
Webhooks
- GitHub webhook endpoint
- HMAC signature verification
- Event-to-template mapping
- Generic webhook support
Complete
Templates
- Builtin task templates
- Custom template creation
- YAML config loader
- Dashboard integration
Partial
Notifications
- Notification service interface
- Webhook payload formatting
- Slack/Discord integration (pending)
- Email notifications (planned)
Setup
Configuration Guide
Get autonomous operations running in your environment.
1
Create Configuration File
Create fleet-config.yaml in your project root.
# fleet-config.yaml
schedules:
daily-audit:
cron: "0 2 * * *" # 2am daily
template: security-audit
priority: high
enabled: true
webhooks:
github:
secret: "$GITHUB_WEBHOOK_SECRET"
events:
pull_request.opened: pr-review
push: code-lint
notifications:
webhook: "$SLACK_WEBHOOK_URL"
on:
- task.completed
- task.failed
2
Set Environment Variables
Configure secrets as environment variables.
# .env or shell export
export GITHUB_WEBHOOK_SECRET="your-webhook-secret"
export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/..."
3
Start the Server
Launch Claude Fleet with your configuration.
# Start server (auto-loads fleet-config.yaml)
$ claude-fleet
# Or specify config path
$ FLEET_CONFIG=./config/fleet.yaml claude-fleet
4
Configure GitHub Webhook
Point GitHub to your webhook endpoint.
# In your GitHub repo settings:
Payload URL: https://your-server.com/webhooks/github
Content type: application/json
Secret: your-webhook-secret
Events: Pull requests, Pushes
Reference
REST API
Programmatic control of autonomous operations.
Scheduler Control
GET
/scheduler/status
Get scheduler status including queue counts and active schedules.
POST
/scheduler/start
Start the autonomous scheduler.
POST
/scheduler/stop
Stop the autonomous scheduler.
Task Queue
GET
/scheduler/queue
Get queued and running tasks.
POST
/scheduler/queue
Add a task to the queue.
DELETE
/scheduler/queue/:id
Remove a task from the queue.
Templates
GET
/scheduler/templates
List all available task templates.
POST
/scheduler/templates/:id/execute
Execute a template immediately.
Webhooks
POST
/webhooks/github
GitHub webhook receiver with HMAC signature verification.
POST
/webhooks/generic
Generic webhook for custom integrations.
Ready for 24/7?
Let your AI fleet work while you sleep.