Detectors
Detectors are automated monitoring rules that watch team activity and fire alerts when configurable conditions are met. Managers create detectors to enforce policies across their team.
Built-in Templates
Four detector templates are available out of the box:
| Template | Category | What It Does | Default Setting |
|---|---|---|---|
| Idle Reminder | Wellbeing | Alerts when no activity for N minutes | 30 minutes |
| After Hours | Wellbeing | Alerts when working past a configured time | 18:00 |
| Site Blocker | Security | Alerts when visiting restricted websites | Empty site list |
| Focus Drop | Productivity | Alerts when focus score drops below threshold | Score < 40 |
Categories
Detectors are organized into three categories, each with a distinct color:
- Productivity (blue) — focus and output monitoring
- Security (red) — access and policy enforcement
- Wellbeing (green) — work-life balance monitoring
Creating a Detector
- Navigate to Detectors in the sidebar
- Click Create Detector or choose a template from Quick Start
- Fill in the form:
- Name — descriptive name for the rule
- Category — Productivity, Security, or Wellbeing
- Settings (JSON) — detector-specific configuration
Settings Format
Each detector type uses different JSON settings:
// Idle Reminder
{ "idleMinutes": 30 }
// After Hours
{ "afterHoursAlert": true, "afterHoursTime": "18:00" }
// Site Blocker
{ "restrictedSites": ["facebook.com", "twitter.com", "reddit.com"] }
// Focus Drop
{ "threshold": 40 }
Per-Employee Targeting
By default, a detector applies to all team members. To target specific employees:
- Open the Create/Edit dialog
- In the Applies to section, click employee name chips to select/deselect
- Only selected employees will be monitored by this detector
- Leave empty for all employees
The employee list is populated from your team via goSvc.getTeamReport().
Managing Detectors
Each detector card shows:
- Enable/disable toggle — turn monitoring on or off
- Name and category chip
- Settings summary (e.g., "Idle after 30m", "After 18:00", "3 site(s) blocked", "Threshold: 40")
- Employee count — how many employees are targeted
- Edit and Delete buttons
Infractions
When a detector fires, it creates an infraction record stored in the database. Managers can review infractions to track policy compliance over time.
Access
Detector management requires a manager or admin role.