diff --git a/ui/src/components/IssueRecoveryActionCard.test.tsx b/ui/src/components/IssueRecoveryActionCard.test.tsx index 317f0cce500..aca41d326db 100644 --- a/ui/src/components/IssueRecoveryActionCard.test.tsx +++ b/ui/src/components/IssueRecoveryActionCard.test.tsx @@ -180,6 +180,18 @@ describe("IssueRecoveryActionCard", () => { ); }); + it("explains feedback delivery recovery in plain language", () => { + const node = render( + , + ); + expect(node.textContent).toContain("Feedback Delivery"); + expect(node.textContent).toContain( + "Paperclip could not confirm that the latest human feedback reached the task's assignee.", + ); + }); + it("falls back to an em dash when no evidence summary is available", () => { const node = render(); expect(node.textContent).toContain("—"); diff --git a/ui/src/components/IssueRecoveryActionCard.tsx b/ui/src/components/IssueRecoveryActionCard.tsx index 6ce46fc2a75..c35cbfeda65 100644 --- a/ui/src/components/IssueRecoveryActionCard.tsx +++ b/ui/src/components/IssueRecoveryActionCard.tsx @@ -115,6 +115,7 @@ export interface IssueRecoveryActionCardProps { } const KIND_LABEL: Record = { + feedback_delivery: "Feedback Delivery", missing_disposition: "Missing Disposition", stranded_assigned_issue: "Stranded Task", workspace_validation: "Workspace Validation", @@ -124,6 +125,8 @@ const KIND_LABEL: Record = { }; const KIND_HEADLINE: Record = { + feedback_delivery: + "Paperclip could not confirm that the latest human feedback reached the task's assignee.", missing_disposition: "This task's run finished, but no next step was chosen. Choose what happens next — try the task again, mark it done, or send it for review.", stranded_assigned_issue: