habit_streak
Current and longest streak from a list of completed days, with completion rate and the days that were missed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dates | Yes | Completed days as YYYY-MM-DD | |
| today | No | Evaluate as of this day (default today, UTC) | |
| allow_gap_days | No | Rest days that do not break a streak (default 0) |