create_forge_rule, list_forge_rules, update_forge_rule, run_forge_rule, and delete_forge_rule.
Subcommands
forge create
- Trigger type:
cron,signal,webhook,event,manual - Trigger config: cron expression, signal source, watched path, process pattern, etc.
- Action type:
queue-quest,log-to-vault,send-notification - Action config: questId, activity type, notification channel, etc.
forge list
forge toggle
forge run
forge run-rule
forge tick
forge run but outputs verbose debug output. Useful for debugging why a rule isn’t firing.
forge daemon
gateway command which handles process lifecycle.
Trigger Types
| Trigger | Description |
|---|---|
cron | Evaluated on a cron schedule (triggerConfig.cron, optional triggerConfig.timezone) |
signal | Fires when a signal is detected: git commit, file change, or running process (triggerConfig.source = git|file|process) |
webhook | Fires when the gateway receives a matching inbound event |
event | Fires on an internal application event |
manual | Only fires when explicitly triggered via CLI or agent tool |
Action Types
| Action | Description |
|---|---|
queue-quest | Re-activates a quest by ID (actionConfig.questId) |
log-to-vault | Creates and auto-completes a bounty quest, awarding XP (actionConfig.activityType, actionConfig.durationMinutes) |
send-notification | Sends a message via console, telegram, webhook, or whatsapp (actionConfig.channel, actionConfig.message) |
Configuration Examples
Cron rule (daily recap notification via Telegram):Related
- Forge Engine: internals and rule evaluation details
gateway: manage the gateway server that receives webhooks