refactor: fix active hours calculation with monotonic cycle model

Previous implementation had discontinuities at day boundaries. New
cycle-based approach (2 AM sleep start) provides continuous, testable
active hour tracking.
This commit is contained in:
2026-01-30 17:41:07 -06:00
parent 4ee5c673ba
commit dbe4804bc5
4 changed files with 376 additions and 29 deletions
+14
View File
@@ -0,0 +1,14 @@
{
"lockfileVersion": 1,
"configVersion": 1,
"workspaces": {
"": {
"devDependencies": {
"chalk": "^5.6.2",
},
},
},
"packages": {
"chalk": ["chalk@5.6.2", "", {}, "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA=="],
}
}