You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
s.recordGatewayAuditWithMetadata(r.Context(), principal, "resume_project_run_requested", "Requested resume_project_run for run "+runID+" in project "+projectID, auditMetadata)
s.recordGatewayAuditWithMetadata(ctx, principal, "resume_project_run_requested", "Requested resume_project_run for run "+runID+" in project "+projectID, auditMetadata)
s.recordGatewayAuditWithMetadata(r.Context(), principal, "resume_project_run_blocked", "Blocked unsupported resume_project_run for run "+runID+" in project "+projectID, blockedMetadata)
s.recordGatewayAuditWithMetadata(ctx, principal, "resume_project_run_blocked", "Blocked unsupported resume_project_run for run "+runID+" in project "+projectID, blockedMetadata)
Description: "Record an explicit operator response to a Gateway-observed human interrupt without claiming automatic resume support.",
392
+
Description: "Record an explicit operator response to a Gateway-observed human interrupt and optionally perform an explicit follow-up such as resume.",
s.recordGatewayAuditWithMetadata(ctx, principal, "resume_project_run_blocked", "Blocked follow-up resume_project_run for run "+firstNonEmpty(record.RunID, record.ID)+" in project "+record.ProjectID, blockedMetadata)
487
+
followUpResult=map[string]any{
488
+
"ok": false,
489
+
"status": "blocked",
490
+
"blocker": map[string]any{
491
+
"type": resumeErr.Code,
492
+
"message": resumeErr.Message,
493
+
"operation": "resume_project_run",
494
+
},
495
+
}
496
+
} else {
497
+
nextActions["resume_supported"] =true
498
+
nextActions["planner_decision_required"] =false
499
+
followUpResult=result
500
+
}
501
+
}
469
502
payload:=map[string]any{
470
503
"ok": true,
471
504
"status": "human_interrupt_response_recorded",
@@ -484,6 +517,9 @@ func (s *Server) recordHumanInterruptResponse(ctx context.Context, principal *au
0 commit comments