fix(arch): allow server→supplementimpact and tighten HTTP batch ExpiresAt

This commit is contained in:
weichen
2026-09-24 11:45:54 +00:00
parent 4e0e6a1418
commit d0b4d3d4dd
2 changed files with 3 additions and 1 deletions
@@ -259,6 +259,7 @@ imports:
- workflowdef
- workflowscope
- workspace
- supplementimpact
squad:
- agent
- config
+2 -1
View File
@@ -3,6 +3,7 @@ package supplementimpact
import (
"context"
"fmt"
"time"
)
// HTTPBatchView is the JSON shape expected by server supplement-impact handlers.
@@ -18,7 +19,7 @@ type HTTPBatchView struct {
DecisionNonce string `json:"decision_nonce"`
DecisionDigest string `json:"decision_digest,omitempty"`
Revision int64 `json:"revision"`
ExpiresAt interface{} `json:"expires_at"`
ExpiresAt time.Time `json:"expires_at"`
Items []HTTPItemView `json:"items,omitempty"`
}