From 6e385743e4435ecfdc0b14697fb82392b05b778c Mon Sep 17 00:00:00 2001 From: weichen Date: Tue, 13 Oct 2026 02:08:00 +0000 Subject: [PATCH] Retain coverage limits in legacy task summaries Why: Older clients must see the same coverage limits as structured task cards. Evidence: Core suite and composition checks follow this projection update. Impact: Projects optional limitations into existing list nodes. Refs: fast-slow-u2-u3 Task 6 --- task_snapshot.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/task_snapshot.go b/task_snapshot.go index d02722b..58e41fd 100644 --- a/task_snapshot.go +++ b/task_snapshot.go @@ -251,6 +251,9 @@ func (s TaskSnapshot) SummaryBody() []UINode { if s.Coverage != "" { body = append(body, UINode{Type: UIKV, KV: [][2]string{{"提供范围", s.Coverage}}}) } + if len(s.Limitations) > 0 { + body = append(body, UINode{Type: UIList, Title: "范围与限制", Items: s.Limitations}) + } for _, r := range s.ResultRefs { if r.ArtifactID != "" && r.Availability == "available" { body = append(body, UINode{Type: UIDocRef, DocID: r.ArtifactID, Title: r.Name})