You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Every time on the status line reads as the day it falls on #302
The status line can show two times on one line that follow different rules, so one reads as the right day and the other doesn't. The usage windows' reset times come from _reset_time in tools/claude/statusline.py: the 5-hour reset never names its day and the weekly reset always does. The Vertex AI segment's "until" time comes from clock() in tools/claude/provider_switch.py, which names the weekday when the time falls on another day and gives the date at six days or more. So at 11pm, a 5-hour reset at 2am tomorrow shows as 2am, which reads as earlier today, while the Vertex AI segment beside it shows Sat 2am. A weekly reset exactly a week away shows as Fri 8am, which reads as today or this week, while clock() would show Jan 22 8am.
Ideal state
Every time the status line shows reads as the day it falls on, including a reset after midnight and one a week away
The times on one status line follow one rule for naming their day
Decisions
Constraints
No recorded decisions found in docs/decisions/ that cover how the status line shows times.
Open
The weekly reset names its day even when it's today, and the 5-hour reset never does, so the two can be told apart without labels (the comment on WindowKind in tools/claude/statusline.py). Does that stay, and if so how does it fit one rule for naming days? (user-facing pattern people will learn)
Starting points
tools/claude/statusline.py: _reset_time and WindowKind
Activity