Skip to content

Contributor Alerts

ShipLens automatically detects patterns that may indicate issues requiring manager attention. Alerts are designed to be early warnings, not verdicts.

Alert Types

Silent Contributor

Trigger: No commits in the last 14 days.

cutoff=now(14×86,400 seconds)alert if last_commit_at<cutoff

Auto-resolution: The alert is automatically resolved when the contributor makes a new commit.

Common legitimate causes:

  • Vacation or leave
  • Working on non-code tasks (architecture, planning, reviews)
  • Moved to a different repository not yet connected
  • Pair programming (commits attributed to partner)

High Fix Ratio

Trigger: More than 50% of commits in the last 14 days are of type fix.

fix_ratio=fix commitstotal commits>0.5

Minimum commits: 5 (to avoid false positives on low-volume contributors)

What it might indicate:

  • Fragile code in their area of responsibility
  • Inadequate testing catching bugs pre-commit
  • Unclear requirements leading to rework
  • Or simply: they're assigned to a stabilization sprint (legitimate)

Low Test Discipline

Trigger: Less than 10% of commits in the last 14 days touch test files.

test_ratio=commits touching test filestotal commits<0.10

Minimum commits: 5

Test file detection: Files with paths containing test, spec, or __tests__.

What it might indicate:

  • Tests written in separate commits (not co-located)
  • Working in areas without existing test infrastructure
  • Skipping tests under time pressure
  • Or: their work is primarily configuration/infrastructure (no tests expected)

Alert Lifecycle

Every alert has:

FieldDescription
alert_typesilent_contributor, high_fix_ratio, or low_test_discipline
messageHuman-readable description of the alert
resolved_atnil while unresolved; timestamp when resolved
contributor_idThe contributor this alert applies to

Background Jobs

Alerts are detected by two Oban background jobs:

JobAlerts Detected
SilentContributorJobSilent contributor
CommitPatternAlertJobHigh fix ratio, low test discipline

These jobs run on a scheduled cadence and create alerts only when patterns are detected.

Where Alerts Appear

  • Alerts page — Centralized view of all unresolved alerts across the company
  • Contributor profile — Alerts specific to that contributor
  • Weekly digests — Summarized in the risk signals section
  • 1:1 reports — Referenced in topics to explore

TIP

Alerts are intentionally conservative — they require minimum commit thresholds to avoid noise. A contributor with 2 commits in a period (both fixes) won't trigger a high fix ratio alert because 2 commits is too small a sample.

Built with intelligence, not surveillance.