style: sync high-risk plan gate formatting

This commit is contained in:
Eyejoker
2026-03-29 02:14:44 +09:00
parent b536c90716
commit 2d8f8151dd
5 changed files with 26 additions and 21 deletions

View File

@@ -407,7 +407,9 @@ export function setRoomTaskRiskLevel(args: {
if (riskLevel === 'high') {
updatePairedTask(task.id, {
risk_level: 'high',
plan_status: hasCompletePlanArtifacts(task.id) ? 'pending' : 'not_requested',
plan_status: hasCompletePlanArtifacts(task.id)
? 'pending'
: 'not_requested',
status: 'plan_review_pending',
updated_at: now,
});