Commit graph

3 commits

Author SHA1 Message Date
ozymandiashh
5b7686b462 test(cli): keep fresh cache-read seeds inside the current UTC day
cli-cache-read-pipeline seeded its fresh Claude turn at now-10m and now-9m
while computing "today" from the UTC clock. For the first ten minutes after
UTC midnight those timestamps land on the previous day, so the fresh slice
falls outside `--days ...,today` and `--period today`: 1811 becomes 1111 and
4321 becomes 0. A PR run that started at 2026-09-13T00:03Z failed on every
leg while main's 23:32Z run passed on the same code.

Derive every date and timestamp from one `now` and clamp both seeds into
[today's UTC midnight, now], preserving user-before-assistant order, the
same idiom cli-status-menubar already uses. The CLI subprocess has no
injectable clock, so a run that crosses midnight after seeding now skips
with a note instead of failing.

menubar-project-identity had the same bug with a one-minute window (now-1m
against getDateRange('today')); clamp it the same way.

Refs #1216
2026-09-13 06:04:04 +03:00
ozymandiashh
98ad43fe8d Use platform path delimiter in cache-read integration test 2026-09-07 05:33:55 +03:00
ozymandiashh
654583e4f0 Add cache-read usage and quota pace to Capacity Dock 2026-09-07 05:22:35 +03:00