## Simulation controls

Session length (minutes) 180
Files at start 15
New files added per 15 min 2
Commit every (minutes) 60

## Timeline — before debounce

Total reminders fired
0
After commit (false)
0
Same-count nags
0

## The fix (src/monitors/monitors.json)

    # Before
    sleep 600; while true; do
      changed=$(git diff --stat | tail -1 | grep -o '[0-9]* file' | grep -o '[0-9]*')
      if [ "$changed" -gt 10 ]; then
        echo "$changed files with uncommitted changes — consider /ork:commit"
      fi
      sleep 900
    done

    # After (I12)
    sleep 600; prev_count=0; while true; do
      changed=$(git diff --stat | tail -1 | grep -o '[0-9]* file' | grep -o '[0-9]*')
      last_commit=$(git log -1 --format=%ct)
      now=$(date +%s)
      since_commit=$((now - last_commit))
      if [ "$changed" -gt 10 ] && [ "$since_commit" -gt 300 ] && [ "$changed" != "$prev_count" ]; then
        echo "$changed files with uncommitted changes — consider /ork:commit"
      fi
      prev_count=$changed
      sleep 900
    done