From 4399c9ca90b24bbe2f1bb13173271de8c5bfa58d Mon Sep 17 00:00:00 2001 From: root Date: Tue, 28 Apr 2026 10:39:54 +0800 Subject: [PATCH] feat: digest-brief now includes review candidates (not just keep) --- src/summary_mcp/models/openclaw_delivery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/summary_mcp/models/openclaw_delivery.py b/src/summary_mcp/models/openclaw_delivery.py index 2f71ca5..caa6b2a 100644 --- a/src/summary_mcp/models/openclaw_delivery.py +++ b/src/summary_mcp/models/openclaw_delivery.py @@ -84,7 +84,7 @@ def build_openclaw_digest_brief( limit: int | None = DIGEST_BRIEF_LIMIT, highlight_limit: int = DIGEST_BRIEF_HIGHLIGHT_LIMIT, ) -> OpenClawDigestBrief: - keep_candidates = [candidate for candidate in payload.candidates if candidate.selection_decision == "keep"] + keep_candidates = [candidate for candidate in payload.candidates if candidate.selection_decision in ("keep", "review")] sorted_candidates = sorted(keep_candidates, key=lambda candidate: candidate.digest_rank, reverse=True) selected_candidates = sorted_candidates if limit is None else sorted_candidates[:limit] top_candidates = [