Skip to main content

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:

TemplateCategoryWhat It DoesDefault Setting
Idle ReminderWellbeingAlerts when no activity for N minutes30 minutes
After HoursWellbeingAlerts when working past a configured time18:00
Site BlockerSecurityAlerts when visiting restricted websitesEmpty site list
Focus DropProductivityAlerts when focus score drops below thresholdScore < 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

  1. Navigate to Detectors in the sidebar
  2. Click Create Detector or choose a template from Quick Start
  3. 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:

  1. Open the Create/Edit dialog
  2. In the Applies to section, click employee name chips to select/deselect
  3. Only selected employees will be monitored by this detector
  4. 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.