How Reactions Work
When an event occurs:
Key principle: Push, not pull. Reactions handle routine issues automatically, and only notify you when escalation is needed.
CI Failure Handling
Automatically send CI failures to agents for fixing:- CI fails on a PR
- Orchestrator extracts failure logs
- Sends logs + fix instructions to the agent
- Agent fixes the issue and pushes
- CI runs again
- If it fails
escalateAftertimes, you get a notification
What Agents Receive
When CI fails, the agent gets:Review Comment Handling
Automatically forward review comments to agents:- Reviewer requests changes on PR
- Orchestrator extracts review comments
- Sends comments to agent
- Agent addresses the feedback
- If unresolved after
escalateAfter, you get notified
Time formats for
escalateAfter:10m— 10 minutes1h— 1 hour2— 2 retry attempts (for CI failures)30m— 30 minutes
Example Review Comment Message
Auto-Merge Configuration
Automatically merge approved PRs with passing CI:- PR is approved by reviewers
- All CI checks pass
- Orchestrator merges the PR automatically
- Session is cleaned up
- You get a notification (priority: action)
Conservative Auto-Merge
Notify instead of auto-merging:Agent Stuck Detection
Detect and notify when agents are inactive:- Agent has no activity for
thresholdduration - Orchestrator marks session as
stuck - You get an urgent notification
- You can investigate and intervene
- Quick timeout (5m)
- Patient timeout (30m)
Per-Project Overrides
Override global reactions for specific projects:Notification Routing
Route notifications by priority:- urgent: Requires immediate attention (agent stuck, errored)
- action: Requires action but not urgent (PR ready to merge)
- warning: Something went wrong (auto-fix failed after retries)
- info: FYI notifications (task completed, summary)
Notification Channels
Configure multiple notifiers:Example Configurations
Aggressive Automation (Auto-Merge Enabled)
Conservative (Manual Review)
Notification-Only (No Automation)
Testing Reactions
Test your reaction configuration:Troubleshooting
Reactions Not Triggering
Check:-
Reaction is enabled
-
SCM plugin is configured
- Webhooks are set up (for real-time events) GitHub webhooks are optional but recommended for immediate reactions.
Agent Not Receiving Messages
Check:-
Session is alive
-
Agent can receive input
-
Review event log
Escalation Not Working
Check time format:Next Steps
Custom Workflows
Create advanced automation with CI/CD integration
Multi-Project Setup
Manage reactions across multiple repositories
