feat: shift usage windows to 07/12/17/22 KST with a 03-07 gap

Primer slots move from 08/13/18/23 to 07/12/17/22 and the daily alignment
hold from 04-08 to 03-07, so the Claude 5h windows run 07-12, 12-17, 17-22
and 22-03 as requested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Codex
2026-11-05 08:26:13 +09:00
parent dee8b245d3
commit 0984d6798c
7 changed files with 65 additions and 52 deletions

View File

@@ -991,9 +991,9 @@ Check the run.
await vi.advanceTimersByTimeAsync(10);
expect(runAgentProcessMock).toHaveBeenCalledTimes(1);
// 09:20 KST reset -> no Claude until the 13:00 KST slot.
// 09:20 KST reset -> no Claude until the 12:00 KST slot.
expect(getRouterState(USAGE_ALIGNMENT_HOLD_UNTIL_KEY)).toBe(
'2026-10-16T04:00:00.000Z',
'2026-10-16T03:00:00.000Z',
);
});
@@ -1050,7 +1050,7 @@ Check the run.
expect(runAgentProcessMock).toHaveBeenCalledTimes(1);
expect(getRouterState(USAGE_ALIGNMENT_HOLD_UNTIL_KEY)).toBe(
'2026-10-16T04:00:00.000Z',
'2026-10-16T03:00:00.000Z',
);
});
@@ -1092,7 +1092,7 @@ Check the run.
expect(runAgentProcessMock).toHaveBeenCalledTimes(2);
expect(getRouterState(USAGE_ALIGNMENT_HOLD_UNTIL_KEY)).toBe(
'2026-10-16T04:00:00.000Z',
'2026-10-16T03:00:00.000Z',
);
});