From fd69dde707e384d246344aebcd4eb3b59822acea Mon Sep 17 00:00:00 2001 From: Dotta Date: Mon, 2 Nov 2026 23:38:41 -0600 Subject: [PATCH] fix(chat): expose reviewed redacted tool proposal in candidate --- .../components/IssueThreadInteractionCard.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/ui/src/components/IssueThreadInteractionCard.tsx b/ui/src/components/IssueThreadInteractionCard.tsx index c3ba890e901..e95d891f27c 100644 --- a/ui/src/components/IssueThreadInteractionCard.tsx +++ b/ui/src/components/IssueThreadInteractionCard.tsx @@ -1799,6 +1799,12 @@ function RequestToolActionCard({ const resolutionErrorMessage = useResolutionErrorMessage(); const isPending = state === "pending"; const variant = payload.risk === "destructive" ? "destructive" : "cta"; + // This server projection is already redacted and bounded by the interaction schema. + const inspectableArguments = typeof payload.argumentsSummaryJson === "string" + && payload.argumentsSummaryJson.trim().length > 0 && payload.argumentsSummaryJson.length <= 20_000 + && typeof payload.argumentsHash === "string" && payload.argumentsHash.trim().length > 0 + && payload.argumentsHash.length <= 255; + useEffect(() => { if (!isPending) setWorking(null); @@ -1828,6 +1834,17 @@ function RequestToolActionCard({ {!isPending ? : null} + {isPending ? inspectableArguments ? ( +
+ + Arguments and audit hash + +
+            {payload.argumentsSummaryJson}
+          
+

{payload.argumentsHash}

+
+ ) :

Request arguments are unavailable.

: null} {isPending ? (