docs: api comments say what the endpoints do, not how they came to be (#6277)
Rewrites the internal/api comment blocks to rule 32: task, milestone and rule ids gone, the stories behind them restated as the constraint they left, stale references corrected (the stream secret is wired from config, the timezone handler already refreshes the scheduler, the Android app is the native client, the design docs cited are not in the repo). Also rewraps comment lines over 80 columns left by the earlier batches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -150,9 +150,9 @@ func TestListDeepCutsTracks_SkippedTracksExcluded(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestListOnThisDayTracks_WrapsYearBoundary(t *testing.T) {
|
||||
// The day-of-year window wraps the year: plain ABS would make Dec 28 vs
|
||||
// Jan 3 read as 359 days apart. The build date parameter anchors "today" so the wrap
|
||||
// is testable at any run date.
|
||||
// The day-of-year window wraps the year: plain ABS would make Dec 28 vs Jan
|
||||
// 3 read as 359 days apart. The build date parameter anchors "today" so the
|
||||
// wrap is testable at any run date.
|
||||
pool := newPool(t)
|
||||
q := dbq.New(pool)
|
||||
u := seedUser(t, pool, "otd1")
|
||||
|
||||
Reference in New Issue
Block a user