style(primer): apply prettier formatting to alignment-hold changes
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -29,7 +29,9 @@ const DAWN_GAP_END_HOUR_KST = 8;
|
|||||||
const POST_SLOT_HOLD_MS = 5 * 60 * 1000;
|
const POST_SLOT_HOLD_MS = 5 * 60 * 1000;
|
||||||
|
|
||||||
/** ms elapsed since the most recent fixed primer slot (handles the day wrap). */
|
/** ms elapsed since the most recent fixed primer slot (handles the day wrap). */
|
||||||
export function msSincePreviousPrimerSlotKST(nowMs: number = Date.now()): number {
|
export function msSincePreviousPrimerSlotKST(
|
||||||
|
nowMs: number = Date.now(),
|
||||||
|
): number {
|
||||||
const kstNowShifted = nowMs + KST_OFFSET_MS;
|
const kstNowShifted = nowMs + KST_OFFSET_MS;
|
||||||
const kstHour = new Date(kstNowShifted).getUTCHours();
|
const kstHour = new Date(kstNowShifted).getUTCHours();
|
||||||
|
|
||||||
|
|||||||
@@ -244,7 +244,12 @@ export async function runPendingPairedTurnIfNeeded(args: {
|
|||||||
: false;
|
: false;
|
||||||
if (roleAgentType === 'codex' && !hasUrgentMention) {
|
if (roleAgentType === 'codex' && !hasUrgentMention) {
|
||||||
args.log.info(
|
args.log.info(
|
||||||
{ chatJid, taskId: task.id, taskStatus: task.status, role: pendingRole },
|
{
|
||||||
|
chatJid,
|
||||||
|
taskId: task.id,
|
||||||
|
taskStatus: task.status,
|
||||||
|
role: pendingRole,
|
||||||
|
},
|
||||||
'Holding Codex reviewer/arbiter turn — keeping primer slot as first request',
|
'Holding Codex reviewer/arbiter turn — keeping primer slot as first request',
|
||||||
);
|
);
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user